From 264b549ee319fc0a4d4bdc7a8ae92bc322991916 Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Thu, 16 Jan 2025 19:50:59 -0500 Subject: [PATCH] Bump to 4.5.1 --- build.gradle.kts | 2 +- changelog.md | 28 +++++++++++++++++++++++----- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 2087163a3..e24f66acc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,4 +6,4 @@ rootProject.group = "com.badbones69.crazycrates" val buildNumber: String? = System.getenv("BUILD_NUMBER") -rootProject.version = if (buildNumber != null) "${libs.versions.minecraft.get()}-$buildNumber" else "4.5.0" \ No newline at end of file +rootProject.version = if (buildNumber != null) "${libs.versions.minecraft.get()}-$buildNumber" else "4.5.1" \ No newline at end of file diff --git a/changelog.md b/changelog.md index f145a31e3..a6c51a9ba 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,23 @@ -- `Flags` has been removed from being a configuration option for Prizes - - If you used `Flags`, as long as it's not empty. It will simply hide everything, but lore/displayname. -- `HideItemFlags: true/false` will now function, it will hide all, but lore/displayname. -- `hide-tool-tip:true/false` is now an option for the `Items` section in Prizes. -- Updated to 1.21.4 \ No newline at end of file +- Fixed an issue with Glowing:true/false again which caused items to show up as red terracotta +- Added a new way to define color/rgb for things like potions, leather_armor etc which should fix the `potion#10040:229,164,229` issue trying to stack model data and color/rgb +```yml + "8": + # The name of the item to display in the gui. + DisplayName: "Red Potion" + # The item to display in the gui. + DisplayItem: "potion" + # Prize display preview settings + Settings: + # The custom model data of the item, -1 is disabled. + Custom-Model-Data: -1 + # The rgb used for the potion. + RGB: '229,164,229' + # Color: RED + # The amount to display in the gui. + DisplayAmount: 1 + # The lower the number, the less likely to win it. + Weight: 15.0 + # The list of items to win. + Items: + - "Item:potion, RGB:229,164,229" # Color:RED +``` \ No newline at end of file