Denizen
Denizen copied to clipboard
NPC and general Spigot scripting, using the Denizen Scripting Language!
7 of these are just converting from a "switch" to "return switch" in getContext section, the rest are this and determination modernization. - BlockBuiltScriptEvent - BlockBurnsScriptEvent - BlockDestroyedByExplosionEvent - BlockDispensesScriptEvent...
I'm a bit rusty here so apologies if anything is flat out wrong. This was all tested on 1.21.4, multiple rps can be added and removals work:  I wasn't...
Updating the determination format for the following ScriptEvents : * `FurnaceStartsSmeltingScriptEvent` * `RedstoneScriptEvent` * `EntityHealsScriptEvent` * `PlayerCraftsItemScriptEvent` * `PlayerItemTakesDamageScriptEvent`
- Modernized `MaterialTag.shape` property. - Modernized `MaterialTag.power` property. - Modernized `MaterialTag.persistent` property.
- Modernized `MaterialTag.note` property. - Modernized `MaterialTag.mode` property. - Modernized `MaterialTag.locked` property.
- Modernized `MaterialTag.leaf_size` property. - Modernized `MaterialTag.instrument` property. - Modernized `MaterialTag.hinge` property.
- Modernized `MaterialTag.unstable` property. - Modernized `MaterialTag.waterlogged` property. - Modernized `MaterialTag.count` property.
- Modernized `MaterialTag.directional` property. - Modernized `MaterialTag.delay` property.
- Renamed MaterialBrewingStand property file to MaterialBottles. - Modernized `MaterialTag.bottles` property.
I have noticed that the PlayerPreparesEnchant ScriptEvent errors in case of the minecraft provided offers having a null entry. I added some simple protections for null entries.