Class CustomFluidContainerTest
java.lang.Object
net.neoforged.neoforge.oldtest.item.CustomFluidContainerTest
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
A custom fluid container item with a capacity of a vanilla bucket which uses the FluidUtil functionalities to pickup and place fluids. -
Field Summary
Modifier and TypeFieldDescriptionstatic final DeferredRegister
<DataComponentType<?>> static final DeferredItem
<Item> static final boolean
static final DeferredRegister.Items
static final String
static final DeferredHolder
<DataComponentType<?>, DataComponentType<SimpleFluidContent>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private 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
-