Added more player events.

This commit is contained in:
luisc committed 2021-10-18 20:50:54 -05:00
1 parent 15bfbcdbd1
commit feeef71b5a
6 files changed
+238 -10

No files matched your search

@@ -86,32 +86,39 @@ public class GuiScriptInterface extends GuiNPCInterface implements GuiYesNoCallb
hookList.add("playerscript.init");
hookList.add("playerscript.tick");
hookList.add("playerscript.interact");
hookList.add("playerscript.damagedEntity");
hookList.add("playerscript.damaged");
hookList.add("playerscript.killed");
hookList.add("playerscript.kills");
hookList.add("playerscript.chat");
hookList.add("playerscript.killed");
hookList.add("playerscript.drop");
hookList.add("playerscript.containerOpen");
hookList.add("playerscript.respawn");
hookList.add("playerscript.break");
hookList.add("playerscript.chat");
hookList.add("playerscript.login");
hookList.add("playerscript.logout");
hookList.add("playerscript.chat");
hookList.add("playerscript.damagedentity");
hookList.add("playerscript.keyPressed");
hookList.add("playerscript.mouseClicked");
hookList.add("playerscript.pickUp");
hookList.add("playerscript.rangedLaunched");
hookList.add("playerscript.pickupXP");
hookList.add("playerscript.rangedCharge");
hookList.add("playerscript.rangedLaunched");
hookList.add("playerscript.timer");
hookList.add("playerscript.startItem");
hookList.add("playerscript.usingItem");
hookList.add("playerscript.stopItem");
hookList.add("playerscript.finishItem");
hookList.add("playerscript.containerOpen");
hookList.add("playerscript.useHoe");
hookList.add("playerscript.bonemeal");
hookList.add("playerscript.fillBucket");
hookList.add("playerscript.jump");
hookList.add("playerscript.fall");
hookList.add("playerscript.wakeUp");
hookList.add("playerscript.sleep");
hookList.add("playerscript.playSound");
hookList.add("playerscript.lightning");
hookList.add("playerscript.break");
hookList.add("playerscript.changedDim");
hookList.add("playerscript.respawn");
hookList.add("playerscript.achievement");
addLabel(new GuiNpcLabel(0, "script.hooks", guiLeft + 4, guiTop + 5));
GuiCustomScroll hooks = new GuiCustomScroll(this, 1);