Class FluidState


public final class FluidState extends State<Fluid,FluidState>
Mappings:
Namespace Name
official dhv
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 Ldhv;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 Ldhv;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 Ldhv;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> Ldhv;<init>(Ldhu;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 Ldhv;a()Ldhu;
      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 Ldhv;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 Ldhv;a(Ldhu;)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 Ldhv;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 Ldhv;a(Lbzj;Lgh;)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 Ldhv;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 Ldhv;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 Ldhv;b(Lbzj;Lgh;)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 Ldhv;a(Lcad;Lgh;)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 Ldhv;a(Lcad;Lgh;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 Ldhv;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 Ldhv;b(Lcad;Lgh;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 Ldhv;c(Lbzj;Lgh;)Ldom;
      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 Ldhv;g()Lcoc;
      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 Ldhv;h()Lhv;
      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 Ldhv;a(Lahr;)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
    • isOf

      public boolean isOf(Fluid fluid)
      Mappings:
      Namespace Name Mixin selector
      official b Ldhv;b(Ldhu;)Z
      intermediary method_39360 Lnet/minecraft/class_3610;method_39360(Lnet/minecraft/class_3611;)Z
      named isOf Lnet/minecraft/fluid/FluidState;isOf(Lnet/minecraft/fluid/Fluid;)Z
    • getBlastResistance

      public float getBlastResistance()
      Mappings:
      Namespace Name Mixin selector
      official i Ldhv;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 Ldhv;a(Lbzj;Lgh;Ldhu;Lgm;)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 Ldhv;d(Lbzj;Lgh;)Ldpf;
      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;