v3.44.0 - Update dump from 3.43.1 to 3.44.0 (major)
-
Refactoring and design changes to prepare for fake blocks/per player generators.
-
Fixed a bug where damageGenerator could throw an exception if the new health was between 0 and 1, i.e. 0.5
-
Fixed a bug on older version where Enchantment.EFFICIENCY could not be found.
-
Added toolEquals action, can be used instead of toolIsSimilar action, the only difference is that toolEquals checks both that the items match (name, lore, enchants, etc..) but it also checks the amount. While toolIsSimilar will be true even if the items have a different amount.
-
Added `unplaceable` option for items: prevents items from being placed
-
Added toolIdEquals condition (the id is the name of the item yaml section)
-
Added GeneratorEvent#getGenerator and GeneratorEvent#getGeneratorStage methods to the api
-
AddedgeneratorRegrow action, this action sets the generator to it's max stage.
-
Reworked generator logic system completely, and preparations for per-player generators.
-
Added GeneratorPlaceEvent, called when an admin places a generator.
-
Fixed a bug where the GeneratorGrowthEvent would be called whenever the stage of a generator changed.
-
Added an api class with 8 methods to interact with generators.
-
Added new health placeholders and custom health bar placeholders
-
Added custom health bars to be used with placeholders. Instead of the neanderthal tricks used in chop_tree.yml
- Generator stage(s) is now referred to as Generator phase(s)
- Holograms now update when the health of the generator changes, instead of using a timer where a fast update is required.
-
Reworked placeholder/function system to be 99% nicer to look at and performant. Also allowing for future possibilities such as per action placeholders.
-
Added default hologram view distance in config.yml