build in script load from resources, fixed entity value position errors, added 2 more events, added event test

This commit is contained in:
gnembon committed 2019-10-11 01:47:04 -03:00
1 parent 3b6c1d045e
commit 435794569e
9 files changed
+511 -343

No files matched your search

@@ -1,8 +1,8 @@
package carpet.script;
import carpet.script.bundled.BundledModule;
import carpet.settings.CarpetSettings;
import carpet.CarpetServer;
import carpet.script.bundled.CameraPathModule;
import carpet.script.bundled.FileModule;
import carpet.script.bundled.ModuleInterface;
import carpet.script.exception.CarpetExpressionException;
@@ -40,7 +40,8 @@ public class CarpetScriptServer
public CarpetEventServer events;
public static List<ModuleInterface> bundledModuleData = new ArrayList<ModuleInterface>(){{
add(new CameraPathModule());
add(new BundledModule("camera"));
add(new BundledModule("event_test"));
}};
public CarpetScriptServer()