Uses of Class
net.minecraft.fluid.Fluid
Packages that use Fluid
Package
Description
-
Uses of Fluid in net.minecraft.block
Fields in net.minecraft.block declared as FluidModifier and TypeFieldDescriptionprivate final Fluid
PointedDripstoneBlock.DrippingFluid.fluid
The field for thefluid
record component.Methods in net.minecraft.block that return FluidModifier and TypeMethodDescriptionPointedDripstoneBlock.DrippingFluid.fluid()
Returns the value of thefluid
record component.static Fluid
PointedDripstoneBlock.getDripFluid
(ServerWorld world, BlockPos pos) private static Fluid
PointedDripstoneBlock.getDripFluid
(World world, Fluid fluid) Methods in net.minecraft.block with parameters of type FluidModifier and TypeMethodDescriptionprotected boolean
AbstractCauldronBlock.canBeFilledByDripstone
(Fluid fluid) Checks if this cauldron block can be filled with the specified fluid by dripstone.protected boolean
CauldronBlock.canBeFilledByDripstone
(Fluid fluid) Checks if this cauldron block can be filled with the specified fluid by dripstone.protected boolean
LeveledCauldronBlock.canBeFilledByDripstone
(Fluid fluid) Checks if this cauldron block can be filled with the specified fluid by dripstone.boolean
AbstractBlock.AbstractBlockState.canBucketPlace
(Fluid fluid) boolean
AbstractBlock.canBucketPlace
(BlockState state, Fluid fluid) Deprecated.boolean
EndGatewayBlock.canBucketPlace
(BlockState state, Fluid fluid) Returns whether a bucket can replace the block with the fluid.boolean
EndPortalBlock.canBucketPlace
(BlockState state, Fluid fluid) Returns whether a bucket can replace the block with the 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) Fills a cauldron with one level of the specified fluid if possible.protected void
CauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected void
LeveledCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.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.Constructors in net.minecraft.block with parameters of type FluidModifierConstructorDescription(package private)
DrippingFluid
(BlockPos blockPos, Fluid fluid, BlockState blockState) -
Uses of Fluid in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as FluidMethods in net.minecraft.client.particle that return FluidConstructors in net.minecraft.client.particle with parameters of type FluidModifierConstructorDescription(package private)
BlockLeakParticle
(ClientWorld world, double x, double y, double z, Fluid fluid) (package private)
ContinuousFalling
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) (package private)
Dripping
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) (package private)
DrippingLava
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) (package private)
DripstoneLavaDrip
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) (package private)
Falling
(ClientWorld world, double x, double y, double z, Fluid fluid) (package private)
Falling
(ClientWorld world, double x, double y, double z, Fluid fluid, int maxAge) (package private)
FallingHoney
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) (package private)
Landing
(ClientWorld world, double x, double y, double z, Fluid fluid) -
Uses of Fluid in net.minecraft.client.render
Fields in net.minecraft.client.render with type parameters of type Fluid -
Uses of Fluid in net.minecraft.client.render.block
Methods in net.minecraft.client.render.block with parameters of type FluidModifier and TypeMethodDescriptionprivate float
FluidRenderer.calculateFluidHeight
(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos) private float
FluidRenderer.getFluidHeight
(BlockRenderView world, Fluid fluid, BlockPos pos) private float
FluidRenderer.getFluidHeight
(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) -
Uses of Fluid in net.minecraft.client.world
Methods in net.minecraft.client.world that return types with arguments of type Fluid -
Uses of Fluid in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type FluidModifier and TypeFieldDescriptionprotected Object2DoubleMap<TagKey<Fluid>>
Entity.fluidHeight
Entity.submergedFluidTag
Method parameters in net.minecraft.entity with type arguments of type FluidModifier and TypeMethodDescriptiondouble
Entity.getFluidHeight
(TagKey<Fluid> fluid) Returns the height of the fluid influid
tag.boolean
Entity.isSubmergedIn
(TagKey<Fluid> fluidTag) Returns whether the entity is submerged in a fluid influidTag
.protected void
LivingEntity.swimUpward
(TagKey<Fluid> fluid) boolean
Entity.updateMovementInFluid
(TagKey<Fluid> tag, double speed) -
Uses of Fluid in net.minecraft.entity.mob
Method parameters in net.minecraft.entity.mob with type arguments of type FluidModifier and TypeMethodDescriptionprotected void
MagmaCubeEntity.swimUpward
(TagKey<Fluid> fluid) protected void
MobEntity.swimUpward
(TagKey<Fluid> fluid) -
Uses of Fluid in net.minecraft.entity.passive
Method parameters in net.minecraft.entity.passive with type arguments of type Fluid -
Uses of Fluid in net.minecraft.fluid
Subclasses of Fluid in net.minecraft.fluidModifier and TypeClassDescriptionclass
class
Represents a fluid which can flow.class
static class
static class
class
static class
static class
Fields in net.minecraft.fluid declared as FluidFields in net.minecraft.fluid with type parameters of type FluidModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<Fluid>
Fluid.registryEntry
protected final StateManager<Fluid,
FluidState> Fluid.stateManager
Methods in net.minecraft.fluid with type parameters of type FluidMethods in net.minecraft.fluid that return FluidModifier and TypeMethodDescriptionabstract Fluid
FlowableFluid.getFlowing()
LavaFluid.getFlowing()
WaterFluid.getFlowing()
FluidState.getFluid()
abstract Fluid
FlowableFluid.getStill()
LavaFluid.getStill()
WaterFluid.getStill()
Methods in net.minecraft.fluid that return types with arguments of type FluidModifier and TypeMethodDescriptionFluid.getRegistryEntry()
Deprecated.FluidState.getRegistryEntry()
Fluid.getStateManager()
FluidState.streamTags()
Methods in net.minecraft.fluid with parameters of type FluidModifier 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.canFlowDownTo
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) 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
boolean
Fluid.matchesType
(Fluid fluid) boolean
LavaFluid.matchesType
(Fluid fluid) boolean
WaterFluid.matchesType
(Fluid fluid) Method parameters in net.minecraft.fluid with type arguments of type FluidModifier 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
Deprecated.boolean
FluidState.isIn
(RegistryEntryList<Fluid> fluids) boolean
Constructors in net.minecraft.fluid with parameters of type FluidModifierConstructorDescriptionFluidState
(Fluid fluid, ImmutableMap<Property<?>, Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Uses of Fluid in net.minecraft.item
Fields in net.minecraft.item declared as FluidConstructors in net.minecraft.item with parameters of type FluidModifierConstructorDescriptionBucketItem
(Fluid fluid, Item.Settings settings) EntityBucketItem
(EntityType<?> type, Fluid fluid, SoundEvent emptyingSound, Item.Settings settings) -
Uses of Fluid in net.minecraft.predicate
Fields in net.minecraft.predicate declared as FluidFields in net.minecraft.predicate with type parameters of type FluidMethods in net.minecraft.predicate with parameters of type FluidModifier and TypeMethodDescriptionMethod parameters in net.minecraft.predicate with type arguments of type FluidModifier and TypeMethodDescriptionConstructors in net.minecraft.predicate with parameters of type FluidModifierConstructorDescriptionFluidPredicate
(@Nullable TagKey<Fluid> tag, @Nullable Fluid fluid, StatePredicate state) Constructor parameters in net.minecraft.predicate with type arguments of type FluidModifierConstructorDescriptionFluidPredicate
(@Nullable TagKey<Fluid> tag, @Nullable Fluid fluid, StatePredicate state) -
Uses of Fluid in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type FluidModifier and TypeFieldDescriptionstatic final DefaultedRegistry<Fluid>
Registries.FLUID
static final RegistryKey<Registry<Fluid>>
RegistryKeys.FLUID
-
Uses of Fluid in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag with type parameters of type FluidMethods in net.minecraft.registry.tag that return types with arguments of type Fluid -
Uses of Fluid in net.minecraft.server.world
Fields in net.minecraft.server.world with type parameters of type FluidModifier and TypeFieldDescriptionprivate final WorldTickScheduler<Fluid>
ServerWorld.fluidTickScheduler
Methods in net.minecraft.server.world that return types with arguments of type FluidMethods in net.minecraft.server.world with parameters of type Fluid -
Uses of Fluid in net.minecraft.world
Fields in net.minecraft.world with type parameters of type FluidModifier and TypeFieldDescriptionprivate final MultiTickScheduler<Fluid>
ChunkRegion.fluidTickScheduler
Methods in net.minecraft.world that return types with arguments of type FluidModifier and TypeMethodDescriptionChunkRegion.getFluidTickScheduler()
WorldAccess.getFluidTickScheduler()
Methods in net.minecraft.world with parameters of type FluidModifier and TypeMethodDescriptiondefault void
WorldAccess.scheduleFluidTick
(BlockPos pos, Fluid fluid, int delay) default void
WorldAccess.scheduleFluidTick
(BlockPos pos, Fluid fluid, int delay, TickPriority priority) -
Uses of Fluid in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type FluidModifier and TypeFieldDescriptionprivate final SerializableTickScheduler<Fluid>
Chunk.TickSchedulers.fluids
The field for thefluids
record component.UpgradeData.fluidTicks
private final SimpleTickScheduler<Fluid>
ProtoChunk.fluidTickScheduler
private final ChunkTickScheduler<Fluid>
WorldChunk.fluidTickScheduler
Methods in net.minecraft.world.chunk that return types with arguments of type FluidModifier and TypeMethodDescriptionChunk.TickSchedulers.fluids()
Returns the value of thefluids
record component.ProtoChunk.getFluidProtoTickScheduler()
abstract BasicTickScheduler<Fluid>
Chunk.getFluidTickScheduler()
ProtoChunk.getFluidTickScheduler()
ReadOnlyChunk.getFluidTickScheduler()
WorldChunk.getFluidTickScheduler()
-
Uses of Fluid in net.minecraft.world.gen.blockpredicate
Fields in net.minecraft.world.gen.blockpredicate with type parameters of type FluidModifier and TypeFieldDescriptionprivate final RegistryEntryList<Fluid>
MatchingFluidsBlockPredicate.fluids
Methods in net.minecraft.world.gen.blockpredicate with parameters of type FluidModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.matchingFluids
(Fluid[] fluids) static BlockPredicate
BlockPredicate.matchingFluids
(Vec3i offset, Fluid[] fluids) Method parameters in net.minecraft.world.gen.blockpredicate with type arguments of type FluidModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.matchingFluids
(Vec3i offset, List<Fluid> fluids) Constructor parameters in net.minecraft.world.gen.blockpredicate with type arguments of type FluidModifierConstructorDescriptionMatchingFluidsBlockPredicate
(Vec3i offset, RegistryEntryList<Fluid> fluids) -
Uses of Fluid in net.minecraft.world.gen.carver
Fields in net.minecraft.world.gen.carver with type parameters of type Fluid
AbstractBlock.AbstractBlockState.canBucketPlace(net.minecraft.fluid.Fluid)
instead.