Class DynamicFluidContainerModel

java.lang.Object
net.neoforged.neoforge.client.model.item.DynamicFluidContainerModel
All Implemented Interfaces:
ItemModel

public class DynamicFluidContainerModel extends Object implements ItemModel
A dynamic fluid container model, capable of re-texturing itself at runtime to match the contained fluid.

Composed of a base layer, a fluid layer (applied with a mask) and a cover layer (optionally applied with a mask). The entire model may optionally be flipped if the fluid is gaseous, and the fluid layer may glow if light-emitting.