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 - official - dxk- intermediary - net/minecraft/class_3621- named - net/minecraft/fluid/WaterFluid
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class net.minecraft.fluid.FlowableFluidFALLING, LEVELFields inherited from class net.minecraft.fluid.FluidSTATE_IDS, stateManager
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.intgetFlowSpeed(WorldView world) intgetStill()intgetTickRate(WorldView world) protected booleanisInfinite(World world) booleanmatchesType(Fluid fluid) voidrandomDisplayTick(World world, BlockPos pos, FluidState state, Random random) toBlockState(FluidState state) Methods inherited from class net.minecraft.fluid.FlowableFluidappendProperties, canFlow, flow, getBlockStateLevel, getFlowing, getFlowSpeedBetween, getHeight, getHeight, getLevel, getNextTickDelay, getShape, getSpread, getStill, getUpdatedState, getVelocity, isFlowBlocked, onScheduledTick, tryFlowMethods inherited from class net.minecraft.fluid.FluidgetDefaultState, getRegistryEntry, getStateManager, hasRandomTicks, isEmpty, isIn, isStill, onRandomTick, setDefaultState
- 
Constructor Details- 
WaterFluidpublic WaterFluid()
 
- 
- 
Method Details- 
getFlowing- Specified by:
- getFlowingin class- FlowableFluid
- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldxc;d()Ldxd;- intermediary - method_15750- Lnet/minecraft/class_3609;method_15750()Lnet/minecraft/class_3611;- named - getFlowing- Lnet/minecraft/fluid/FlowableFluid;getFlowing()Lnet/minecraft/fluid/Fluid;
 
- 
getStill- Specified by:
- getStillin class- FlowableFluid
- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldxc;e()Ldxd;- intermediary - method_15751- Lnet/minecraft/class_3609;method_15751()Lnet/minecraft/class_3611;- named - getStill- Lnet/minecraft/fluid/FlowableFluid;getStill()Lnet/minecraft/fluid/Fluid;
 
- 
getBucketItem- Specified by:
- getBucketItemin class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxd;a()Lcfu;- intermediary - method_15774- Lnet/minecraft/class_3611;method_15774()Lnet/minecraft/class_1792;- named - getBucketItem- Lnet/minecraft/fluid/Fluid;getBucketItem()Lnet/minecraft/item/Item;
 
- 
randomDisplayTick- Overrides:
- randomDisplayTickin class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxd;a(Lcmm;Lgu;Ldxe;Lapf;)V- intermediary - method_15776- Lnet/minecraft/class_3611;method_15776(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_5819;)V- named - randomDisplayTick- Lnet/minecraft/fluid/Fluid;randomDisplayTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/util/math/random/Random;)V
 
- 
getParticle- Overrides:
- getParticlein class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - h- Ldxd;h()Lit;- intermediary - method_15787- Lnet/minecraft/class_3611;method_15787()Lnet/minecraft/class_2394;- named - getParticle- Lnet/minecraft/fluid/Fluid;getParticle()Lnet/minecraft/particle/ParticleEffect;
 
- 
isInfinite- Specified by:
- isInfinitein class- FlowableFluid
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxc;a(Lcmm;)Z- intermediary - method_15737- Lnet/minecraft/class_3609;method_15737(Lnet/minecraft/class_1937;)Z- named - isInfinite- Lnet/minecraft/fluid/FlowableFluid;isInfinite(Lnet/minecraft/world/World;)Z
 
- 
beforeBreakingBlock- Specified by:
- beforeBreakingBlockin class- FlowableFluid
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxc;a(Lcmn;Lgu;Ldcb;)V- intermediary - method_15730- Lnet/minecraft/class_3609;method_15730(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V- named - beforeBreakingBlock- Lnet/minecraft/fluid/FlowableFluid;beforeBreakingBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
 
- 
getFlowSpeed- Specified by:
- getFlowSpeedin class- FlowableFluid
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxc;b(Lcmp;)I- intermediary - method_15733- Lnet/minecraft/class_3609;method_15733(Lnet/minecraft/class_4538;)I- named - getFlowSpeed- Lnet/minecraft/fluid/FlowableFluid;getFlowSpeed(Lnet/minecraft/world/WorldView;)I
 
- 
toBlockState- Specified by:
- toBlockStatein class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldxd;b(Ldxe;)Ldcb;- 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;
 
- 
matchesType- Overrides:
- matchesTypein class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxd;a(Ldxd;)Z- intermediary - method_15780- Lnet/minecraft/class_3611;method_15780(Lnet/minecraft/class_3611;)Z- named - matchesType- Lnet/minecraft/fluid/Fluid;matchesType(Lnet/minecraft/fluid/Fluid;)Z
 
- 
getLevelDecreasePerBlock- Specified by:
- getLevelDecreasePerBlockin class- FlowableFluid
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldxc;c(Lcmp;)I- intermediary - method_15739- Lnet/minecraft/class_3609;method_15739(Lnet/minecraft/class_4538;)I- named - getLevelDecreasePerBlock- Lnet/minecraft/fluid/FlowableFluid;getLevelDecreasePerBlock(Lnet/minecraft/world/WorldView;)I
 
- 
getTickRate- Specified by:
- getTickRatein class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxd;a(Lcmp;)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
 
- 
canBeReplacedWithpublic boolean canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) - Specified by:
- canBeReplacedWithin class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldxd;a(Ldxe;Lcls;Lgu;Ldxd;Lha;)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
 
- 
getBlastResistanceprotected float getBlastResistance()- Specified by:
- getBlastResistancein class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldxd;c()F- intermediary - method_15784- Lnet/minecraft/class_3611;method_15784()F- named - getBlastResistance- Lnet/minecraft/fluid/Fluid;getBlastResistance()F
 
- 
getBucketFillSoundReturns the sound played when filling a bucket with this fluid.- Overrides:
- getBucketFillSoundin class- Fluid
- Mappings:
- Namespace - Name - Mixin selector - official - j- Ldxd;j()Ljava/util/Optional;- intermediary - method_32359- Lnet/minecraft/class_3611;method_32359()Ljava/util/Optional;- named - getBucketFillSound- Lnet/minecraft/fluid/Fluid;getBucketFillSound()Ljava/util/Optional;
 
 
-