Implemented several more events for players, including a click event, key event, fall event, and the basic entity living hurt, killed, and kills events, among others.

This commit is contained in:
luisc committed 2021-10-12 02:57:32 -05:00
1 parent 6c8c7671b8
commit 6752f8baec
38 files changed
+763 -249

No files matched your search

@@ -90,7 +90,7 @@ public class ForgeDataScript implements IScriptHandler {
public void callScript(String type, Event event) {
if(this.isEnabled()) {
// CustomNpcs.getServer().func_152344_a(() -> {
//CustomNpcs.getServer().func_152344_a(() -> {
Minecraft.getMinecraft().func_152344_a(() -> {
if (ScriptController.Instance.lastLoaded > this.lastInited) {
this.lastInited = ScriptController.Instance.lastLoaded;