Luis C.M
e4a953f1cc
Made NPC custom item update scripts also launch only every 10 ticks
2023-06-02 23:13:36 -05:00
Luis C.M
a0adf0d7bd
Fixed item toss event not being cancellable. Setting a script container's engine doesn't happen on every script call now, reducing lag.
2023-05-29 23:57:45 -05:00
KAMKEEL
bda76bafe6
Optimize Imports
2023-01-12 21:33:06 -05:00
Luis C.M
0414817673
Implemented event interfaces, made more events cancellable.
2022-11-24 14:36:09 -06:00
KAMKEEL
be9ae94163
Start API Branch
2022-11-15 15:25:53 -05:00
Luis C.M
8d3cd3fd82
Revert "Merge remote-tracking branch 'origin/dev' into dev"
...
This reverts commit 66edbcea80 , reversing
changes made to 3fd962289c .
2022-11-06 01:25:28 -06:00
KAMKEEL
6ae465c5d0
Revert "Added several more functions to pre-existing classes:"
...
This reverts commit e9a8f8cebc .
2022-11-06 00:10:04 -04:00
Luis C.M
e9a8f8cebc
Added several more functions to pre-existing classes:
...
-Spawner, Transport, Healer, Guard, Bard jobs received more functions.
-Added more functions to the transporter role.
-IRole: Added getNpc() function.
-IAnimal, IEntityLiving, and IEntityLivingBase received more functions from their MC counterparts.
-Nearly every function with that takes position/vector parameters now has an equivalent with IPos as a parameter instead.
2022-11-05 20:19:14 -05:00
Luis C.M
cf33b90b26
Used interfaces in implementations instead of the real classes for most scripted classes.
2022-05-11 22:08:31 -05:00
Luis C.M
6896cec417
Every function in API classes that calls the main API class now calls the loaded API wrapper, renamed to NpcAPI, instead of the abstract class, renamed to AbstractNpcAPI.
2022-05-11 17:12:48 -05:00
Luis C.M
6dea5a1cbc
Interfaces have a file strucutre resembling the file structure of their implementing classes.
2022-05-11 16:43:14 -05:00
Luis C.M
aab550cdca
Implemented custom item rotation rate, and start using, using, stop using, finished using events for custom items.
2022-05-11 14:24:12 -05:00
Luis C.M
11cc46b48f
Fixed some scripted item events, and fixed positioning of scripted items.
2022-05-11 13:30:13 -05:00