Uses of Class
net.minecraft.fluid.FluidState
Packages that use FluidState
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of FluidState in net.minecraft.block
Fields in net.minecraft.block declared as FluidStateFields in net.minecraft.block with type parameters of type FluidStateModifier and TypeFieldDescriptionprivate final List<FluidState>FluidBlock.statesByLevelprivate final Predicate<FluidState>EntityShapeContext.walkOnFluidPredicateMethods in net.minecraft.block that return FluidStateModifier and TypeMethodDescriptionAbstractBlock.AbstractBlockState.getFluidState()AbstractBlock.getFluidState(BlockState state) Deprecated.AbstractRailBlock.getFluidState(BlockState state) Returns the state's associated fluid state.AbstractSignBlock.getFluidState(BlockState state) Returns the state's associated fluid state.AmethystClusterBlock.getFluidState(BlockState state) Returns the state's associated fluid state.BigDripleafBlock.getFluidState(BlockState state) Returns the state's associated fluid state.BigDripleafStemBlock.getFluidState(BlockState state) Returns the state's associated fluid state.BubbleColumnBlock.getFluidState(BlockState state) Returns the state's associated fluid state.CampfireBlock.getFluidState(BlockState state) Returns the state's associated fluid state.CandleBlock.getFluidState(BlockState state) Returns the state's associated fluid state.ChainBlock.getFluidState(BlockState state) Returns the state's associated fluid state.ChestBlock.getFluidState(BlockState state) Returns the state's associated fluid state.ConduitBlock.getFluidState(BlockState state) Returns the state's associated fluid state.CoralParentBlock.getFluidState(BlockState state) Returns the state's associated fluid state.DecoratedPotBlock.getFluidState(BlockState state) Returns the state's associated fluid state.EnderChestBlock.getFluidState(BlockState state) Returns the state's associated fluid state.FluidBlock.getFluidState(BlockState state) Returns the state's associated fluid state.GlowLichenBlock.getFluidState(BlockState state) Returns the state's associated fluid state.HangingRootsBlock.getFluidState(BlockState state) Returns the state's associated fluid state.HorizontalConnectingBlock.getFluidState(BlockState state) Returns the state's associated fluid state.KelpBlock.getFluidState(BlockState state) Returns the state's associated fluid state.KelpPlantBlock.getFluidState(BlockState state) Returns the state's associated fluid state.LadderBlock.getFluidState(BlockState state) Returns the state's associated fluid state.LanternBlock.getFluidState(BlockState state) Returns the state's associated fluid state.LeavesBlock.getFluidState(BlockState state) Returns the state's associated fluid state.LightBlock.getFluidState(BlockState state) Returns the state's associated fluid state.LightningRodBlock.getFluidState(BlockState state) Returns the state's associated fluid state.MangroveRootsBlock.getFluidState(BlockState state) Returns the state's associated fluid state.PointedDripstoneBlock.getFluidState(BlockState state) Returns the state's associated fluid state.PropaguleBlock.getFluidState(BlockState state) Returns the state's associated fluid state.ScaffoldingBlock.getFluidState(BlockState state) Returns the state's associated fluid state.SculkSensorBlock.getFluidState(BlockState state) Returns the state's associated fluid state.SculkShriekerBlock.getFluidState(BlockState state) Returns the state's associated fluid state.SculkVeinBlock.getFluidState(BlockState state) Returns the state's associated fluid state.SeagrassBlock.getFluidState(BlockState state) Returns the state's associated fluid state.SeaPickleBlock.getFluidState(BlockState state) Returns the state's associated fluid state.SlabBlock.getFluidState(BlockState state) Returns the state's associated fluid state.SmallDripleafBlock.getFluidState(BlockState state) Returns the state's associated fluid state.StairsBlock.getFluidState(BlockState state) Returns the state's associated fluid state.TallSeagrassBlock.getFluidState(BlockState state) Returns the state's associated fluid state.TrapdoorBlock.getFluidState(BlockState state) Returns the state's associated fluid state.WallBlock.getFluidState(BlockState state) Returns the state's associated fluid state.Methods in net.minecraft.block with parameters of type FluidStateModifier and TypeMethodDescriptionbooleanEntityShapeContext.canWalkOnFluid(FluidState stateAbove, FluidState state) booleanShapeContext.canWalkOnFluid(FluidState stateAbove, FluidState state) protected static booleanBigDripleafBlock.placeDripleafAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected static booleanBigDripleafStemBlock.placeStemAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) booleanCampfireBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanCandleBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanFluidFillable.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanKelpBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanKelpPlantBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanSeagrassBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanSlabBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanTallSeagrassBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) default booleanWaterloggable.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) Constructor parameters in net.minecraft.block with type arguments of type FluidStateModifierConstructorDescriptionprotectedEntityShapeContext(boolean descending, double minY, ItemStack heldItem, Predicate<FluidState> walkOnFluidPredicate, @Nullable Entity entity) -
Uses of FluidState in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type FluidStateModifier and TypeMethodDescriptionstatic RenderLayerRenderLayers.getFluidLayer(FluidState state) -
Uses of FluidState in net.minecraft.client.render.block
Methods in net.minecraft.client.render.block with parameters of type FluidStateModifier and TypeMethodDescriptionprivate floatFluidRenderer.getFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) private static booleanFluidRenderer.isSameFluid(FluidState a, FluidState b) voidFluidRenderer.render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) voidBlockRenderManager.renderFluid(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) static booleanFluidRenderer.shouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState) -
Uses of FluidState in net.minecraft.client.render.chunk
Methods in net.minecraft.client.render.chunk that return FluidStateModifier and TypeMethodDescriptionChunkRendererRegion.getFluidState(BlockPos pos) Returns the fluid state atpos. -
Uses of FluidState in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type FluidStateModifier and TypeMethodDescriptionbooleanLivingEntity.canWalkOnFluid(FluidState state) floatEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockStatefor an explosion caused by this entity. -
Uses of FluidState in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type FluidState -
Uses of FluidState in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type FluidStateModifier and TypeMethodDescriptionfloatWitherSkullEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockStatefor an explosion caused by this entity. -
Uses of FluidState in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type FluidStateModifier and TypeMethodDescriptionfloatTntMinecartEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockStatefor an explosion caused by this entity. -
Uses of FluidState in net.minecraft.fluid
Fields in net.minecraft.fluid declared as FluidStateFields in net.minecraft.fluid with type parameters of type FluidStateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FluidState>FluidState.CODECprivate final Map<FluidState,VoxelShape> FlowableFluid.shapeCachestatic final IdList<FluidState>Fluid.STATE_IDSprotected final StateManager<Fluid,FluidState> Fluid.stateManagerMethods in net.minecraft.fluid that return FluidStateModifier and TypeMethodDescriptionfinal FluidStateFluid.getDefaultState()FlowableFluid.getFlowing(int level, boolean falling) FlowableFluid.getStill(boolean falling) protected FluidStateFlowableFluid.getUpdatedState(World world, BlockPos pos, BlockState state) Methods in net.minecraft.fluid that return types with arguments of type FluidStateModifier and TypeMethodDescriptionprotected Map<Direction,FluidState> FlowableFluid.getSpread(World world, BlockPos pos, BlockState state) Fluid.getStateManager()Methods in net.minecraft.fluid with parameters of type FluidStateModifier and TypeMethodDescriptionbooleanEmptyFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected booleanFlowableFluid.canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid) private booleanFlowableFluid.canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) protected voidFlowableFluid.flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected voidLavaFluid.flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) private voidFlowableFluid.flowToSides(World world, BlockPos pos, FluidState fluidState, BlockState blockState) protected static intFlowableFluid.getBlockStateLevel(FluidState state) floatEmptyFluid.getHeight(FluidState state) floatEmptyFluid.getHeight(FluidState state, BlockView world, BlockPos pos) floatFlowableFluid.getHeight(FluidState state) floatFlowableFluid.getHeight(FluidState state, BlockView world, BlockPos pos) abstract floatFluid.getHeight(FluidState state) abstract floatFluid.getHeight(FluidState state, BlockView world, BlockPos pos) intEmptyFluid.getLevel(FluidState state) abstract intFlowableFluid.getLevel(FluidState state) abstract intFluid.getLevel(FluidState state) intLavaFluid.Flowing.getLevel(FluidState state) intLavaFluid.Still.getLevel(FluidState state) intWaterFluid.Flowing.getLevel(FluidState state) intWaterFluid.Still.getLevel(FluidState state) protected intFlowableFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) intLavaFluid.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 VoxelShapeFluid.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 Vec3dFluid.getVelocity(BlockView world, BlockPos pos, FluidState state) private booleanFlowableFluid.isEmptyOrThis(FluidState state) private static booleanFlowableFluid.isFluidAboveEqual(FluidState state, BlockView world, BlockPos pos) private booleanFlowableFluid.isMatchingAndStill(FluidState state) booleanEmptyFluid.isStill(FluidState state) abstract booleanFluid.isStill(FluidState state) booleanLavaFluid.Flowing.isStill(FluidState state) booleanLavaFluid.Still.isStill(FluidState state) booleanWaterFluid.Flowing.isStill(FluidState state) booleanWaterFluid.Still.isStill(FluidState state) protected voidFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidLavaFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidFlowableFluid.onScheduledTick(World world, BlockPos pos, FluidState state) protected voidFluid.onScheduledTick(World world, BlockPos pos, FluidState state) protected voidFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidLavaFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidWaterFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) protected final voidFluid.setDefaultState(FluidState state) protected BlockStateEmptyFluid.toBlockState(FluidState state) protected abstract BlockStateFluid.toBlockState(FluidState state) LavaFluid.toBlockState(FluidState state) WaterFluid.toBlockState(FluidState state) protected voidFlowableFluid.tryFlow(World world, BlockPos fluidPos, FluidState state) Method parameters in net.minecraft.fluid with type arguments of type FluidStateModifier and TypeMethodDescriptionprotected voidFlowableFluid.appendProperties(StateManager.Builder<Fluid, FluidState> builder) protected voidFluid.appendProperties(StateManager.Builder<Fluid, FluidState> builder) protected voidLavaFluid.Flowing.appendProperties(StateManager.Builder<Fluid, FluidState> builder) protected voidWaterFluid.Flowing.appendProperties(StateManager.Builder<Fluid, FluidState> builder) protected intFlowableFluid.getFlowSpeedBetween(WorldView world, BlockPos blockPos, int int2, Direction direction, BlockState blockState, BlockPos blockPos2, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> short2ObjectMap, Short2BooleanMap short2BooleanMap) Constructor parameters in net.minecraft.fluid with type arguments of type FluidStateModifierConstructorDescriptionFluidState(Fluid fluid, ImmutableMap<Property<?>, Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Uses of FluidState in net.minecraft.nbt
Methods in net.minecraft.nbt with parameters of type FluidStateModifier and TypeMethodDescriptionstatic NbtCompoundNbtHelper.fromFluidState(FluidState state) Returns the serialized fluid state. -
Uses of FluidState in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type FluidState -
Uses of FluidState in net.minecraft.world
Fields in net.minecraft.world with type parameters of type FluidStateModifier and TypeFieldDescriptionprivate final Predicate<FluidState>RaycastContext.FluidHandling.predicateMethods in net.minecraft.world that return FluidStateModifier and TypeMethodDescriptionBlockView.getFluidState(BlockPos pos) Returns the fluid state atpos.ChunkRegion.getFluidState(BlockPos pos) Returns the fluid state atpos.EmptyBlockView.getFluidState(BlockPos pos) Returns the fluid state atpos.World.getFluidState(BlockPos pos) Returns the fluid state atpos.Methods in net.minecraft.world with parameters of type FluidStateModifier and TypeMethodDescriptionRaycastContext.getFluidShape(FluidState state, BlockView world, BlockPos pos) booleanRaycastContext.FluidHandling.handled(FluidState state) static booleanSpawnHelper.isClearForSpawn(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType) Method parameters in net.minecraft.world with type arguments of type FluidStateModifier and TypeMethodDescriptionbooleanChunkRegion.testFluidState(BlockPos pos, Predicate<FluidState> state) booleanTestableWorld.testFluidState(BlockPos pos, Predicate<FluidState> state) booleanWorld.testFluidState(BlockPos pos, Predicate<FluidState> state) Constructor parameters in net.minecraft.world with type arguments of type FluidState -
Uses of FluidState in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk that return FluidStateModifier and TypeMethodDescriptionChunkCache.getFluidState(BlockPos pos) Returns the fluid state atpos.ChunkSection.getFluidState(int x, int y, int z) EmptyChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.ProtoChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.WorldChunk.getFluidState(int x, int y, int z) WorldChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.WrapperProtoChunk.getFluidState(BlockPos pos) Returns the fluid state atpos. -
Uses of FluidState in net.minecraft.world.explosion
Methods in net.minecraft.world.explosion with parameters of type FluidStateModifier 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
Fields in net.minecraft.world.gen.carver declared as FluidStateModifier and TypeFieldDescriptionprotected static final FluidStateCarver.LAVAprotected static final FluidStateCarver.WATER -
Uses of FluidState in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as FluidStateConstructors in net.minecraft.world.gen.feature with parameters of type FluidStateModifierConstructorDescriptionSpringFeatureConfig(FluidState state, boolean requiresBlockBelow, int rockCount, int holeCount, RegistryEntryList<Block> validBlocks)
AbstractBlock.AbstractBlockState.getFluidState()instead.