Uses of Class
net.minecraft.fluid.Fluid
-
Uses of Fluid in net.minecraft.block
Fields in net.minecraft.block with type parameters of type Fluid Modifier and Type Field Description private Predicate<Fluid>
EntityShapeContext. walkOnFluidPredicate
Methods in net.minecraft.block that return Fluid Modifier and Type Method Description private static Fluid
PointedDripstoneBlock. getDripFluid(World world, Fluid fluid)
static Fluid
PointedDripstoneBlock. getDripFluid(World world, BlockPos pos)
Methods in net.minecraft.block that return types with arguments of type Fluid Modifier and Type Method Description private static Optional<Fluid>
PointedDripstoneBlock. getFluid(World world, BlockPos pos, BlockState state)
Methods in net.minecraft.block with parameters of type Fluid Modifier and Type Method Description protected boolean
AbstractCauldronBlock. canBeFilledByDripstone(Fluid fluid)
protected boolean
CauldronBlock. canBeFilledByDripstone(Fluid fluid)
protected boolean
LeveledCauldronBlock. canBeFilledByDripstone(Fluid fluid)
boolean
AbstractBlock.AbstractBlockState. canBucketPlace(Fluid fluid)
boolean
AbstractBlock. canBucketPlace(BlockState state, Fluid fluid)
Deprecated.boolean
EndGatewayBlock. canBucketPlace(BlockState state, Fluid fluid)
boolean
EndPortalBlock. canBucketPlace(BlockState state, Fluid fluid)
boolean
FluidFillable. canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
KelpBlock. canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
KelpPlantBlock. canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
SeagrassBlock. canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
SlabBlock. canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
TallSeagrassBlock. canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
default boolean
Waterloggable. canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
private static void
PointedDripstoneBlock. createParticle(World world, BlockPos pos, BlockState state, Fluid fluid)
protected void
AbstractCauldronBlock. fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)
protected void
CauldronBlock. fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)
protected void
LeveledCauldronBlock. fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)
private static @Nullable BlockPos
PointedDripstoneBlock. getCauldronPos(World world, BlockPos pos, Fluid fluid)
private static Fluid
PointedDripstoneBlock. getDripFluid(World world, Fluid fluid)
private static boolean
PointedDripstoneBlock. isFluidLiquid(Fluid fluid)
Returns whether the providedfluid
is liquid, namely lava or water.Constructor parameters in net.minecraft.block with type arguments of type Fluid Constructor Description EntityShapeContext(boolean descending, double minY, ItemStack boots, ItemStack heldItem, Predicate<Fluid> walkOnFluidPredicate, Optional<Entity> entity)
-
Uses of Fluid in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as Fluid Modifier and Type Field Description private Fluid
BlockLeakParticle. fluid
Methods in net.minecraft.client.particle that return Fluid Modifier and Type Method Description protected Fluid
BlockLeakParticle. getFluid()
Constructors in net.minecraft.client.particle with parameters of type Fluid Constructor Description BlockLeakParticle(ClientWorld world, double x, double y, double z, Fluid fluid)
ContinuousFalling(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle)
Dripping(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle)
DrippingLava(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle)
DripstoneLavaDrip(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect particleEffect)
Falling(ClientWorld world, double x, double y, double z, Fluid fluid)
Falling(ClientWorld clientWorld, double double2, double double3, double double4, Fluid fluid, int int2)
FallingHoney(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect particleEffect)
Landing(ClientWorld world, double x, double y, double z, Fluid fluid)
-
Uses of Fluid in net.minecraft.client.render
Fields in net.minecraft.client.render with type parameters of type Fluid Modifier and Type Field Description private static Map<Fluid,RenderLayer>
RenderLayers. FLUIDS
-
Uses of Fluid in net.minecraft.client.render.block
Methods in net.minecraft.client.render.block with parameters of type Fluid Modifier and Type Method Description private float
FluidRenderer. getNorthWestCornerFluidHeight(BlockView world, BlockPos pos, Fluid fluid)
-
Uses of Fluid in net.minecraft.client.world
Methods in net.minecraft.client.world that return types with arguments of type Fluid Modifier and Type Method Description TickScheduler<Fluid>
ClientWorld. getFluidTickScheduler()
-
Uses of Fluid in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type Fluid Modifier and Type Field Description protected Object2DoubleMap<Tag<Fluid>>
Entity. fluidHeight
protected @Nullable Tag<Fluid>
Entity. submergedFluidTag
Methods in net.minecraft.entity with parameters of type Fluid Modifier and Type Method Description boolean
LivingEntity. canWalkOnFluid(Fluid fluid)
Method parameters in net.minecraft.entity with type arguments of type Fluid Modifier and Type Method Description double
Entity. getFluidHeight(Tag<Fluid> fluid)
boolean
Entity. isSubmergedIn(Tag<Fluid> fluidTag)
protected void
LivingEntity. swimUpward(Tag<Fluid> fluid)
boolean
Entity. updateMovementInFluid(Tag<Fluid> tag, double double2)
-
Uses of Fluid in net.minecraft.entity.mob
Method parameters in net.minecraft.entity.mob with type arguments of type Fluid Modifier and Type Method Description protected void
MagmaCubeEntity. swimUpward(Tag<Fluid> fluid)
protected void
MobEntity. swimUpward(Tag<Fluid> fluid)
-
Uses of Fluid in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type Fluid Modifier and Type Method Description boolean
StriderEntity. canWalkOnFluid(Fluid fluid)
Method parameters in net.minecraft.entity.passive with type arguments of type Fluid Modifier and Type Method Description protected void
BeeEntity. swimUpward(Tag<Fluid> fluid)
-
Uses of Fluid in net.minecraft.fluid
Subclasses of Fluid in net.minecraft.fluid Modifier and Type Class Description class
EmptyFluid
class
FlowableFluid
Represents a fluid which can flow.class
LavaFluid
static class
LavaFluid.Flowing
static class
LavaFluid.Still
class
WaterFluid
static class
WaterFluid.Flowing
static class
WaterFluid.Still
Fields in net.minecraft.fluid declared as Fluid Modifier and Type Field Description static Fluid
Fluids. EMPTY
Fields in net.minecraft.fluid with type parameters of type Fluid Modifier and Type Field Description protected StateManager<Fluid,FluidState>
Fluid. stateManager
Methods in net.minecraft.fluid with type parameters of type Fluid Modifier and Type Method Description private static <T extends Fluid>
TFluids. register(String id, T value)
Methods in net.minecraft.fluid that return Fluid Modifier and Type Method Description abstract Fluid
FlowableFluid. getFlowing()
Fluid
LavaFluid. getFlowing()
Fluid
WaterFluid. getFlowing()
Fluid
FluidState. getFluid()
abstract Fluid
FlowableFluid. getStill()
Fluid
LavaFluid. getStill()
Fluid
WaterFluid. getStill()
Methods in net.minecraft.fluid that return types with arguments of type Fluid Modifier and Type Method Description StateManager<Fluid,FluidState>
Fluid. getStateManager()
Methods in net.minecraft.fluid with parameters of type Fluid Modifier and Type Method Description boolean
EmptyFluid. canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)
protected abstract boolean
Fluid. canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)
boolean
FluidState. canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction)
boolean
LavaFluid. canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)
boolean
WaterFluid. canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)
private boolean
FlowableFluid. canFill(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
protected boolean
FlowableFluid. canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid)
private boolean
FlowableFluid. canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState)
boolean
FluidState. isEqualAndStill(Fluid fluid)
boolean
Fluid. matchesType(Fluid fluid)
boolean
LavaFluid. matchesType(Fluid fluid)
boolean
WaterFluid. matchesType(Fluid fluid)
private boolean
FlowableFluid. method_15736(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
Method parameters in net.minecraft.fluid with type arguments of type Fluid Modifier and Type Method Description protected void
FlowableFluid. appendProperties(StateManager.Builder<Fluid,FluidState> builder)
protected void
Fluid. appendProperties(StateManager.Builder<Fluid,FluidState> builder)
protected void
LavaFluid.Flowing. appendProperties(StateManager.Builder<Fluid,FluidState> builder)
protected void
WaterFluid.Flowing. appendProperties(StateManager.Builder<Fluid,FluidState> builder)
boolean
Fluid. isIn(Tag<Fluid> tag)
boolean
FluidState. isIn(Tag<Fluid> tag)
Constructors in net.minecraft.fluid with parameters of type Fluid Constructor Description FluidState(Fluid fluid, ImmutableMap<Property<?>,Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec)
-
Uses of Fluid in net.minecraft.item
Fields in net.minecraft.item declared as Fluid Modifier and Type Field Description private Fluid
BucketItem. fluid
Constructors in net.minecraft.item with parameters of type Fluid Constructor Description BucketItem(Fluid fluid, Item.Settings settings)
EntityBucketItem(EntityType<?> type, Fluid fluid, SoundEvent emptyingSound, Item.Settings settings)
-
Uses of Fluid in net.minecraft.predicate
Fields in net.minecraft.predicate declared as Fluid Modifier and Type Field Description private @Nullable Fluid
FluidPredicate.class_6079. field_30912
private @Nullable Fluid
FluidPredicate. fluid
Fields in net.minecraft.predicate with type parameters of type Fluid Modifier and Type Field Description private @Nullable Tag<Fluid>
FluidPredicate.class_6079. field_30913
private @Nullable Tag<Fluid>
FluidPredicate. tag
Methods in net.minecraft.predicate with parameters of type Fluid Modifier and Type Method Description FluidPredicate.class_6079
FluidPredicate.class_6079. method_35224(Fluid fluid)
Method parameters in net.minecraft.predicate with type arguments of type Fluid Modifier and Type Method Description FluidPredicate.class_6079
FluidPredicate.class_6079. method_35222(Tag<Fluid> tag)
Constructors in net.minecraft.predicate with parameters of type Fluid Constructor Description FluidPredicate(@Nullable Tag<Fluid> tag, @Nullable Fluid fluid, StatePredicate state)
Constructor parameters in net.minecraft.predicate with type arguments of type Fluid Constructor Description FluidPredicate(@Nullable Tag<Fluid> tag, @Nullable Fluid fluid, StatePredicate state)
-
Uses of Fluid in net.minecraft.server.world
Fields in net.minecraft.server.world with type parameters of type Fluid Modifier and Type Field Description private ServerTickScheduler<Fluid>
ServerWorld. fluidTickScheduler
Methods in net.minecraft.server.world that return types with arguments of type Fluid Modifier and Type Method Description ServerTickScheduler<Fluid>
ServerWorld. getFluidTickScheduler()
Method parameters in net.minecraft.server.world with type arguments of type Fluid Modifier and Type Method Description private void
ServerWorld. tickFluid(ScheduledTick<Fluid> tick)
-
Uses of Fluid in net.minecraft.tag
Fields in net.minecraft.tag with type parameters of type Fluid Modifier and Type Field Description static Tag.Identified<Fluid>
FluidTags. LAVA
protected static RequiredTagList<Fluid>
FluidTags. REQUIRED_TAGS
private static List<Tag<Fluid>>
FluidTags. TAGS
static Tag.Identified<Fluid>
FluidTags. WATER
Methods in net.minecraft.tag that return types with arguments of type Fluid Modifier and Type Method Description static TagGroup<Fluid>
FluidTags. getTagGroup()
static List<Tag<Fluid>>
FluidTags. getTags()
Deprecated.private static Tag.Identified<Fluid>
FluidTags. register(String id)
-
Uses of Fluid in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type Fluid Modifier and Type Field Description static DefaultedRegistry<Fluid>
Registry. FLUID
static RegistryKey<Registry<Fluid>>
Registry. FLUID_KEY
-
Uses of Fluid in net.minecraft.world
Fields in net.minecraft.world with type parameters of type Fluid Modifier and Type Field Description private TickScheduler<Fluid>
ChunkRegion. fluidTickScheduler
Methods in net.minecraft.world that return types with arguments of type Fluid Modifier and Type Method Description TickScheduler<Fluid>
ChunkRegion. getFluidTickScheduler()
TickScheduler<Fluid>
WorldAccess. getFluidTickScheduler()
-
Uses of Fluid in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type Fluid Modifier and Type Field Description private ChunkTickScheduler<Fluid>
ProtoChunk. fluidTickScheduler
private TickScheduler<Fluid>
WorldChunk. fluidTickScheduler
Methods in net.minecraft.world.chunk that return types with arguments of type Fluid Modifier and Type Method Description TickScheduler<Fluid>
Chunk. getFluidTickScheduler()
ChunkTickScheduler<Fluid>
ProtoChunk. getFluidTickScheduler()
ChunkTickScheduler<Fluid>
ReadOnlyChunk. getFluidTickScheduler()
TickScheduler<Fluid>
WorldChunk. getFluidTickScheduler()
-
Uses of Fluid in net.minecraft.world.gen.carver
Fields in net.minecraft.world.gen.carver with type parameters of type Fluid Modifier and Type Field Description protected Set<Fluid>
Carver. carvableFluids