mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 03:39:17 +00:00
- Did some API refactoring
- Added liquid container addition and removal (removal only possible in 1.6.4) - Extended NEI support to 1.7.10 - Extended IC2 support to 1.6.4
This commit is contained in:
1 parent
115593efa5
commit
70cba6d84b
143 files changed
+3118
-632
No files matched your search
@@ -1,22 +1,36 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
package minetweaker;
|
||||
|
||||
import minetweaker.api.chat.IChatMessage;
|
||||
import minetweaker.api.item.IItemDefinition;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Stan
|
||||
* 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