luisc
12333de3a1
knockback() function for ScriptEntity now *only* knocks the entity back instead of hitting it.
...
Flying NPC's get knocked back properly, and their vertical speed has been increased.
Flying NPC's vertical flying speed can be changed by npc.setFlySpeed(double speed) from ScriptNpc.
2021-12-06 00:10:10 -06:00
luisc
6b2a9d92b1
Added hasCollided() function to ScriptEntity.
2021-10-28 16:54:41 -05:00
luisc
2ffa9bfcfa
Added setImmune() function to ScriptEntity.
2021-10-28 16:46:09 -05:00
luisc
b15f5221fd
Added getAllNbt function to ScriptEntity.
2021-10-19 14:48:59 -05:00
luisc
40e738384f
Disabled invulnerability during knockback() for ScriptEntity.
2021-10-19 03:44:41 -05:00
luisc
f88cbb8b51
Server-side compatibility changes
2021-10-19 02:49:46 -05:00
luisc
15bfbcdbd1
Added storeAsClone function. Made some fields in Script Entity, NPC, and Player public because of the refactoring.
2021-10-18 07:02:19 -05:00
luisc
72f2c3c60a
Implemented global Forge events. Reorganized NPC API files.
2021-10-18 06:33:39 -05:00