Package net.minecraftforge.fluids
Class ForgeFlowingFluid.Properties
- java.lang.Object
-
- net.minecraftforge.fluids.ForgeFlowingFluid.Properties
-
- Enclosing class:
- ForgeFlowingFluid
public static class ForgeFlowingFluid.Properties extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private FluidAttributes.Builder
attributes
private java.util.function.Supplier<? extends FlowingFluidBlock>
block
private java.util.function.Supplier<? extends Item>
bucket
private boolean
canMultiply
private float
explosionResistance
private java.util.function.Supplier<? extends Fluid>
flowing
private int
levelDecreasePerBlock
private int
slopeFindDistance
private java.util.function.Supplier<? extends Fluid>
still
private int
tickRate
-
Constructor Summary
Constructors Constructor Description Properties(java.util.function.Supplier<? extends Fluid> still, java.util.function.Supplier<? extends Fluid> flowing, FluidAttributes.Builder attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForgeFlowingFluid.Properties
block(java.util.function.Supplier<? extends FlowingFluidBlock> block)
ForgeFlowingFluid.Properties
bucket(java.util.function.Supplier<? extends Item> bucket)
ForgeFlowingFluid.Properties
canMultiply()
ForgeFlowingFluid.Properties
explosionResistance(float explosionResistance)
ForgeFlowingFluid.Properties
levelDecreasePerBlock(int levelDecreasePerBlock)
ForgeFlowingFluid.Properties
slopeFindDistance(int slopeFindDistance)
ForgeFlowingFluid.Properties
tickRate(int tickRate)
-
-
-
Field Detail
-
still
private java.util.function.Supplier<? extends Fluid> still
-
flowing
private java.util.function.Supplier<? extends Fluid> flowing
-
attributes
private FluidAttributes.Builder attributes
-
canMultiply
private boolean canMultiply
-
bucket
private java.util.function.Supplier<? extends Item> bucket
-
block
private java.util.function.Supplier<? extends FlowingFluidBlock> block
-
slopeFindDistance
private int slopeFindDistance
-
levelDecreasePerBlock
private int levelDecreasePerBlock
-
explosionResistance
private float explosionResistance
-
tickRate
private int tickRate
-
-
Constructor Detail
-
Properties
public Properties(java.util.function.Supplier<? extends Fluid> still, java.util.function.Supplier<? extends Fluid> flowing, FluidAttributes.Builder attributes)
-
-
Method Detail
-
canMultiply
public ForgeFlowingFluid.Properties canMultiply()
-
bucket
public ForgeFlowingFluid.Properties bucket(java.util.function.Supplier<? extends Item> bucket)
-
block
public ForgeFlowingFluid.Properties block(java.util.function.Supplier<? extends FlowingFluidBlock> block)
-
slopeFindDistance
public ForgeFlowingFluid.Properties slopeFindDistance(int slopeFindDistance)
-
levelDecreasePerBlock
public ForgeFlowingFluid.Properties levelDecreasePerBlock(int levelDecreasePerBlock)
-
explosionResistance
public ForgeFlowingFluid.Properties explosionResistance(float explosionResistance)
-
tickRate
public ForgeFlowingFluid.Properties tickRate(int tickRate)
-
-