public abstract class LavaFluid extends FlowingFluid
Modifier and Type | Class and Description |
---|---|
static class |
LavaFluid.Flowing |
static class |
LavaFluid.Source |
FALLING, LEVEL_1_8
STATE_REGISTRY, stateContainer
delegate
Constructor and Description |
---|
LavaFluid() |
calculateCorrectFlowingState, canFlow, causesDownwardCurrent, fillStateContainer, flowAround, func_205571_a, func_205572_b, func_215664_b, getActualHeight, getFlow, getFlowingFluidState, getHeight, getLevelFromState, getStillFluidState, tick
createAttributes, getAttributes, getDefaultState, getLevel, getStateContainer, getTags, isEmpty, isIn, isSource, setDefaultState
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
public Fluid getFlowingFluid()
getFlowingFluid
in class FlowingFluid
public Fluid getStillFluid()
getStillFluid
in class FlowingFluid
public Item getFilledBucket()
getFilledBucket
in class Fluid
public void animateTick(World worldIn, BlockPos pos, IFluidState state, java.util.Random random)
animateTick
in class Fluid
public void randomTick(World p_207186_1_, BlockPos pos, IFluidState state, java.util.Random random)
randomTick
in class Fluid
private boolean isSurroundingBlockFlammable(IWorldReader worldIn, BlockPos pos)
private boolean getCanBlockBurn(IWorldReader worldIn, BlockPos pos)
@Nullable public IParticleData getDripParticleData()
getDripParticleData
in class Fluid
protected void beforeReplacingBlock(IWorld worldIn, BlockPos pos, BlockState state)
beforeReplacingBlock
in class FlowingFluid
public int getSlopeFindDistance(IWorldReader worldIn)
getSlopeFindDistance
in class FlowingFluid
public BlockState getBlockState(IFluidState state)
getBlockState
in class Fluid
public boolean isEquivalentTo(Fluid fluidIn)
isEquivalentTo
in class Fluid
public int getLevelDecreasePerBlock(IWorldReader worldIn)
getLevelDecreasePerBlock
in class FlowingFluid
public 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 Fluid
public int getTickRate(IWorldReader p_205569_1_)
getTickRate
in class Fluid
public int func_215667_a(World p_215667_1_, BlockPos p_215667_2_, IFluidState p_215667_3_, IFluidState p_215667_4_)
func_215667_a
in class FlowingFluid
protected boolean canSourcesMultiply()
canSourcesMultiply
in class FlowingFluid
protected void flowInto(IWorld worldIn, BlockPos pos, BlockState blockStateIn, Direction direction, IFluidState fluidStateIn)
flowInto
in class FlowingFluid
protected boolean ticksRandomly()
ticksRandomly
in class Fluid
protected float getExplosionResistance()
getExplosionResistance
in class Fluid