Uses of Class
net.minecraft.world.level.material.Fluid
Package
Description
-
Uses of Fluid in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate Fluid
FluidPredicate.Builder.fluid
private Fluid
FluidPredicate.fluid
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionModifierConstructorDescriptionFluidPredicate(Tag<Fluid> p_41100_, Fluid p_41101_, StatePropertiesPredicate p_41102_)
ModifierConstructorDescriptionFluidPredicate(Tag<Fluid> p_41100_, Fluid p_41101_, StatePropertiesPredicate p_41102_)
-
Uses of Fluid in net.minecraft.client.multiplayer
-
Uses of Fluid in net.minecraft.client.particle
ModifierConstructorDescription(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
Modifier and TypeFieldDescriptionprivate static Map<IRegistryDelegate<Fluid>,Predicate<RenderType>>
ItemBlockRenderTypes.fluidRenderChecks
private static Map<Fluid,RenderType>
ItemBlockRenderTypes.TYPE_BY_FLUID
Deprecated.Modifier and TypeMethodDescriptionstatic void
ItemBlockRenderTypes.setRenderLayer(Fluid fluid, Predicate<RenderType> predicate)
static void
ItemBlockRenderTypes.setRenderLayer(Fluid fluid, RenderType type)
-
Uses of Fluid in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionprivate float
LiquidBlockRenderer.getWaterHeight(BlockGetter p_110965_, BlockPos p_110966_, Fluid p_110967_)
-
Uses of Fluid in net.minecraft.core
Modifier and TypeFieldDescriptionstatic DefaultedRegistry<Fluid>
Registry.FLUID
Deprecated.static ResourceKey<Registry<Fluid>>
Registry.FLUID_REGISTRY
-
Uses of Fluid in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate ServerTickList<Fluid>
ServerLevel.liquidTicks
WorldGenRegion.liquidTicks
Modifier and TypeMethodDescriptionprivate void
ServerLevel.tickLiquid(TickNextTickData<Fluid> p_8701_)
-
Uses of Fluid in net.minecraft.tags
Modifier and TypeFieldDescriptionprotected static StaticTagHelper<Fluid>
FluidTags.HELPER
FluidTags.KNOWN_TAGS
FluidTags.LAVA
FluidTags.WATER
Modifier and TypeMethodDescriptionstatic Tags.IOptionalNamedTag<Fluid>
FluidTags.createOptional(ResourceLocation name)
static Tags.IOptionalNamedTag<Fluid>
FluidTags.createOptional(ResourceLocation name, Set<Supplier<Fluid>> defaults)
static TagCollection<Fluid>
FluidTags.getAllTags()
FluidTags.getStaticTags()
Deprecated.Modifier and TypeMethodDescriptionstatic Tags.IOptionalNamedTag<Fluid>
FluidTags.createOptional(ResourceLocation name, Set<Supplier<Fluid>> defaults)
-
Uses of Fluid in net.minecraft.world.entity
Modifier and TypeMethodDescriptiondouble
Entity.getFluidHeight(Tag<Fluid> p_20121_)
boolean
Entity.isEyeInFluid(Tag<Fluid> p_19942_)
protected void
LivingEntity.jumpInLiquid(Tag<Fluid> p_21158_)
protected void
Mob.jumpInLiquid(Tag<Fluid> p_21491_)
boolean
Entity.updateFluidHeightAndDoFluidPushing(Tag<Fluid> p_19944_, double p_19945_)
-
Uses of Fluid in net.minecraft.world.entity.animal
-
Uses of Fluid in net.minecraft.world.entity.monster
-
Uses of Fluid in net.minecraft.world.item
ModifierConstructorDescriptionBucketItem(Fluid p_40689_, Item.Properties p_40690_)
Deprecated.MobBucketItem(EntityType<?> p_151137_, Fluid p_151138_, SoundEvent p_151139_, Item.Properties p_151140_)
Deprecated.ModifierConstructorDescriptionBucketItem(Supplier<? extends Fluid> supplier, Item.Properties builder)
-
Uses of Fluid in net.minecraft.world.level
-
Uses of Fluid in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionstatic Fluid
PointedDripstoneBlock.getCauldronFillFluidType(Level p_154179_, BlockPos p_154180_)
private static Fluid
PointedDripstoneBlock.getDripFluid(Level p_154053_, Fluid p_154054_)
Modifier and TypeMethodDescriptionPointedDripstoneBlock.getFluidAboveStalactite(Level p_154182_, BlockPos p_154183_, BlockState p_154184_)
Modifier and TypeMethodDescriptionboolean
EndGatewayBlock.canBeReplaced(BlockState p_53012_, Fluid p_53013_)
boolean
EndPortalBlock.canBeReplaced(BlockState p_53035_, Fluid p_53036_)
private static boolean
PointedDripstoneBlock.canFillCauldron(Fluid p_154159_)
boolean
KelpBlock.canPlaceLiquid(BlockGetter p_54304_, BlockPos p_54305_, BlockState p_54306_, Fluid p_54307_)
boolean
KelpPlantBlock.canPlaceLiquid(BlockGetter p_54325_, BlockPos p_54326_, BlockState p_54327_, Fluid p_54328_)
boolean
LiquidBlockContainer.canPlaceLiquid(BlockGetter p_54766_, BlockPos p_54767_, BlockState p_54768_, Fluid p_54769_)
boolean
SeagrassBlock.canPlaceLiquid(BlockGetter p_154505_, BlockPos p_154506_, BlockState p_154507_, Fluid p_154508_)
default boolean
SimpleWaterloggedBlock.canPlaceLiquid(BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_)
boolean
SlabBlock.canPlaceLiquid(BlockGetter p_56363_, BlockPos p_56364_, BlockState p_56365_, Fluid p_56366_)
boolean
TallSeagrassBlock.canPlaceLiquid(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_)
-
Uses of Fluid in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.canBeReplaced(Fluid p_60723_)
boolean
BlockBehaviour.canBeReplaced(BlockState p_60535_, Fluid p_60536_)
Deprecated. -
Uses of Fluid in net.minecraft.world.level.chunk
Modifier and TypeFieldDescriptionLevelChunk.liquidTicks
private ProtoTickList<Fluid>
ProtoChunk.liquidTicks
Modifier and TypeMethodDescriptionChunkAccess.getLiquidTicks()
ImposterProtoChunk.getLiquidTicks()
LevelChunk.getLiquidTicks()
ProtoChunk.getLiquidTicks()
-
Uses of Fluid in net.minecraft.world.level.levelgen.carver
-
Uses of Fluid in net.minecraft.world.level.material
Modifier and TypeClassDescriptionclass
class
class
static class
static class
class
static class
static class
Modifier and TypeFieldDescriptionprivate ReverseTagWrapper<Fluid>
Fluid.reverseTags
protected StateDefinition<Fluid,FluidState>
Fluid.stateDefinition
Modifier and TypeMethodDescriptionabstract Fluid
FlowingFluid.getFlowing()
LavaFluid.getFlowing()
WaterFluid.getFlowing()
abstract Fluid
FlowingFluid.getSource()
LavaFluid.getSource()
WaterFluid.getSource()
FluidState.getType()
Modifier 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 boolean
FlowingFluid.canHoldFluid(BlockGetter p_75973_, BlockPos p_75974_, BlockState p_75975_, Fluid p_75976_)
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_)
protected boolean
FlowingFluid.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_)
boolean
boolean
boolean
boolean
FluidState.isSourceOfType(Fluid p_164513_)
private boolean
FlowingFluid.isWaterHole(BlockGetter p_75957_, Fluid p_75958_, BlockPos p_75959_, BlockState p_75960_, BlockPos p_75961_, BlockState p_75962_)
Modifier 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
boolean
ModifierConstructorDescriptionFluidState(Fluid p_76149_, com.google.common.collect.ImmutableMap<Property<?>,Comparable<?>> p_76150_, com.mojang.serialization.MapCodec<FluidState> p_76151_)
-
Uses of Fluid in net.minecraft.world.phys.shapes
-
Uses of Fluid in net.minecraftforge.client
-
Uses of Fluid in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate Fluid
DynamicBucketModel.fluid
private Fluid
FluidModel.fluid
Modifier and TypeMethodDescriptionReturns a new ModelDynBucket representing the given fluid, but with the same other properties (flipGas, tint, coverIsMask).ModifierConstructorDescriptionDynamicBucketModel(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
Modifier and TypeMethodDescription -
Uses of Fluid in net.minecraftforge.common
Modifier and TypeFieldDescriptionstatic RegistryObject<Fluid>
ForgeMod.FLOWING_MILK
static RegistryObject<Fluid>
ForgeMod.MILK
static Tags.IOptionalNamedTag<Fluid>
Tags.Fluids.MILK
Modifier and TypeMethodDescriptionstatic FluidAttributes
ForgeHooks.createVanillaFluidAttributes(Fluid fluid)
Modifier and TypeMethodDescriptionvoid
ForgeMod.registerFluids(RegistryEvent.Register<Fluid> event)
-
Uses of Fluid in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeFluid.isEntityInside(FluidState state, LevelReader world, BlockPos pos, Entity entity, double yToTest, SetTag<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 boolean
IForgeFluidState.isEntityInside(LevelReader world, BlockPos pos, Entity entity, double yToTest, SetTag<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
Modifier and TypeMethodDescriptionboolean
NewFluidTest.FluidloggableBlock.canPlaceLiquid(BlockGetter worldIn, BlockPos pos, BlockState state, Fluid fluidIn)
-
Uses of Fluid in net.minecraftforge.fluids
Modifier and TypeClassDescriptionclass
static class
static class
Modifier and TypeFieldDescriptionprivate BiFunction<FluidAttributes.Builder,Fluid,FluidAttributes>
FluidAttributes.Builder.factory
ForgeFlowingFluid.flowing
ForgeFlowingFluid.Properties.flowing
private IRegistryDelegate<Fluid>
FluidStack.fluidDelegate
ForgeFlowingFluid.Properties.still
ForgeFlowingFluid.still
Modifier and TypeMethodDescriptionForgeFlowingFluid.getFlowing()
FluidStack.getFluid()
IFluidBlock.getFluid()
Returns the Fluid associated with this Block.FluidStack.getRawFluid()
ForgeFlowingFluid.getSource()
Modifier and TypeMethodDescriptionprotected boolean
ForgeFlowingFluid.canBeReplacedWith(FluidState state, BlockGetter world, BlockPos pos, Fluid fluidIn, Direction direction)
private static IFluidHandler
FluidUtil.getFluidBlockHandler(Fluid fluid, Level world, BlockPos pos)
Internal method for getting a fluid block handler for placing a fluid.boolean
Modifier and TypeMethodDescriptionprotected void
ForgeFlowingFluid.Flowing.createFluidStateDefinition(StateDefinition.Builder<Fluid,FluidState> builder)
ModifierConstructorDescriptionprotected
FluidAttributes(FluidAttributes.Builder builder, Fluid fluid)
FluidStack(Fluid fluid, int amount)
FluidStack(Fluid fluid, int amount, CompoundTag nbt)
protected
Water(FluidAttributes.Builder builder, Fluid fluid)
ModifierConstructorDescriptionprotected
Builder(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
Modifier and TypeFieldDescriptionstatic IForgeRegistry<Fluid>
ForgeRegistries.FLUIDS
static ResourceKey<Registry<Fluid>>
ForgeRegistries.Keys.FLUIDS