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.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type FluidModifier and TypeFieldDescriptionFluidPredicate.Builder.fluids
FluidPredicate.fluids
The field for thefluids
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type FluidModifier and TypeMethodDescriptionFluidPredicate.fluids()
Returns the value of thefluids
record component.Methods 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 TypeMethodDescriptionConstructor parameters in net.minecraft.advancements.critereon with type arguments of type FluidModifierConstructorDescriptionFluidPredicate
(Optional<HolderSet<Fluid>> fluids, Optional<StatePropertiesPredicate> properties) Creates an instance of aFluidPredicate
record class. -
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 p_106068_, double p_106069_, double p_106070_, double p_106071_, Fluid p_106072_, ParticleOptions p_106073_) DripHangParticle
(ClientLevel p_106085_, double p_106086_, double p_106087_, double p_106088_, Fluid p_106089_, ParticleOptions p_106090_) DripLandParticle
(ClientLevel p_106102_, double p_106103_, double p_106104_, double p_106105_, Fluid p_106106_) DripParticle
(ClientLevel p_106051_, double p_106052_, double p_106053_, double p_106054_, Fluid p_106055_) DripstoneFallAndLandParticle
(ClientLevel p_171930_, double p_171931_, double p_171932_, double p_171933_, Fluid p_171934_, ParticleOptions p_171935_) FallAndLandParticle
(ClientLevel p_106116_, double p_106117_, double p_106118_, double p_106119_, Fluid p_106120_, ParticleOptions p_106121_) FallingParticle
(ClientLevel p_106132_, double p_106133_, double p_106134_, double p_106135_, Fluid p_106136_) FallingParticle
(ClientLevel p_172022_, double p_172023_, double p_172024_, double p_172025_, Fluid p_172026_, int p_172027_) 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
<Fluid, RenderType> ItemBlockRenderTypes.TYPE_BY_FLUID
Deprecated.Methods in net.minecraft.client.renderer with parameters of type FluidModifier and TypeMethodDescriptionstatic void
ItemBlockRenderTypes.setRenderLayer
(Fluid fluid, RenderType type) 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 float
LiquidBlockRenderer.calculateAverageHeight
(BlockAndTintGetter p_203150_, Fluid p_203151_, float p_203152_, float p_203153_, float p_203154_, BlockPos p_203155_) private float
LiquidBlockRenderer.getHeight
(BlockAndTintGetter p_203157_, Fluid p_203158_, BlockPos p_203159_) private float
LiquidBlockRenderer.getHeight
(BlockAndTintGetter p_203161_, Fluid p_203162_, BlockPos p_203163_, BlockState p_203164_, FluidState p_203165_) -
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.FLUID
static final ResourceKey
<Registry<Fluid>> Registries.FLUID
-
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.fluidTicks
private final WorldGenTickAccess
<Fluid> WorldGenRegion.fluidTicks
Methods 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 TypeMethodDescriptiondouble
Entity.getFluidHeight
(TagKey<Fluid> p_204037_) Deprecated.boolean
Entity.isEyeInFluid
(TagKey<Fluid> p_204030_) Deprecated.protected void
LivingEntity.jumpInLiquid
(TagKey<Fluid> p_204043_) Deprecated.protected void
Mob.jumpInLiquid
(TagKey<Fluid> p_204045_) Deprecated.boolean
Entity.updateFluidHeightAndDoFluidPushing
(TagKey<Fluid> p_204032_, double p_204033_) Deprecated. -
Uses of Fluid in net.minecraft.world.entity.animal
Method parameters in net.minecraft.world.entity.animal with type arguments of type FluidModifier and TypeMethodDescriptionprotected void
Bee.jumpInLiquid
(TagKey<Fluid> p_204061_) 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 void
MagmaCube.jumpInLiquid
(TagKey<Fluid> p_204065_) Deprecated. -
Uses of Fluid in net.minecraft.world.item
Fields in net.minecraft.world.item declared as FluidConstructors in net.minecraft.world.item with parameters of type FluidModifierConstructorDescriptionBucketItem
(Fluid p_40689_, Item.Properties p_40690_) MobBucketItem
(EntityType<? extends Mob> p_151137_, Fluid p_151138_, SoundEvent p_151139_, Item.Properties p_151140_) -
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 void
ScheduledTickAccess.scheduleTick
(BlockPos p_374336_, Fluid p_374326_, int p_374385_) default void
ScheduledTickAccess.scheduleTick
(BlockPos p_374273_, Fluid p_374485_, int p_374400_, TickPriority p_374449_) -
Uses of Fluid in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as FluidModifier and TypeFieldDescriptionprivate final Fluid
PointedDripstoneBlock.FluidInfo.fluid
The field for thefluid
record component.Methods in net.minecraft.world.level.block that return FluidModifier and TypeMethodDescriptionPointedDripstoneBlock.FluidInfo.fluid()
Returns the value of thefluid
record component.static Fluid
PointedDripstoneBlock.getCauldronFillFluidType
(ServerLevel p_221850_, BlockPos p_221851_) private static Fluid
PointedDripstoneBlock.getDripFluid
(Level p_154053_, Fluid p_154054_) Methods in net.minecraft.world.level.block with parameters of type FluidModifier and TypeMethodDescriptionprotected boolean
EndGatewayBlock.canBeReplaced
(BlockState p_53012_, Fluid p_53013_) protected boolean
EndPortalBlock.canBeReplaced
(BlockState p_53035_, Fluid p_53036_) private static boolean
PointedDripstoneBlock.canFillCauldron
(Fluid p_154159_) boolean
BarrierBlock.canPlaceLiquid
(LivingEntity p_394532_, BlockGetter p_295048_, BlockPos p_295143_, BlockState p_294224_, Fluid p_294851_) boolean
KelpBlock.canPlaceLiquid
(LivingEntity p_393686_, BlockGetter p_54304_, BlockPos p_54305_, BlockState p_54306_, Fluid p_54307_) boolean
KelpPlantBlock.canPlaceLiquid
(LivingEntity p_394660_, BlockGetter p_54325_, BlockPos p_54326_, BlockState p_54327_, Fluid p_54328_) boolean
LiquidBlockContainer.canPlaceLiquid
(LivingEntity p_393589_, BlockGetter p_54766_, BlockPos p_54767_, BlockState p_54768_, Fluid p_54769_) boolean
SeagrassBlock.canPlaceLiquid
(LivingEntity p_394548_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default boolean
SimpleWaterloggedBlock.canPlaceLiquid
(LivingEntity p_393688_, BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_) boolean
SlabBlock.canPlaceLiquid
(LivingEntity p_394277_, BlockGetter p_56363_, BlockPos p_56364_, BlockState p_56365_, Fluid p_56366_) boolean
TallSeagrassBlock.canPlaceLiquid
(LivingEntity p_394229_, BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) protected boolean
AbstractCauldronBlock.canReceiveStalactiteDrip
(Fluid p_151983_) protected boolean
CauldronBlock.canReceiveStalactiteDrip
(Fluid p_152945_) protected boolean
LayeredCauldronBlock.canReceiveStalactiteDrip
(Fluid p_153551_) private static BlockPos
PointedDripstoneBlock.findFillableCauldronBelowStalactiteTip
(Level p_154077_, BlockPos p_154078_, Fluid p_154079_) private static Fluid
PointedDripstoneBlock.getDripFluid
(Level p_154053_, Fluid p_154054_) protected void
AbstractCauldronBlock.receiveStalactiteDrip
(BlockState p_151975_, Level p_151976_, BlockPos p_151977_, Fluid p_151978_) protected void
CauldronBlock.receiveStalactiteDrip
(BlockState p_152940_, Level p_152941_, BlockPos p_152942_, Fluid p_152943_) protected void
LayeredCauldronBlock.receiveStalactiteDrip
(BlockState p_153544_, Level p_153545_, BlockPos p_153546_, Fluid p_153547_) private static void
PointedDripstoneBlock.spawnDripParticle
(Level p_154072_, BlockPos p_154073_, BlockState p_154074_, Fluid p_154075_) 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 aFluidInfo
record 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 TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.canBeReplaced
(Fluid p_60723_) protected boolean
BlockBehaviour.canBeReplaced
(BlockState p_60535_, Fluid p_60536_) -
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_CODEC
ChunkAccess.PackedTicks.fluids
The field for thefluids
record component.private final LevelChunkTicks
<Fluid> LevelChunk.fluidTicks
private final ProtoChunkTicks
<Fluid> ProtoChunk.fluidTicks
UpgradeData.neighborFluidTicks
Methods in net.minecraft.world.level.chunk that return types with arguments of type FluidModifier and TypeMethodDescriptionChunkAccess.PackedTicks.fluids()
Returns the value of thefluids
record 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 BlockPredicate
BlockPredicate.matchesFluids
(Vec3i p_224778_, Fluid... p_224779_) static BlockPredicate
BlockPredicate.matchesFluids
(Fluid... p_224783_) Method parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type FluidModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.matchesFluids
(Vec3i p_224785_, List<Fluid> p_224786_) 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 TypeClassDescriptionclass
class
class
static class
static class
class
static class
static class
Fields 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.builtInRegistryHolder
protected final StateDefinition
<Fluid, FluidState> Fluid.stateDefinition
Methods in net.minecraft.world.level.material with type parameters of type FluidMethods in net.minecraft.world.level.material that return FluidModifier and TypeMethodDescriptionabstract Fluid
FlowingFluid.getFlowing()
LavaFluid.getFlowing()
WaterFluid.getFlowing()
abstract Fluid
FlowingFluid.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 TypeMethodDescriptionboolean
EmptyFluid.canBeReplacedWith
(FluidState p_75930_, BlockGetter p_75931_, BlockPos p_75932_, Fluid p_75933_, Direction p_75934_) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState p_76127_, BlockGetter p_76128_, BlockPos p_76129_, Fluid p_76130_, Direction p_76131_) boolean
FluidState.canBeReplacedWith
(BlockGetter p_76159_, BlockPos p_76160_, Fluid p_76161_, Direction p_76162_) boolean
LavaFluid.canBeReplacedWith
(FluidState p_76233_, BlockGetter p_76234_, BlockPos p_76235_, Fluid p_76236_, Direction p_76237_) boolean
WaterFluid.canBeReplacedWith
(FluidState p_76458_, BlockGetter p_76459_, BlockPos p_76460_, Fluid p_76461_, Direction p_76462_) private static boolean
FlowingFluid.canHoldFluid
(BlockGetter p_75973_, BlockPos p_75974_, BlockState p_75975_, Fluid p_75976_) private static boolean
FlowingFluid.canHoldSpecificFluid
(BlockGetter p_361904_, BlockPos p_360557_, BlockState p_365254_, Fluid p_365308_) private boolean
FlowingFluid.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_) boolean
boolean
boolean
boolean
boolean
FluidState.isSourceOfType
(Fluid p_164513_) Method parameters in net.minecraft.world.level.material with type arguments of type FluidModifier and TypeMethodDescriptionprotected void
FlowingFluid.createFluidStateDefinition
(StateDefinition.Builder<Fluid, FluidState> p_76046_) protected void
Fluid.createFluidStateDefinition
(StateDefinition.Builder<Fluid, FluidState> p_76121_) protected void
LavaFluid.Flowing.createFluidStateDefinition
(StateDefinition.Builder<Fluid, FluidState> p_76260_) protected void
WaterFluid.Flowing.createFluidStateDefinition
(StateDefinition.Builder<Fluid, FluidState> p_76476_) boolean
Deprecated.boolean
boolean
Constructors in net.minecraft.world.level.material with parameters of type FluidModifierConstructorDescriptionFluidState
(Fluid p_76149_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_325993_, com.mojang.serialization.MapCodec<FluidState> p_76151_) -
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 Fluid
DynamicFluidContainerModel.Unbaked.fluid
The field for thefluid
record 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 thefluid
record component.Methods in net.neoforged.neoforge.client.model.item with parameters of type FluidModifier and TypeMethodDescriptionprivate ItemModel
DynamicFluidContainerModel.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 aUnbaked
record 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_SOUP
Holds all fluids related to Beetroot Soup.Tags.Fluids.EXPERIENCE
Holds all fluids related to experience.static final DeferredHolder
<Fluid, Fluid> NeoForgeMod.FLOWING_MILK
static final DeferredHolder
<Fluid, Fluid> NeoForgeMod.FLOWING_MILK
Tags.Fluids.GASEOUS
Holds all fluids that are gaseous at room temperature.Tags.Fluids.HIDDEN_FROM_RECIPE_VIEWERS
Tag that holds all fluids that recipe viewers should not show to users.Tags.Fluids.HONEY
Holds all fluids related to honey.Tags.Fluids.LAVA
Holds all fluids related to lava.static final DeferredHolder
<Fluid, Fluid> NeoForgeMod.MILK
static final DeferredHolder
<Fluid, Fluid> NeoForgeMod.MILK
Tags.Fluids.MILK
Holds all fluids related to milk.Tags.Fluids.MUSHROOM_STEW
Holds all fluids related to Mushroom Stew.Tags.Fluids.POTION
Holds all fluids related to potions.Tags.Fluids.RABBIT_STEW
Holds all fluids related to Rabbit Stew.Tags.Fluids.SUSPICIOUS_STEW
Holds all fluids related to Suspicious Stew.Tags.Fluids.WATER
Holds 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 FluidType
CommonHooks.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 TypeMethodDescriptionNeoForgeFluidTagsProvider.tagWithOptionalLegacy
(TagKey<Fluid> tag) Method parameters in net.neoforged.neoforge.common.data.internal with type arguments of type FluidModifier and TypeMethodDescriptionNeoForgeFluidTagsProvider.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 TypeClassDescriptionclass
Base implementation of aFlowingFluid
for mods to use.static class
static class
Fields in net.neoforged.neoforge.fluids declared as FluidModifier and TypeFieldDescriptionfinal Fluid
CauldronFluidContent.fluid
Fluid stored inside the cauldron.private final Fluid
FluidStack.fluid
Fields in net.neoforged.neoforge.fluids with type parameters of type FluidModifier and TypeFieldDescriptionBaseFlowingFluid.flowing
BaseFlowingFluid.Properties.flowing
FluidStack.FLUID_NON_EMPTY_CODEC
private static final Map
<Fluid, CauldronFluidContent> CauldronFluidContent.FLUID_TO_CAULDRON
BaseFlowingFluid.Properties.still
BaseFlowingFluid.still
Methods in net.neoforged.neoforge.fluids that return FluidModifier and TypeMethodDescriptionBaseFlowingFluid.getFlowing()
FluidStack.getFluid()
Returns the fluid in this stack, orFluids.EMPTY
if this stack is empty.SimpleFluidContent.getFluid()
BaseFlowingFluid.getSource()
Methods in net.neoforged.neoforge.fluids that return types with arguments of type FluidModifier and TypeMethodDescriptionFluidStack.getFluidHolder()
SimpleFluidContent.getFluidHolder()
FluidStack.getTags()
Methods in net.neoforged.neoforge.fluids with parameters of type FluidModifier and TypeMethodDescriptionprotected boolean
BaseFlowingFluid.canBeReplacedWith
(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) private static IFluidHandler
FluidUtil.getFluidBlockHandler
(Fluid fluid, Level level, BlockPos pos) Internal method for getting a fluid block handler for placing a fluid.static @Nullable CauldronFluidContent
CauldronFluidContent.getForFluid
(Fluid fluid) Get the cauldron fluid content for a fluid, ornull
if no cauldron was registered for that fluid (yet).boolean
FluidType.handleCauldronDrip
(Fluid fluid, Level level, BlockPos cauldronPos) Returns whether a fluid above a pointed dripstone block can successfully fill a cauldron below.boolean
boolean
boolean
(package private) static void
CauldronFluidContent.register
(Block block, Fluid fluid, int totalAmount, @Nullable IntegerProperty levelProperty) Do not try to call, use theRegisterCauldronFluidContentEvent
event instead.void
RegisterCauldronFluidContentEvent.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.Method parameters in net.neoforged.neoforge.fluids with type arguments of type FluidModifier and TypeMethodDescriptionprotected void
BaseFlowingFluid.Flowing.createFluidStateDefinition
(StateDefinition.Builder<Fluid, FluidState> builder) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Constructors in net.neoforged.neoforge.fluids with parameters of type FluidModifierConstructorDescriptionprivate
CauldronFluidContent
(Block block, Fluid fluid, int totalAmount, int maxLevel, @Nullable IntegerProperty levelProperty) FluidStack
(Fluid fluid, int amount) private
FluidStack
(Fluid fluid, int amount, PatchedDataComponentMap 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) -
Uses of Fluid in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting with type parameters of type FluidModifier and TypeFieldDescriptionDataComponentFluidIngredient.fluids
FluidIngredient.fluids
SimpleFluidIngredient.HOLDER_SET_NO_EMPTY_FLUID
SimpleFluidIngredient.values
Methods 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> FluidIngredient
DataComponentFluidIngredient.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 FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentExactPredicate predicate, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentMap map, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic <T> FluidIngredient
DataComponentFluidIngredient.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 FluidIngredient
static SizedFluidIngredient
Method parameters in net.neoforged.neoforge.fluids.crafting with type arguments of type FluidModifier and TypeMethodDescriptionstatic SlotDisplay
FluidIngredient.displayForSingleFluid
(Holder<Fluid> holder) static FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentExactPredicate predicate, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentMap map, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
static FluidIngredient
Constructor 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.fluid
The field for thefluid
record component.FluidTagSlotDisplay.tag
The field for thetag
record component.Methods in net.neoforged.neoforge.fluids.crafting.display that return types with arguments of type FluidModifier and TypeMethodDescriptionFluidSlotDisplay.fluid()
Returns the value of thefluid
record component.FluidTagSlotDisplay.tag()
Returns the value of thetag
record 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 aFluidSlotDisplay
record class.FluidTagSlotDisplay
(TagKey<Fluid> tag) Creates an instance of aFluidTagSlotDisplay
record class.