Package net.minecraft.fluid
Class FluidState
- Mappings:
Namespace Name official dhi
intermediary net/minecraft/class_3610
named net/minecraft/fluid/FluidState
-
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, ImmutableMap<Property<?>, Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canBeReplacedWith
(BlockView world, BlockPos pos, Fluid fluid, Direction direction) float
getFluid()
float
float
int
getLevel()
getVelocity
(BlockView world, BlockPos pos) boolean
boolean
isEmpty()
boolean
isEqualAndStill
(Fluid fluid) boolean
boolean
boolean
isStill()
boolean
method_15756
(BlockView world, BlockPos pos) 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
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldhi;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
Ldhi;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
Ldhi;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>
Ldhi;<init>(Ldhh;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
- Mappings:
Namespace Name Mixin selector official a
Ldhi;a()Ldhh;
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
Ldhi;b()Z
intermediary method_15771
Lnet/minecraft/class_3610;method_15771()Z
named isStill
Lnet/minecraft/fluid/FluidState;isStill()Z
-
isEqualAndStill
- Mappings:
Namespace Name Mixin selector official a
Ldhi;a(Ldhh;)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
Ldhi;c()Z
intermediary method_15769
Lnet/minecraft/class_3610;method_15769()Z
named isEmpty
Lnet/minecraft/fluid/FluidState;isEmpty()Z
-
getHeight
- Mappings:
Namespace Name Mixin selector official a
Ldhi;a(Lbzc;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
Ldhi;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
Ldhi;e()I
intermediary method_15761
Lnet/minecraft/class_3610;method_15761()I
named getLevel
Lnet/minecraft/fluid/FluidState;getLevel()I
-
method_15756
- Mappings:
Namespace Name Mixin selector official b
Ldhi;b(Lbzc;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
- Mappings:
Namespace Name Mixin selector official a
Ldhi;a(Lbzw;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
- Mappings:
Namespace Name Mixin selector official a
Ldhi;a(Lbzw;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
Ldhi;f()Z
intermediary method_15773
Lnet/minecraft/class_3610;method_15773()Z
named hasRandomTicks
Lnet/minecraft/fluid/FluidState;hasRandomTicks()Z
-
onRandomTick
- Mappings:
Namespace Name Mixin selector official b
Ldhi;b(Lbzw;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
- Mappings:
Namespace Name Mixin selector official c
Ldhi;c(Lbzc;Lgh;)Ldnz;
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
- Mappings:
Namespace Name Mixin selector official g
Ldhi;g()Lcnv;
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
- Mappings:
Namespace Name Mixin selector official h
Ldhi;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
- Mappings:
Namespace Name Mixin selector official a
Ldhi;a(Lahl;)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
- Mappings:
Namespace Name Mixin selector official b
Ldhi;b(Ldhh;)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
Ldhi;i()F
intermediary method_15760
Lnet/minecraft/class_3610;method_15760()F
named getBlastResistance
Lnet/minecraft/fluid/FluidState;getBlastResistance()F
-
canBeReplacedWith
- Mappings:
Namespace Name Mixin selector official a
Ldhi;a(Lbzc;Lgh;Ldhh;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
- Mappings:
Namespace Name Mixin selector official d
Ldhi;d(Lbzc;Lgh;)Ldos;
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;
-