public abstract class WaterFluid extends FlowingFluid
Modifier and Type | Class and Description |
---|---|
static class |
WaterFluid.Flowing |
static class |
WaterFluid.Source |
FALLING, LEVEL_1_TO_8
STATE_REGISTRY, stateContainer
Constructor and Description |
---|
WaterFluid() |
Modifier and Type | Method and Description |
---|---|
void |
animateTick(World worldIn,
BlockPos pos,
IFluidState state,
java.util.Random random) |
protected void |
beforeReplacingBlock(IWorld worldIn,
BlockPos pos,
IBlockState state) |
boolean |
canOtherFlowInto(IFluidState state,
Fluid fluidIn,
EnumFacing direction) |
protected boolean |
canSourcesMultiply() |
IBlockState |
getBlockState(IFluidState state) |
IParticleData |
getDripParticleData() |
protected float |
getExplosionResistance() |
Item |
getFilledBucket() |
Fluid |
getFlowingFluid() |
int |
getLevelDecreasePerBlock(IWorldReaderBase worldIn) |
BlockRenderLayer |
getRenderLayer() |
int |
getSlopeFindDistance(IWorldReaderBase worldIn) |
Fluid |
getStillFluid() |
int |
getTickRate(IWorldReaderBase p_205569_1_) |
boolean |
isEquivalentTo(Fluid fluidIn) |
calculateCorrectFlowingState, canFlow, fillStateContainer, flowAround, flowInto, func_205571_a, func_205572_b, func_205573_a, getFlow, getFlowingFluidState, getHeight, getLevelFromState, getStillFluidState, getTickRate, tick
getDefaultState, getLevel, getStateContainer, getTickRandomly, isEmpty, isIn, isSource, randomTick, registerAll, setDefaultState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRenderInLayer, getExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
public Fluid getFlowingFluid()
getFlowingFluid
in class FlowingFluid
public Fluid getStillFluid()
getStillFluid
in class FlowingFluid
public BlockRenderLayer getRenderLayer()
getRenderLayer
in class Fluid
public Item getFilledBucket()
getFilledBucket
in class Fluid
public void animateTick(World worldIn, BlockPos pos, IFluidState state, java.util.Random random)
animateTick
in class Fluid
@Nullable public IParticleData getDripParticleData()
getDripParticleData
in class Fluid
protected boolean canSourcesMultiply()
canSourcesMultiply
in class FlowingFluid
protected void beforeReplacingBlock(IWorld worldIn, BlockPos pos, IBlockState state)
beforeReplacingBlock
in class FlowingFluid
public int getSlopeFindDistance(IWorldReaderBase worldIn)
getSlopeFindDistance
in class FlowingFluid
public IBlockState getBlockState(IFluidState state)
getBlockState
in class Fluid
public boolean isEquivalentTo(Fluid fluidIn)
isEquivalentTo
in class Fluid
public int getLevelDecreasePerBlock(IWorldReaderBase worldIn)
getLevelDecreasePerBlock
in class FlowingFluid
public int getTickRate(IWorldReaderBase p_205569_1_)
getTickRate
in class Fluid
public boolean canOtherFlowInto(IFluidState state, Fluid fluidIn, EnumFacing direction)
canOtherFlowInto
in class Fluid
protected float getExplosionResistance()
getExplosionResistance
in class Fluid