Tons of changes:

- Added interface to game, client and server
- Added transformations
- Made ingredient conditions more practical to use, no longer requires imports
- Started implementation of event handling
- Moved commands and logic to the common API code
- Added common interface to MineTweaker recipes
- Added string methods
- Moved the logger from static value to static getter
- Fixed crashes on dedicated servers
- Fixed bracket resolution for <id:meta> values in 1.6.4
- Fixed scripts not being sent to multiplayer clients in 1.6.4
This commit is contained in:
Stan Hebben committed 2014-07-04 22:03:03 +02:00
1 parent 7f6235f30d
commit 115593efa5
131 files changed
+3215 -1930

No files matched your search

@@ -6,8 +6,10 @@
package minetweaker.api.player;
import java.util.List;
import minetweaker.api.chat.IChatMessage;
import minetweaker.api.data.IData;
import minetweaker.api.item.IItemStack;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenGetter;
import stanhebben.zenscript.annotations.ZenMethod;
@@ -18,6 +20,9 @@ import stanhebben.zenscript.annotations.ZenMethod;
*/
@ZenClass("minetweaker.player.IPlayer")
public interface IPlayer {
@ZenGetter("id")
public String getId();
@ZenGetter("name")
public String getName();
@@ -29,4 +34,21 @@ public interface IPlayer {
@ZenMethod
public void sendChat(IChatMessage message);
@ZenGetter("hotbarSize")
public int getHotbarSize();
@ZenMethod
public IItemStack getHotbarStack(int i);
@ZenGetter("inventorySize")
public int getInventorySize();
@ZenMethod
public IItemStack getInventoryStack(int i);
@ZenGetter("currentItem")
public IItemStack getCurrentItem();
public void openBrowser(String url);
}