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 ent
-
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
Lenv;a()Lcul;
-
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
Lenv;a(Lenw;Ldbf;Liz;Lenv;Lje;)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
Lenv;a(Ldbf;Liz;Lenw;)Levs;
-
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
Lenv;a(Ldcc;)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
Lenv;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
Lenv;a(Lenw;Ldbf;Liz;)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
Lenv;b(Lenw;)Ldsd;
-
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
Lenv;b(Lenw;Ldbf;Liz;)Lewl;
-