Package net.minecraftforge.debug.fluid
Class FluidTypeTest
java.lang.Object
net.minecraftforge.debug.fluid.FluidTypeTest
A test case used to define and test fluid type integration into fluids.
- Checks that each fluid has a fluid type
- Adds a new fluid with its type, source/flowing, block, and bucket
- Sets properties to test out fluid logic
- Overrides fluid rendering methods
- Adds block color and render layer
- Adds fluid interaction definitions
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DeferredRegister<Block>
private static final boolean
private static final DeferredRegister<FluidType>
private static final DeferredRegister<Fluid>
protected static final String
private static final DeferredRegister<Item>
private static org.apache.logging.log4j.Logger
private static final RegistryObject<FlowingFluid>
private static final RegistryObject<LiquidBlock>
private static final RegistryObject<Item>
private static final RegistryObject<Fluid>
private static final RegistryObject<FluidType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
commonSetup
(FMLCommonSetupEvent event) private static ForgeFlowingFluid.Properties
-
Field Details
-
ENABLE
private static final boolean ENABLE- See Also:
-
ID
- See Also:
-
logger
private static org.apache.logging.log4j.Logger logger -
FLUID_TYPES
-
FLUIDS
-
BLOCKS
-
ITEMS
-
TEST_FLUID_TYPE
-
TEST_FLUID
-
TEST_FLUID_FLOWING
-
TEST_FLUID_BLOCK
-
TEST_FLUID_BUCKET
-
-
Constructor Details
-
FluidTypeTest
public FluidTypeTest()
-
-
Method Details
-
fluidProperties
-
addCreative
-
commonSetup
-