Package net.minecraft.fluid
Class LavaFluid
java.lang.Object
net.minecraft.fluid.Fluid
net.minecraft.fluid.FlowableFluid
net.minecraft.fluid.LavaFluid
- Direct Known Subclasses:
LavaFluid.Flowing,LavaFluid.Still
public abstract class LavaFluid extends FlowableFluid
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLavaFluid.Flowingstatic classLavaFluid.Still -
Field Summary
Fields inherited from class net.minecraft.fluid.FlowableFluid
FALLING, LEVELFields inherited from class net.minecraft.fluid.Fluid
STATE_IDS, stateManager -
Constructor Summary
Constructors Constructor Description LavaFluid() -
Method Summary
Methods inherited from class net.minecraft.fluid.FlowableFluid
appendProperties, canFlow, getFlowing, getHeight, getHeight, getShape, getSpread, getStill, getUpdatedState, getVelocity, method_15741, method_15742, method_15749, onScheduledTick, tryFlowMethods inherited from class net.minecraft.fluid.Fluid
getDefaultState, getLevel, getStateManager, isEmpty, isIn, isStill, setDefaultState
-
Constructor Details
-
LavaFluid
public LavaFluid()
-
-
Method Details
-
getFlowing
- Specified by:
getFlowingin classFlowableFluid
-
getStill
- Specified by:
getStillin classFlowableFluid
-
getBucketItem
- Specified by:
getBucketItemin classFluid
-
randomDisplayTick
@Environment(CLIENT) public void randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)- Overrides:
randomDisplayTickin classFluid
-
onRandomTick
- Overrides:
onRandomTickin classFluid
-
canLightFire
-
hasBurnableBlock
-
getParticle
- Overrides:
getParticlein classFluid
-
beforeBreakingBlock
- Specified by:
beforeBreakingBlockin classFlowableFluid
-
getFlowSpeed
- Specified by:
getFlowSpeedin classFlowableFluid
-
toBlockState
- Specified by:
toBlockStatein classFluid
-
matchesType
- Overrides:
matchesTypein classFluid
-
getLevelDecreasePerBlock
- Specified by:
getLevelDecreasePerBlockin classFlowableFluid
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)- Specified by:
canBeReplacedWithin classFluid
-
getTickRate
- Specified by:
getTickRatein classFluid
-
getNextTickDelay
- Overrides:
getNextTickDelayin classFlowableFluid
-
playExtinguishEvent
-
isInfinite
protected boolean isInfinite()- Specified by:
isInfinitein classFlowableFluid
-
flow
protected void flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState)- Overrides:
flowin classFlowableFluid
-
hasRandomTicks
protected boolean hasRandomTicks()- Overrides:
hasRandomTicksin classFluid
-
getBlastResistance
protected float getBlastResistance()- Specified by:
getBlastResistancein classFluid
-
getFillSound
- Overrides:
getFillSoundin classFluid
-