Class FluidState


public final class FluidState extends State<Fluid,FluidState>
Mappings:
Namespace Name
official des
intermediary net/minecraft/class_3610
named net/minecraft/fluid/FluidState
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<FluidState> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldes;a:Lcom/mojang/serialization/Codec;
      intermediary field_25018 Lnet/minecraft/class_3610;field_25018:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/fluid/FluidState;CODEC:Lcom/mojang/serialization/Codec;
    • field_31727

      public static final int field_31727
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldes;b:I
      intermediary field_31727 Lnet/minecraft/class_3610;field_31727:I
      named field_31727 Lnet/minecraft/fluid/FluidState;field_31727:I
    • field_31728

      public static final int field_31728
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Ldes;g:I
      intermediary field_31728 Lnet/minecraft/class_3610;field_31728:I
      named field_31728 Lnet/minecraft/fluid/FluidState;field_31728:I
  • Constructor Details

    • FluidState

      public FluidState(Fluid fluid, ImmutableMap<Property<?>,Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldes;<init>(Lder;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
      intermediary <init> Lnet/minecraft/class_3610;<init>(Lnet/minecraft/class_3611;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
      named <init> Lnet/minecraft/fluid/FluidState;<init>(Lnet/minecraft/fluid/Fluid;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
  • Method Details

    • getFluid

      public Fluid getFluid()
      Mappings:
      Namespace Name Mixin selector
      official a Ldes;a()Lder;
      intermediary method_15772 Lnet/minecraft/class_3610;method_15772()Lnet/minecraft/class_3611;
      named getFluid Lnet/minecraft/fluid/FluidState;getFluid()Lnet/minecraft/fluid/Fluid;
    • isStill

      public boolean isStill()
      Mappings:
      Namespace Name Mixin selector
      official b Ldes;b()Z
      intermediary method_15771 Lnet/minecraft/class_3610;method_15771()Z
      named isStill Lnet/minecraft/fluid/FluidState;isStill()Z
    • isEqualAndStill

      public boolean isEqualAndStill(Fluid fluid)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes;a(Lder;)Z
      intermediary method_33659 Lnet/minecraft/class_3610;method_33659(Lnet/minecraft/class_3611;)Z
      named isEqualAndStill Lnet/minecraft/fluid/FluidState;isEqualAndStill(Lnet/minecraft/fluid/Fluid;)Z
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official c Ldes;c()Z
      intermediary method_15769 Lnet/minecraft/class_3610;method_15769()Z
      named isEmpty Lnet/minecraft/fluid/FluidState;isEmpty()Z
    • getHeight

      public float getHeight(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes;a(Lbvt;Lgg;)F
      intermediary method_15763 Lnet/minecraft/class_3610;method_15763(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
      named getHeight Lnet/minecraft/fluid/FluidState;getHeight(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
    • getHeight

      public float getHeight()
      Mappings:
      Namespace Name Mixin selector
      official d Ldes;d()F
      intermediary method_20785 Lnet/minecraft/class_3610;method_20785()F
      named getHeight Lnet/minecraft/fluid/FluidState;getHeight()F
    • getLevel

      public int getLevel()
      Mappings:
      Namespace Name Mixin selector
      official e Ldes;e()I
      intermediary method_15761 Lnet/minecraft/class_3610;method_15761()I
      named getLevel Lnet/minecraft/fluid/FluidState;getLevel()I
    • method_15756

      public boolean method_15756(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Ldes;b(Lbvt;Lgg;)Z
      intermediary method_15756 Lnet/minecraft/class_3610;method_15756(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named method_15756 Lnet/minecraft/fluid/FluidState;method_15756(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • onScheduledTick

      public void onScheduledTick(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes;a(Lbwp;Lgg;)V
      intermediary method_15770 Lnet/minecraft/class_3610;method_15770(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      named onScheduledTick Lnet/minecraft/fluid/FluidState;onScheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • randomDisplayTick

      public void randomDisplayTick(World world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes;a(Lbwp;Lgg;Ljava/util/Random;)V
      intermediary method_15768 Lnet/minecraft/class_3610;method_15768(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)V
      named randomDisplayTick Lnet/minecraft/fluid/FluidState;randomDisplayTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • hasRandomTicks

      public boolean hasRandomTicks()
      Mappings:
      Namespace Name Mixin selector
      official f Ldes;f()Z
      intermediary method_15773 Lnet/minecraft/class_3610;method_15773()Z
      named hasRandomTicks Lnet/minecraft/fluid/FluidState;hasRandomTicks()Z
    • onRandomTick

      public void onRandomTick(World world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Ldes;b(Lbwp;Lgg;Ljava/util/Random;)V
      intermediary method_15757 Lnet/minecraft/class_3610;method_15757(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)V
      named onRandomTick Lnet/minecraft/fluid/FluidState;onRandomTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • getVelocity

      public Vec3d getVelocity(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Ldes;c(Lbvt;Lgg;)Ldna;
      intermediary method_15758 Lnet/minecraft/class_3610;method_15758(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243;
      named getVelocity Lnet/minecraft/fluid/FluidState;getVelocity(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Vec3d;
    • getBlockState

      public BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      official g Ldes;g()Lcks;
      intermediary method_15759 Lnet/minecraft/class_3610;method_15759()Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/fluid/FluidState;getBlockState()Lnet/minecraft/block/BlockState;
    • getParticle

      @Nullable public @Nullable ParticleEffect getParticle()
      Mappings:
      Namespace Name Mixin selector
      official h Ldes;h()Lht;
      intermediary method_15766 Lnet/minecraft/class_3610;method_15766()Lnet/minecraft/class_2394;
      named getParticle Lnet/minecraft/fluid/FluidState;getParticle()Lnet/minecraft/particle/ParticleEffect;
    • isIn

      public boolean isIn(Tag<Fluid> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes;a(Laga;)Z
      intermediary method_15767 Lnet/minecraft/class_3610;method_15767(Lnet/minecraft/class_3494;)Z
      named isIn Lnet/minecraft/fluid/FluidState;isIn(Lnet/minecraft/tag/Tag;)Z
    • getBlastResistance

      public float getBlastResistance()
      Mappings:
      Namespace Name Mixin selector
      official i Ldes;i()F
      intermediary method_15760 Lnet/minecraft/class_3610;method_15760()F
      named getBlastResistance Lnet/minecraft/fluid/FluidState;getBlastResistance()F
    • canBeReplacedWith

      public boolean canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Ldes;a(Lbvt;Lgg;Lder;Lgl;)Z
      intermediary method_15764 Lnet/minecraft/class_3610;method_15764(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;Lnet/minecraft/class_2350;)Z
      named canBeReplacedWith Lnet/minecraft/fluid/FluidState;canBeReplacedWith(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/util/math/Direction;)Z
    • getShape

      public VoxelShape getShape(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Ldes;d(Lbvt;Lgg;)Ldnt;
      intermediary method_17776 Lnet/minecraft/class_3610;method_17776(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getShape Lnet/minecraft/fluid/FluidState;getShape(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;