Added support for Minecraft 1.21.4, 1.21.5, 1.21.6 and 1.21.7
Added LuckyBlock debug mode. If this mode is enabled, when a LuckyBlock is broken, its location, type and other stuff will be logged in the console (Thanks to AIGLE25 for the suggestion)
Code (YAML):
# General LuckyBlock configurations LuckyBlock: # If debug mode is enabled, when a LuckyBlock is broken, its location, contents and other stuff # will be logged in the console DebugMode: false
Improved SoundRewards and SoundMenu.
Now the volume will be in the range 0.0-1.0 and the pitch will be in the range 0.5-2.0
Now both volume and pitch are managed as fixed point values rather than floating point values
Now sounds are organized in categories with icons
Now you can select the sound seed (only in Minecraft 1.20.2 and onwards). This is used in sounds that have different variations to play always the same variation for these sounds.
Improved ItemRewards and ItemMenu.
Now effects can be added to tipped arrows and suspicious stews in ItemReward. NOTE: If you add an effect to suspicious stew, only the effect name and duration will be saved. The amplifier, isAmbient and showParticles properties of the effect won't be saved.
Now you can edit the unbreakable status of items in ItemMenu
Now you can edit the item flags of items in ItemMenu
Now you can edit the NBT tags of items in ItemMenu
The last 3 improvements of ItemRewards and ItemMenu will now allow you to use custom items created by plugins like Items Adder or Knokko's Custom Items or even the SpecialItems of NewAmazingLuckyBlocks in the ItemRewards (Thanks to gxlydlyf and other people for suggesting it)
Now entities like Skeletons can use some SpecialItems. To do that, simply create entities in EntityMenu and add a SpecialItem in their item in hand slot. For the moment, they are able to use:
Now you can configure the steal radius of ItemStealer
=== BUG FIXES ===
Fixed bug when removing custom recipes in Minecraft 1.12-1.14 when the plugin reloaded
Fixed bug when converting block material to XMaterial if external blocks were used. This bug occurred when the material of a block added by an external mod was tried to be converted to a XMaterial. Now if a strange material is used, AIR will be used instead
Fixed SquidExplosionReward not using 'isAmbient' and 'showParticles' effect properties
Fixed bug when saving a location whose world had been unloaded
Fixed bug with Swapping Ball item (It wasn't doing anything in some cases)
Fixed ItemStealer not working correctly in some cases in Minecraft 1.14+
=== OTHER ===
Updated Gradle to 8.14.3
Improved error messages when loading invalid items from config
IMPORTANT: Internal numeric IDs used in SpecialItems have been replaced with text ones, so if you had any SpecialItem in your inventory, it will just stop working. You'll need to get it again to get it working again
IMPORTANT 2: Due to a change in the XMaterial class of the XSeries library (https://github.com/CryptoMorin/XSeries/issues/355), you'll need to download the expansion packs again if you had downloaded them before