public static class ForgeFlowingFluid.Properties
extends java.lang.Object
Modifier and Type | Field and 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 and Description |
---|
Properties(java.util.function.Supplier<? extends Fluid> still,
java.util.function.Supplier<? extends Fluid> flowing,
FluidAttributes.Builder attributes) |
Modifier and Type | Method and 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) |
private java.util.function.Supplier<? extends Fluid> still
private java.util.function.Supplier<? extends Fluid> flowing
private FluidAttributes.Builder attributes
private boolean canMultiply
private java.util.function.Supplier<? extends Item> bucket
private java.util.function.Supplier<? extends FlowingFluidBlock> block
private int slopeFindDistance
private int levelDecreasePerBlock
private float explosionResistance
private int tickRate
public Properties(java.util.function.Supplier<? extends Fluid> still, java.util.function.Supplier<? extends Fluid> flowing, FluidAttributes.Builder attributes)
public ForgeFlowingFluid.Properties canMultiply()
public ForgeFlowingFluid.Properties bucket(java.util.function.Supplier<? extends Item> bucket)
public ForgeFlowingFluid.Properties block(java.util.function.Supplier<? extends FlowingFluidBlock> block)
public ForgeFlowingFluid.Properties slopeFindDistance(int slopeFindDistance)
public ForgeFlowingFluid.Properties levelDecreasePerBlock(int levelDecreasePerBlock)
public ForgeFlowingFluid.Properties explosionResistance(float explosionResistance)
public ForgeFlowingFluid.Properties tickRate(int tickRate)