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 FluidPointedDripstoneBlock.DrippingFluid.fluidThe field for thefluidrecord component.Methods in net.minecraft.block that return FluidModifier and TypeMethodDescriptionPointedDripstoneBlock.DrippingFluid.fluid()Returns the value of thefluidrecord component.static FluidPointedDripstoneBlock.getDripFluid(ServerWorld world, BlockPos pos) private static FluidPointedDripstoneBlock.getDripFluid(World world, Fluid fluid) Methods in net.minecraft.block with parameters of type FluidModifier and TypeMethodDescriptionprotected booleanAbstractCauldronBlock.canBeFilledByDripstone(Fluid fluid) protected booleanCauldronBlock.canBeFilledByDripstone(Fluid fluid) protected booleanLeveledCauldronBlock.canBeFilledByDripstone(Fluid fluid) booleanAbstractBlock.AbstractBlockState.canBucketPlace(Fluid fluid) booleanAbstractBlock.canBucketPlace(BlockState state, Fluid fluid) Deprecated.booleanEndGatewayBlock.canBucketPlace(BlockState state, Fluid fluid) booleanEndPortalBlock.canBucketPlace(BlockState state, Fluid fluid) booleanFluidFillable.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanKelpBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanKelpPlantBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanSeagrassBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanSlabBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanTallSeagrassBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) default booleanWaterloggable.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) private static voidPointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state, Fluid fluid) protected voidAbstractCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) protected voidCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) protected voidLeveledCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) PointedDripstoneBlock.getCauldronPos(World world, BlockPos pos, Fluid fluid) private static FluidPointedDripstoneBlock.getDripFluid(World world, Fluid fluid) private static booleanPointedDripstoneBlock.isFluidLiquid(Fluid fluid) Returns whether the providedfluidis 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 floatFluidRenderer.calculateFluidHeight(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos) private floatFluidRenderer.getFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos) private floatFluidRenderer.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.fluidHeightEntity.submergedFluidTagMethod parameters in net.minecraft.entity with type arguments of type FluidModifier and TypeMethodDescriptiondoubleEntity.getFluidHeight(TagKey<Fluid> fluid) booleanEntity.isSubmergedIn(TagKey<Fluid> fluidTag) protected voidLivingEntity.swimUpward(TagKey<Fluid> fluid) booleanEntity.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 voidMagmaCubeEntity.swimUpward(TagKey<Fluid> fluid) protected voidMobEntity.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 TypeClassDescriptionclassclassRepresents a fluid which can flow.classstatic classstatic classclassstatic classstatic classFields in net.minecraft.fluid declared as FluidFields in net.minecraft.fluid with type parameters of type FluidModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<Fluid>Fluid.registryEntryprotected final StateManager<Fluid,FluidState> Fluid.stateManagerMethods in net.minecraft.fluid with type parameters of type FluidMethods in net.minecraft.fluid that return FluidModifier and TypeMethodDescriptionabstract FluidFlowableFluid.getFlowing()LavaFluid.getFlowing()WaterFluid.getFlowing()FluidState.getFluid()abstract FluidFlowableFluid.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 TypeMethodDescriptionbooleanEmptyFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanFluidState.canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) private booleanFlowableFluid.canFill(BlockView world, BlockPos pos, BlockState state, Fluid fluid) protected booleanFlowableFluid.canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid) private booleanFlowableFluid.canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) booleanFluidState.isEqualAndStill(Fluid fluid) booleanbooleanFluid.matchesType(Fluid fluid) booleanLavaFluid.matchesType(Fluid fluid) booleanWaterFluid.matchesType(Fluid fluid) private booleanFlowableFluid.method_15736(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) Method parameters in net.minecraft.fluid with type arguments of type FluidModifier and TypeMethodDescriptionprotected voidFlowableFluid.appendProperties(StateManager.Builder<Fluid, FluidState> builder) protected voidFluid.appendProperties(StateManager.Builder<Fluid, FluidState> builder) protected voidLavaFluid.Flowing.appendProperties(StateManager.Builder<Fluid, FluidState> builder) protected voidWaterFluid.Flowing.appendProperties(StateManager.Builder<Fluid, FluidState> builder) booleanDeprecated.booleanbooleanFluidState.isIn(RegistryEntryList<Fluid> fluids) 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.server.world
Fields in net.minecraft.server.world with type parameters of type FluidModifier and TypeFieldDescriptionprivate final WorldTickScheduler<Fluid>ServerWorld.fluidTickSchedulerMethods 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.tag
Fields in net.minecraft.tag with type parameters of type FluidMethods in net.minecraft.tag that return types with arguments of type Fluid -
Uses of Fluid in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type FluidModifier and TypeFieldDescriptionstatic final DefaultedRegistry<Fluid>Registry.FLUIDstatic final RegistryKey<Registry<Fluid>>Registry.FLUID_KEY -
Uses of Fluid in net.minecraft.world
Fields in net.minecraft.world with type parameters of type FluidModifier and TypeFieldDescriptionprivate final MultiTickScheduler<Fluid>ChunkRegion.fluidTickSchedulerMethods 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 voidWorldAccess.createAndScheduleFluidTick(BlockPos pos, Fluid fluid, int delay) default voidWorldAccess.createAndScheduleFluidTick(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.fluidsThe field for thefluidsrecord component.UpgradeData.fluidTicksprivate final SimpleTickScheduler<Fluid>ProtoChunk.fluidTickSchedulerprivate final ChunkTickScheduler<Fluid>WorldChunk.fluidTickSchedulerMethods in net.minecraft.world.chunk that return types with arguments of type FluidModifier and TypeMethodDescriptionChunk.TickSchedulers.fluids()Returns the value of thefluidsrecord 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.fluidsMethods in net.minecraft.world.gen.blockpredicate with parameters of type FluidModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.matchingFluids(Fluid[] fluids) static BlockPredicateBlockPredicate.matchingFluids(Vec3i offset, Fluid[] fluids) Method parameters in net.minecraft.world.gen.blockpredicate with type arguments of type FluidModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.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.