Uses of Class
net.minecraft.fluid.FluidState
-
-
Uses of FluidState in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type FluidState Modifier and Type Method Description boolean
StatePropertiesPredicate. matches(FluidState p_227185_1_)
-
Uses of FluidState in net.minecraft.block
Fields in net.minecraft.block with type parameters of type FluidState Modifier and Type Field Description private java.util.List<FluidState>
FlowingFluidBlock. stateCache
Methods in net.minecraft.block that return FluidState Modifier and Type Method Description FluidState
AbstractBlock.AbstractBlockState. getFluidState()
FluidState
AbstractBlock. getFluidState(BlockState p_204507_1_)
Deprecated.FluidState
AbstractCoralPlantBlock. getFluidState(BlockState p_204507_1_)
FluidState
AbstractSignBlock. getFluidState(BlockState p_204507_1_)
FluidState
BubbleColumnBlock. getFluidState(BlockState p_204507_1_)
FluidState
CampfireBlock. getFluidState(BlockState p_204507_1_)
FluidState
ChainBlock. getFluidState(BlockState p_204507_1_)
FluidState
ChestBlock. getFluidState(BlockState p_204507_1_)
FluidState
ConduitBlock. getFluidState(BlockState p_204507_1_)
FluidState
EnderChestBlock. getFluidState(BlockState p_204507_1_)
FluidState
FlowingFluidBlock. getFluidState(BlockState p_204507_1_)
FluidState
FourWayBlock. getFluidState(BlockState p_204507_1_)
FluidState
KelpBlock. getFluidState(BlockState p_204507_1_)
FluidState
KelpTopBlock. getFluidState(BlockState p_204507_1_)
FluidState
LadderBlock. getFluidState(BlockState p_204507_1_)
FluidState
LanternBlock. getFluidState(BlockState p_204507_1_)
FluidState
ScaffoldingBlock. getFluidState(BlockState p_204507_1_)
FluidState
SeaGrassBlock. getFluidState(BlockState p_204507_1_)
FluidState
SeaPickleBlock. getFluidState(BlockState p_204507_1_)
FluidState
SlabBlock. getFluidState(BlockState p_204507_1_)
FluidState
StairsBlock. getFluidState(BlockState p_204507_1_)
FluidState
TallSeaGrassBlock. getFluidState(BlockState p_204507_1_)
FluidState
TrapDoorBlock. getFluidState(BlockState p_204507_1_)
FluidState
WallBlock. getFluidState(BlockState p_204507_1_)
Methods in net.minecraft.block with parameters of type FluidState Modifier and Type Method Description boolean
CampfireBlock. placeLiquid(IWorld p_204509_1_, BlockPos p_204509_2_, BlockState p_204509_3_, FluidState p_204509_4_)
boolean
ILiquidContainer. placeLiquid(IWorld p_204509_1_, BlockPos p_204509_2_, BlockState p_204509_3_, FluidState p_204509_4_)
default boolean
IWaterLoggable. placeLiquid(IWorld p_204509_1_, BlockPos p_204509_2_, BlockState p_204509_3_, FluidState p_204509_4_)
boolean
KelpBlock. placeLiquid(IWorld p_204509_1_, BlockPos p_204509_2_, BlockState p_204509_3_, FluidState p_204509_4_)
boolean
KelpTopBlock. placeLiquid(IWorld p_204509_1_, BlockPos p_204509_2_, BlockState p_204509_3_, FluidState p_204509_4_)
boolean
SeaGrassBlock. placeLiquid(IWorld p_204509_1_, BlockPos p_204509_2_, BlockState p_204509_3_, FluidState p_204509_4_)
boolean
SlabBlock. placeLiquid(IWorld p_204509_1_, BlockPos p_204509_2_, BlockState p_204509_3_, FluidState p_204509_4_)
boolean
TallSeaGrassBlock. placeLiquid(IWorld p_204509_1_, BlockPos p_204509_2_, BlockState p_204509_3_, FluidState p_204509_4_)
-
Uses of FluidState in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer that return FluidState Modifier and Type Method Description FluidState
ActiveRenderInfo. getFluidInCamera()
Methods in net.minecraft.client.renderer with parameters of type FluidState Modifier and Type Method Description static boolean
RenderTypeLookup. canRenderInLayer(FluidState fluid, RenderType type)
static RenderType
RenderTypeLookup. getRenderLayer(FluidState p_228391_0_)
Deprecated.private static boolean
FluidBlockRenderer. isNeighborSameFluid(IBlockReader p_209557_0_, BlockPos p_209557_1_, Direction p_209557_2_, FluidState p_209557_3_)
boolean
BlockRendererDispatcher. renderLiquid(BlockPos p_228794_1_, IBlockDisplayReader p_228794_2_, IVertexBuilder p_228794_3_, FluidState p_228794_4_)
static boolean
FluidBlockRenderer. shouldRenderFace(IBlockDisplayReader p_239281_0_, BlockPos p_239281_1_, FluidState p_239281_2_, BlockState p_239281_3_, Direction p_239281_4_)
boolean
FluidBlockRenderer. tesselate(IBlockDisplayReader p_228796_1_, BlockPos p_228796_2_, IVertexBuilder p_228796_3_, FluidState p_228796_4_)
-
Uses of FluidState in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as FluidState Modifier and Type Field Description protected FluidState[]
ChunkRenderCache. fluidStates
Methods in net.minecraft.client.renderer.chunk that return FluidState Modifier and Type Method Description FluidState
ChunkRenderCache. getFluidState(BlockPos p_204610_1_)
-
Uses of FluidState in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type FluidState Modifier and Type Method Description float
Entity. getBlockExplosionResistance(Explosion p_180428_1_, IBlockReader p_180428_2_, BlockPos p_180428_3_, BlockState p_180428_4_, FluidState p_180428_5_, float p_180428_6_)
-
Uses of FluidState in net.minecraft.entity.item.minecart
Methods in net.minecraft.entity.item.minecart with parameters of type FluidState Modifier and Type Method Description float
TNTMinecartEntity. getBlockExplosionResistance(Explosion p_180428_1_, IBlockReader p_180428_2_, BlockPos p_180428_3_, BlockState p_180428_4_, FluidState p_180428_5_, float p_180428_6_)
-
Uses of FluidState in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type FluidState Modifier and Type Method Description float
WitherSkullEntity. getBlockExplosionResistance(Explosion p_180428_1_, IBlockReader p_180428_2_, BlockPos p_180428_3_, BlockState p_180428_4_, FluidState p_180428_5_, float p_180428_6_)
-
Uses of FluidState in net.minecraft.fluid
Fields in net.minecraft.fluid declared as FluidState Modifier and Type Field Description private FluidState
Fluid. defaultFluidState
Fields in net.minecraft.fluid with type parameters of type FluidState Modifier and Type Field Description static com.mojang.serialization.Codec<FluidState>
FluidState. CODEC
static ObjectIntIdentityMap<FluidState>
Fluid. FLUID_STATE_REGISTRY
private java.util.Map<FluidState,VoxelShape>
FlowingFluid. shapes
protected StateContainer<Fluid,FluidState>
Fluid. stateDefinition
Methods in net.minecraft.fluid that return FluidState Modifier and Type Method Description FluidState
Fluid. defaultFluidState()
FluidState
FlowingFluid. getFlowing(int p_207207_1_, boolean p_207207_2_)
protected FluidState
FlowingFluid. getNewLiquid(IWorldReader p_205576_1_, BlockPos p_205576_2_, BlockState p_205576_3_)
FluidState
FlowingFluid. getSource(boolean p_207204_1_)
Methods in net.minecraft.fluid that return types with arguments of type FluidState Modifier and Type Method Description protected java.util.Map<Direction,FluidState>
FlowingFluid. getSpread(IWorldReader p_205572_1_, BlockPos p_205572_2_, BlockState p_205572_3_)
StateContainer<Fluid,FluidState>
Fluid. getStateDefinition()
Methods in net.minecraft.fluid with parameters of type FluidState Modifier and Type Method Description private boolean
FlowingFluid. affectsFlow(FluidState p_212189_1_)
protected void
Fluid. animateTick(World p_204522_1_, BlockPos p_204522_2_, FluidState p_204522_3_, java.util.Random p_204522_4_)
void
LavaFluid. animateTick(World p_204522_1_, BlockPos p_204522_2_, FluidState p_204522_3_, java.util.Random p_204522_4_)
void
WaterFluid. animateTick(World p_204522_1_, BlockPos p_204522_2_, FluidState p_204522_3_, java.util.Random p_204522_4_)
boolean
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
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. 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_)
protected BlockState
EmptyFluid. createLegacyBlock(FluidState p_204527_1_)
protected abstract BlockState
Fluid. createLegacyBlock(FluidState p_204527_1_)
BlockState
LavaFluid. createLegacyBlock(FluidState p_204527_1_)
BlockState
WaterFluid. createLegacyBlock(FluidState p_204527_1_)
int
EmptyFluid. getAmount(FluidState p_207192_1_)
abstract int
Fluid. getAmount(FluidState p_207192_1_)
int
LavaFluid.Flowing. getAmount(FluidState p_207192_1_)
int
LavaFluid.Source. getAmount(FluidState p_207192_1_)
int
WaterFluid.Flowing. getAmount(FluidState p_207192_1_)
int
WaterFluid.Source. getAmount(FluidState p_207192_1_)
Vector3d
EmptyFluid. getFlow(IBlockReader p_215663_1_, BlockPos p_215663_2_, FluidState p_215663_3_)
Vector3d
FlowingFluid. getFlow(IBlockReader p_215663_1_, BlockPos p_215663_2_, FluidState p_215663_3_)
protected abstract Vector3d
Fluid. getFlow(IBlockReader p_215663_1_, BlockPos p_215663_2_, FluidState p_215663_3_)
float
EmptyFluid. getHeight(FluidState p_215662_1_, IBlockReader p_215662_2_, BlockPos p_215662_3_)
float
FlowingFluid. getHeight(FluidState p_215662_1_, IBlockReader p_215662_2_, BlockPos p_215662_3_)
abstract float
Fluid. getHeight(FluidState p_215662_1_, IBlockReader p_215662_2_, BlockPos p_215662_3_)
protected static int
FlowingFluid. getLegacyLevel(FluidState p_207205_0_)
float
EmptyFluid. getOwnHeight(FluidState p_223407_1_)
float
FlowingFluid. getOwnHeight(FluidState p_223407_1_)
abstract float
Fluid. getOwnHeight(FluidState p_223407_1_)
VoxelShape
EmptyFluid. getShape(FluidState p_215664_1_, IBlockReader p_215664_2_, BlockPos p_215664_3_)
VoxelShape
FlowingFluid. getShape(FluidState p_215664_1_, IBlockReader p_215664_2_, BlockPos p_215664_3_)
abstract VoxelShape
Fluid. getShape(FluidState p_215664_1_, IBlockReader p_215664_2_, BlockPos p_215664_3_)
protected int
FlowingFluid. getSpreadDelay(World p_215667_1_, BlockPos p_215667_2_, FluidState p_215667_3_, FluidState p_215667_4_)
int
LavaFluid. getSpreadDelay(World p_215667_1_, BlockPos p_215667_2_, FluidState p_215667_3_, FluidState p_215667_4_)
private static boolean
FlowingFluid. hasSameAbove(FluidState p_215666_0_, IBlockReader p_215666_1_, BlockPos p_215666_2_)
boolean
EmptyFluid. isSource(FluidState p_207193_1_)
abstract boolean
Fluid. isSource(FluidState p_207193_1_)
boolean
LavaFluid.Flowing. isSource(FluidState p_207193_1_)
boolean
LavaFluid.Source. isSource(FluidState p_207193_1_)
boolean
WaterFluid.Flowing. isSource(FluidState p_207193_1_)
boolean
WaterFluid.Source. isSource(FluidState p_207193_1_)
private boolean
FlowingFluid. isSourceBlockOfThisType(FluidState p_211758_1_)
protected void
Fluid. randomTick(World p_207186_1_, BlockPos p_207186_2_, FluidState p_207186_3_, java.util.Random p_207186_4_)
void
LavaFluid. randomTick(World p_207186_1_, BlockPos p_207186_2_, FluidState p_207186_3_, java.util.Random p_207186_4_)
protected void
Fluid. registerDefaultState(FluidState p_207183_1_)
protected void
FlowingFluid. spread(IWorld p_205575_1_, BlockPos p_205575_2_, FluidState p_205575_3_)
protected void
FlowingFluid. spreadTo(IWorld p_205574_1_, BlockPos p_205574_2_, BlockState p_205574_3_, Direction p_205574_4_, FluidState p_205574_5_)
protected void
LavaFluid. spreadTo(IWorld p_205574_1_, BlockPos p_205574_2_, BlockState p_205574_3_, Direction p_205574_4_, FluidState p_205574_5_)
private void
FlowingFluid. spreadToSides(IWorld p_207937_1_, BlockPos p_207937_2_, FluidState p_207937_3_, BlockState p_207937_4_)
void
FlowingFluid. tick(World p_207191_1_, BlockPos p_207191_2_, FluidState p_207191_3_)
protected void
Fluid. tick(World p_207191_1_, BlockPos p_207191_2_, FluidState p_207191_3_)
Method parameters in net.minecraft.fluid with type arguments of type FluidState Modifier and Type Method Description protected 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_)
protected int
FlowingFluid. getSlopeDistance(IWorldReader p_205571_1_, BlockPos p_205571_2_, int p_205571_3_, Direction p_205571_4_, BlockState p_205571_5_, BlockPos p_205571_6_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState,FluidState>> p_205571_7_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap p_205571_8_)
Constructor parameters in net.minecraft.fluid with type arguments of type FluidState Constructor Description FluidState(Fluid p_i232145_1_, com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>> p_i232145_2_, com.mojang.serialization.MapCodec<FluidState> p_i232145_3_)
-
Uses of FluidState in net.minecraft.util.math
Fields in net.minecraft.util.math with type parameters of type FluidState Modifier and Type Field Description private java.util.function.Predicate<FluidState>
RayTraceContext.FluidMode. canPick
Methods in net.minecraft.util.math with parameters of type FluidState Modifier and Type Method Description boolean
RayTraceContext.FluidMode. canPick(FluidState p_222248_1_)
VoxelShape
RayTraceContext. getFluidShape(FluidState p_222252_1_, IBlockReader p_222252_2_, BlockPos p_222252_3_)
Constructor parameters in net.minecraft.util.math with type arguments of type FluidState Constructor Description FluidMode(java.util.function.Predicate<FluidState> p_i49923_3_)
-
Uses of FluidState in net.minecraft.util.math.shapes
Methods in net.minecraft.util.math.shapes with parameters of type FluidState Modifier and Type Method Description boolean
EntitySelectionContext. canStandOnFluid(FluidState p_230426_1_, FlowingFluid p_230426_2_)
boolean
ISelectionContext. canStandOnFluid(FluidState p_230426_1_, FlowingFluid p_230426_2_)
-
Uses of FluidState in net.minecraft.world
Methods in net.minecraft.world that return FluidState Modifier and Type Method Description FluidState
Blockreader. getFluidState(BlockPos p_204610_1_)
FluidState
EmptyBlockReader. getFluidState(BlockPos p_204610_1_)
FluidState
IBlockReader. getFluidState(BlockPos p_204610_1_)
FluidState
Region. getFluidState(BlockPos p_204610_1_)
FluidState
World. getFluidState(BlockPos p_204610_1_)
Methods in net.minecraft.world with parameters of type FluidState Modifier and Type Method Description java.util.Optional<java.lang.Float>
EntityExplosionContext. getBlockExplosionResistance(Explosion p_230312_1_, IBlockReader p_230312_2_, BlockPos p_230312_3_, BlockState p_230312_4_, FluidState p_230312_5_)
java.util.Optional<java.lang.Float>
ExplosionContext. getBlockExplosionResistance(Explosion p_230312_1_, IBlockReader p_230312_2_, BlockPos p_230312_3_, BlockState p_230312_4_, FluidState p_230312_5_)
-
Uses of FluidState in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk that return FluidState Modifier and Type Method Description FluidState
Chunk. getFluidState(int p_205751_1_, int p_205751_2_, int p_205751_3_)
FluidState
Chunk. getFluidState(BlockPos p_204610_1_)
FluidState
ChunkPrimer. getFluidState(BlockPos p_204610_1_)
FluidState
ChunkPrimerWrapper. getFluidState(BlockPos p_204610_1_)
FluidState
ChunkSection. getFluidState(int p_206914_1_, int p_206914_2_, int p_206914_3_)
FluidState
EmptyChunk. getFluidState(BlockPos p_204610_1_)
-
Uses of FluidState in net.minecraft.world.gen
Methods in net.minecraft.world.gen that return FluidState Modifier and Type Method Description FluidState
WorldGenRegion. getFluidState(BlockPos p_204610_1_)
-
Uses of FluidState in net.minecraft.world.gen.carver
Fields in net.minecraft.world.gen.carver declared as FluidState Modifier and Type Field Description protected static FluidState
WorldCarver. LAVA
protected static FluidState
WorldCarver. WATER
-
Uses of FluidState in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as FluidState Modifier and Type Field Description protected static FluidState
Features.States. LAVA_STATE
FluidState
LiquidsConfig. state
protected static FluidState
Features.States. WATER_STATE
Constructors in net.minecraft.world.gen.feature with parameters of type FluidState Constructor Description LiquidsConfig(FluidState p_i225841_1_, boolean p_i225841_2_, int p_i225841_3_, int p_i225841_4_, java.util.Set<Block> p_i225841_5_)
-
Uses of FluidState in net.minecraft.world.spawner
Methods in net.minecraft.world.spawner with parameters of type FluidState Modifier and Type Method Description static boolean
WorldEntitySpawner. isValidEmptySpawnBlock(IBlockReader p_234968_0_, BlockPos p_234968_1_, BlockState p_234968_2_, FluidState p_234968_3_, EntityType<?> p_234968_4_)
-
Uses of FluidState in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type FluidState Modifier and Type Method Description static TextureAtlasSprite[]
ForgeHooksClient. getFluidSprites(IBlockDisplayReader world, BlockPos pos, FluidState fluidStateIn)
-
Uses of FluidState in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return FluidState Modifier and Type Method Description default FluidState
IForgeFluidState. getFluidState()
Methods in net.minecraftforge.common.extensions with parameters of type FluidState Modifier and Type Method Description default float
IForgeFluid. getExplosionResistance(FluidState state, IBlockReader world, BlockPos pos, Explosion explosion)
Location sensitive version of getExplosionResistancedefault java.lang.Boolean
IForgeFluid. isAABBInsideLiquid(FluidState state, IWorldReader world, BlockPos pos, AxisAlignedBB boundingBox)
Called when entities are moving to check if they are inside a liquiddefault java.lang.Boolean
IForgeFluid. isAABBInsideMaterial(FluidState state, IWorldReader world, BlockPos pos, AxisAlignedBB boundingBox, Material materialIn)
Called when boats or fishing hooks are inside the block to check if they are inside the material requested.default 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
IForgeBlock. removedByPlayer(BlockState state, World world, BlockPos pos, PlayerEntity player, boolean willHarvest, FluidState fluid)
Called when a player removes a block.default boolean
IForgeBlockState. removedByPlayer(World world, BlockPos pos, PlayerEntity player, boolean willHarvest, FluidState fluid)
Called when a player removes a block.default boolean
IForgeBlock. shouldDisplayFluidOverlay(BlockState state, IBlockDisplayReader world, BlockPos pos, FluidState fluidState)
Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.default boolean
IForgeBlockState. shouldDisplayFluidOverlay(IBlockDisplayReader world, BlockPos pos, FluidState fluidState)
Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid. -
Uses of FluidState in net.minecraftforge.debug.fluid
Methods in net.minecraftforge.debug.fluid that return FluidState Modifier and Type Method Description FluidState
NewFluidTest.FluidloggableBlock. getFluidState(BlockState state)
Methods in net.minecraftforge.debug.fluid with parameters of type FluidState Modifier and Type Method Description boolean
NewFluidTest.FluidloggableBlock. placeLiquid(IWorld worldIn, BlockPos pos, BlockState state, FluidState fluidStateIn)
-
Uses of FluidState in net.minecraftforge.fluids
Methods in net.minecraftforge.fluids that return FluidState Modifier and Type Method Description FluidState
FluidAttributes. getStateForPlacement(IBlockDisplayReader reader, BlockPos pos, FluidStack state)
Methods in net.minecraftforge.fluids with parameters of type FluidState Modifier and Type Method Description boolean
FluidAttributes. canBePlacedInWorld(IBlockDisplayReader reader, BlockPos pos, FluidState state)
protected boolean
ForgeFlowingFluid. canBeReplacedWith(FluidState state, IBlockReader world, BlockPos pos, Fluid fluidIn, Direction direction)
protected BlockState
ForgeFlowingFluid. createLegacyBlock(FluidState state)
int
ForgeFlowingFluid.Flowing. getAmount(FluidState state)
int
ForgeFlowingFluid.Source. getAmount(FluidState state)
BlockState
FluidAttributes. getBlock(IBlockDisplayReader reader, BlockPos pos, FluidState state)
boolean
ForgeFlowingFluid.Flowing. isSource(FluidState state)
boolean
ForgeFlowingFluid.Source. isSource(FluidState state)
Method parameters in net.minecraftforge.fluids with type arguments of type FluidState Modifier and Type Method Description protected void
ForgeFlowingFluid.Flowing. createFluidStateDefinition(StateContainer.Builder<Fluid,FluidState> builder)
-