Uses of Class
net.minecraft.world.level.material.Fluid
Packages that use Fluid
Package
Description
Classes for NeoForge's own data generation.
-
Uses of Fluid in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion with type parameters of type FluidModifier and TypeFieldDescriptionFluidPredicate.Builder.fluidsFluidPredicate.fluidsThe field for thefluidsrecord component.Methods in net.minecraft.advancements.criterion that return types with arguments of type FluidModifier and TypeMethodDescriptionFluidPredicate.fluids()Returns the value of thefluidsrecord component.Methods in net.minecraft.advancements.criterion with parameters of type FluidMethod parameters in net.minecraft.advancements.criterion with type arguments of type FluidModifier and TypeMethodDescriptionConstructor parameters in net.minecraft.advancements.criterion with type arguments of type FluidModifierConstructorDescriptionFluidPredicate(Optional<HolderSet<Fluid>> fluids, Optional<StatePropertiesPredicate> properties) Creates an instance of aFluidPredicaterecord class. -
Uses of Fluid in net.minecraft.client.gui.components.debug
Subclasses with type arguments of type Fluid in net.minecraft.client.gui.components.debug -
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 FluidModifierConstructorDescriptionCoolingDripHangParticle(ClientLevel level, double x, double y, double z, Fluid type, ParticleOptions fallingParticle, TextureAtlasSprite sprite) DripHangParticle(ClientLevel level, double x, double y, double z, Fluid type, ParticleOptions fallingParticle, TextureAtlasSprite sprite) DripLandParticle(ClientLevel level, double x, double y, double z, Fluid type, TextureAtlasSprite sprite) DripParticle(ClientLevel level, double x, double y, double z, Fluid type, TextureAtlasSprite sprite) DripstoneFallAndLandParticle(ClientLevel level, double x, double y, double z, Fluid type, ParticleOptions landParticle, TextureAtlasSprite sprite) FallAndLandParticle(ClientLevel level, double x, double y, double z, Fluid type, ParticleOptions landParticle, TextureAtlasSprite sprite) FallingParticle(ClientLevel level, double x, double y, double z, Fluid type, TextureAtlasSprite sprite) HoneyFallAndLandParticle(ClientLevel level, double x, double y, double z, Fluid type, ParticleOptions landParticle, TextureAtlasSprite sprite) -
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<Fluid, ChunkSectionLayer> ItemBlockRenderTypes.LAYER_BY_FLUIDMethods in net.minecraft.client.renderer with parameters of type FluidModifier and TypeMethodDescriptionstatic voidItemBlockRenderTypes.setRenderLayer(Fluid fluid, ChunkSectionLayer layer) Helper to set the RenderType for Fluids -
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 level, Fluid type, float heightSelf, float height2, float height1, BlockPos cornerPos) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter level, Fluid fluidType, BlockPos pos) private floatLiquidBlockRenderer.getHeight(BlockAndTintGetter level, Fluid fluidType, BlockPos pos, BlockState state, FluidState fluidState) -
Uses of Fluid in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type FluidModifier and TypeFieldDescriptionstatic final DefaultedRegistry<Fluid> BuiltInRegistries.FLUIDstatic final ResourceKey<Registry<Fluid>> Registries.FLUID -
Uses of Fluid in net.minecraft.data.tags
Subclasses with type arguments of type Fluid in net.minecraft.data.tags -
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 FluidModifier and TypeFieldDescriptionFluidTags.BUBBLE_COLUMN_CAN_OCCUPYFluidTags.LAVAFluidTags.SUPPORTS_FROGSPAWNFluidTags.SUPPORTS_LILY_PADFluidTags.SUPPORTS_SUGAR_CANE_ADJACENTLYFluidTags.WATERMethods 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> type) Deprecated.booleanEntity.isEyeInFluid(TagKey<Fluid> type) Deprecated.protected voidLivingEntity.jumpInLiquid(TagKey<Fluid> type) Deprecated.protected voidMob.jumpInLiquid(TagKey<Fluid> type) Deprecated.booleanEntity.updateFluidHeightAndDoFluidPushing(TagKey<Fluid> type, double flowScale) Deprecated. -
Uses of Fluid in net.minecraft.world.entity.animal.bee
Method parameters in net.minecraft.world.entity.animal.bee with type arguments of type FluidModifier and TypeMethodDescriptionprotected voidBee.jumpInLiquid(TagKey<Fluid> type) Deprecated. -
Uses of Fluid in net.minecraft.world.entity.monster
Method parameters in net.minecraft.world.entity.monster with type arguments of type FluidModifier and TypeMethodDescriptionprotected voidMagmaCube.jumpInLiquid(TagKey<Fluid> type) Deprecated. -
Uses of Fluid in net.minecraft.world.item
Fields in net.minecraft.world.item declared as FluidMethods in net.minecraft.world.item that return FluidConstructors in net.minecraft.world.item with parameters of type FluidModifierConstructorDescriptionBucketItem(Fluid content, Item.Properties properties) MobBucketItem(EntityType<? extends Mob> type, Fluid content, SoundEvent emptySound, Item.Properties properties) -
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 voidScheduledTickAccess.scheduleTick(BlockPos pos, Fluid type, int tickDelay) default voidScheduledTickAccess.scheduleTick(BlockPos pos, Fluid type, int tickDelay, TickPriority priority) -
Uses of Fluid in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as FluidModifier and TypeFieldDescriptionprivate final FluidPointedDripstoneBlock.FluidInfo.fluidThe field for thefluidrecord component.Methods in net.minecraft.world.level.block that return FluidModifier and TypeMethodDescriptionPointedDripstoneBlock.FluidInfo.fluid()Returns the value of thefluidrecord component.static FluidPointedDripstoneBlock.getCauldronFillFluidType(ServerLevel level, BlockPos stalactitePos) Methods in net.minecraft.world.level.block with parameters of type FluidModifier and TypeMethodDescriptionprotected booleanEndGatewayBlock.canBeReplaced(BlockState state, Fluid fluid) protected booleanEndPortalBlock.canBeReplaced(BlockState state, Fluid fluid) private static booleanPointedDripstoneBlock.canFillCauldron(Fluid fluidAbove) booleanBarrierBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanKelpBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanKelpPlantBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanLiquidBlockContainer.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanSeagrassBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) default booleanSimpleWaterloggedBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanSlabBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) booleanTallSeagrassBlock.canPlaceLiquid(@Nullable LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type) protected booleanAbstractCauldronBlock.canReceiveStalactiteDrip(Fluid fluid) protected booleanCauldronBlock.canReceiveStalactiteDrip(Fluid fluid) protected booleanLayeredCauldronBlock.canReceiveStalactiteDrip(Fluid fluid) private static @Nullable BlockPosPointedDripstoneBlock.findFillableCauldronBelowStalactiteTip(Level level, BlockPos stalactiteTipPos, Fluid fluid) private static ParticleOptionsPointedDripstoneBlock.getDripParticle(Level level, Fluid fluidAbove, BlockPos posAbove) protected voidAbstractCauldronBlock.receiveStalactiteDrip(BlockState state, Level level, BlockPos pos, Fluid fluid) protected voidCauldronBlock.receiveStalactiteDrip(BlockState state, Level level, BlockPos pos, Fluid fluid) protected voidLayeredCauldronBlock.receiveStalactiteDrip(BlockState state, Level level, BlockPos pos, Fluid fluid) private static voidPointedDripstoneBlock.spawnDripParticle(Level level, BlockPos stalactiteTipPos, BlockState stalactiteTipState, Fluid fluidAbove, BlockPos posAbove) Constructors in net.minecraft.world.level.block with parameters of type FluidModifierConstructorDescription(package private)FluidInfo(BlockPos pos, Fluid fluid, BlockState sourceState) Creates an instance of aFluidInforecord class. -
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 fluid) protected booleanBlockBehaviour.canBeReplaced(BlockState state, Fluid fluid) -
Uses of Fluid in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk with type parameters of type FluidModifier and TypeFieldDescriptionUpgradeData.FLUID_TICKS_CODECChunkAccess.PackedTicks.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.PackedTicks.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.chunk.storage
Fields in net.minecraft.world.level.chunk.storage with type parameters of type Fluid -
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.matchesFluids(Vec3i offset, Fluid... fluids) static BlockPredicateBlockPredicate.matchesFluids(Fluid... fluids) Method parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type FluidModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.matchesFluids(Vec3i offset, List<Fluid> fluids) Constructor parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type Fluid -
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 classSubclasses with type arguments of type Fluid in net.minecraft.world.level.materialClasses in net.minecraft.world.level.material that implement interfaces with type arguments of type FluidFields 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.typeHolder()Methods in net.minecraft.world.level.material with parameters of type FluidModifier and TypeMethodDescriptionbooleanEmptyFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid other, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid other, Direction direction) booleanFluidState.canBeReplacedWith(BlockGetter level, BlockPos pos, Fluid other, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid other, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid other, Direction direction) private static booleanFlowingFluid.canHoldFluid(BlockGetter level, BlockPos pos, BlockState state, Fluid newFluid) private static booleanFlowingFluid.canHoldSpecificFluid(BlockGetter level, BlockPos pos, BlockState state, Fluid newFluid) private booleanFlowingFluid.canPassThrough(BlockGetter level, Fluid fluid, BlockPos sourcePos, BlockState sourceState, Direction direction, BlockPos testPos, BlockState testState, FluidState testFluidState) booleanbooleanbooleanbooleanFluidState.isSourceOfType(Fluid fluidType) Method parameters in net.minecraft.world.level.material with type arguments of type FluidModifier and TypeMethodDescriptionFluid.computeDefaultResource(Function<Fluid, FluidResource> resourceConstructor) Deprecated.protected voidFlowingFluid.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> builder) protected voidFluid.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> builder) protected voidLavaFluid.Flowing.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> builder) protected voidWaterFluid.Flowing.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> builder) booleanDeprecated.Constructors in net.minecraft.world.level.material with parameters of type FluidModifierConstructorDescriptionFluidState(Fluid owner, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> values, com.mojang.serialization.MapCodec<FluidState> propertiesCodec) -
Uses of Fluid in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type Fluid -
Uses of Fluid in net.neoforged.neoforge.client.model.item
Fields in net.neoforged.neoforge.client.model.item declared as FluidModifier and TypeFieldDescriptionprivate final FluidDynamicFluidContainerModel.Unbaked.fluidThe field for thefluidrecord component.Fields in net.neoforged.neoforge.client.model.item with type parameters of type FluidMethods in net.neoforged.neoforge.client.model.item that return FluidModifier and TypeMethodDescriptionDynamicFluidContainerModel.Unbaked.fluid()Returns the value of thefluidrecord component.Methods in net.neoforged.neoforge.client.model.item with parameters of type FluidModifier and TypeMethodDescriptionprivate ItemModelDynamicFluidContainerModel.bakeModelForFluid(Fluid fluid) Constructors in net.neoforged.neoforge.client.model.item with parameters of type FluidModifierConstructorDescriptionUnbaked(DynamicFluidContainerModel.Textures textures, Fluid fluid, boolean flipGas, boolean coverIsMask, boolean applyFluidLuminosity) Creates an instance of aUnbakedrecord class. -
Uses of Fluid in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type FluidModifier and TypeFieldDescriptionTags.Fluids.BEETROOT_SOUPHolds all fluids related to Beetroot Soup.Tags.Fluids.EXPERIENCEHolds all fluids related to experience.static final DeferredHolder<Fluid, Fluid> NeoForgeMod.FLOWING_MILKstatic final DeferredHolder<Fluid, Fluid> NeoForgeMod.FLOWING_MILKTags.Fluids.GASEOUSHolds all fluids that are gaseous at room temperature.Tags.Fluids.HIDDEN_FROM_RECIPE_VIEWERSTag that holds all fluids that recipe viewers should not show to users.Tags.Fluids.HONEYHolds all fluids related to honey.Tags.Fluids.LAVAHolds all fluids related to lava.static final DeferredHolder<Fluid, Fluid> NeoForgeMod.MILKstatic final DeferredHolder<Fluid, Fluid> NeoForgeMod.MILKTags.Fluids.MILKHolds all fluids related to milk.Tags.Fluids.MUSHROOM_STEWHolds all fluids related to Mushroom Stew.Tags.Fluids.POTIONHolds all fluids related to potions.Tags.Fluids.RABBIT_STEWHolds all fluids related to Rabbit Stew.Tags.Fluids.SUSPICIOUS_STEWHolds all fluids related to Suspicious Stew.Tags.Fluids.WATERHolds all fluids related to water.Methods in net.neoforged.neoforge.common that return types with arguments of type FluidMethods in net.neoforged.neoforge.common with parameters of type FluidModifier and TypeMethodDescriptionstatic FluidTypeCommonHooks.getVanillaFluidType(Fluid fluid) Returns a vanilla fluid type for the given fluid. -
Uses of Fluid in net.neoforged.neoforge.common.data.internal
Methods in net.neoforged.neoforge.common.data.internal that return types with arguments of type FluidModifier and TypeMethodDescriptionprivate TagAppender<Fluid, Fluid> NeoForgeFluidTagsProvider.tagWithOptionalLegacy(TagKey<Fluid> tag) private TagAppender<Fluid, Fluid> NeoForgeFluidTagsProvider.tagWithOptionalLegacy(TagKey<Fluid> tag) Method parameters in net.neoforged.neoforge.common.data.internal with type arguments of type FluidModifier and TypeMethodDescriptionprivate TagAppender<Fluid, Fluid> NeoForgeFluidTagsProvider.tagWithOptionalLegacy(TagKey<Fluid> tag) -
Uses of Fluid in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return Fluid -
Uses of Fluid in net.neoforged.neoforge.fluids
Subclasses of Fluid in net.neoforged.neoforge.fluidsModifier and TypeClassDescriptionclassBase implementation of aFlowingFluidfor mods to use.static classstatic classSubinterfaces with type arguments of type Fluid in net.neoforged.neoforge.fluidsFields in net.neoforged.neoforge.fluids declared as FluidModifier and TypeFieldDescriptionfinal FluidCauldronFluidContent.fluidFluid stored inside the cauldron.Fields in net.neoforged.neoforge.fluids with type parameters of type FluidModifier and TypeFieldDescriptionBaseFlowingFluid.flowingBaseFlowingFluid.Properties.flowingFluidStack.fluidFluidStackTemplate.fluidThe field for thefluidrecord component.FluidInstance.FLUID_HOLDER_CODECFluidInstance.FLUID_HOLDER_CODEC_WITH_BOUND_COMPONENTSstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Fluid>> FluidInstance.FLUID_HOLDER_STREAM_CODECprivate static final Map<Fluid, CauldronFluidContent> CauldronFluidContent.FLUID_TO_CAULDRONBaseFlowingFluid.Properties.stillBaseFlowingFluid.stillMethods in net.neoforged.neoforge.fluids that return FluidModifier and TypeMethodDescriptionBaseFlowingFluid.getFlowing()FluidStack.getFluid()Returns the fluid in this stack, orFluids.EMPTYif this stack is empty.SimpleFluidContent.getFluid()BaseFlowingFluid.getSource()Methods in net.neoforged.neoforge.fluids that return types with arguments of type FluidModifier and TypeMethodDescriptionFluidStackTemplate.fluid()Returns the value of thefluidrecord component.SimpleFluidContent.getFluidHolder()FluidStack.typeHolder()FluidStackTemplate.typeHolder()Methods in net.neoforged.neoforge.fluids with parameters of type FluidModifier and TypeMethodDescriptionprotected booleanBaseFlowingFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) private static IFluidHandlerFluidUtil.getFluidBlockHandler(Fluid fluid, Level level, BlockPos pos) Deprecated, for removal: This API element is subject to removal in a future version.Internal method for getting a fluid block handler for placing a fluid.static @Nullable CauldronFluidContentCauldronFluidContent.getForFluid(Fluid fluid) Get the cauldron fluid content for a fluid, ornullif no cauldron was registered for that fluid (yet).booleanFluidType.handleCauldronDrip(Fluid fluid, Level level, BlockPos cauldronPos) Returns whether a fluid above a pointed dripstone block can successfully fill a cauldron below.booleanboolean(package private) static voidCauldronFluidContent.register(Block block, Fluid fluid, int totalAmount, @Nullable IntegerProperty levelProperty) Do not try to call, use theRegisterCauldronFluidContentEventevent instead.voidRegisterCauldronFluidContentEvent.register(Block block, Fluid fluid, int totalAmount, @Nullable IntegerProperty levelProperty) Register a new cauldron, allowing it to be filled and emptied through the standard capability.FluidStack.transmuteCopy(Fluid newFluid) FluidStack.transmuteCopy(Fluid newFluid, int newAmount) private FluidStackFluidStack.transmuteCopyIgnoreEmpty(Fluid newFluid, int newAmount) Method parameters in net.neoforged.neoforge.fluids with type arguments of type FluidModifier and TypeMethodDescriptionprotected voidBaseFlowingFluid.Flowing.createFluidStateDefinition(StateDefinition.Builder<Fluid, FluidState> builder) booleanbooleanbooleanbooleanbooleanConstructors in net.neoforged.neoforge.fluids with parameters of type FluidModifierConstructorDescriptionprivateCauldronFluidContent(Block block, Fluid fluid, int totalAmount, int maxLevel, @Nullable IntegerProperty levelProperty) FluidStack(Fluid fluid, int amount) FluidStack(Fluid fluid, int amount, DataComponentPatch patch) FluidStackTemplate(Fluid fluid, int amount) FluidStackTemplate(Fluid fluid, int amount, DataComponentPatch components) Constructor parameters in net.neoforged.neoforge.fluids with type arguments of type FluidModifierConstructorDescriptionFluidStack(Holder<Fluid> fluid, int amount) FluidStack(Holder<Fluid> fluid, int amount, DataComponentPatch patch) privateFluidStack(Holder<Fluid> fluid, int amount, PatchedDataComponentMap components) FluidStackTemplate(Holder<Fluid> fluid, int amount) FluidStackTemplate(Holder<Fluid> fluid, int amount, DataComponentPatch components) Creates an instance of aFluidStackTemplaterecord class. -
Uses of Fluid in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting with type parameters of type FluidModifier and TypeFieldDescriptionDataComponentFluidIngredient.fluidsFluidIngredient.fluidsSimpleFluidIngredient.HOLDER_SET_NO_EMPTY_FLUIDSimpleFluidIngredient.valuesMethods in net.neoforged.neoforge.fluids.crafting that return types with arguments of type FluidModifier and TypeMethodDescriptionFluidIngredient.fluids()Returns a cached list of all Fluid holders that this ingredient accepts.DataComponentFluidIngredient.fluidSet()SimpleFluidIngredient.fluidSet()CompoundFluidIngredient.generateFluids()CustomDisplayFluidIngredient.generateFluids()DataComponentFluidIngredient.generateFluids()DifferenceFluidIngredient.generateFluids()FluidIngredient.generateFluids()Returns a stream of fluids accepted by this ingredient.IntersectionFluidIngredient.generateFluids()SimpleFluidIngredient.generateFluids()Methods in net.neoforged.neoforge.fluids.crafting with parameters of type FluidModifier and TypeMethodDescriptionstatic <T> FluidIngredientDataComponentFluidIngredient.of(boolean strict, Supplier<? extends DataComponentType<? super T>> type, T value, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic <T> FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentType<? super T> type, T value, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientstatic SizedFluidIngredientMethod parameters in net.neoforged.neoforge.fluids.crafting with type arguments of type FluidModifier and TypeMethodDescriptionstatic SlotDisplayFluidIngredient.displayForSingleFluid(Holder<Fluid> holder) static FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientstatic FluidIngredientConstructor parameters in net.neoforged.neoforge.fluids.crafting with type arguments of type FluidModifierConstructorDescriptionDataComponentFluidIngredient(HolderSet<Fluid> fluids, DataComponentExactPredicate components, boolean strict) SimpleFluidIngredient(HolderSet<Fluid> values) -
Uses of Fluid in net.neoforged.neoforge.fluids.crafting.display
Fields in net.neoforged.neoforge.fluids.crafting.display with type parameters of type FluidModifier and TypeFieldDescriptionFluidSlotDisplay.fluidThe field for thefluidrecord component.FluidTagSlotDisplay.tagThe field for thetagrecord component.Methods in net.neoforged.neoforge.fluids.crafting.display that return types with arguments of type FluidModifier and TypeMethodDescriptionFluidSlotDisplay.fluid()Returns the value of thefluidrecord component.FluidTagSlotDisplay.tag()Returns the value of thetagrecord component.Methods in net.neoforged.neoforge.fluids.crafting.display with parameters of type FluidMethod parameters in net.neoforged.neoforge.fluids.crafting.display with type arguments of type FluidConstructor parameters in net.neoforged.neoforge.fluids.crafting.display with type arguments of type FluidModifierConstructorDescriptionFluidSlotDisplay(Holder<Fluid> fluid) Creates an instance of aFluidSlotDisplayrecord class.FluidTagSlotDisplay(TagKey<Fluid> tag) Creates an instance of aFluidTagSlotDisplayrecord class. -
Uses of Fluid in net.neoforged.neoforge.transfer.fluid
Classes in net.neoforged.neoforge.transfer.fluid that implement interfaces with type arguments of type FluidModifier and TypeClassDescriptionfinal classImmutable combination of aFluidand data components.Methods in net.neoforged.neoforge.transfer.fluid that return FluidMethods in net.neoforged.neoforge.transfer.fluid that return types with arguments of type FluidMethods in net.neoforged.neoforge.transfer.fluid with parameters of type FluidModifier and TypeMethodDescriptionstatic FluidResourceNote: This cannot be called before your fluid is registeredstatic FluidResourceFluidResource.of(Fluid fluid, DataComponentPatch patch) Note: This cannot be called before your fluid is registeredMethod parameters in net.neoforged.neoforge.transfer.fluid with type arguments of type FluidModifier and TypeMethodDescriptionstatic FluidResourceNote: This cannot be called before your fluid is registeredstatic FluidResourceFluidResource.of(Holder<Fluid> holder, DataComponentPatch patch) Note: This cannot be called before your fluid is registered
FluidResource.of(FluidStack)instead.