diff --git a/CHANGELOG.md b/CHANGELOG.md index 60f1c35..2f3ed5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ 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.4-3.2.2.0] - 2024-09-30 +### Added +- new fluid tag "bucketlib:no_flipping" to list all fluids that should be displayed in a normal bucket instead of a 180° flipped bucket. (thanks to Konhaiii for the idea) #50 + ## [1.20.4-3.2.1.6] - 2024-09-29 ### Fixed - lava bucket did not serve as fuel in furnace (Fabric & Forge) (thanks to memoharos and AvaAsUsual for the report) #49 https://github.com/cech12/CeramicBucket/issues/83 diff --git a/common/src/main/java/de/cech12/bucketlib/api/BucketLibTags.java b/common/src/main/java/de/cech12/bucketlib/api/BucketLibTags.java index ec71bc7..e0d9c8f 100644 --- a/common/src/main/java/de/cech12/bucketlib/api/BucketLibTags.java +++ b/common/src/main/java/de/cech12/bucketlib/api/BucketLibTags.java @@ -34,6 +34,7 @@ private static TagKey> tag(@Nonnull String name) { public static class Fluids { public static final TagKey INFINITY_ENCHANTABLE = tag("infinity_enchantable"); + public static final TagKey NO_FLIPPING = tag("no_flipping"); private static void init() { } diff --git a/common/src/main/resources/data/bucketlib/tags/fluids/no_flipping.json b/common/src/main/resources/data/bucketlib/tags/fluids/no_flipping.json new file mode 100644 index 0000000..906d155 --- /dev/null +++ b/common/src/main/resources/data/bucketlib/tags/fluids/no_flipping.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "_comment" : "This tag lists all fluids that should be displayed in a normal bucket instead of a 180° flipped bucket.", + "values": [ + ] +} \ No newline at end of file diff --git a/fabric/src/main/java/de/cech12/bucketlib/client/model/UniversalBucketUnbakedModel.java b/fabric/src/main/java/de/cech12/bucketlib/client/model/UniversalBucketUnbakedModel.java index c1ea6ee..b540c7f 100644 --- a/fabric/src/main/java/de/cech12/bucketlib/client/model/UniversalBucketUnbakedModel.java +++ b/fabric/src/main/java/de/cech12/bucketlib/client/model/UniversalBucketUnbakedModel.java @@ -2,6 +2,7 @@ import com.google.common.collect.Maps; import de.cech12.bucketlib.api.BucketLib; +import de.cech12.bucketlib.api.BucketLibTags; import de.cech12.bucketlib.api.item.UniversalBucketItem; import de.cech12.bucketlib.client.BucketLibClientMod; import de.cech12.bucketlib.mixin.BlockModelAccessor; @@ -187,7 +188,7 @@ public BakedModel bake(@Nonnull ModelBaker modelBaker, @Nonnull Function