Package net.minecraft.fluid
Class EmptyFluid
java.lang.Object
net.minecraft.fluid.Fluid
net.minecraft.fluid.EmptyFluid
- Mappings:
Namespace Name named net/minecraft/fluid/EmptyFluid
intermediary net/minecraft/class_3576
official eog
-
Field Summary
Fields inherited from class net.minecraft.fluid.Fluid
STATE_IDS, stateManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected float
float
getHeight
(FluidState state) float
getHeight
(FluidState state, BlockView world, BlockPos pos) int
getLevel
(FluidState state) getShape
(FluidState state, BlockView world, BlockPos pos) int
getTickRate
(WorldView world) getVelocity
(BlockView world, BlockPos pos, FluidState state) protected boolean
isEmpty()
boolean
isStill
(FluidState state) protected BlockState
toBlockState
(FluidState state) Methods inherited from class net.minecraft.fluid.Fluid
appendProperties, getBucketFillSound, getDefaultState, getParticle, getRegistryEntry, getStateManager, hasRandomTicks, isIn, matchesType, onRandomTick, onScheduledTick, randomDisplayTick, setDefaultState
-
Constructor Details
-
EmptyFluid
public EmptyFluid()
-
-
Method Details
-
getBucketItem
- Specified by:
getBucketItem
in classFluid
- Mappings:
Namespace Name Mixin selector named getBucketItem
Lnet/minecraft/fluid/Fluid;getBucketItem()Lnet/minecraft/item/Item;
intermediary method_15774
Lnet/minecraft/class_3611;method_15774()Lnet/minecraft/class_1792;
official a
Leoi;a()Lcty;
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) - Specified by:
canBeReplacedWith
in classFluid
- Mappings:
Namespace Name Mixin selector named canBeReplacedWith
Lnet/minecraft/fluid/Fluid;canBeReplacedWith(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/util/math/Direction;)Z
intermediary method_15777
Lnet/minecraft/class_3611;method_15777(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;Lnet/minecraft/class_2350;)Z
official a
Leoi;a(Leoj;Ldbm;Lja;Leoi;Ljf;)Z
-
getVelocity
- Specified by:
getVelocity
in classFluid
- Mappings:
Namespace Name Mixin selector named getVelocity
Lnet/minecraft/fluid/Fluid;getVelocity(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;)Lnet/minecraft/util/math/Vec3d;
intermediary method_15782
Lnet/minecraft/class_3611;method_15782(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;)Lnet/minecraft/class_243;
official a
Leoi;a(Ldbm;Lja;Leoj;)Lewh;
-
getTickRate
- Specified by:
getTickRate
in classFluid
- Mappings:
Namespace Name Mixin selector named getTickRate
Lnet/minecraft/fluid/Fluid;getTickRate(Lnet/minecraft/world/WorldView;)I
intermediary method_15789
Lnet/minecraft/class_3611;method_15789(Lnet/minecraft/class_4538;)I
official a
Leoi;a(Ldcj;)I
-
isEmpty
protected boolean isEmpty() -
getBlastResistance
protected float getBlastResistance()- Specified by:
getBlastResistance
in classFluid
- Mappings:
Namespace Name Mixin selector named getBlastResistance
Lnet/minecraft/fluid/Fluid;getBlastResistance()F
intermediary method_15784
Lnet/minecraft/class_3611;method_15784()F
official c
Leoi;c()F
-
getHeight
- Specified by:
getHeight
in classFluid
- Mappings:
Namespace Name Mixin selector named getHeight
Lnet/minecraft/fluid/Fluid;getHeight(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
intermediary method_15788
Lnet/minecraft/class_3611;method_15788(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
official a
Leoi;a(Leoj;Ldbm;Lja;)F
-
getHeight
-
toBlockState
- Specified by:
toBlockState
in classFluid
- Mappings:
Namespace Name Mixin selector named toBlockState
Lnet/minecraft/fluid/Fluid;toBlockState(Lnet/minecraft/fluid/FluidState;)Lnet/minecraft/block/BlockState;
intermediary method_15790
Lnet/minecraft/class_3611;method_15790(Lnet/minecraft/class_3610;)Lnet/minecraft/class_2680;
official b
Leoi;b(Leoj;)Ldsl;
-
isStill
-
getLevel
-
getShape
- Specified by:
getShape
in classFluid
- Mappings:
Namespace Name Mixin selector named getShape
Lnet/minecraft/fluid/Fluid;getShape(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
intermediary method_17775
Lnet/minecraft/class_3611;method_17775(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
official b
Leoi;b(Leoj;Ldbm;Lja;)Lexa;
-