Backported GUI features and necessary classes from 1.12.

This commit is contained in:
luisc committed 2021-09-30 21:44:30 -05:00
1 parent 8b6e84a8d4
commit 95d2814651
46 files changed
+3675 -520

No files matched your search

@@ -26,13 +26,17 @@ import noppes.npcs.blocks.tiles.TileSign;
import noppes.npcs.controllers.ScriptController;
import noppes.npcs.controllers.ServerCloneController;
public class ScriptWorld{
public class ScriptWorld implements IWorld{
private static Map<String,Object> tempData = new HashMap<String,Object>();
protected WorldServer world;
public WorldServer world;
public ScriptWorld(WorldServer world){
this.world = world;
}
public static ScriptWorld createNew(WorldServer world) {
return new ScriptWorld(world);
}
/**
* @return The worlds time
*/