Class FluidState


public final class FluidState extends State<Fluid,FluidState>
Mappings:
Namespace Name
official dxe
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 Ldxe;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 Ldxe;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 Ldxe;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> Ldxe;<init>(Ldxd;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 Ldxe;a()Ldxd;
      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 Ldxe;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 Ldxe;a(Ldxd;)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 Ldxe;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 Ldxe;a(Lcls;Lgu;)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 Ldxe;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 Ldxe;e()I
      intermediary method_15761 Lnet/minecraft/class_3610;method_15761()I
      named getLevel Lnet/minecraft/fluid/FluidState;getLevel()I
    • canFlowTo

      public boolean canFlowTo(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Ldxe;b(Lcls;Lgu;)Z
      intermediary method_15756 Lnet/minecraft/class_3610;method_15756(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named canFlowTo Lnet/minecraft/fluid/FluidState;canFlowTo(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 Ldxe;a(Lcmm;Lgu;)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 Ldxe;a(Lcmm;Lgu;Lapf;)V
      intermediary method_15768 Lnet/minecraft/class_3610;method_15768(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
      named randomDisplayTick Lnet/minecraft/fluid/FluidState;randomDisplayTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
    • hasRandomTicks

      public boolean hasRandomTicks()
      Mappings:
      Namespace Name Mixin selector
      official f Ldxe;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 Ldxe;b(Lcmm;Lgu;Lapf;)V
      intermediary method_15757 Lnet/minecraft/class_3610;method_15757(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
      named onRandomTick Lnet/minecraft/fluid/FluidState;onRandomTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
    • getVelocity

      public Vec3d getVelocity(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Ldxe;c(Lcls;Lgu;)Leei;
      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 Ldxe;g()Ldcb;
      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 Ldxe;h()Lit;
      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(TagKey<Fluid> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxe;a(Lanl;)Z
      intermediary method_15767 Lnet/minecraft/class_3610;method_15767(Lnet/minecraft/class_6862;)Z
      named isIn Lnet/minecraft/fluid/FluidState;isIn(Lnet/minecraft/registry/tag/TagKey;)Z
    • isIn

      public boolean isIn(RegistryEntryList<Fluid> fluids)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxe;a(Lhi;)Z
      intermediary method_40179 Lnet/minecraft/class_3610;method_40179(Lnet/minecraft/class_6885;)Z
      named isIn Lnet/minecraft/fluid/FluidState;isIn(Lnet/minecraft/registry/entry/RegistryEntryList;)Z
    • isOf

      public boolean isOf(Fluid fluid)
      Mappings:
      Namespace Name Mixin selector
      official b Ldxe;b(Ldxd;)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 Ldxe;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 Ldxe;a(Lcls;Lgu;Ldxd;Lha;)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 Ldxe;d(Lcls;Lgu;)Lefb;
      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;
    • getRegistryEntry

      public RegistryEntry<Fluid> getRegistryEntry()
      Mappings:
      Namespace Name Mixin selector
      official j Ldxe;j()Lhe;
      intermediary method_40180 Lnet/minecraft/class_3610;method_40180()Lnet/minecraft/class_6880;
      named getRegistryEntry Lnet/minecraft/fluid/FluidState;getRegistryEntry()Lnet/minecraft/registry/entry/RegistryEntry;
    • streamTags

      public Stream<TagKey<Fluid>> streamTags()
      Mappings:
      Namespace Name Mixin selector
      official k Ldxe;k()Ljava/util/stream/Stream;
      intermediary method_40181 Lnet/minecraft/class_3610;method_40181()Ljava/util/stream/Stream;
      named streamTags Lnet/minecraft/fluid/FluidState;streamTags()Ljava/util/stream/Stream;