Class FluidState


public final class FluidState extends State<Fluid,FluidState>
Mappings:
Namespace Name
named net/minecraft/fluid/FluidState
intermediary net/minecraft/class_3610
official eoy
  • 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 Leoy;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 b Leoy;b: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 Leoy;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> Leoy;<init>(Leox;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 Leoy;a()Leox;
    • 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 Leoy;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 Leoy;a(Leox;)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 Leoy;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 Leoy;a(Ldca;Ljd;)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 Leoy;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 Leoy;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 Leoy;b(Ldca;Ljd;)Z
    • onScheduledTick

      public void onScheduledTick(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named onScheduledTick Lnet/minecraft/fluid/FluidState;onScheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_15770 Lnet/minecraft/class_3610;method_15770(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      official a Leoy;a(Ldcu;Ljd;)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 Leoy;a(Ldcu;Ljd;Layv;)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 Leoy;f()Z
    • onRandomTick

      public void onRandomTick(World world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      named onRandomTick Lnet/minecraft/fluid/FluidState;onRandomTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
      intermediary method_15757 Lnet/minecraft/class_3610;method_15757(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
      official b Leoy;b(Ldcu;Ljd;Layv;)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 Leoy;c(Ldca;Ljd;)Leww;
    • 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 Leoy;g()Ldta;
    • 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 Leoy;h()Llk;
    • 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 Leoy;a(Lawt;)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 Leoy;a(Ljq;)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 Leoy;b(Leox;)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 Leoy;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 Leoy;a(Ldca;Ljd;Leox;Lji;)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 Leoy;d(Ldca;Ljd;)Lexp;
    • 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 Leoy;j()Ljm;
    • 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 Leoy;k()Ljava/util/stream/Stream;