Package net.minecraft.fluid
Class FluidState
- Mappings:
Namespace Name named net/minecraft/fluid/FluidState
intermediary net/minecraft/class_3610
official enx
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FluidState> static final int
static final int
Fields inherited from class net.minecraft.state.State
codec, NAME, owner, PROPERTIES
-
Constructor Summary
ConstructorDescriptionFluidState
(Fluid fluid, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canBeReplacedWith
(BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
float
getFluid()
float
float
int
getLevel()
getVelocity
(BlockView world, BlockPos pos) boolean
boolean
isEmpty()
boolean
isEqualAndStill
(Fluid fluid) boolean
isIn
(RegistryEntryList<Fluid> fluids) boolean
boolean
boolean
isStill()
void
onRandomTick
(World world, BlockPos pos, Random random) void
onScheduledTick
(World world, BlockPos pos) void
randomDisplayTick
(World world, BlockPos pos, Random random) Methods inherited from class net.minecraft.state.State
contains, createCodec, createWithTable, cycle, get, getEntries, getNext, getOrEmpty, getProperties, toString, with, withIfExists
-
Field Details
-
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
Lenx;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
Lenx;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
Lenx;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>
Lenx;<init>(Lenw;Lit/unimi/dsi/fastutil/objects/Reference2ObjectArrayMap;Lcom/mojang/serialization/MapCodec;)V
-
-
Method Details
-
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
Lenx;a()Lenw;
-
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
Lenx;b()Z
-
isEqualAndStill
- 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
Lenx;a(Lenw;)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
Lenx;c()Z
-
getHeight
- 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
Lenx;a(Ldbg;Liz;)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
Lenx;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
Lenx;e()I
-
canFlowTo
- 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
Lenx;b(Ldbg;Liz;)Z
-
onScheduledTick
- 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
Lenx;a(Ldca;Liz;)V
-
randomDisplayTick
- 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
Lenx;a(Ldca;Liz;Lazh;)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
Lenx;f()Z
-
onRandomTick
- 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
Lenx;b(Ldca;Liz;Lazh;)V
-
getVelocity
- 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
Lenx;c(Ldbg;Liz;)Levt;
-
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
Lenx;g()Ldse;
-
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
Lenx;h()Llg;
-
isIn
- 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
Lenx;a(Laxf;)Z
-
isIn
- 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
Lenx;a(Ljm;)Z
-
isOf
- 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
Lenx;b(Lenw;)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
Lenx;i()F
-
canBeReplacedWith
- 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
Lenx;a(Ldbg;Liz;Lenw;Lje;)Z
-
getShape
- 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
Lenx;d(Ldbg;Liz;)Lewm;
-
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
Lenx;j()Lji;
-
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
Lenx;k()Ljava/util/stream/Stream;
-