diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cbca56..2ac527a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Forge Recommended Versioning](https://mcforge.readthedocs.io/en/latest/conventions/versioning/). +## [1.20.1-2.3.0.1] - 2023-09-10 +### Fixed +- textures of catfish and cosmic cod (Alex's Mobs) were not rendered correctly +- cracked bucket texture was not used for stradpole (Alex's Mobs) bucket texture + ## [1.20.1-2.3.0.0] - 2023-08-09 ### Changed - Changed Forge to NeoForge 1.20.1-47.1.54 (compatible with Forge 47.1.0) diff --git a/gradle.properties b/gradle.properties index ec92da8..227f66d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ mixin_version=0.8.5 ## Mod Properties mod_id=bucketlib -mod_version=2.3.0.0 +mod_version=2.3.0.1 mod_group_id=cech12.bucketlib mod_name=BucketLib mod_authors=Cech12 diff --git a/src/main/java/cech12/bucketlib/api/item/UniversalBucketItem.java b/src/main/java/cech12/bucketlib/api/item/UniversalBucketItem.java index 608bb9e..45c0284 100644 --- a/src/main/java/cech12/bucketlib/api/item/UniversalBucketItem.java +++ b/src/main/java/cech12/bucketlib/api/item/UniversalBucketItem.java @@ -107,9 +107,8 @@ public Component getName(@Nonnull ItemStack stack) { } public boolean isCracked(ItemStack stack) { - FluidStack fluidStack = FluidUtil.getFluidContained(stack).orElse(FluidStack.EMPTY); - if (!fluidStack.isEmpty()) { - Fluid fluid = fluidStack.getFluid(); + Fluid fluid = BucketLibUtil.getFluid(stack); + if (fluid != Fluids.EMPTY) { int fluidTemperature = fluid.getFluidType().getTemperature(); Integer upperCrackingTemperature = getUpperBreakTemperature(); Integer lowerCrackingTemperature = getLowerBreakTemperature(); diff --git a/src/main/resources/assets/alexsmobs/textures/item/bucket_content/catfish.png b/src/main/resources/assets/alexsmobs/textures/item/bucket_content/catfish.png new file mode 100644 index 0000000..1de358a Binary files /dev/null and b/src/main/resources/assets/alexsmobs/textures/item/bucket_content/catfish.png differ diff --git a/src/main/resources/assets/alexmobs/textures/item/bucket_content/cosmic_cod.png b/src/main/resources/assets/alexsmobs/textures/item/bucket_content/cosmic_cod.png similarity index 100% rename from src/main/resources/assets/alexmobs/textures/item/bucket_content/cosmic_cod.png rename to src/main/resources/assets/alexsmobs/textures/item/bucket_content/cosmic_cod.png