mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +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,9 +1,3 @@
|
||||
/*
|
||||
* 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.api.chat;
|
||||
|
||||
import stanhebben.zenscript.annotations.OperatorType;
|
||||
@@ -11,13 +5,27 @@ import stanhebben.zenscript.annotations.ZenClass;
|
||||
import stanhebben.zenscript.annotations.ZenOperator;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Stan
|
||||
* Represents a chat message. Strings can be converted into chat messages,
|
||||
* and chat messages can be colored and concatenated.
|
||||
*
|
||||
* @author Stan Hebben
|
||||
*/
|
||||
@ZenClass("minetweaker.chat.IChatMessage")
|
||||
public interface IChatMessage {
|
||||
/**
|
||||
* Concatenates two chat messages.
|
||||
*
|
||||
* @param other other chat message
|
||||
* @return concatenated chat message
|
||||
*/
|
||||
@ZenOperator(OperatorType.ADD)
|
||||
public IChatMessage add(IChatMessage other);
|
||||
|
||||
/**
|
||||
* Retrieves the internal object backing this object. Must be generated by the
|
||||
* implementing platform.
|
||||
*
|
||||
* @return internal object
|
||||
*/
|
||||
public Object getInternal();
|
||||
}
|
||||
Reference in new issue
Block a user