Compatibility
Minecraft: Java Edition
1.21.10–1.21.11
1.21.3–1.21.8
1.21–1.21.1
1.20.6
1.20.4
1.20.1–1.20.2
1.19.4
1.16.5
1.12.2
1.8.8
Platforms
Creators
Details
Licensed MIT
Published 3 years ago
Updated 5 days ago
Changelog
Changes 🔨
New API
CrazyCrates API has been bumped to 0.9.0
A new class has been added.
Key Manager class, which allows you to check Items that players are holding.
You can fetch this by doing CratesProvider#get()#getKeyManager()
/**
* A class for the KeyManager, It handles checking physical keys, and anything else we might need soon.
*
* @author Ryder Belserion
* @version 0.9.0
* @since 0.9.0
*/
public abstract class KeyManager<I> {
/**
* The default constructor for {@link KeyManager<I>}.
*
* @author Ryder Belserion
* @since 0.9.0
*/
public KeyManager() {}
/**
* Checks if the item is a valid key.
*
* @param item the ItemStack
* @return true or false
* @since 0.9.0
*/
public abstract boolean isKey(@NotNull final I item);
/**
* Checks if an item matches another item.
*
* @param item the initial ItemStack
* @param comparing the ItemStack to compare
* @return true or false
* @since 0.9.0
*/
public abstract boolean isMatchingKey(@NotNull final I item, @NotNull final I comparing);
/**
* Gets the name of the crate the key belongs to.
*
* @param item the ItemStack
* @return the name of the crate
* @since 0.9.0
*/
public abstract String getKey(@NotNull final I item);
}
Configuration changes
ChestLineshas been renamed toRowsin the crate config files, 5eec53b- All existing configurations should continue to work, You can run
/crazyrates migrate -mt CratesDeprecatedto change this, or simply use Find and Replace.
- All existing configurations should continue to work, You can run
Other Changes
- Added the ability to customize the row/column of the back/next and menu button.
- Added the ability to customize the CSGO animation to either have the top/bottom be static or dynamic. 95de51e
- If you run /crazycrates migrate -mt CratesDeprecated, The existing options you need will generate.
- Please refer to the
examples/crates/CrateExample.ymlfolder for a full example of how to do it. - It supports the same structure as the new way to do items in the
Itemssection which can be found on the documentation.
- Run the command on click in the Crate Menu, instead of on open.
- Added %chance% / %weight% to the prize/default message.
- Added command syntax suggestions to all existing commands.
- Return "N/A" if the file is empty, because files#getFirst() throws an error because no element found.
- Utilize built in methods from CMI/DecentHolograms to handle coloring the messages for better compatibility with their plugins.
- This will maybe also allow other plugin specific features like CMI's countless other features for holograms.
- Remove the brackets from custom name for the item displayed above QuickCrate.
- Fill the bottom border with air to prevent item overfill with the buttons.
- Added toggle to disable opening tracking crate.
Bugs Fixed 🐛
- Fixed an error with WonderCrate.yml on first install, because a prize was lacking an
Itemssection. - Fixed a potential memory leak caused by using double brace initializers.
- Fixed multiple bugs with PlaceholderAPI support.
- Fixed a typo in CosmicCrateManager. #873
- Fixed a typo with %crate_opened_raw%.
- Fixed an issue with items dropping on Folia. #856
- Fixed an issue by using #runNow instead of #run which calls the internal void method.
- Fixed multiple issues with migration types.
- Fixed multiple issues on Folia due to not using schedulers when needed.
- Fixed an issue with potion color not applying with the new items section.
- Fixed an issue with the shield banners using the new item format.
- Fixed an issue with the tier chance per prize not properly showing.
- Fixed crates debug command.
As always, Report 🐛 to https://github.com/Crazy-Crew/CrazyCrates/issues






