Package net.minecraft.fluid
Class EmptyFluid
java.lang.Object
net.minecraft.fluid.Fluid
net.minecraft.fluid.EmptyFluid
- Mappings:
Namespace Name official dps
intermediary net/minecraft/class_3576
named net/minecraft/fluid/EmptyFluid
-
Field Summary
Fields inherited from class net.minecraft.fluid.Fluid
STATE_IDS, stateManager
-
Constructor Summary
Constructors -
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 official a
Ldpu;a()Lcat;
intermediary method_15774
Lnet/minecraft/class_3611;method_15774()Lnet/minecraft/class_1792;
named getBucketItem
Lnet/minecraft/fluid/Fluid;getBucketItem()Lnet/minecraft/item/Item;
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) - Specified by:
canBeReplacedWith
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Ldpu;a(Ldpv;Lcgd;Lgt;Ldpu;Lgy;)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
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
-
getVelocity
- Specified by:
getVelocity
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Ldpu;a(Lcgd;Lgt;Ldpv;)Ldwq;
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;
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;
-
getTickRate
- Specified by:
getTickRate
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Ldpu;a(Lcha;)I
intermediary method_15789
Lnet/minecraft/class_3611;method_15789(Lnet/minecraft/class_4538;)I
named getTickRate
Lnet/minecraft/fluid/Fluid;getTickRate(Lnet/minecraft/world/WorldView;)I
-
isEmpty
protected boolean isEmpty() -
getBlastResistance
protected float getBlastResistance()- Specified by:
getBlastResistance
in classFluid
- Mappings:
Namespace Name Mixin selector official c
Ldpu;c()F
intermediary method_15784
Lnet/minecraft/class_3611;method_15784()F
named getBlastResistance
Lnet/minecraft/fluid/Fluid;getBlastResistance()F
-
getHeight
- Specified by:
getHeight
in classFluid
- Mappings:
Namespace Name Mixin selector official a
Ldpu;a(Ldpv;Lcgd;Lgt;)F
intermediary method_15788
Lnet/minecraft/class_3611;method_15788(Lnet/minecraft/class_3610;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
named getHeight
Lnet/minecraft/fluid/Fluid;getHeight(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
-
getHeight
-
toBlockState
- Specified by:
toBlockState
in classFluid
- Mappings:
Namespace Name Mixin selector official b
Ldpu;b(Ldpv;)Lcvo;
intermediary method_15790
Lnet/minecraft/class_3611;method_15790(Lnet/minecraft/class_3610;)Lnet/minecraft/class_2680;
named toBlockState
Lnet/minecraft/fluid/Fluid;toBlockState(Lnet/minecraft/fluid/FluidState;)Lnet/minecraft/block/BlockState;
-
isStill
-
getLevel
-
getShape
- Specified by:
getShape
in classFluid
- Mappings:
Namespace Name Mixin selector official b
Ldpu;b(Ldpv;Lcgd;Lgt;)Ldxj;
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;
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;
-