Bug: Milk Bucket Fluid Capabilities #2569
Labels
loader/neoforge
This issue affects the NeoForge modloader.
status/in-progress
The issue is currently being worked on.
type/compatibility
The issue regards a compatibility or additional feature request relating to another mod.
version/1.20.1
This issue affects Minecraft version 1.20.1.
version/1.21.1
This issue affects Minecraft version 1.21.1.
What Feature Types Apply to This Bug?
Item
Other Type
No response
What Type of Bug Is This?
Unexpected Behavior
Mod Loader
Neoforge
Mod Loader Version
47.1.70, 21.1.72
The Aether Version
1.5.2, 1.5.4
Is This Bug a Conflict With Another Mod?
No response
Client Log
No response
Crash Report (if applicable)
No response
Steps to Reproduce
What You Expect To Happen
The returned container is a skyroot bucket.
What Actually Happened
On 1.21.1, there is no capability.
On 1.20.1, this returned container is a normal bucket, not a skyroot bucket. This can seen in action with a mod like Create, which generates certain recipes from fluid capabilities: Creators-of-Create/Create#7084
Additional Details
Code analysis:
1.20.1 registered the capability via MilkBucketItem while 1.21.1 doesn't, explaining the missing capability.
1.20.1's MilkBucketItem's initCapabilities should be overridden: it currently returns a FluidBucketWrapper, whose default setFluid method will set the container to a normal bucket if the fluid is empty)
Please Read and Confirm The Following
The text was updated successfully, but these errors were encountered: