Uses of Class
net.minecraft.fluid.Fluid
Package
Description
-
Uses of Fluid in net.minecraft.advancements.criterion
ModifierConstructorDescriptionFluidPredicate
(ITag<Fluid> p_i225738_1_, Fluid p_i225738_2_, StatePropertiesPredicate p_i225738_3_) ModifierConstructorDescriptionFluidPredicate
(ITag<Fluid> p_i225738_1_, Fluid p_i225738_2_, StatePropertiesPredicate p_i225738_3_) -
Uses of Fluid in net.minecraft.block
Modifier and TypeMethodDescriptionBubbleColumnBlock.takeLiquid
(IWorld p_204508_1_, BlockPos p_204508_2_, BlockState p_204508_3_) FlowingFluidBlock.takeLiquid
(IWorld p_204508_1_, BlockPos p_204508_2_, BlockState p_204508_3_) IBucketPickupHandler.takeLiquid
(IWorld p_204508_1_, BlockPos p_204508_2_, BlockState p_204508_3_) default Fluid
IWaterLoggable.takeLiquid
(IWorld p_204508_1_, BlockPos p_204508_2_, BlockState p_204508_3_) Modifier and TypeMethodDescriptionboolean
AbstractBlock.AbstractBlockState.canBeReplaced
(Fluid p_227032_1_) boolean
AbstractBlock.canBeReplaced
(BlockState p_225541_1_, Fluid p_225541_2_) Deprecated.boolean
EndGatewayBlock.canBeReplaced
(BlockState p_225541_1_, Fluid p_225541_2_) boolean
EndPortalBlock.canBeReplaced
(BlockState p_225541_1_, Fluid p_225541_2_) boolean
ILiquidContainer.canPlaceLiquid
(IBlockReader p_204510_1_, BlockPos p_204510_2_, BlockState p_204510_3_, Fluid p_204510_4_) default boolean
IWaterLoggable.canPlaceLiquid
(IBlockReader p_204510_1_, BlockPos p_204510_2_, BlockState p_204510_3_, Fluid p_204510_4_) boolean
KelpBlock.canPlaceLiquid
(IBlockReader p_204510_1_, BlockPos p_204510_2_, BlockState p_204510_3_, Fluid p_204510_4_) boolean
KelpTopBlock.canPlaceLiquid
(IBlockReader p_204510_1_, BlockPos p_204510_2_, BlockState p_204510_3_, Fluid p_204510_4_) boolean
SeaGrassBlock.canPlaceLiquid
(IBlockReader p_204510_1_, BlockPos p_204510_2_, BlockState p_204510_3_, Fluid p_204510_4_) boolean
SlabBlock.canPlaceLiquid
(IBlockReader p_204510_1_, BlockPos p_204510_2_, BlockState p_204510_3_, Fluid p_204510_4_) boolean
TallSeaGrassBlock.canPlaceLiquid
(IBlockReader p_204510_1_, BlockPos p_204510_2_, BlockState p_204510_3_, Fluid p_204510_4_) -
Uses of Fluid in net.minecraft.client.particle
ModifierConstructorDescriptionprivate
DripParticle
(ClientWorld p_i232361_1_, double p_i232361_2_, double p_i232361_4_, double p_i232361_6_, Fluid p_i232361_8_) private
Dripping
(ClientWorld p_i232365_1_, double p_i232365_2_, double p_i232365_4_, double p_i232365_6_, Fluid p_i232365_8_, IParticleData p_i232365_9_) private
DrippingLava
(ClientWorld p_i232363_1_, double p_i232363_2_, double p_i232363_4_, double p_i232363_6_, Fluid p_i232363_8_, IParticleData p_i232363_9_) private
FallingHoneyParticle
(ClientWorld p_i232373_1_, double p_i232373_2_, double p_i232373_4_, double p_i232373_6_, Fluid p_i232373_8_, IParticleData p_i232373_9_) private
FallingLiquidParticle
(ClientWorld p_i232369_1_, double p_i232369_2_, double p_i232369_4_, double p_i232369_6_, Fluid p_i232369_8_, IParticleData p_i232369_9_) private
FallingNectarParticle
(ClientWorld p_i232371_1_, double p_i232371_2_, double p_i232371_4_, double p_i232371_6_, Fluid p_i232371_8_) private
Landing
(ClientWorld p_i232367_1_, double p_i232367_2_, double p_i232367_4_, double p_i232367_6_, Fluid p_i232367_8_) -
Uses of Fluid in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate static final Map<IRegistryDelegate<Fluid>,
Predicate<RenderType>> RenderTypeLookup.fluidRenderChecks
private static final Map<Fluid,
RenderType> RenderTypeLookup.TYPE_BY_FLUID
Deprecated.Modifier and TypeMethodDescriptionprivate float
FluidBlockRenderer.getWaterHeight
(IBlockReader p_217640_1_, BlockPos p_217640_2_, Fluid p_217640_3_) static void
RenderTypeLookup.setRenderLayer
(Fluid fluid, Predicate<RenderType> predicate) static void
RenderTypeLookup.setRenderLayer
(Fluid fluid, RenderType type) -
Uses of Fluid in net.minecraft.client.world
-
Uses of Fluid in net.minecraft.entity
Modifier and TypeMethodDescriptiondouble
Entity.getFluidHeight
(ITag<Fluid> p_233571_1_) boolean
Entity.isEyeInFluid
(ITag<Fluid> p_208600_1_) protected void
LivingEntity.jumpInLiquid
(ITag<Fluid> p_180466_1_) protected void
MobEntity.jumpInLiquid
(ITag<Fluid> p_180466_1_) boolean
Entity.updateFluidHeightAndDoFluidPushing
(ITag<Fluid> p_210500_1_, double p_210500_2_) -
Uses of Fluid in net.minecraft.entity.monster
Modifier and TypeMethodDescriptionprotected void
MagmaCubeEntity.jumpInLiquid
(ITag<Fluid> p_180466_1_) -
Uses of Fluid in net.minecraft.entity.passive
-
Uses of Fluid in net.minecraft.fluid
Modifier and TypeClassDescriptionclass
class
class
static class
static class
class
static class
static class
Modifier and TypeFieldDescriptionprivate final ReverseTagWrapper<Fluid>
Fluid.reverseTags
protected final StateContainer<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_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) boolean
FluidState.canBeReplacedWith
(IBlockReader p_215677_1_, BlockPos p_215677_2_, Fluid p_215677_3_, Direction p_215677_4_) boolean
LavaFluid.canBeReplacedWith
(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) boolean
WaterFluid.canBeReplacedWith
(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) private boolean
FlowingFluid.canHoldFluid
(IBlockReader p_211761_1_, BlockPos p_211761_2_, BlockState p_211761_3_, Fluid p_211761_4_) private boolean
FlowingFluid.canPassThrough
(IBlockReader p_211760_1_, Fluid p_211760_2_, BlockPos p_211760_3_, BlockState p_211760_4_, Direction p_211760_5_, BlockPos p_211760_6_, BlockState p_211760_7_, FluidState p_211760_8_) protected boolean
FlowingFluid.canSpreadTo
(IBlockReader p_205570_1_, BlockPos p_205570_2_, BlockState p_205570_3_, Direction p_205570_4_, BlockPos p_205570_5_, BlockState p_205570_6_, FluidState p_205570_7_, Fluid p_205570_8_) boolean
boolean
boolean
private boolean
FlowingFluid.isWaterHole
(IBlockReader p_211759_1_, Fluid p_211759_2_, BlockPos p_211759_3_, BlockState p_211759_4_, BlockPos p_211759_5_, BlockState p_211759_6_) Modifier and TypeMethodDescriptionprotected void
FlowingFluid.createFluidStateDefinition
(StateContainer.Builder<Fluid, FluidState> p_207184_1_) protected void
Fluid.createFluidStateDefinition
(StateContainer.Builder<Fluid, FluidState> p_207184_1_) protected void
LavaFluid.Flowing.createFluidStateDefinition
(StateContainer.Builder<Fluid, FluidState> p_207184_1_) protected void
WaterFluid.Flowing.createFluidStateDefinition
(StateContainer.Builder<Fluid, FluidState> p_207184_1_) boolean
boolean
ModifierConstructorDescriptionFluidState
(Fluid p_i232145_1_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_i232145_2_, com.mojang.serialization.MapCodec<FluidState> p_i232145_3_) -
Uses of Fluid in net.minecraft.item
ModifierConstructorDescriptionBucketItem
(Fluid p_i49025_1_, Item.Properties p_i49025_2_) Deprecated.FishBucketItem
(EntityType<?> p_i49022_1_, Fluid p_i49022_2_, Item.Properties p_i49022_3_) Deprecated.ModifierConstructorDescriptionBucketItem
(Supplier<? extends Fluid> supplier, Item.Properties builder) -
Uses of Fluid in net.minecraft.tags
Modifier and TypeFieldDescriptionprotected TagCollectionReader<Fluid>
NetworkTagManager.fluids
protected static final TagRegistry<Fluid>
FluidTags.HELPER
static final ITag.INamedTag<Fluid>
FluidTags.LAVA
static final ITag.INamedTag<Fluid>
FluidTags.WATER
Modifier and TypeMethodDescriptionstatic ITag.INamedTag<Fluid>
static Tags.IOptionalNamedTag<Fluid>
FluidTags.createOptional
(ResourceLocation name) static Tags.IOptionalNamedTag<Fluid>
FluidTags.createOptional
(ResourceLocation name, Set<Supplier<Fluid>> defaults) static ITagCollection<Fluid>
FluidTags.getAllTags()
ITagCollectionSupplier.getFluids()
static List<? extends ITag.INamedTag<Fluid>>
FluidTags.getWrappers()
Modifier and TypeMethodDescriptionstatic Tags.IOptionalNamedTag<Fluid>
FluidTags.createOptional
(ResourceLocation name, Set<Supplier<Fluid>> defaults) -
Uses of Fluid in net.minecraft.util.math.shapes
ModifierConstructorDescriptionprotected
EntitySelectionContext
(boolean p_i232177_1_, double p_i232177_2_, Item p_i232177_4_, Predicate<Fluid> p_i232177_5_) protected
EntitySelectionContext
(Entity entity, boolean p_i232177_1_, double p_i232177_2_, Item p_i232177_4_, Predicate<Fluid> p_i232177_5_) -
Uses of Fluid in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<Fluid>
Registry.FLUID
Deprecated.static final RegistryKey<Registry<Fluid>>
Registry.FLUID_REGISTRY
-
Uses of Fluid in net.minecraft.world
-
Uses of Fluid in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionChunk.liquidTicks
private final ChunkPrimerTickList<Fluid>
ChunkPrimer.liquidTicks
Modifier and TypeMethodDescriptionChunk.getLiquidTicks()
ChunkPrimer.getLiquidTicks()
ChunkPrimerWrapper.getLiquidTicks()
IChunk.getLiquidTicks()
-
Uses of Fluid in net.minecraft.world.gen
-
Uses of Fluid in net.minecraft.world.gen.carver
-
Uses of Fluid in net.minecraft.world.server
Modifier and TypeMethodDescriptionprivate void
ServerWorld.tickLiquid
(NextTickListEntry<Fluid> p_205339_1_) -
Uses of Fluid in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic Stream<RenderMaterial>
ForgeHooksClient.getFluidMaterials
(Fluid fluid) -
Uses of Fluid in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate final Fluid
DynamicBucketModel.fluid
private final 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 final RegistryObject<Fluid>
ForgeMod.FLOWING_MILK
static final RegistryObject<Fluid>
ForgeMod.MILK
static final 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, IWorldReader world, BlockPos pos, Entity entity, double yToTest, Tag<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
(IWorldReader world, BlockPos pos, Entity entity, double yToTest, Tag<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 TypeMethodDescriptionNewFluidTest.FluidloggableBlock.takeLiquid
(IWorld worldIn, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionboolean
NewFluidTest.FluidloggableBlock.canPlaceLiquid
(IBlockReader worldIn, BlockPos pos, BlockState state, Fluid fluidIn) -
Uses of Fluid in net.minecraftforge.fluids
Modifier and TypeClassDescriptionclass
static class
static class
Modifier and TypeFieldDescriptionFluidAttributes.Builder.factory
ForgeFlowingFluid.flowing
ForgeFlowingFluid.Properties.flowing
private IRegistryDelegate<Fluid>
FluidStack.fluidDelegate
ForgeFlowingFluid.Properties.still
ForgeFlowingFluid.still
Modifier and TypeMethodDescriptionForgeFlowingFluid.getFlowing()
final Fluid
FluidStack.getFluid()
IFluidBlock.getFluid()
Returns the Fluid associated with this Block.final Fluid
FluidStack.getRawFluid()
ForgeFlowingFluid.getSource()
Modifier and TypeMethodDescriptionprotected boolean
ForgeFlowingFluid.canBeReplacedWith
(FluidState state, IBlockReader world, BlockPos pos, Fluid fluidIn, Direction direction) private static IFluidHandler
FluidUtil.getFluidBlockHandler
(Fluid fluid, World world, BlockPos pos) Internal method for getting a fluid block handler for placing a fluid.boolean
Modifier and TypeMethodDescriptionprotected void
ForgeFlowingFluid.Flowing.createFluidStateDefinition
(StateContainer.Builder<Fluid, FluidState> builder) ModifierConstructorDescriptionprotected
FluidAttributes
(FluidAttributes.Builder builder, Fluid fluid) FluidStack
(Fluid fluid, int amount) FluidStack
(Fluid fluid, int amount, CompoundNBT 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 final IForgeRegistry<Fluid>
ForgeRegistries.FLUIDS
static final RegistryKey<Registry<Fluid>>
ForgeRegistries.Keys.FLUIDS