Commit Graph
26 Commits
Author SHA1 Message Date
Kam 6815f579a7 Full Imports and Code Format Optimization 2025-03-12 20:12:01 -04:00
Kam b43d8d9065 Fix Scripted Item Crash 2025-03-08 17:52:39 -05:00
luisc 4a1a092757 More linked item changes 2025-02-14 12:28:17 -06:00
luisc d394174108 Made item events use IItemCustomizable interface. 2025-02-13 19:00:21 -06:00
luisc cb5b8898bb Moved common stuff into ItemCustomizable 2025-02-13 18:20:01 -06:00
luisc d9e6372acb Added ItemCustomizable abstract class which both scripted and linked items extend from. Common behavior between the classes should move there. 2025-02-13 18:16:53 -06:00
somehussar 9188499e7e Move purely display data into ScriptItemCustom.Display 2025-02-11 22:39:08 +01:00
luisc e32802dcc1 Fixed ghost custom item duplication 2024-03-26 14:39:43 -05:00
Kam 739bc932f9 Fix Script Permission 2024-03-07 19:34:25 -05:00
Kam 60079b66bc A Ton of New Permissions!!!! 2024-02-19 19:14:51 -05:00
Luis C.M fc9e85c35a Changed implementation of custom items' tick event to be more similar to 1.12's. 2023-03-29 21:23:09 -05:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
c0508383 22e01bba1f CustomNpcs:
-Added ScriptOpsOnly config, which controls if only ops can see and edit scripts.
-Added ScriptDevs config, a list of the UUIDs of players who should be able to see and edit scripts. If left empty and ScriptOpsOnly is false, everyone can see and edit scripts with a scripter.

IPlayer:
-Added isScriptDev() function to check if the player can see and edit scripts.
2022-07-07 16:22:50 -05:00
Luis C.M 487ea6ea4e Custom item swinging fix for multiplayer 2022-07-03 08:50:10 -05:00
Luis C.M 58932ffe55 Fixes to scripted item rendering.
IItemCustom:
-Removed unnecessary setters.
2022-06-28 04:39:50 -05:00
Luis C.M 5292916ef4 IItemCustom:
-Hid some internal script execution functions from the player.
2022-06-13 21:50: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
Luis C.M 747730face Fixed a bug with item uses, custom items can now do block, bow, eat, and drink animations. 2022-05-11 02:33:56 -05:00
Luis C.M a18cf5625b Added some more functions for scripted items 2022-05-11 02:07:06 -05:00
Luis C.M 26f5f86dca Implemented Scripted Custom Items. 2022-05-11 01:10:31 -05:00