Uses of Class
net.minecraft.fluid.FluidState
Package
Description
-
Uses of FluidState in net.minecraft.block
Modifier and TypeMethodDescriptionAbstractBlock.AbstractBlockState.getFluidState()
AbstractBlock.getFluidState
(BlockState state) Deprecated.AbstractRailBlock.getFluidState
(BlockState state) AbstractSignBlock.getFluidState
(BlockState state) AmethystClusterBlock.getFluidState
(BlockState state) BigDripleafBlock.getFluidState
(BlockState state) BigDripleafStemBlock.getFluidState
(BlockState state) BubbleColumnBlock.getFluidState
(BlockState state) CampfireBlock.getFluidState
(BlockState state) CandleBlock.getFluidState
(BlockState state) ChainBlock.getFluidState
(BlockState state) ChestBlock.getFluidState
(BlockState state) ConduitBlock.getFluidState
(BlockState state) CoralParentBlock.getFluidState
(BlockState state) EnderChestBlock.getFluidState
(BlockState state) FluidBlock.getFluidState
(BlockState state) GlowLichenBlock.getFluidState
(BlockState state) HangingRootsBlock.getFluidState
(BlockState state) HorizontalConnectingBlock.getFluidState
(BlockState state) KelpBlock.getFluidState
(BlockState state) KelpPlantBlock.getFluidState
(BlockState state) LadderBlock.getFluidState
(BlockState state) LanternBlock.getFluidState
(BlockState state) LightBlock.getFluidState
(BlockState state) LightningRodBlock.getFluidState
(BlockState state) PointedDripstoneBlock.getFluidState
(BlockState state) ScaffoldingBlock.getFluidState
(BlockState state) SculkSensorBlock.getFluidState
(BlockState state) SeagrassBlock.getFluidState
(BlockState state) SeaPickleBlock.getFluidState
(BlockState state) SlabBlock.getFluidState
(BlockState state) SmallDripleafBlock.getFluidState
(BlockState state) StairsBlock.getFluidState
(BlockState state) TallSeagrassBlock.getFluidState
(BlockState state) TrapdoorBlock.getFluidState
(BlockState state) WallBlock.getFluidState
(BlockState state) Modifier and TypeMethodDescriptionboolean
EntityShapeContext.canWalkOnFluid
(FluidState state, FlowableFluid fluid) boolean
ShapeContext.canWalkOnFluid
(FluidState state, FlowableFluid fluid) protected static boolean
BigDripleafBlock.placeDripleafAt
(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected static boolean
BigDripleafStemBlock.placeStemAt
(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) boolean
CampfireBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
CandleBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
FluidFillable.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpPlantBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
SeagrassBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
SlabBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
TallSeagrassBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) default boolean
Waterloggable.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) -
Uses of FluidState in net.minecraft.client.render
Modifier and TypeMethodDescriptionstatic RenderLayer
RenderLayers.getFluidLayer
(FluidState state) -
Uses of FluidState in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionprivate static boolean
FluidRenderer.isSameFluid
(BlockView world, BlockPos pos, Direction side, FluidState state) static boolean
FluidRenderer.method_29708
(BlockRenderView blockRenderView, BlockPos blockPos, FluidState fluidState, BlockState blockState, Direction direction) boolean
FluidRenderer.render
(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, FluidState state) boolean
BlockRenderManager.renderFluid
(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, FluidState state) -
Uses of FluidState in net.minecraft.client.render.chunk
-
Uses of FluidState in net.minecraft.entity
Modifier and TypeMethodDescriptionfloat
Entity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) -
Uses of FluidState in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionfloat
WitherSkullEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) -
Uses of FluidState in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionfloat
TntMinecartEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) -
Uses of FluidState in net.minecraft.fluid
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FluidState>
FluidState.CODEC
private final Map<FluidState,
VoxelShape> FlowableFluid.shapeCache
static final IdList<FluidState>
Fluid.STATE_IDS
protected final StateManager<Fluid,
FluidState> Fluid.stateManager
Modifier and TypeMethodDescriptionfinal FluidState
Fluid.getDefaultState()
FlowableFluid.getFlowing
(int level, boolean falling) FlowableFluid.getStill
(boolean falling) protected FluidState
FlowableFluid.getUpdatedState
(WorldView world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionprotected Map<Direction,
FluidState> FlowableFluid.getSpread
(WorldView world, BlockPos pos, BlockState state) Fluid.getStateManager()
Modifier and TypeMethodDescriptionboolean
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
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) 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) protected void
FlowableFluid.flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected void
LavaFluid.flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected static int
FlowableFluid.getBlockStateLevel
(FluidState state) float
EmptyFluid.getHeight
(FluidState state) float
EmptyFluid.getHeight
(FluidState state, BlockView world, BlockPos pos) float
FlowableFluid.getHeight
(FluidState state) float
FlowableFluid.getHeight
(FluidState state, BlockView world, BlockPos pos) abstract float
Fluid.getHeight
(FluidState state) abstract float
Fluid.getHeight
(FluidState state, BlockView world, BlockPos pos) int
EmptyFluid.getLevel
(FluidState state) abstract int
FlowableFluid.getLevel
(FluidState state) abstract int
Fluid.getLevel
(FluidState state) int
LavaFluid.Flowing.getLevel
(FluidState state) int
LavaFluid.Still.getLevel
(FluidState state) int
WaterFluid.Flowing.getLevel
(FluidState state) int
WaterFluid.Still.getLevel
(FluidState state) protected int
FlowableFluid.getNextTickDelay
(World world, BlockPos pos, FluidState oldState, FluidState newState) int
LavaFluid.getNextTickDelay
(World world, BlockPos pos, FluidState oldState, FluidState newState) EmptyFluid.getShape
(FluidState state, BlockView world, BlockPos pos) FlowableFluid.getShape
(FluidState state, BlockView world, BlockPos pos) abstract VoxelShape
Fluid.getShape
(FluidState state, BlockView world, BlockPos pos) EmptyFluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) FlowableFluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) protected abstract Vec3d
Fluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) private static boolean
FlowableFluid.isFluidAboveEqual
(FluidState state, BlockView world, BlockPos pos) private boolean
FlowableFluid.isMatchingAndStill
(FluidState state) boolean
EmptyFluid.isStill
(FluidState state) abstract boolean
Fluid.isStill
(FluidState state) boolean
LavaFluid.Flowing.isStill
(FluidState state) boolean
LavaFluid.Still.isStill
(FluidState state) boolean
WaterFluid.Flowing.isStill
(FluidState state) boolean
WaterFluid.Still.isStill
(FluidState state) private void
FlowableFluid.method_15744
(WorldAccess world, BlockPos pos, FluidState fluidState, BlockState blockState) private boolean
FlowableFluid.method_15748
(FluidState state) protected void
Fluid.onRandomTick
(World world, BlockPos pos, FluidState state, Random random) void
LavaFluid.onRandomTick
(World world, BlockPos pos, FluidState state, Random random) void
FlowableFluid.onScheduledTick
(World world, BlockPos pos, FluidState state) protected void
Fluid.onScheduledTick
(World world, BlockPos pos, FluidState state) protected void
Fluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) void
LavaFluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) void
WaterFluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) protected final void
Fluid.setDefaultState
(FluidState state) protected BlockState
EmptyFluid.toBlockState
(FluidState state) protected abstract BlockState
Fluid.toBlockState
(FluidState state) LavaFluid.toBlockState
(FluidState state) WaterFluid.toBlockState
(FluidState state) protected void
FlowableFluid.tryFlow
(WorldAccess world, BlockPos fluidPos, FluidState state) Modifier and TypeMethodDescriptionprotected 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) protected int
FlowableFluid.method_15742
(WorldView world, BlockPos blockPos, int int2, Direction direction, BlockState blockState, BlockPos blockPos2, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> short2ObjectMap, Short2BooleanMap short2BooleanMap) ModifierConstructorDescriptionFluidState
(Fluid fluid, ImmutableMap<Property<?>, Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Uses of FluidState in net.minecraft.nbt
Modifier and TypeMethodDescriptionstatic NbtCompound
NbtHelper.method_36115
(FluidState fluidState) -
Uses of FluidState in net.minecraft.predicate
-
Uses of FluidState in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final Predicate<FluidState>
RaycastContext.FluidHandling.predicate
Modifier and TypeMethodDescriptionBlockView.getFluidState
(BlockPos pos) ChunkRegion.getFluidState
(BlockPos pos) EmptyBlockView.getFluidState
(BlockPos pos) World.getFluidState
(BlockPos pos) Modifier and TypeMethodDescriptionRaycastContext.getFluidShape
(FluidState state, BlockView world, BlockPos pos) boolean
RaycastContext.FluidHandling.handled
(FluidState state) static boolean
SpawnHelper.isClearForSpawn
(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType) Modifier and TypeMethodDescriptionboolean
ChunkRegion.testFluidState
(BlockPos pos, Predicate<FluidState> state) boolean
TestableWorld.testFluidState
(BlockPos pos, Predicate<FluidState> state) boolean
World.testFluidState
(BlockPos pos, Predicate<FluidState> state) -
Uses of FluidState in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionChunkCache.getFluidState
(BlockPos pos) ChunkSection.getFluidState
(int x, int y, int z) EmptyChunk.getFluidState
(BlockPos pos) ProtoChunk.getFluidState
(BlockPos pos) ReadOnlyChunk.getFluidState
(BlockPos pos) WorldChunk.getFluidState
(int x, int y, int z) WorldChunk.getFluidState
(BlockPos pos) -
Uses of FluidState in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionEntityExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) -
Uses of FluidState in net.minecraft.world.gen.carver
Modifier and TypeFieldDescriptionprotected static final FluidState
Carver.LAVA
protected static final FluidState
Carver.WATER
-
Uses of FluidState in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionprotected static final FluidState
ConfiguredFeatures.States.LAVA_FLUID
final FluidState
SpringFeatureConfig.state
protected static final FluidState
ConfiguredFeatures.States.WATER_FLUID
ModifierConstructorDescriptionSpringFeatureConfig
(FluidState state, boolean requiresBlockBelow, int rockCount, int holeCount, Set<Block> validBlocks)