Package org.moddingx.libx.base
Class FluidBase.Builder
java.lang.Object
org.moddingx.libx.base.FluidBase.Builder
- Enclosing class:
- FluidBase
-
Method Summary
Modifier and TypeMethodDescriptionblockProperties
(Consumer<net.minecraft.world.level.block.state.BlockBehaviour.Properties> action) blockProperties
(net.minecraft.world.level.block.state.BlockBehaviour.Properties blockProperties) build()
clientExtensions
(Supplier<Supplier<net.minecraftforge.client.extensions.common.IClientFluidTypeExtensions>> clientExtensions) flowingFactory
(Function<net.minecraftforge.fluids.ForgeFlowingFluid.Properties, net.minecraftforge.fluids.ForgeFlowingFluid.Flowing> flowingFactory) itemProperties
(Consumer<net.minecraft.world.item.Item.Properties> action) itemProperties
(net.minecraft.world.item.Item.Properties itemProperties) properties
(Consumer<net.minecraftforge.fluids.FluidType.Properties> action) properties
(net.minecraftforge.fluids.FluidType.Properties properties) sourceFactory
(Function<net.minecraftforge.fluids.ForgeFlowingFluid.Properties, net.minecraftforge.fluids.ForgeFlowingFluid.Source> sourceFactory)
-
Method Details
-
sourceFactory
public FluidBase.Builder sourceFactory(Function<net.minecraftforge.fluids.ForgeFlowingFluid.Properties, net.minecraftforge.fluids.ForgeFlowingFluid.Source> sourceFactory) -
flowingFactory
public FluidBase.Builder flowingFactory(Function<net.minecraftforge.fluids.ForgeFlowingFluid.Properties, net.minecraftforge.fluids.ForgeFlowingFluid.Flowing> flowingFactory) -
clientExtensions
public FluidBase.Builder clientExtensions(Supplier<Supplier<net.minecraftforge.client.extensions.common.IClientFluidTypeExtensions>> clientExtensions) -
properties
-
properties
public FluidBase.Builder properties(Consumer<net.minecraftforge.fluids.FluidType.Properties> action) -
blockProperties
public FluidBase.Builder blockProperties(net.minecraft.world.level.block.state.BlockBehaviour.Properties blockProperties) -
blockProperties
public FluidBase.Builder blockProperties(Consumer<net.minecraft.world.level.block.state.BlockBehaviour.Properties> action) -
itemProperties
-
itemProperties
-
build
-