Package net.minecraft.fluid
Class FluidState
public final class FluidState extends State<Fluid,FluidState>
- Mappings:
Namespace Name official dal
intermediary net/minecraft/class_3610
named net/minecraft/fluid/FluidState
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<FluidState>
CODEC
-
Constructor Summary
Constructors Constructor Description FluidState(Fluid fluid, ImmutableMap<Property<?>,Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec)
-
Method Summary
Modifier and Type Method Description boolean
canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction)
float
getBlastResistance()
BlockState
getBlockState()
Fluid
getFluid()
float
getHeight()
float
getHeight(BlockView world, BlockPos pos)
int
getLevel()
ParticleEffect
getParticle()
VoxelShape
getShape(BlockView world, BlockPos pos)
Vec3d
getVelocity(BlockView world, BlockPos pos)
boolean
hasRandomTicks()
boolean
isEmpty()
boolean
isEqualAndStill(Fluid fluid)
boolean
isIn(Tag<Fluid> tag)
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
Ldal;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;
-
-
Constructor Details
-
FluidState
public FluidState(Fluid fluid, ImmutableMap<Property<?>,Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec)- Mappings:
Namespace Name Mixin selector official <init>
Ldal;<init>(Ldak;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
Ldal;a()Ldak;
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
Ldal;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
Ldal;a(Ldak;)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
Ldal;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
Ldal;a(Lbsz;Lfx;)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
Ldal;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
Ldal;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
Ldal;b(Lbsz;Lfx;)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
Ldal;a(Lbtv;Lfx;)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
Ldal;a(Lbtv;Lfx;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
Ldal;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
Ldal;b(Lbtv;Lfx;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
Ldal;c(Lbsz;Lfx;)Ldiu;
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
Ldal;g()Lcht;
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
Ldal;h()Lhj;
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
Ldal;a(Lafc;)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
-
getBlastResistance
public float getBlastResistance()- Mappings:
Namespace Name Mixin selector official i
Ldal;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
Ldal;a(Lbsz;Lfx;Ldak;Lgc;)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
Ldal;d(Lbsz;Lfx;)Ldjn;
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;
-