Class ForgeFluidData
java.lang.Object
earth.terrarium.botarium.forge.regsitry.fluid.ForgeFluidData
- All Implemented Interfaces:
FluidData
-
Constructor Summary
ConstructorsConstructorDescriptionForgeFluidData(Supplier<BotariumFluidType> type, FluidInformation information) ForgeFluidData(Supplier<BotariumFluidType> type, FluidProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionSupplier<? extends net.minecraft.world.level.block.LiquidBlock>getBlock()Supplier<? extends net.minecraft.world.item.Item>Supplier<? extends net.minecraft.world.level.material.FlowingFluid>Supplier<? extends net.minecraft.world.level.material.FlowingFluid>getType()voidvoidvoidsetFlowingFluid(Supplier<? extends net.minecraft.world.level.material.FlowingFluid> flowing) voidsetStillFluid(Supplier<? extends net.minecraft.world.level.material.FlowingFluid> still) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface earth.terrarium.botarium.common.registry.fluid.FluidData
getOptionalBlock, getOptionalBucket, getOptionalFlowingFluid, getOptionalStillFluid
-
Constructor Details
-
ForgeFluidData
-
ForgeFluidData
-
-
Method Details
-
getType
-
getProperties
- Specified by:
getPropertiesin interfaceFluidData- Returns:
- The properties of this fluid.
-
getInformation
- Specified by:
getInformationin interfaceFluidData
-
getStillFluid
- Specified by:
getStillFluidin interfaceFluidData
-
getFlowingFluid
- Specified by:
getFlowingFluidin interfaceFluidData
-
getBucket
-
getBlock
-
setStillFluid
public void setStillFluid(Supplier<? extends net.minecraft.world.level.material.FlowingFluid> still) - Specified by:
setStillFluidin interfaceFluidData
-
setFlowingFluid
public void setFlowingFluid(Supplier<? extends net.minecraft.world.level.material.FlowingFluid> flowing) - Specified by:
setFlowingFluidin interfaceFluidData
-
setBucket
-
setBlock
-