Skip to content

Commit

Permalink
Bump to 4.5.1
Browse files Browse the repository at this point in the history
ryderbelserion committed Jan 17, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 0188731 commit 264b549
Showing 2 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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"
rootProject.version = if (buildNumber != null) "${libs.versions.minecraft.get()}-$buildNumber" else "4.5.1"
28 changes: 23 additions & 5 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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
- 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>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
```

0 comments on commit 264b549

Please sign in to comment.