Uses of Class
net.minecraft.fluid.Fluid
Package
Description
-
Uses of Fluid in net.minecraft.block
Modifier and TypeMethodDescriptionprivate static Fluid
PointedDripstoneBlock.getDripFluid
(World world, Fluid fluid) static Fluid
PointedDripstoneBlock.getDripFluid
(World world, BlockPos pos) Modifier and TypeMethodDescriptionPointedDripstoneBlock.getFluid
(World world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionprotected boolean
AbstractCauldronBlock.canBeFilledByDripstone
(Fluid fluid) protected boolean
CauldronBlock.canBeFilledByDripstone
(Fluid fluid) protected boolean
LeveledCauldronBlock.canBeFilledByDripstone
(Fluid fluid) boolean
AbstractBlock.AbstractBlockState.canBucketPlace
(Fluid fluid) boolean
AbstractBlock.canBucketPlace
(BlockState state, Fluid fluid) Deprecated.boolean
EndGatewayBlock.canBucketPlace
(BlockState state, Fluid fluid) boolean
EndPortalBlock.canBucketPlace
(BlockState state, Fluid fluid) boolean
FluidFillable.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpPlantBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SeagrassBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SlabBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
TallSeagrassBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) default boolean
Waterloggable.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) private static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state, Fluid fluid) protected void
AbstractCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) protected void
CauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) protected void
LeveledCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) PointedDripstoneBlock.getCauldronPos
(World world, BlockPos pos, Fluid fluid) private static Fluid
PointedDripstoneBlock.getDripFluid
(World world, Fluid fluid) private static boolean
PointedDripstoneBlock.isFluidLiquid
(Fluid fluid) Returns whether the providedfluid
is liquid, namely lava or water. -
Uses of Fluid in net.minecraft.client.particle
ModifierConstructorDescription(package private)
BlockLeakParticle
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid) (package private)
ContinuousFalling
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid, ParticleEffect particleEffect) (package private)
Dripping
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid, ParticleEffect particleEffect) (package private)
DrippingLava
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid, ParticleEffect particleEffect) (package private)
DripstoneLavaDrip
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid, ParticleEffect particleEffect) (package private)
Falling
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid) (package private)
Falling
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid, int int2) (package private)
FallingHoney
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid, ParticleEffect particleEffect) (package private)
Landing
(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid) -
Uses of Fluid in net.minecraft.client.render
-
Uses of Fluid in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionprivate float
FluidRenderer.getNorthWestCornerFluidHeight
(BlockView world, BlockPos pos, Fluid fluid) -
Uses of Fluid in net.minecraft.client.world
-
Uses of Fluid in net.minecraft.entity
Modifier and TypeFieldDescriptionprotected Object2DoubleMap<Tag<Fluid>>
Entity.fluidHeight
Entity.submergedFluidTag
Modifier and TypeMethodDescriptiondouble
Entity.getFluidHeight
(Tag<Fluid> fluid) boolean
Entity.isSubmergedIn
(Tag<Fluid> fluidTag) protected void
LivingEntity.swimUpward
(Tag<Fluid> fluid) boolean
Entity.updateMovementInFluid
(Tag<Fluid> tag, double double2) -
Uses of Fluid in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprotected void
MagmaCubeEntity.swimUpward
(Tag<Fluid> fluid) protected void
MobEntity.swimUpward
(Tag<Fluid> fluid) -
Uses of Fluid in net.minecraft.entity.passive
-
Uses of Fluid in net.minecraft.fluid
Modifier and TypeClassDescriptionclass
class
Represents a fluid which can flow.class
static class
static class
class
static class
static class
Modifier and TypeFieldDescriptionprotected final StateManager<Fluid,
FluidState> Fluid.stateManager
Modifier and TypeMethodDescriptionabstract Fluid
FlowableFluid.getFlowing()
LavaFluid.getFlowing()
WaterFluid.getFlowing()
FluidState.getFluid()
abstract Fluid
FlowableFluid.getStill()
LavaFluid.getStill()
WaterFluid.getStill()
Modifier and TypeMethodDescriptionboolean
EmptyFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
FluidState.canBeReplacedWith
(BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
LavaFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
WaterFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) private boolean
FlowableFluid.canFill
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) protected boolean
FlowableFluid.canFlow
(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid) private boolean
FlowableFluid.canFlowThrough
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) boolean
FluidState.isEqualAndStill
(Fluid fluid) boolean
Fluid.matchesType
(Fluid fluid) boolean
LavaFluid.matchesType
(Fluid fluid) boolean
WaterFluid.matchesType
(Fluid fluid) private boolean
FlowableFluid.method_15736
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) Modifier and TypeMethodDescriptionprotected void
FlowableFluid.appendProperties
(StateManager.Builder<Fluid, FluidState> builder) protected void
Fluid.appendProperties
(StateManager.Builder<Fluid, FluidState> builder) protected void
LavaFluid.Flowing.appendProperties
(StateManager.Builder<Fluid, FluidState> builder) protected void
WaterFluid.Flowing.appendProperties
(StateManager.Builder<Fluid, FluidState> builder) boolean
boolean
ModifierConstructorDescriptionFluidState
(Fluid fluid, ImmutableMap<Property<?>, Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Uses of Fluid in net.minecraft.item
ModifierConstructorDescriptionBucketItem
(Fluid fluid, Item.Settings settings) EntityBucketItem
(EntityType<?> type, Fluid fluid, SoundEvent emptyingSound, Item.Settings settings) -
Uses of Fluid in net.minecraft.predicate
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionModifierConstructorDescriptionFluidPredicate
(@Nullable Tag<Fluid> tag, @Nullable Fluid fluid, StatePredicate state) ModifierConstructorDescriptionFluidPredicate
(@Nullable Tag<Fluid> tag, @Nullable Fluid fluid, StatePredicate state) -
Uses of Fluid in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate final ServerTickScheduler<Fluid>
ServerWorld.fluidTickScheduler
-
Uses of Fluid in net.minecraft.tag
Modifier and TypeFieldDescriptionstatic final Tag.Identified<Fluid>
FluidTags.LAVA
protected static final RequiredTagList<Fluid>
FluidTags.REQUIRED_TAGS
FluidTags.TAGS
static final Tag.Identified<Fluid>
FluidTags.WATER
-
Uses of Fluid in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<Fluid>
Registry.FLUID
static final RegistryKey<Registry<Fluid>>
Registry.FLUID_KEY
-
Uses of Fluid in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final TickScheduler<Fluid>
ChunkRegion.fluidTickScheduler
Modifier and TypeMethodDescriptionChunkRegion.getFluidTickScheduler()
WorldAccess.getFluidTickScheduler()
-
Uses of Fluid in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate final ChunkTickScheduler<Fluid>
ProtoChunk.fluidTickScheduler
private TickScheduler<Fluid>
WorldChunk.fluidTickScheduler
Modifier and TypeMethodDescriptionChunk.getFluidTickScheduler()
ProtoChunk.getFluidTickScheduler()
ReadOnlyChunk.getFluidTickScheduler()
WorldChunk.getFluidTickScheduler()
-
Uses of Fluid in net.minecraft.world.gen.carver