mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-18 11:19:31 +00:00
migrate to new buildscript
Class Registries are merged together into one. All subprojects are also merged into one. It's probably possible to split stuff into multiple source sets and not merging the registries, but I'm just too lazy for that.
This commit is contained in:
341 files changed
+1027
-11951
No files matched your search
@@ -0,0 +1,36 @@
|
||||
package minetweaker;
|
||||
|
||||
import minetweaker.api.chat.IChatMessage;
|
||||
import minetweaker.api.item.IItemDefinition;
|
||||
|
||||
/**
|
||||
* Platform functions are a set of internal functions implemented by the
|
||||
* platform intended to communicate between API and implementation.
|
||||
*
|
||||
* @author Stan Hebben
|
||||
*/
|
||||
public interface IPlatformFunctions {
|
||||
/**
|
||||
* Converts a string into a chat message.
|
||||
*
|
||||
* @param message message string
|
||||
* @return chat message
|
||||
*/
|
||||
public IChatMessage getMessage(String message);
|
||||
|
||||
/**
|
||||
* Distributes the given script data to all connected clients. Automatically
|
||||
* reloads the scripts from this data.
|
||||
*
|
||||
* @param data data to be distributed
|
||||
*/
|
||||
public void distributeScripts(byte[] data);
|
||||
|
||||
/**
|
||||
* Finds the item definition with the given ID.
|
||||
*
|
||||
* @param id item ID
|
||||
* @return resulting item definition
|
||||
*/
|
||||
public IItemDefinition getItemDefinition(int id);
|
||||
}
|
||||
Reference in new issue
Block a user