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
- Mappings:
Namespace Name official eap
intermediary net/minecraft/class_3616
named net/minecraft/fluid/LavaFluid
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.fluid.FlowableFluid
FALLING, LEVEL
Fields inherited from class net.minecraft.fluid.Fluid
STATE_IDS, stateManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
beforeBreakingBlock
(WorldAccess world, BlockPos pos, BlockState state) boolean
canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) private boolean
canLightFire
(WorldView world, BlockPos pos) protected void
flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected float
Returns the sound played when filling a bucket with this fluid.int
getFlowSpeed
(WorldView world) int
int
getNextTickDelay
(World world, BlockPos pos, FluidState oldState, FluidState newState) @Nullable ParticleEffect
getStill()
int
getTickRate
(WorldView world) private boolean
hasBurnableBlock
(WorldView world, BlockPos pos) protected boolean
protected boolean
isInfinite
(World world) boolean
matchesType
(Fluid fluid) void
onRandomTick
(World world, BlockPos pos, FluidState state, Random random) private void
playExtinguishEvent
(WorldAccess world, BlockPos pos) void
randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) toBlockState
(FluidState state) Methods inherited from class net.minecraft.fluid.FlowableFluid
appendProperties, canFlow, getBlockStateLevel, getFlowing, getFlowSpeedBetween, getHeight, getHeight, getLevel, getShape, getSpread, getStill, getUpdatedState, getVelocity, isFlowBlocked, onScheduledTick, tryFlow
Methods inherited from class net.minecraft.fluid.Fluid
getDefaultState, getRegistryEntry, getStateManager, isEmpty, isIn, isStill, setDefaultState
-
Field Details
-
MIN_HEIGHT_TO_REPLACE
public static final float MIN_HEIGHT_TO_REPLACE- See Also:
- Mappings:
Namespace Name Mixin selector official e
Leap;e:F
intermediary field_31729
Lnet/minecraft/class_3616;field_31729:F
named MIN_HEIGHT_TO_REPLACE
Lnet/minecraft/fluid/LavaFluid;MIN_HEIGHT_TO_REPLACE:F
-
-
Constructor Details
-
LavaFluid
public LavaFluid()
-
-
Method Details
-
getFlowing
- Specified by:
getFlowing
in classFlowableFluid
- Mappings:
Namespace Name Mixin selector official d
Leak;d()Leal;
intermediary method_15750
Lnet/minecraft/class_3609;method_15750()Lnet/minecraft/class_3611;
named getFlowing
Lnet/minecraft/fluid/FlowableFluid;getFlowing()Lnet/minecraft/fluid/Fluid;
-
getStill
- Specified by:
getStill
in classFlowableFluid
- Mappings:
Namespace Name Mixin selector official e
Leak;e()Leal;
intermediary method_15751
Lnet/minecraft/class_3609;method_15751()Lnet/minecraft/class_3611;
named getStill
Lnet/minecraft/fluid/FlowableFluid;getStill()Lnet/minecraft/fluid/Fluid;
-
getBucketItem
- Specified by:
getBucketItem
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Leal;a()Lcja;
intermediary method_15774
Lnet/minecraft/class_3611;method_15774()Lnet/minecraft/class_1792;
named getBucketItem
Lnet/minecraft/fluid/Fluid;getBucketItem()Lnet/minecraft/item/Item;
-
randomDisplayTick
- Overrides:
randomDisplayTick
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Leal;a(Lcpv;Lgw;Leam;Lasc;)V
intermediary method_15776
Lnet/minecraft/class_3611;method_15776(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_5819;)V
named randomDisplayTick
Lnet/minecraft/fluid/Fluid;randomDisplayTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/util/math/random/Random;)V
-
onRandomTick
- Overrides:
onRandomTick
in classFluid
- Mappings:
Namespace Name Mixin selector official b
Leal;b(Lcpv;Lgw;Leam;Lasc;)V
intermediary method_15792
Lnet/minecraft/class_3611;method_15792(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_5819;)V
named onRandomTick
Lnet/minecraft/fluid/Fluid;onRandomTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/util/math/random/Random;)V
-
canLightFire
- Mappings:
Namespace Name Mixin selector official a
Leap;a(Lcpy;Lgw;)Z
intermediary method_15819
Lnet/minecraft/class_3616;method_15819(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named canLightFire
Lnet/minecraft/fluid/LavaFluid;canLightFire(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
hasBurnableBlock
- Mappings:
Namespace Name Mixin selector official b
Leap;b(Lcpy;Lgw;)Z
intermediary method_15817
Lnet/minecraft/class_3616;method_15817(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named hasBurnableBlock
Lnet/minecraft/fluid/LavaFluid;hasBurnableBlock(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
getParticle
- Overrides:
getParticle
in classFluid
- Mappings:
Namespace Name Mixin selector official h
Leal;h()Lit;
intermediary method_15787
Lnet/minecraft/class_3611;method_15787()Lnet/minecraft/class_2394;
named getParticle
Lnet/minecraft/fluid/Fluid;getParticle()Lnet/minecraft/particle/ParticleEffect;
-
beforeBreakingBlock
- Specified by:
beforeBreakingBlock
in classFlowableFluid
- Mappings:
Namespace Name Mixin selector official a
Leak;a(Lcpw;Lgw;Ldfj;)V
intermediary method_15730
Lnet/minecraft/class_3609;method_15730(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named beforeBreakingBlock
Lnet/minecraft/fluid/FlowableFluid;beforeBreakingBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getFlowSpeed
- Specified by:
getFlowSpeed
in classFlowableFluid
- Mappings:
Namespace Name Mixin selector official b
Leak;b(Lcpy;)I
intermediary method_15733
Lnet/minecraft/class_3609;method_15733(Lnet/minecraft/class_4538;)I
named getFlowSpeed
Lnet/minecraft/fluid/FlowableFluid;getFlowSpeed(Lnet/minecraft/world/WorldView;)I
-
toBlockState
- Specified by:
toBlockState
in classFluid
- Mappings:
Namespace Name Mixin selector official b
Leal;b(Leam;)Ldfj;
intermediary method_15790
Lnet/minecraft/class_3611;method_15790(Lnet/minecraft/class_3610;)Lnet/minecraft/class_2680;
named toBlockState
Lnet/minecraft/fluid/Fluid;toBlockState(Lnet/minecraft/fluid/FluidState;)Lnet/minecraft/block/BlockState;
-
matchesType
- Overrides:
matchesType
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Leal;a(Leal;)Z
intermediary method_15780
Lnet/minecraft/class_3611;method_15780(Lnet/minecraft/class_3611;)Z
named matchesType
Lnet/minecraft/fluid/Fluid;matchesType(Lnet/minecraft/fluid/Fluid;)Z
-
getLevelDecreasePerBlock
- Specified by:
getLevelDecreasePerBlock
in classFlowableFluid
- Mappings:
Namespace Name Mixin selector official c
Leak;c(Lcpy;)I
intermediary method_15739
Lnet/minecraft/class_3609;method_15739(Lnet/minecraft/class_4538;)I
named getLevelDecreasePerBlock
Lnet/minecraft/fluid/FlowableFluid;getLevelDecreasePerBlock(Lnet/minecraft/world/WorldView;)I
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) - Specified by:
canBeReplacedWith
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Leal;a(Leam;Lcpb;Lgw;Leal;Lha;)Z
intermediary method_15777
Lnet/minecraft/class_3611;method_15777(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;Lnet/minecraft/class_2350;)Z
named canBeReplacedWith
Lnet/minecraft/fluid/Fluid;canBeReplacedWith(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/util/math/Direction;)Z
-
getTickRate
- Specified by:
getTickRate
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Leal;a(Lcpy;)I
intermediary method_15789
Lnet/minecraft/class_3611;method_15789(Lnet/minecraft/class_4538;)I
named getTickRate
Lnet/minecraft/fluid/Fluid;getTickRate(Lnet/minecraft/world/WorldView;)I
-
getNextTickDelay
- Overrides:
getNextTickDelay
in classFlowableFluid
- Mappings:
Namespace Name Mixin selector official a
Leak;a(Lcpv;Lgw;Leam;Leam;)I
intermediary method_15753
Lnet/minecraft/class_3609;method_15753(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_3610;)I
named getNextTickDelay
Lnet/minecraft/fluid/FlowableFluid;getNextTickDelay(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FluidState;)I
-
playExtinguishEvent
- Mappings:
Namespace Name Mixin selector official a
Leap;a(Lcpw;Lgw;)V
intermediary method_15818
Lnet/minecraft/class_3616;method_15818(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
named playExtinguishEvent
Lnet/minecraft/fluid/LavaFluid;playExtinguishEvent(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
isInfinite
- Specified by:
isInfinite
in classFlowableFluid
- Mappings:
Namespace Name Mixin selector official a
Leak;a(Lcpv;)Z
intermediary method_15737
Lnet/minecraft/class_3609;method_15737(Lnet/minecraft/class_1937;)Z
named isInfinite
Lnet/minecraft/fluid/FlowableFluid;isInfinite(Lnet/minecraft/world/World;)Z
-
flow
protected void flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) - Overrides:
flow
in classFlowableFluid
- Mappings:
Namespace Name Mixin selector official a
Leak;a(Lcpw;Lgw;Ldfj;Lha;Leam;)V
intermediary method_15745
Lnet/minecraft/class_3609;method_15745(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_3610;)V
named flow
Lnet/minecraft/fluid/FlowableFluid;flow(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/fluid/FluidState;)V
-
hasRandomTicks
protected boolean hasRandomTicks()- Overrides:
hasRandomTicks
in classFluid
- Mappings:
Namespace Name Mixin selector official i
Leal;i()Z
intermediary method_15795
Lnet/minecraft/class_3611;method_15795()Z
named hasRandomTicks
Lnet/minecraft/fluid/Fluid;hasRandomTicks()Z
-
getBlastResistance
protected float getBlastResistance()- Specified by:
getBlastResistance
in classFluid
- Mappings:
Namespace Name Mixin selector official c
Leal;c()F
intermediary method_15784
Lnet/minecraft/class_3611;method_15784()F
named getBlastResistance
Lnet/minecraft/fluid/Fluid;getBlastResistance()F
-
getBucketFillSound
Returns the sound played when filling a bucket with this fluid.- Overrides:
getBucketFillSound
in classFluid
- Mappings:
Namespace Name Mixin selector official j
Leal;j()Ljava/util/Optional;
intermediary method_32359
Lnet/minecraft/class_3611;method_32359()Ljava/util/Optional;
named getBucketFillSound
Lnet/minecraft/fluid/Fluid;getBucketFillSound()Ljava/util/Optional;
-