Class LavaFluid

Direct Known Subclasses:
LavaFluid.Flowing, LavaFluid.Still

public abstract class LavaFluid extends FlowableFluid
Mappings:
Namespace Name
official dhy
intermediary net/minecraft/class_3616
named net/minecraft/fluid/LavaFluid
  • Field Details

    • field_31729

      public static final float field_31729
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Ldhy;e:F
      intermediary field_31729 Lnet/minecraft/class_3616;field_31729:F
      named field_31729 Lnet/minecraft/fluid/LavaFluid;field_31729:F
  • Constructor Details

    • LavaFluid

      public LavaFluid()
  • Method Details

    • getFlowing

      public Fluid getFlowing()
      Specified by:
      getFlowing in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      official d Ldht;d()Ldhu;
      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

      public Fluid getStill()
      Specified by:
      getStill in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      official e Ldht;e()Ldhu;
      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

      public Item getBucketItem()
      Specified by:
      getBucketItem in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official a Ldhu;a()Lbua;
      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

      public void randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)
      Overrides:
      randomDisplayTick in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official a Ldhu;a(Lcad;Lgh;Ldhv;Ljava/util/Random;)V
      intermediary method_15776 Lnet/minecraft/class_3611;method_15776(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Ljava/util/Random;)V
      named randomDisplayTick Lnet/minecraft/fluid/Fluid;randomDisplayTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Ljava/util/Random;)V
    • onRandomTick

      public void onRandomTick(World world, BlockPos pos, FluidState state, Random random)
      Overrides:
      onRandomTick in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official b Ldhu;b(Lcad;Lgh;Ldhv;Ljava/util/Random;)V
      intermediary method_15792 Lnet/minecraft/class_3611;method_15792(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Ljava/util/Random;)V
      named onRandomTick Lnet/minecraft/fluid/Fluid;onRandomTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Ljava/util/Random;)V
    • canLightFire

      private boolean canLightFire(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldhy;a(Lcag;Lgh;)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

      private boolean hasBurnableBlock(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Ldhy;b(Lcag;Lgh;)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

      @Nullable public @Nullable ParticleEffect getParticle()
      Overrides:
      getParticle in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official i Ldhu;i()Lhv;
      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

      protected void beforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state)
      Specified by:
      beforeBreakingBlock in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      official a Ldht;a(Lcae;Lgh;Lcoc;)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

      public int getFlowSpeed(WorldView world)
      Specified by:
      getFlowSpeed in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      official b Ldht;b(Lcag;)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

      public BlockState toBlockState(FluidState state)
      Specified by:
      toBlockState in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official b Ldhu;b(Ldhv;)Lcoc;
      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

      public boolean matchesType(Fluid fluid)
      Overrides:
      matchesType in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official a Ldhu;a(Ldhu;)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

      public int getLevelDecreasePerBlock(WorldView world)
      Specified by:
      getLevelDecreasePerBlock in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      official c Ldht;c(Lcag;)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 class Fluid
      Mappings:
      Namespace Name Mixin selector
      official a Ldhu;a(Ldhv;Lbzj;Lgh;Ldhu;Lgm;)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

      public int getTickRate(WorldView world)
      Specified by:
      getTickRate in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official a Ldhu;a(Lcag;)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

      public int getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState)
      Overrides:
      getNextTickDelay in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      official a Ldht;a(Lcad;Lgh;Ldhv;Ldhv;)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

      private void playExtinguishEvent(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldhy;a(Lcae;Lgh;)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

      protected boolean isInfinite()
      Specified by:
      isInfinite in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      official f Ldht;f()Z
      intermediary method_15737 Lnet/minecraft/class_3609;method_15737()Z
      named isInfinite Lnet/minecraft/fluid/FlowableFluid;isInfinite()Z
    • flow

      protected void flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState)
      Overrides:
      flow in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      official a Ldht;a(Lcae;Lgh;Lcoc;Lgm;Ldhv;)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 class Fluid
      Mappings:
      Namespace Name Mixin selector
      official j Ldhu;j()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 class Fluid
      Mappings:
      Namespace Name Mixin selector
      official c Ldhu;c()F
      intermediary method_15784 Lnet/minecraft/class_3611;method_15784()F
      named getBlastResistance Lnet/minecraft/fluid/Fluid;getBlastResistance()F
    • getBucketFillSound

      public Optional<SoundEvent> getBucketFillSound()
      Returns the sound played when filling a bucket with this fluid.
      Overrides:
      getBucketFillSound in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official k Ldhu;k()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;