Class WaterFluid

Direct Known Subclasses:
WaterFluid.Flowing, WaterFluid.Still

public abstract class WaterFluid extends FlowableFluid
Mappings:
Namespace Name
named net/minecraft/fluid/WaterFluid
intermediary net/minecraft/class_3621
official epe
  • Constructor Details

    • WaterFluid

      public WaterFluid()
  • Method Details

    • getFlowing

      public Fluid getFlowing()
      Specified by:
      getFlowing in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      named getFlowing Lnet/minecraft/fluid/FlowableFluid;getFlowing()Lnet/minecraft/fluid/Fluid;
      intermediary method_15750 Lnet/minecraft/class_3609;method_15750()Lnet/minecraft/class_3611;
      official d Leow;d()Leox;
    • getStill

      public Fluid getStill()
      Specified by:
      getStill in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      named getStill Lnet/minecraft/fluid/FlowableFluid;getStill()Lnet/minecraft/fluid/Fluid;
      intermediary method_15751 Lnet/minecraft/class_3609;method_15751()Lnet/minecraft/class_3611;
      official e Leow;e()Leox;
    • getBucketItem

      public Item getBucketItem()
      Specified by:
      getBucketItem in class Fluid
      Mappings:
      Namespace Name Mixin selector
      named getBucketItem Lnet/minecraft/fluid/Fluid;getBucketItem()Lnet/minecraft/item/Item;
      intermediary method_15774 Lnet/minecraft/class_3611;method_15774()Lnet/minecraft/class_1792;
      official a Leox;a()Lcuj;
    • randomDisplayTick

      public void randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)
      Overrides:
      randomDisplayTick in class Fluid
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Leox;a(Ldcu;Ljd;Leoy;Layv;)V
    • getParticle

      @Nullable public @Nullable ParticleEffect getParticle()
      Overrides:
      getParticle in class Fluid
      Mappings:
      Namespace Name Mixin selector
      named getParticle Lnet/minecraft/fluid/Fluid;getParticle()Lnet/minecraft/particle/ParticleEffect;
      intermediary method_15787 Lnet/minecraft/class_3611;method_15787()Lnet/minecraft/class_2394;
      official h Leox;h()Llk;
    • isInfinite

      protected boolean isInfinite(World world)
      Specified by:
      isInfinite in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      named isInfinite Lnet/minecraft/fluid/FlowableFluid;isInfinite(Lnet/minecraft/world/World;)Z
      intermediary method_15737 Lnet/minecraft/class_3609;method_15737(Lnet/minecraft/class_1937;)Z
      official a Leow;a(Ldcu;)Z
    • beforeBreakingBlock

      protected void beforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state)
      Specified by:
      beforeBreakingBlock in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      named beforeBreakingBlock Lnet/minecraft/fluid/FlowableFluid;beforeBreakingBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary method_15730 Lnet/minecraft/class_3609;method_15730(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official a Leow;a(Ldcv;Ljd;Ldta;)V
    • getFlowSpeed

      public int getFlowSpeed(WorldView world)
      Specified by:
      getFlowSpeed in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      named getFlowSpeed Lnet/minecraft/fluid/FlowableFluid;getFlowSpeed(Lnet/minecraft/world/WorldView;)I
      intermediary method_15733 Lnet/minecraft/class_3609;method_15733(Lnet/minecraft/class_4538;)I
      official b Leow;b(Ldcx;)I
    • toBlockState

      public BlockState toBlockState(FluidState state)
      Specified by:
      toBlockState in class Fluid
      Mappings:
      Namespace Name Mixin selector
      named toBlockState Lnet/minecraft/fluid/Fluid;toBlockState(Lnet/minecraft/fluid/FluidState;)Lnet/minecraft/block/BlockState;
      intermediary method_15790 Lnet/minecraft/class_3611;method_15790(Lnet/minecraft/class_3610;)Lnet/minecraft/class_2680;
      official b Leox;b(Leoy;)Ldta;
    • matchesType

      public boolean matchesType(Fluid fluid)
      Overrides:
      matchesType in class Fluid
      Mappings:
      Namespace Name Mixin selector
      named matchesType Lnet/minecraft/fluid/Fluid;matchesType(Lnet/minecraft/fluid/Fluid;)Z
      intermediary method_15780 Lnet/minecraft/class_3611;method_15780(Lnet/minecraft/class_3611;)Z
      official a Leox;a(Leox;)Z
    • getLevelDecreasePerBlock

      public int getLevelDecreasePerBlock(WorldView world)
      Specified by:
      getLevelDecreasePerBlock in class FlowableFluid
      Mappings:
      Namespace Name Mixin selector
      named getLevelDecreasePerBlock Lnet/minecraft/fluid/FlowableFluid;getLevelDecreasePerBlock(Lnet/minecraft/world/WorldView;)I
      intermediary method_15739 Lnet/minecraft/class_3609;method_15739(Lnet/minecraft/class_4538;)I
      official c Leow;c(Ldcx;)I
    • getTickRate

      public int getTickRate(WorldView world)
      Specified by:
      getTickRate in class Fluid
      Mappings:
      Namespace Name Mixin selector
      named getTickRate Lnet/minecraft/fluid/Fluid;getTickRate(Lnet/minecraft/world/WorldView;)I
      intermediary method_15789 Lnet/minecraft/class_3611;method_15789(Lnet/minecraft/class_4538;)I
      official a Leox;a(Ldcx;)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
      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
      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
      official a Leox;a(Leoy;Ldca;Ljd;Leox;Lji;)Z
    • getBlastResistance

      protected float getBlastResistance()
      Specified by:
      getBlastResistance in class Fluid
      Mappings:
      Namespace Name Mixin selector
      named getBlastResistance Lnet/minecraft/fluid/Fluid;getBlastResistance()F
      intermediary method_15784 Lnet/minecraft/class_3611;method_15784()F
      official c Leox;c()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
      named getBucketFillSound Lnet/minecraft/fluid/Fluid;getBucketFillSound()Ljava/util/Optional;
      intermediary method_32359 Lnet/minecraft/class_3611;method_32359()Ljava/util/Optional;
      official j Leox;j()Ljava/util/Optional;