类 FluidTypeTest
java.lang.Object
net.neoforged.neoforge.oldtest.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
- Adds the ability for the fluid to drip from Pointed Dripstone stalactites into a cauldron below
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private static final DeferredRegister.Blocks
private static final boolean
private static final DeferredRegister
<FluidType> private static final DeferredRegister
<Fluid> protected static final String
private static final DeferredRegister.Items
private static org.apache.logging.log4j.Logger
private static final DeferredHolder
<Fluid, FlowingFluid> private static final DeferredBlock
<LiquidBlock> private static final DeferredItem
<Item> private static final DeferredHolder
<Fluid, Fluid> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
private void
commonSetup
(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event) private static BaseFlowingFluid.Properties
-
字段详细资料
-
ENABLE
private static final boolean ENABLE- 另请参阅:
-
ID
- 另请参阅:
-
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
-
-
构造器详细资料
-
FluidTypeTest
public FluidTypeTest(net.neoforged.bus.api.IEventBus modEventBus)
-
-
方法详细资料
-
fluidProperties
-
addCreative
-
commonSetup
private void commonSetup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
-