Commit Graph
619 Commits
Author SHA1 Message Date
bigguy345 cc0959dcfe Added run(EnumScriptType, Event) and
run(String, Event) methods to IScriptUnit interface, with JaninoScript
delegating to callByHookType(). This provides a cleaner abstraction that
supports both ScriptContainer and JaninoScript without type checking.

Affected files:
- IScriptUnit: Added run() methods to interface
- JaninoScript: Implemented run() delegation methods
- DataScript, PlayerDataScript, GlobalNPCDataScript, ForgeDataScript
- EffectScript, LinkedItemScript, RecipeScript
- ScriptCustomItem, TileScripted: Refactored to use polymorphic calls
2026-01-14 00:16:58 +02:00
bigguy345 cd60a03544 Moved all INpcScriptHandler implementations to IScriptHandler as its redundant 2026-01-13 23:45:14 +02:00
bigguy345 cd92c340c7 resolved merge conflicts with dev 2026-01-13 18:25:37 +02:00
bigguy345 c3e032dcf2 Abstracted ScriptContainer & JaninoScript to IScriptUnit + global implementation 2026-01-13 18:25:28 +02:00
Kam 276465a175 Merge branch 'ability' into dev 2026-01-11 20:35:45 -05:00
Kam 11808df036 Script Hook Handler 2026-01-11 17:15:13 -05:00
Kam 166c8aa228 Ability Push 2026-01-09 15:29:00 -05:00
Kam 592a910cbc Add some more Attack Speed Handling 2025-12-30 19:29:44 -05:00
lonewolf8351 c3651fd6f7 Merge remote-tracking branch 'origin/dev' into dev 2025-12-03 13:43:33 -05:00
lonewolf8351 bdf3791e38 Added setHurtTime function to IEntityLivingBase 2025-12-03 13:43:11 -05:00
Kam d00c1cf156 Refine mount role rider positioning and home behavior 2025-11-06 01:42:55 -05:00
Kam 9df3db48ce Update DEV Api Reference 2025-10-28 00:10:58 -04:00
lonewolf8351 85a117fa6a Merge remote-tracking branch 'origin/dev' into dev 2025-10-28 00:07:02 -04:00
lonewolf8351 6e43c34e91 Added getPartyMembers() method to Iplayer 2025-10-28 00:06:41 -04:00
Kam 803c631f99 Merge pull request #225 from KAMKEEL/codex/fix-translate-y-and-z-in-linked-item-gui
Fix linked item translate axes
2025-10-27 23:42:46 -04:00
Kam 6e851b88d2 Fix linked item translate axes 2025-10-27 23:42:40 -04:00
Kam b5a69b0f2a Fix ScriptBlockPos add using target position 2025-10-27 23:41:16 -04:00
Kam 58437e0bbf Add ranged invincibility toggle for NPC projectiles 2025-10-21 17:52:48 -04:00
Kam b083e05f16 Recipe Event API 2025-07-23 23:14:29 -04:00
Kam 9c541999f3 Optimize Imports 2025-07-23 14:22:52 -04:00
Kam e73e785fbf feat: allow scripts to modify anvil cost 2025-07-09 22:43:06 -04:00
Kam 01e9122700 Add message banner support for recipe pre-events 2025-07-09 18:17:32 -04:00
Kam bacfb5eba0 Create First Push of Recipe Events 2025-07-09 15:40:31 -04:00
Kam 3867ab43b7 Implement ScriptArrow, ScriptThrowable, ScriptFishHook 2025-07-08 16:56:35 -04:00
bigguy345 91dc56bf87 Moved NpcAPI.actionManager to ActionManager.GLOBAL 2025-07-08 14:34:39 +03:00
Kam 8a497f82a0 Fix Bad Packet 2025-07-07 17:27:35 -04:00
bigguy345 d58b4bb905 ActionLogger !! 2025-07-07 21:22:34 +03:00
bigguy345 1e2cf25b4d Merge remote-tracking branch 'upstream/dev' into dev 2025-07-07 13:42:02 +03:00
Kam 9e6f341d77 Fix biome collection bug and add spawn GUI tooltip 2025-07-07 06:30:37 -04:00
bigguy345 e6d4e1f3fd ActionManager name 2025-07-07 13:21:39 +03:00
Kam ce0f5b7a78 Improve biome detection imports 2025-07-07 05:37:31 -04:00
bigguy345 e017ad1f83 Fixed player.getActionManager() NULL (data was null) 2025-07-03 18:35:00 +03:00
bigguy345 7ea05e4ecc Refactored ScriptedActionManager to ActionManager, moved to same package as Actions 2025-06-30 18:13:31 +03:00
bigguy345 f6e0cd8add Refactored scheduleAction to schedule 2025-06-30 09:28:31 +03:00
bigguy345 cef0dfe45f forgor class :broken_heart_emoji: 2025-06-30 09:18:56 +03:00
bigguy345 bc2bab889d cleared ActionManager on NPC delete 2025-06-30 08:59:51 +03:00
bigguy345 74198534af INFINITE OVERLOADS !!!!! 2025-06-30 07:15:34 +03:00
bigguy345 f86db24def IEntity.getCollidingEntities 2025-06-29 22:30:15 +03:00
bigguy345 5994206abd More schedulers and overloading methods !!!! 2025-06-29 11:22:43 +03:00
bigguy345 213c9069de Parallel IAction schedulers 2025-06-29 09:55:14 +03:00
bigguy345 fa9e5cdfe5 More IActionManager and IAction QoL !!! 2025-06-29 09:44:20 +03:00
bigguy345 8ee35e8088 IActionManager and IAction QoL 2025-06-29 09:07:09 +03:00
bigguy345 203a794950 ActionManager.getAction(name) 2025-06-28 19:07:37 +03:00
bigguy345 e001beb6ba Added global API.getActionManager() 2025-06-28 10:06:14 +03:00
bigguy345 6de09c1ee4 Added player's ActionManager getter to API 2025-06-28 09:38:38 +03:00
Kam 2b6f63a3e3 Right Click Event for Players 2025-06-02 14:56:29 -04:00
Kam d119a7524e Fix getTopBlock 2025-05-29 20:59:01 -04:00
Kam ae7e7018c5 More Cleanup 2025-05-20 13:53:32 -04:00
Kam 43bc1eb81f Code Cleanup / Reformat 2025-05-20 13:53:26 -04:00
Kam 15efdc06c5 Fix some concurrent mod issues 2025-05-19 22:07:57 -04:00