public abstract class WaterFluid extends FlowingFluid
| Modifier and Type | Class and Description |
|---|---|
static class |
WaterFluid.Flowing |
static class |
WaterFluid.Source |
FALLING, LEVEL_1_8STATE_REGISTRY, stateContainerdelegate| 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,
BlockState state) |
boolean |
canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
protected boolean |
canSourcesMultiply() |
BlockState |
getBlockState(IFluidState state) |
IParticleData |
getDripParticleData() |
protected float |
getExplosionResistance() |
Item |
getFilledBucket() |
Fluid |
getFlowingFluid() |
int |
getLevelDecreasePerBlock(IWorldReader worldIn) |
int |
getSlopeFindDistance(IWorldReader worldIn) |
Fluid |
getStillFluid() |
int |
getTickRate(IWorldReader p_205569_1_) |
boolean |
isEquivalentTo(Fluid fluidIn) |
calculateCorrectFlowingState, canFlow, causesDownwardCurrent, fillStateContainer, flowAround, flowInto, func_205571_a, func_205572_b, func_215664_b, func_215667_a, getActualHeight, getFlow, getFlowingFluidState, getHeight, getLevelFromState, getStillFluidState, tickcreateAttributes, getAttributes, getDefaultState, getLevel, getStateContainer, getTags, isEmpty, isIn, isSource, randomTick, setDefaultState, ticksRandomlygetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInsidepublic Fluid getFlowingFluid()
getFlowingFluid in class FlowingFluidpublic Fluid getStillFluid()
getStillFluid in class FlowingFluidpublic 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, BlockState state)
beforeReplacingBlock in class FlowingFluidpublic int getSlopeFindDistance(IWorldReader worldIn)
getSlopeFindDistance in class FlowingFluidpublic BlockState getBlockState(IFluidState state)
getBlockState in class Fluidpublic boolean isEquivalentTo(Fluid fluidIn)
isEquivalentTo in class Fluidpublic int getLevelDecreasePerBlock(IWorldReader worldIn)
getLevelDecreasePerBlock in class FlowingFluidpublic int getTickRate(IWorldReader p_205569_1_)
getTickRate in class Fluidpublic boolean canDisplace(IFluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_)
canDisplace in class Fluidprotected float getExplosionResistance()
getExplosionResistance in class Fluid