public abstract class WaterFluid extends FlowingFluid
| Modifier and Type | Class and Description |
|---|---|
static class |
WaterFluid.Flowing |
static class |
WaterFluid.Source |
FALLING, LEVEL_1_TO_8STATE_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, tickgetDefaultState, getLevel, getStateContainer, getTickRandomly, isEmpty, isIn, isSource, randomTick, registerAll, setDefaultStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRenderInLayer, getExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInsidepublic Fluid getFlowingFluid()
getFlowingFluid in class FlowingFluidpublic Fluid getStillFluid()
getStillFluid in class FlowingFluidpublic BlockRenderLayer getRenderLayer()
getRenderLayer in class Fluidpublic Item getFilledBucket()
getFilledBucket in class Fluidpublic void animateTick(World worldIn, BlockPos pos, IFluidState state, java.util.Random random)
animateTick in class Fluid@Nullable public IParticleData getDripParticleData()
getDripParticleData in class Fluidprotected boolean canSourcesMultiply()
canSourcesMultiply in class FlowingFluidprotected void beforeReplacingBlock(IWorld worldIn, BlockPos pos, IBlockState state)
beforeReplacingBlock in class FlowingFluidpublic int getSlopeFindDistance(IWorldReaderBase worldIn)
getSlopeFindDistance in class FlowingFluidpublic IBlockState getBlockState(IFluidState state)
getBlockState in class Fluidpublic boolean isEquivalentTo(Fluid fluidIn)
isEquivalentTo in class Fluidpublic int getLevelDecreasePerBlock(IWorldReaderBase worldIn)
getLevelDecreasePerBlock in class FlowingFluidpublic int getTickRate(IWorldReaderBase p_205569_1_)
getTickRate in class Fluidpublic boolean canOtherFlowInto(IFluidState state, Fluid fluidIn, EnumFacing direction)
canOtherFlowInto in class Fluidprotected float getExplosionResistance()
getExplosionResistance in class Fluid