Package net.minecraft.fluid
Class WaterFluid
java.lang.Object
net.minecraft.fluid.Fluid
net.minecraft.fluid.FlowableFluid
net.minecraft.fluid.WaterFluid
- Direct Known Subclasses:
WaterFluid.Flowing,WaterFluid.Still
- Mappings:
Namespace Name named net/minecraft/fluid/WaterFluidintermediary net/minecraft/class_3621official euc
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.fluid.FlowableFluid
FlowableFluid.SpreadCache -
Field Summary
Fields inherited from class net.minecraft.fluid.FlowableFluid
FALLING, LEVELFields inherited from class net.minecraft.fluid.Fluid
STATE_IDS, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbeforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state) booleancanBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected floatReturns the sound played when filling a bucket with this fluid.intintgetMaxFlowDistance(WorldView world) Returns the maximum horizontal distance to check for holes the fluid can flow down into.getStill()intgetTickRate(WorldView world) protected booleanisInfinite(ServerWorld world) booleanmatchesType(Fluid fluid) voidrandomDisplayTick(World world, BlockPos pos, FluidState state, Random random) toBlockState(FluidState state) Methods inherited from class net.minecraft.fluid.FlowableFluid
appendProperties, canFlowDownTo, flow, getBlockStateLevel, getFlowing, getHeight, getHeight, getLevel, getMinFlowDownDistance, getNextTickDelay, getShape, getSpread, getStill, getUpdatedState, getVelocity, isFlowBlocked, onScheduledTick, tryFlowMethods inherited from class net.minecraft.fluid.Fluid
getDefaultState, getRegistryEntry, getStateManager, hasRandomTicks, isEmpty, isIn, isStill, onRandomTick, setDefaultState
-
Constructor Details
-
WaterFluid
public WaterFluid()
-
-
Method Details
-
getFlowing
- Specified by:
getFlowingin classFlowableFluid- Mappings:
Namespace Name Mixin selector named getFlowingLnet/minecraft/fluid/FlowableFluid;getFlowing()Lnet/minecraft/fluid/Fluid;intermediary method_15750Lnet/minecraft/class_3609;method_15750()Lnet/minecraft/class_3611;official dLetu;d()Letv;
-
getStill
- Specified by:
getStillin classFlowableFluid- Mappings:
Namespace Name Mixin selector named getStillLnet/minecraft/fluid/FlowableFluid;getStill()Lnet/minecraft/fluid/Fluid;intermediary method_15751Lnet/minecraft/class_3609;method_15751()Lnet/minecraft/class_3611;official eLetu;e()Letv;
-
getBucketItem
- Specified by:
getBucketItemin classFluid- Mappings:
Namespace Name Mixin selector named getBucketItemLnet/minecraft/fluid/Fluid;getBucketItem()Lnet/minecraft/item/Item;intermediary method_15774Lnet/minecraft/class_3611;method_15774()Lnet/minecraft/class_1792;official aLetv;a()Lcxk;
-
randomDisplayTick
- Overrides:
randomDisplayTickin classFluid- Mappings:
Namespace Name Mixin selector named randomDisplayTickLnet/minecraft/fluid/Fluid;randomDisplayTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/util/math/random/Random;)Vintermediary method_15776Lnet/minecraft/class_3611;method_15776(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_5819;)Vofficial aLetv;a(Ldhh;Ljh;Letw;Lbam;)V
-
getParticle
- Overrides:
getParticlein classFluid- Mappings:
Namespace Name Mixin selector named getParticleLnet/minecraft/fluid/Fluid;getParticle()Lnet/minecraft/particle/ParticleEffect;intermediary method_15787Lnet/minecraft/class_3611;method_15787()Lnet/minecraft/class_2394;official hLetv;h()Llq;
-
isInfinite
- Specified by:
isInfinitein classFlowableFluid- Mappings:
Namespace Name Mixin selector named isInfiniteLnet/minecraft/fluid/FlowableFluid;isInfinite(Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_15737Lnet/minecraft/class_3609;method_15737(Lnet/minecraft/class_3218;)Zofficial aLetu;a(Lash;)Z
-
beforeBreakingBlock
- Specified by:
beforeBreakingBlockin classFlowableFluid- Mappings:
Namespace Name Mixin selector named beforeBreakingBlockLnet/minecraft/fluid/FlowableFluid;beforeBreakingBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_15730Lnet/minecraft/class_3609;method_15730(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial aLetu;a(Ldhi;Ljh;Ldxu;)V
-
getMaxFlowDistance
Returns the maximum horizontal distance to check for holes the fluid can flow down into.- Specified by:
getMaxFlowDistancein classFlowableFluid- Returns:
- the maximum horizontal distance to check for holes the fluid can flow down into
- Mappings:
Namespace Name Mixin selector named getMaxFlowDistanceLnet/minecraft/fluid/FlowableFluid;getMaxFlowDistance(Lnet/minecraft/world/WorldView;)Iintermediary method_15733Lnet/minecraft/class_3609;method_15733(Lnet/minecraft/class_4538;)Iofficial bLetu;b(Ldhk;)I
-
toBlockState
- Specified by:
toBlockStatein classFluid- Mappings:
Namespace Name Mixin selector named toBlockStateLnet/minecraft/fluid/Fluid;toBlockState(Lnet/minecraft/fluid/FluidState;)Lnet/minecraft/block/BlockState;intermediary method_15790Lnet/minecraft/class_3611;method_15790(Lnet/minecraft/class_3610;)Lnet/minecraft/class_2680;official bLetv;b(Letw;)Ldxu;
-
matchesType
- Overrides:
matchesTypein classFluid- Mappings:
Namespace Name Mixin selector named matchesTypeLnet/minecraft/fluid/Fluid;matchesType(Lnet/minecraft/fluid/Fluid;)Zintermediary method_15780Lnet/minecraft/class_3611;method_15780(Lnet/minecraft/class_3611;)Zofficial aLetv;a(Letv;)Z
-
getLevelDecreasePerBlock
- Specified by:
getLevelDecreasePerBlockin classFlowableFluid- Mappings:
Namespace Name Mixin selector named getLevelDecreasePerBlockLnet/minecraft/fluid/FlowableFluid;getLevelDecreasePerBlock(Lnet/minecraft/world/WorldView;)Iintermediary method_15739Lnet/minecraft/class_3609;method_15739(Lnet/minecraft/class_4538;)Iofficial cLetu;c(Ldhk;)I
-
getTickRate
- Specified by:
getTickRatein classFluid- Mappings:
Namespace Name Mixin selector named getTickRateLnet/minecraft/fluid/Fluid;getTickRate(Lnet/minecraft/world/WorldView;)Iintermediary method_15789Lnet/minecraft/class_3611;method_15789(Lnet/minecraft/class_4538;)Iofficial aLetv;a(Ldhk;)I
-
canBeReplacedWith
public boolean canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) - Specified by:
canBeReplacedWithin classFluid- Mappings:
Namespace Name Mixin selector named canBeReplacedWithLnet/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;)Zintermediary method_15777Lnet/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;)Zofficial aLetv;a(Letw;Ldgm;Ljh;Letv;Ljm;)Z
-
getBlastResistance
protected float getBlastResistance()- Specified by:
getBlastResistancein classFluid- Mappings:
Namespace Name Mixin selector named getBlastResistanceLnet/minecraft/fluid/Fluid;getBlastResistance()Fintermediary method_15784Lnet/minecraft/class_3611;method_15784()Fofficial cLetv;c()F
-
getBucketFillSound
Returns the sound played when filling a bucket with this fluid.- Overrides:
getBucketFillSoundin classFluid- Mappings:
Namespace Name Mixin selector named getBucketFillSoundLnet/minecraft/fluid/Fluid;getBucketFillSound()Ljava/util/Optional;intermediary method_32359Lnet/minecraft/class_3611;method_32359()Ljava/util/Optional;official jLetv;j()Ljava/util/Optional;
-