Class CustomFluidContainerTest
java.lang.Object
net.neoforged.neoforge.oldtest.item.CustomFluidContainerTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classA custom fluid container item with a capacity of a vanilla bucket which uses the FluidUtil functionalities to pickup and place fluids. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeferredRegister<DataComponentType<?>> static final DeferredItem<Item> static final booleanstatic final DeferredRegister.Itemsstatic final Stringstatic final DeferredHolder<DataComponentType<?>, DataComponentType<SimpleFluidContent>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate void
-
Field Details
-
MODID
- See Also:
-
ITEMS
-
COMPONENT_TYPES
-
ENABLED
public static final boolean ENABLED- See Also:
-
CUSTOM_FLUID_CONTAINER
-
SIMPLE_FLUID_CONTENT
public static final DeferredHolder<DataComponentType<?>,DataComponentType<SimpleFluidContent>> SIMPLE_FLUID_CONTENT
-
-
Constructor Details
-
CustomFluidContainerTest
public CustomFluidContainerTest(net.neoforged.bus.api.IEventBus modEventBus)
-
-
Method Details
-
addCreative
-
registerCaps
-