Uses of Class
net.minecraft.world.level.material.Fluid
Packages that use Fluid
Package
Description
-
Uses of Fluid in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as FluidModifier and TypeFieldDescriptionprivate FluidFluidPredicate.Builder.fluidprivate final FluidFluidPredicate.fluidFields in net.minecraft.advancements.critereon with type parameters of type FluidMethods in net.minecraft.advancements.critereon with parameters of type FluidModifier and TypeMethodDescriptionMethod parameters in net.minecraft.advancements.critereon with type arguments of type FluidModifier and TypeMethodDescriptionConstructors in net.minecraft.advancements.critereon with parameters of type FluidModifierConstructorDescriptionFluidPredicate(TagKey<Fluid> p_204102_, Fluid p_204103_, StatePropertiesPredicate p_204104_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type FluidModifierConstructorDescriptionFluidPredicate(TagKey<Fluid> p_204102_, Fluid p_204103_, StatePropertiesPredicate p_204104_) -
Uses of Fluid in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return types with arguments of type Fluid -
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)CoolingDripHangParticle(ClientLevel p_106068_, double p_106069_, double p_106070_, double p_106071_, Fluid p_106072_, ParticleOptions p_106073_) (package private)DripHangParticle(ClientLevel p_106085_, double p_106086_, double p_106087_, double p_106088_, Fluid p_106089_, ParticleOptions p_106090_) (package private)DripLandParticle(ClientLevel p_106102_, double p_106103_, double p_106104_, double p_106105_, Fluid p_106106_) (package private)DripParticle(ClientLevel p_106051_, double p_106052_, double p_106053_, double p_106054_, Fluid p_106055_) (package private)DripstoneFallAndLandParticle(ClientLevel p_171930_, double p_171931_, double p_171932_, double p_171933_, Fluid p_171934_, ParticleOptions p_171935_) (package private)FallAndLandParticle(ClientLevel p_106116_, double p_106117_, double p_106118_, double p_106119_, Fluid p_106120_, ParticleOptions p_106121_) (package private)FallingParticle(ClientLevel p_106132_, double p_106133_, double p_106134_, double p_106135_, Fluid p_106136_) (package private)FallingParticle(ClientLevel p_172022_, double p_172023_, double p_172024_, double p_172025_, Fluid p_172026_, int p_172027_) (package private)HoneyFallAndLandParticle(ClientLevel p_106146_, double p_106147_, double p_106148_, double p_106149_, Fluid p_106150_, ParticleOptions p_106151_) -
Uses of Fluid in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type FluidModifier and TypeFieldDescriptionprivate static final Map<IRegistryDelegate<Fluid>,Predicate<RenderType>> ItemBlockRenderTypes.fluidRenderChecksprivate static @Nullable Map<IRegistryDelegate<Fluid>,Predicate<RenderType>> ItemBlockRenderTypes.fluidRenderChecksReadOnlyprivate static final Map<Fluid,RenderType> ItemBlockRenderTypes.TYPE_BY_FLUIDDeprecated.Methods in net.minecraft.client.renderer that return types with arguments of type FluidModifier and TypeMethodDescriptionprivate static Map<IRegistryDelegate<Fluid>,Predicate<RenderType>> ItemBlockRenderTypes.getFluidLayerPredicates()static Map<IRegistryDelegate<Fluid>,Predicate<RenderType>> ItemBlockRenderTypes.getFluidLayerPredicatesView()Methods in net.minecraft.client.renderer with parameters of type FluidModifier and TypeMethodDescriptionstatic voidItemBlockRenderTypes.setRenderLayer(Fluid fluid, Predicate<RenderType> predicate) static voidItemBlockRenderTypes.setRenderLayer(Fluid fluid, RenderType type) -
Uses of Fluid in net.minecraft.client.renderer.block
Methods in net.minecraft.client.renderer.block with parameters of type FluidModifier and TypeMethodDescriptionprivate floatLiquidBlockRenderer.calculateAverageHeight(BlockAndTintGetter p_203150_, Fluid p_203151_, float p_203152_, float p_203153_, float p_203154_, BlockPos p_203155_) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter p_203157_, Fluid p_203158_, BlockPos p_203159_) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter p_203161_, Fluid p_203162_, BlockPos p_203163_, BlockState p_203164_, FluidState p_203165_) -
Uses of Fluid in net.minecraft.core
Fields in net.minecraft.core with type parameters of type FluidModifier and TypeFieldDescriptionstatic final DefaultedRegistry<Fluid>Registry.FLUIDDeprecated.static final ResourceKey<Registry<Fluid>>Registry.FLUID_REGISTRY -
Uses of Fluid in net.minecraft.server.level
Fields in net.minecraft.server.level with type parameters of type FluidModifier and TypeFieldDescriptionprivate final LevelTicks<Fluid>ServerLevel.fluidTicksprivate final WorldGenTickAccess<Fluid>WorldGenRegion.fluidTicksMethods in net.minecraft.server.level that return types with arguments of type FluidMethods in net.minecraft.server.level with parameters of type Fluid -
Uses of Fluid in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type FluidMethods in net.minecraft.tags that return types with arguments of type Fluid -
Uses of Fluid in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type FluidMethod parameters in net.minecraft.world.entity with type arguments of type FluidModifier and TypeMethodDescriptiondoubleEntity.getFluidHeight(TagKey<Fluid> p_204037_) booleanEntity.isEyeInFluid(TagKey<Fluid> p_204030_) protected voidLivingEntity.jumpInLiquid(TagKey<Fluid> p_204043_) protected voidMob.jumpInLiquid(TagKey<Fluid> p_204045_) booleanEntity.updateFluidHeightAndDoFluidPushing(TagKey<Fluid> p_204032_, double p_204033_) -
Uses of Fluid in net.minecraft.world.entity.animal
Method parameters in net.minecraft.world.entity.animal with type arguments of type Fluid -
Uses of Fluid in net.minecraft.world.entity.monster
Method parameters in net.minecraft.world.entity.monster with type arguments of type Fluid -
Uses of Fluid in net.minecraft.world.item
Fields in net.minecraft.world.item declared as FluidFields in net.minecraft.world.item with type parameters of type FluidMethods in net.minecraft.world.item that return FluidConstructors in net.minecraft.world.item with parameters of type FluidModifierConstructorDescriptionBucketItem(Fluid p_40689_, Item.Properties p_40690_) Deprecated.MobBucketItem(EntityType<?> p_151137_, Fluid p_151138_, SoundEvent p_151139_, Item.Properties p_151140_) Deprecated.Constructor parameters in net.minecraft.world.item with type arguments of type FluidModifierConstructorDescriptionBucketItem(Supplier<? extends Fluid> supplier, Item.Properties builder) -
Uses of Fluid in net.minecraft.world.level
Methods in net.minecraft.world.level that return types with arguments of type FluidMethods in net.minecraft.world.level with parameters of type FluidModifier and TypeMethodDescriptiondefault voidLevelAccessor.scheduleTick(BlockPos p_186470_, Fluid p_186471_, int p_186472_) default voidLevelAccessor.scheduleTick(BlockPos p_186474_, Fluid p_186475_, int p_186476_, TickPriority p_186477_) -
Uses of Fluid in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with type parameters of type FluidMethods in net.minecraft.world.level.block that return FluidModifier and TypeMethodDescriptionstatic FluidPointedDripstoneBlock.getCauldronFillFluidType(Level p_154179_, BlockPos p_154180_) private static FluidPointedDripstoneBlock.getDripFluid(Level p_154053_, Fluid p_154054_) Methods in net.minecraft.world.level.block that return types with arguments of type FluidModifier and TypeMethodDescriptionPointedDripstoneBlock.getFluidAboveStalactite(Level p_154182_, BlockPos p_154183_, BlockState p_154184_) Methods in net.minecraft.world.level.block with parameters of type FluidModifier and TypeMethodDescriptionbooleanEndGatewayBlock.canBeReplaced(BlockState p_53012_, Fluid p_53013_) booleanEndPortalBlock.canBeReplaced(BlockState p_53035_, Fluid p_53036_) private static booleanPointedDripstoneBlock.canFillCauldron(Fluid p_154159_) booleanKelpBlock.canPlaceLiquid(BlockGetter p_54304_, BlockPos p_54305_, BlockState p_54306_, Fluid p_54307_) booleanKelpPlantBlock.canPlaceLiquid(BlockGetter p_54325_, BlockPos p_54326_, BlockState p_54327_, Fluid p_54328_) booleanLiquidBlockContainer.canPlaceLiquid(BlockGetter p_54766_, BlockPos p_54767_, BlockState p_54768_, Fluid p_54769_) booleanSeagrassBlock.canPlaceLiquid(BlockGetter p_154505_, BlockPos p_154506_, BlockState p_154507_, Fluid p_154508_) default booleanSimpleWaterloggedBlock.canPlaceLiquid(BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_) booleanSlabBlock.canPlaceLiquid(BlockGetter p_56363_, BlockPos p_56364_, BlockState p_56365_, Fluid p_56366_) booleanTallSeagrassBlock.canPlaceLiquid(BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) protected booleanAbstractCauldronBlock.canReceiveStalactiteDrip(Fluid p_151983_) protected booleanCauldronBlock.canReceiveStalactiteDrip(Fluid p_152945_) protected booleanLayeredCauldronBlock.canReceiveStalactiteDrip(Fluid p_153551_) private static BlockPosPointedDripstoneBlock.findFillableCauldronBelowStalactiteTip(Level p_154077_, BlockPos p_154078_, Fluid p_154079_) private static FluidPointedDripstoneBlock.getDripFluid(Level p_154053_, Fluid p_154054_) protected voidAbstractCauldronBlock.receiveStalactiteDrip(BlockState p_151975_, Level p_151976_, BlockPos p_151977_, Fluid p_151978_) protected voidCauldronBlock.receiveStalactiteDrip(BlockState p_152940_, Level p_152941_, BlockPos p_152942_, Fluid p_152943_) protected voidLayeredCauldronBlock.receiveStalactiteDrip(BlockState p_153544_, Level p_153545_, BlockPos p_153546_, Fluid p_153547_) private static voidPointedDripstoneBlock.spawnDripParticle(Level p_154072_, BlockPos p_154073_, BlockState p_154074_, Fluid p_154075_) -
Uses of Fluid in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type FluidModifier and TypeMethodDescriptionbooleanBlockBehaviour.BlockStateBase.canBeReplaced(Fluid p_60723_) booleanBlockBehaviour.canBeReplaced(BlockState p_60535_, Fluid p_60536_) Deprecated. -
Uses of Fluid in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk with type parameters of type FluidModifier and TypeFieldDescriptionprivate final SerializableTickContainer<Fluid>ChunkAccess.TicksToSave.fluidsThe field for thefluidsrecord component.private final LevelChunkTicks<Fluid>LevelChunk.fluidTicksprivate final ProtoChunkTicks<Fluid>ProtoChunk.fluidTicksUpgradeData.neighborFluidTicksMethods in net.minecraft.world.level.chunk that return types with arguments of type FluidModifier and TypeMethodDescriptionChunkAccess.TicksToSave.fluids()Returns the value of thefluidsrecord component.abstract TickContainerAccess<Fluid>ChunkAccess.getFluidTicks()ImposterProtoChunk.getFluidTicks()LevelChunk.getFluidTicks()ProtoChunk.getFluidTicks()ProtoChunk.unpackFluidTicks() -
Uses of Fluid in net.minecraft.world.level.levelgen.blockpredicates
Fields in net.minecraft.world.level.levelgen.blockpredicates with type parameters of type FluidMethods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type FluidModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.matchesFluid(Fluid p_190408_, Vec3i p_190409_) Method parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type FluidModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.matchesFluids(List<Fluid> p_190428_, Vec3i p_190429_) Constructor parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type FluidModifierConstructorDescriptionMatchingFluidsPredicate(Vec3i p_204695_, HolderSet<Fluid> p_204696_) -
Uses of Fluid in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver with type parameters of type Fluid -
Uses of Fluid in net.minecraft.world.level.material
Subclasses of Fluid in net.minecraft.world.level.materialModifier and TypeClassDescriptionclassclassclassstatic classstatic classclassstatic classstatic classFields in net.minecraft.world.level.material declared as FluidFields in net.minecraft.world.level.material with type parameters of type FluidModifier and TypeFieldDescriptionprivate final Holder.Reference<Fluid>Fluid.builtInRegistryHolderprotected final StateDefinition<Fluid,FluidState> Fluid.stateDefinitionMethods in net.minecraft.world.level.material with type parameters of type FluidMethods in net.minecraft.world.level.material that return FluidModifier and TypeMethodDescriptionabstract FluidFlowingFluid.getFlowing()LavaFluid.getFlowing()WaterFluid.getFlowing()abstract FluidFlowingFluid.getSource()LavaFluid.getSource()WaterFluid.getSource()FluidState.getType()Methods in net.minecraft.world.level.material that return types with arguments of type FluidModifier and TypeMethodDescriptionFluid.builtInRegistryHolder()Deprecated.Fluid.getStateDefinition()FluidState.getTags()FluidState.holder()Methods in net.minecraft.world.level.material with parameters of type FluidModifier and TypeMethodDescriptionbooleanEmptyFluid.canBeReplacedWith(FluidState p_75930_, BlockGetter p_75931_, BlockPos p_75932_, Fluid p_75933_, Direction p_75934_) protected abstract booleanFluid.canBeReplacedWith(FluidState p_76127_, BlockGetter p_76128_, BlockPos p_76129_, Fluid p_76130_, Direction p_76131_) booleanFluidState.canBeReplacedWith(BlockGetter p_76159_, BlockPos p_76160_, Fluid p_76161_, Direction p_76162_) booleanLavaFluid.canBeReplacedWith(FluidState p_76233_, BlockGetter p_76234_, BlockPos p_76235_, Fluid p_76236_, Direction p_76237_) booleanWaterFluid.canBeReplacedWith(FluidState p_76458_, BlockGetter p_76459_, BlockPos p_76460_, Fluid p_76461_, Direction p_76462_) private booleanFlowingFluid.canHoldFluid(BlockGetter p_75973_, BlockPos p_75974_, BlockState p_75975_, Fluid p_75976_) private booleanFlowingFluid.canPassThrough(BlockGetter p_75964_, Fluid p_75965_, BlockPos p_75966_, BlockState p_75967_, Direction p_75968_, BlockPos p_75969_, BlockState p_75970_, FluidState p_75971_) protected booleanFlowingFluid.canSpreadTo(BlockGetter p_75978_, BlockPos p_75979_, BlockState p_75980_, Direction p_75981_, BlockPos p_75982_, BlockState p_75983_, FluidState p_75984_, Fluid p_75985_) booleanbooleanbooleanbooleanbooleanFluidState.isSourceOfType(Fluid p_164513_) private booleanFlowingFluid.isWaterHole(BlockGetter p_75957_, Fluid p_75958_, BlockPos p_75959_, BlockState p_75960_, BlockPos p_75961_, BlockState p_75962_) Method parameters in net.minecraft.world.level.material with type arguments of type FluidModifier and TypeMethodDescriptionprotected voidFlowingFluid.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> p_76046_) protected voidFluid.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> p_76121_) protected voidLavaFluid.Flowing.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> p_76260_) protected voidWaterFluid.Flowing.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> p_76476_) booleanDeprecated.booleanbooleanConstructors in net.minecraft.world.level.material with parameters of type FluidModifierConstructorDescriptionFluidState(Fluid p_76149_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_76150_, com.mojang.serialization.MapCodec<FluidState> p_76151_) -
Uses of Fluid in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type Fluid -
Uses of Fluid in net.minecraftforge.client.model
Fields in net.minecraftforge.client.model declared as FluidModifier and TypeFieldDescriptionprivate final FluidDynamicBucketModel.fluidprivate final FluidFluidModel.fluidMethods in net.minecraftforge.client.model with parameters of type FluidModifier and TypeMethodDescriptionReturns a new ModelDynBucket representing the given fluid, but with the same other properties (flipGas, tint, coverIsMask).Constructors in net.minecraftforge.client.model with parameters of type FluidModifierConstructorDescriptionDynamicBucketModel(Fluid fluid, boolean flipGas, boolean tint, boolean coverIsMask) Deprecated.DynamicBucketModel(Fluid fluid, boolean flipGas, boolean tint, boolean coverIsMask, boolean applyFluidLuminosity) FluidModel(Fluid fluid) -
Uses of Fluid in net.minecraftforge.client.model.generators.loaders
Methods in net.minecraftforge.client.model.generators.loaders with parameters of type FluidModifier and TypeMethodDescription -
Uses of Fluid in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type FluidModifier and TypeFieldDescriptionstatic final RegistryObject<Fluid>ForgeMod.FLOWING_MILKstatic final RegistryObject<Fluid>ForgeMod.MILKTags.Fluids.MILKMethods in net.minecraftforge.common that return types with arguments of type FluidMethods in net.minecraftforge.common with parameters of type FluidModifier and TypeMethodDescriptionstatic FluidAttributesForgeHooks.createVanillaFluidAttributes(Fluid fluid) Method parameters in net.minecraftforge.common with type arguments of type FluidModifier and TypeMethodDescriptionvoidForgeMod.registerFluids(RegistryEvent.Register<Fluid> event) -
Uses of Fluid in net.minecraftforge.common.extensions
Method parameters in net.minecraftforge.common.extensions with type arguments of type FluidModifier and TypeMethodDescriptiondefault booleanIForgeFluid.isEntityInside(FluidState state, LevelReader level, BlockPos pos, Entity entity, double yToTest, HolderSet<Fluid> tag, boolean testingHead) Called when the entity is inside this block, may be used to determined if the entity can breathing, display material overlays, or if the entity can swim inside a block.default booleanIForgeFluidState.isEntityInside(LevelReader level, BlockPos pos, Entity entity, double yToTest, HolderSet<Fluid> tag, boolean testingHead) Called when the entity is inside this block, may be used to determined if the entity can breathing, display material overlays, or if the entity can swim inside a block. -
Uses of Fluid in net.minecraftforge.debug.fluid
Fields in net.minecraftforge.debug.fluid with type parameters of type FluidMethods in net.minecraftforge.debug.fluid with parameters of type FluidModifier and TypeMethodDescriptionbooleanNewFluidTest.FluidloggableBlock.canPlaceLiquid(BlockGetter worldIn, BlockPos pos, BlockState state, Fluid fluidIn) -
Uses of Fluid in net.minecraftforge.fluids
Subclasses of Fluid in net.minecraftforge.fluidsModifier and TypeClassDescriptionclassstatic classstatic classFields in net.minecraftforge.fluids with type parameters of type FluidModifier and TypeFieldDescriptionFluidAttributes.Builder.factoryForgeFlowingFluid.flowingForgeFlowingFluid.Properties.flowingprivate IRegistryDelegate<Fluid>FluidStack.fluidDelegateForgeFlowingFluid.Properties.stillForgeFlowingFluid.stillMethods in net.minecraftforge.fluids that return FluidModifier and TypeMethodDescriptionForgeFlowingFluid.getFlowing()final FluidFluidStack.getFluid()IFluidBlock.getFluid()Returns the Fluid associated with this Block.final FluidFluidStack.getRawFluid()ForgeFlowingFluid.getSource()Methods in net.minecraftforge.fluids with parameters of type FluidModifier and TypeMethodDescriptionprotected booleanForgeFlowingFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) private static IFluidHandlerFluidUtil.getFluidBlockHandler(Fluid fluid, Level level, BlockPos pos) Internal method for getting a fluid block handler for placing a fluid.booleanMethod parameters in net.minecraftforge.fluids with type arguments of type FluidModifier and TypeMethodDescriptionprotected voidForgeFlowingFluid.Flowing.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> builder) Constructors in net.minecraftforge.fluids with parameters of type FluidModifierConstructorDescriptionprotectedFluidAttributes(FluidAttributes.Builder builder, Fluid fluid) FluidStack(Fluid fluid, int amount) FluidStack(Fluid fluid, int amount, CompoundTag nbt) protectedWater(FluidAttributes.Builder builder, Fluid fluid) Constructor parameters in net.minecraftforge.fluids with type arguments of type FluidModifierConstructorDescriptionprotectedBuilder(ResourceLocation stillTexture, ResourceLocation flowingTexture, BiFunction<FluidAttributes.Builder, Fluid, FluidAttributes> factory) Properties(Supplier<? extends Fluid> still, Supplier<? extends Fluid> flowing, FluidAttributes.Builder attributes) -
Uses of Fluid in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type FluidModifier and TypeFieldDescriptionstatic final IForgeRegistry<Fluid>ForgeRegistries.FLUIDSstatic final ResourceKey<Registry<Fluid>>ForgeRegistries.Keys.FLUIDS