Class EmptyFluid

java.lang.Object
net.minecraft.fluid.Fluid
net.minecraft.fluid.EmptyFluid

public class EmptyFluid extends Fluid
Mappings:
Namespace Name
official eaj
intermediary net/minecraft/class_3576
named net/minecraft/fluid/EmptyFluid
  • Constructor Details

    • EmptyFluid

      public EmptyFluid()
  • Method Details

    • getBucketItem

      public Item getBucketItem()
      Specified by:
      getBucketItem in class Fluid
      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;
    • 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 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
    • getVelocity

      public Vec3d getVelocity(BlockView world, BlockPos pos, FluidState state)
      Specified by:
      getVelocity in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official a Leal;a(Lcpb;Lgw;Leam;)Lehn;
      intermediary method_15782 Lnet/minecraft/class_3611;method_15782(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;)Lnet/minecraft/class_243;
      named getVelocity Lnet/minecraft/fluid/Fluid;getVelocity(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;)Lnet/minecraft/util/math/Vec3d;
    • getTickRate

      public int getTickRate(WorldView world)
      Specified by:
      getTickRate in class Fluid
      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
    • isEmpty

      protected boolean isEmpty()
      Overrides:
      isEmpty in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official b Leal;b()Z
      intermediary method_15794 Lnet/minecraft/class_3611;method_15794()Z
      named isEmpty Lnet/minecraft/fluid/Fluid;isEmpty()Z
    • getBlastResistance

      protected float getBlastResistance()
      Specified by:
      getBlastResistance in class Fluid
      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
    • getHeight

      public float getHeight(FluidState state, BlockView world, BlockPos pos)
      Specified by:
      getHeight in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official a Leal;a(Leam;Lcpb;Lgw;)F
      intermediary method_15788 Lnet/minecraft/class_3611;method_15788(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
      named getHeight Lnet/minecraft/fluid/Fluid;getHeight(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
    • getHeight

      public float getHeight(FluidState state)
      Specified by:
      getHeight in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official a Leal;a(Leam;)F
      intermediary method_20784 Lnet/minecraft/class_3611;method_20784(Lnet/minecraft/class_3610;)F
      named getHeight Lnet/minecraft/fluid/Fluid;getHeight(Lnet/minecraft/fluid/FluidState;)F
    • toBlockState

      protected BlockState toBlockState(FluidState state)
      Specified by:
      toBlockState in class Fluid
      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;
    • isStill

      public boolean isStill(FluidState state)
      Specified by:
      isStill in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official c Leal;c(Leam;)Z
      intermediary method_15793 Lnet/minecraft/class_3611;method_15793(Lnet/minecraft/class_3610;)Z
      named isStill Lnet/minecraft/fluid/Fluid;isStill(Lnet/minecraft/fluid/FluidState;)Z
    • getLevel

      public int getLevel(FluidState state)
      Specified by:
      getLevel in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official d Leal;d(Leam;)I
      intermediary method_15779 Lnet/minecraft/class_3611;method_15779(Lnet/minecraft/class_3610;)I
      named getLevel Lnet/minecraft/fluid/Fluid;getLevel(Lnet/minecraft/fluid/FluidState;)I
    • getShape

      public VoxelShape getShape(FluidState state, BlockView world, BlockPos pos)
      Specified by:
      getShape in class Fluid
      Mappings:
      Namespace Name Mixin selector
      official b Leal;b(Leam;Lcpb;Lgw;)Leig;
      intermediary method_17775 Lnet/minecraft/class_3611;method_17775(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getShape Lnet/minecraft/fluid/Fluid;getShape(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;