Class FluidState


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

    • CODEC

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

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

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

    • FluidState

      public FluidState(Fluid fluid, Reference2ObjectArrayMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<FluidState> codec)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/fluid/FluidState;<init>(Lnet/minecraft/fluid/Fluid;Lit/unimi/dsi/fastutil/objects/Reference2ObjectArrayMap;Lcom/mojang/serialization/MapCodec;)V
      intermediary <init> Lnet/minecraft/class_3610;<init>(Lnet/minecraft/class_3611;Lit/unimi/dsi/fastutil/objects/Reference2ObjectArrayMap;Lcom/mojang/serialization/MapCodec;)V
      official <init> Letw;<init>(Letv;Lit/unimi/dsi/fastutil/objects/Reference2ObjectArrayMap;Lcom/mojang/serialization/MapCodec;)V
  • Method Details

    • getFluid

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

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

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

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

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

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

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

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

      public void onScheduledTick(ServerWorld world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named onScheduledTick Lnet/minecraft/fluid/FluidState;onScheduledTick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary method_15770 Lnet/minecraft/class_3610;method_15770(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official a Letw;a(Lash;Ljh;Ldxu;)V
    • randomDisplayTick

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

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

      public void onRandomTick(ServerWorld world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      named onRandomTick Lnet/minecraft/fluid/FluidState;onRandomTick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
      intermediary method_15757 Lnet/minecraft/class_3610;method_15757(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
      official a Letw;a(Lash;Ljh;Lbam;)V
    • getVelocity

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

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

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

      public boolean isIn(TagKey<Fluid> tag)
      Mappings:
      Namespace Name Mixin selector
      named isIn Lnet/minecraft/fluid/FluidState;isIn(Lnet/minecraft/registry/tag/TagKey;)Z
      intermediary method_15767 Lnet/minecraft/class_3610;method_15767(Lnet/minecraft/class_6862;)Z
      official a Letw;a(Layk;)Z
    • isIn

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

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

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

      public boolean canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Letw;a(Ldgm;Ljh;Letv;Ljm;)Z
    • getShape

      public VoxelShape getShape(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getShape Lnet/minecraft/fluid/FluidState;getShape(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
      intermediary method_17776 Lnet/minecraft/class_3610;method_17776(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      official d Letw;d(Ldgm;Ljh;)Lfcr;
    • getRegistryEntry

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

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