Uses of Class
net.minecraft.world.level.block.state.BlockState
Packages that use BlockState
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of BlockState in net.minecraft
Methods in net.minecraft with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
CrashReportCategory.populateBlockDetails
(CrashReportCategory pCategory, LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
BeeNestDestroyedTrigger.TriggerInstance.matches
(BlockState pState, ItemStack pStack, int pNumBees) boolean
EnterBlockTrigger.TriggerInstance.matches
(BlockState pState) boolean
SlideDownBlockTrigger.TriggerInstance.matches
(BlockState pState) boolean
StatePropertiesPredicate.matches
(BlockState pState) private boolean
BlockPredicate.matchesState
(BlockState pState) void
BeeNestDestroyedTrigger.trigger
(ServerPlayer pPlayer, BlockState pState, ItemStack pStack, int pNumBees) void
EnterBlockTrigger.trigger
(ServerPlayer pPlayer, BlockState pState) void
SlideDownBlockTrigger.trigger
(ServerPlayer pPlayer, BlockState pState) -
Uses of BlockState in net.minecraft.client
Methods in net.minecraft.client that return BlockStateMethods in net.minecraft.client with parameters of type BlockStateModifier and TypeMethodDescriptionprivate void
KeyboardHandler.copyCreateBlockCommand
(BlockState pState, BlockPos pPos, CompoundTag pCompound) -
Uses of BlockState in net.minecraft.client.color.block
Methods in net.minecraft.client.color.block with parameters of type BlockStateModifier and TypeMethodDescriptionint
BlockColor.getColor
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos, int pTintIndex) int
BlockColors.getColor
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos, int pTintIndex) int
BlockColors.getColor
(BlockState pState, Level pLevel, BlockPos pPos) -
Uses of BlockState in net.minecraft.client.gui.screens
Methods in net.minecraft.client.gui.screens with parameters of type BlockStateModifier and TypeMethodDescriptionprivate ItemStack
CreateFlatWorldScreen.DetailsList.Entry.getDisplayItem
(BlockState pState) -
Uses of BlockState in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
AbstractSignEditScreen.offsetSign
(GuiGraphics pGuiGraphics, BlockState pState) protected void
HangingSignEditScreen.offsetSign
(GuiGraphics p_282472_, BlockState p_282359_) protected void
SignEditScreen.offsetSign
(GuiGraphics p_282503_, BlockState p_282571_) protected abstract void
AbstractSignEditScreen.renderSignBackground
(GuiGraphics pGuiGraphics, BlockState pState) protected void
HangingSignEditScreen.renderSignBackground
(GuiGraphics p_282580_, BlockState p_283648_) protected void
SignEditScreen.renderSignBackground
(GuiGraphics p_281440_, BlockState p_282401_) -
Uses of BlockState in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
ClientLevel.addDestroyBlockEffect
(BlockPos pPos, BlockState pState) void
ClientLevel.sendBlockUpdated
(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStateboolean
ClientLevel.setBlock
(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) void
ClientLevel.setBlocksDirty
(BlockPos pBlockPos, BlockState pOldState, BlockState pNewState) void
ClientLevel.setServerVerifiedBlockState
(BlockPos pPos, BlockState pState, int pFlags) void
ClientLevel.syncBlockState
(BlockPos pPos, BlockState pState, Vec3 pPlayerPos) private void
ClientLevel.trySpawnDripParticles
(BlockPos pBlockPos, BlockState pBlockState, ParticleOptions pParticleData, boolean pShapeDownSolid) -
Uses of BlockState in net.minecraft.client.multiplayer.prediction
Fields in net.minecraft.client.multiplayer.prediction declared as BlockStateModifier and TypeFieldDescription(package private) BlockState
BlockStatePredictionHandler.ServerVerifiedState.blockState
Methods in net.minecraft.client.multiplayer.prediction with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
BlockStatePredictionHandler.retainKnownServerState
(BlockPos pPos, BlockState pState, LocalPlayer pPlayer) (package private) void
BlockStatePredictionHandler.ServerVerifiedState.setBlockState
(BlockState pBlockState) boolean
BlockStatePredictionHandler.updateKnownServerState
(BlockPos pPos, BlockState pState) Constructors in net.minecraft.client.multiplayer.prediction with parameters of type BlockStateModifierConstructorDescription(package private)
ServerVerifiedState
(int pSequence, BlockState pBlockState, Vec3 pPlayerPos) -
Uses of BlockState in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
ParticleEngine.destroy
(BlockPos pPos, BlockState pState) TerrainParticle.updateSprite
(BlockState state, BlockPos pos) Constructors in net.minecraft.client.particle with parameters of type BlockStateModifierConstructorDescriptionprotected
BlockMarker
(ClientLevel pLevel, double pX, double pY, double pZ, BlockState pState) TerrainParticle
(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, BlockState pState) TerrainParticle
(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, BlockState pState, BlockPos pPos) -
Uses of BlockState in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer that return BlockStateModifier and TypeMethodDescriptionprivate static BlockState
ScreenEffectRenderer.getViewBlockingState
(Player pPlayer) Methods in net.minecraft.client.renderer that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate static org.apache.commons.lang3.tuple.Pair
<BlockState, BlockPos> ScreenEffectRenderer.getOverlayBlock
(Player p_110717_) Methods in net.minecraft.client.renderer with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
LevelRenderer.blockChanged
(BlockGetter pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) static RenderType
ItemBlockRenderTypes.getChunkRenderType
(BlockState pState) Deprecated.static int
LevelRenderer.getLightColor
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos) static RenderType
ItemBlockRenderTypes.getMovingBlockRenderType
(BlockState pState) Deprecated.Forge: Useinvalid @link
{@link net.neoforged.neoforge.client.RenderTypeHelper#
static ChunkRenderTypeSet
ItemBlockRenderTypes.getRenderLayers
(BlockState state) static RenderType
ItemBlockRenderTypes.getRenderType
(BlockState pState, boolean pCull) Deprecated.Forge: Useinvalid @link
{@link net.neoforged.neoforge.client.RenderTypeHelper#
private void
LevelRenderer.renderHitOutline
(PoseStack pPoseStack, VertexConsumer pConsumer, Entity pEntity, double pCamX, double pCamY, double pCamZ, BlockPos pPos, BlockState pState) void
LevelRenderer.setBlockDirty
(BlockPos pPos, BlockState pOldState, BlockState pNewState) -
Uses of BlockState in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate Map
<BlockState, BakedModel> BlockModelShaper.modelByStateCache
Methods in net.minecraft.client.renderer.block with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
ModelBlockRenderer.AmbientOcclusionFace.calculate
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection, float[] pShape, BitSet pShapeFlags, boolean pShade) private void
ModelBlockRenderer.calculateShape
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int[] pVertices, Direction pDirection, float[] pShape, BitSet pShapeFlags) Calculates the shape and corresponding flags for the specifieddirection
andvertices
, storing the resulting shape in the specifiedshape
array and the shape flags inshapeFlags
.BlockModelShaper.getBlockModel
(BlockState pState) BlockRenderDispatcher.getBlockModel
(BlockState pState) private float
LiquidBlockRenderer.getHeight
(BlockAndTintGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) int
ModelBlockRenderer.Cache.getLightColor
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos) BlockModelShaper.getParticleIcon
(BlockState pState) Deprecated.float
ModelBlockRenderer.Cache.getShadeBrightness
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos) BlockModelShaper.getTexture
(BlockState p_110883_, Level level, BlockPos pos) private static boolean
LiquidBlockRenderer.isFaceOccludedByNeighbor
(BlockGetter pLevel, BlockPos pPos, Direction pSide, float pHeight, BlockState pBlockState) private static boolean
LiquidBlockRenderer.isFaceOccludedBySelf
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pFace) private static boolean
LiquidBlockRenderer.isFaceOccludedByState
(BlockGetter pLevel, Direction pFace, float pHeight, BlockPos pPos, BlockState pState) private static boolean
LiquidBlockRenderer.isNeighborStateHidingOverlay
(FluidState selfState, BlockState otherState, Direction neighborFace) private void
ModelBlockRenderer.putQuadData
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, VertexConsumer pConsumer, PoseStack.Pose pPose, BakedQuad pQuad, float pBrightness0, float pBrightness1, float pBrightness2, float pBrightness3, int pLightmap0, int pLightmap1, int pLightmap2, int pLightmap3, int pPackedOverlay) void
BlockRenderDispatcher.renderBatched
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom) void
BlockRenderDispatcher.renderBatched
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, ModelData modelData, RenderType renderType) void
BlockRenderDispatcher.renderBreakingTexture
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer) Deprecated.void
BlockRenderDispatcher.renderBreakingTexture
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, ModelData modelData) void
BlockRenderDispatcher.renderLiquid
(BlockPos pPos, BlockAndTintGetter pLevel, VertexConsumer pConsumer, BlockState pBlockState, FluidState pFluidState) void
ModelBlockRenderer.renderModel
(PoseStack.Pose pPose, VertexConsumer pConsumer, BlockState pState, BakedModel pModel, float pRed, float pGreen, float pBlue, int pPackedLight, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.renderModel
(PoseStack.Pose pPose, VertexConsumer pConsumer, BlockState pState, BakedModel pModel, float pRed, float pGreen, float pBlue, int pPackedLight, int pPackedOverlay, ModelData modelData, RenderType renderType) private void
ModelBlockRenderer.renderModelFaceAO
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, float[] pShape, BitSet pShapeFlags, ModelBlockRenderer.AmbientOcclusionFace pAoFace, int pPackedOverlay) private void
ModelBlockRenderer.renderModelFaceFlat
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int pPackedLight, int pPackedOverlay, boolean pRepackLight, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, BitSet pShapeFlags) void
BlockRenderDispatcher.renderSingleBlock
(BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay) Deprecated.void
BlockRenderDispatcher.renderSingleBlock
(BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, ModelData modelData, RenderType renderType) static boolean
LiquidBlockRenderer.shouldRenderFace
(BlockAndTintGetter level, BlockPos pos, FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static boolean
LiquidBlockRenderer.shouldRenderFace
(BlockAndTintGetter pLevel, BlockPos pPos, FluidState pFluidState, BlockState pBlockState, Direction pSide, FluidState pNeighborFluid) Deprecated.Neo: use overload that accepts BlockStatestatic ModelResourceLocation
BlockModelShaper.stateToModelLocation
(ResourceLocation pLocation, BlockState pState) static ModelResourceLocation
BlockModelShaper.stateToModelLocation
(BlockState pState) void
LiquidBlockRenderer.tesselate
(BlockAndTintGetter pLevel, BlockPos pPos, VertexConsumer pBuffer, BlockState pBlockState, FluidState pFluidState) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter pLevel, BakedModel pModel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, RandomSource pRandom, long pSeed, int pPackedOverlay, ModelData modelData, RenderType renderType) Method parameters in net.minecraft.client.renderer.block with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
BlockModelShaper.replaceCache
(Map<BlockState, BakedModel> pModelByStateCache) -
Uses of BlockState in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate StateDefinition
<Block, BlockState> BlockModelDefinition.Context.definition
Methods in net.minecraft.client.renderer.block.model that return types with arguments of type BlockStateMethod parameters in net.minecraft.client.renderer.block.model with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
BlockModelDefinition.Context.setDefinition
(StateDefinition<Block, BlockState> pStateContainer) -
Uses of BlockState in net.minecraft.client.renderer.block.model.multipart
Fields in net.minecraft.client.renderer.block.model.multipart with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final StateDefinition
<Block, BlockState> MultiPart.definition
Methods in net.minecraft.client.renderer.block.model.multipart that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate Predicate
<BlockState> KeyValueCondition.getBlockStatePredicate
(StateDefinition<Block, BlockState> pDefinition, Property<?> pProperty, String pValue) AndCondition.getPredicate
(StateDefinition<Block, BlockState> pDefinition) Condition.getPredicate
(StateDefinition<Block, BlockState> pDefinition) KeyValueCondition.getPredicate
(StateDefinition<Block, BlockState> pDefinition) OrCondition.getPredicate
(StateDefinition<Block, BlockState> pDefinition) Selector.getPredicate
(StateDefinition<Block, BlockState> pDefinition) Method parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type BlockStateModifier and TypeMethodDescriptionprivate Predicate
<BlockState> KeyValueCondition.getBlockStatePredicate
(StateDefinition<Block, BlockState> pDefinition, Property<?> pProperty, String pValue) AndCondition.getPredicate
(StateDefinition<Block, BlockState> pDefinition) Condition.getPredicate
(StateDefinition<Block, BlockState> pDefinition) KeyValueCondition.getPredicate
(StateDefinition<Block, BlockState> pDefinition) OrCondition.getPredicate
(StateDefinition<Block, BlockState> pDefinition) Selector.getPredicate
(StateDefinition<Block, BlockState> pDefinition) Constructor parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type BlockStateModifierConstructorDescriptionMultiPart
(StateDefinition<Block, BlockState> pDefinition, List<Selector> pSelectors) -
Uses of BlockState in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
HangingSignRenderer.HangingSignModel.evaluateVisibleParts
(BlockState pState) private void
PistonHeadRenderer.renderBlock
(BlockPos pPos, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, Level pLevel, boolean pExtended, int pPackedOverlay) (package private) void
SignRenderer.renderSignWithText
(SignBlockEntity pSignEntity, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, BlockState pState, SignBlock pSignBlock, WoodType pWoodType, Model pModel) (package private) void
HangingSignRenderer.translateSign
(PoseStack pPoseStack, float pYRot, BlockState pState) (package private) void
SignRenderer.translateSign
(PoseStack pPoseStack, float pYRot, BlockState pState) -
Uses of BlockState in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final List
<PalettedContainer<BlockState>> RenderChunk.sections
Methods in net.minecraft.client.renderer.chunk that return BlockStateModifier and TypeMethodDescriptionRenderChunk.getBlockState
(BlockPos pPos) RenderChunkRegion.getBlockState
(BlockPos pPos) -
Uses of BlockState in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
MinecartRenderer.renderMinecartContents
(T pEntity, float pPartialTicks, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) protected void
TntMinecartRenderer.renderMinecartContents
(MinecartTNT pEntity, float pPartialTicks, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) static void
TntMinecartRenderer.renderWhiteSolidBlock
(BlockRenderDispatcher pBlockRenderDispatcher, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, boolean pWhiteOverlay) -
Uses of BlockState in net.minecraft.client.renderer.entity.layers
Methods in net.minecraft.client.renderer.entity.layers with parameters of type BlockStateModifier and TypeMethodDescriptionprivate void
MushroomCowMushroomLayer.renderMushroomBlock
(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, boolean pOutlineOnly, BlockState pState, int pPackedOverlay, BakedModel pModel) -
Uses of BlockState in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final StateDefinition
<Block, BlockState> BlockStateModelLoader.ITEM_FRAME_FAKE_DEFINITION
private final Map
<BlockState, BakedModel> ModelManager.ReloadState.modelCache
The field for themodelCache
record component.private final it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> BlockStateModelLoader.modelGroups
private final it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelBakery.modelGroups
private it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelManager.modelGroups
private final Map
<BlockState, BitSet> MultiPartBakedModel.selectorCache
private final List
<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> MultiPartBakedModel.Builder.selectors
private final List
<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> MultiPartBakedModel.selectors
private static final Map
<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateModelLoader.STATIC_DEFINITIONS
Methods in net.minecraft.client.resources.model that return types with arguments of type BlockStateModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> BlockStateModelLoader.getModelGroups()
it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelBakery.getModelGroups()
ModelManager.ReloadState.modelCache()
Returns the value of themodelCache
record component.private static Predicate
<BlockState> BlockStateModelLoader.predicate
(StateDefinition<Block, BlockState> pStateDefentition, String pProperties) Methods in net.minecraft.client.resources.model with parameters of type BlockStateModifier and TypeMethodDescriptionBlockStateModelLoader.ModelGroupKey.create
(BlockState pState, MultiPart pModel, Collection<Property<?>> pProperties) BlockStateModelLoader.ModelGroupKey.create
(BlockState pState, UnbakedModel pModel, Collection<Property<?>> pProperties) BlockStateModelLoader.ModelGroupKey.getColoringValues
(BlockState pState, Collection<Property<?>> pProperties) MultiPartBakedModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) WeightedBakedModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) BakedModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom) BuiltInModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom) MultiPartBakedModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom, ModelData modelData, RenderType renderType) SimpleBakedModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom) WeightedBakedModel.getQuads
(BlockState pState, Direction pDirection, RandomSource pRandom, ModelData modelData, RenderType renderType) MultiPartBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) SimpleBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) WeightedBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) MultiPartBakedModel.getSelectors
(BlockState p_235050_) boolean
ModelManager.requiresRender
(BlockState pOldState, BlockState pNewState) MultiPartBakedModel.useAmbientOcclusion
(BlockState state, ModelData modelData, RenderType renderType) WeightedBakedModel.useAmbientOcclusion
(BlockState state, ModelData modelData, RenderType renderType) Method parameters in net.minecraft.client.resources.model with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
MultiPartBakedModel.Builder.add
(Predicate<BlockState> pPredicate, BakedModel pModel) private void
BlockStateModelLoader.loadBlockStateDefinitions
(ResourceLocation p_352059_, StateDefinition<Block, BlockState> p_352064_) private static Predicate
<BlockState> BlockStateModelLoader.predicate
(StateDefinition<Block, BlockState> pStateDefentition, String pProperties) private void
BlockStateModelLoader.registerModelGroup
(Iterable<BlockState> pModels) Constructor parameters in net.minecraft.client.resources.model with type arguments of type BlockStateModifierConstructorDescriptionMultiPartBakedModel
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> pSelectors) (package private)
ReloadState
(ModelBakery modelBakery, BakedModel missingModel, Map<BlockState, BakedModel> modelCache, Map<ResourceLocation, AtlasSet.StitchResult> atlasPreparations, CompletableFuture<Void> readyForUpload) Creates an instance of aReloadState
record class. -
Uses of BlockState in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
PunchTreeTutorialStepInstance.onDestroyBlock
(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it.void
Tutorial.onDestroyBlock
(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) default void
TutorialStepInstance.onDestroyBlock
(ClientLevel pLevel, BlockPos pPos, BlockState pState, float pDiggingStage) Called when a player hits block to destroy it. -
Uses of BlockState in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
BlockStateParser.BlockResult.blockState
The field for theblockState
record component.private final BlockState
BlockInput.state
private final BlockState
BlockPredicateArgument.BlockPredicate.state
private BlockState
BlockStateParser.state
Fields in net.minecraft.commands.arguments.blocks with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate StateDefinition
<Block, BlockState> BlockStateParser.definition
Methods in net.minecraft.commands.arguments.blocks that return BlockStateModifier and TypeMethodDescriptionBlockStateParser.BlockResult.blockState()
Returns the value of theblockState
record component.BlockInput.getState()
Methods in net.minecraft.commands.arguments.blocks with parameters of type BlockStateConstructors in net.minecraft.commands.arguments.blocks with parameters of type BlockStateModifierConstructorDescriptionBlockInput
(BlockState pState, Set<Property<?>> pProperties, CompoundTag pTag) BlockPredicate
(BlockState pState, Set<Property<?>> pProperties, CompoundTag pNbt) BlockResult
(BlockState blockState, Map<Property<?>, Comparable<?>> properties, CompoundTag nbt) Creates an instance of aBlockResult
record class. -
Uses of BlockState in net.minecraft.core.cauldron
Methods in net.minecraft.core.cauldron with parameters of type BlockStateModifier and TypeMethodDescriptionstatic ItemInteractionResult
CauldronInteraction.emptyBucket
(Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack, BlockState pState, SoundEvent pEmptySound) static ItemInteractionResult
CauldronInteraction.fillBucket
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pEmptyStack, ItemStack pFilledStack, Predicate<BlockState> pStatePredicate, SoundEvent pFillSound) CauldronInteraction.interact
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) Method parameters in net.minecraft.core.cauldron with type arguments of type BlockStateModifier and TypeMethodDescriptionstatic ItemInteractionResult
CauldronInteraction.fillBucket
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pEmptyStack, ItemStack pFilledStack, Predicate<BlockState> pStatePredicate, SoundEvent pFillSound) -
Uses of BlockState in net.minecraft.core.dispenser
Fields in net.minecraft.core.dispenser declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
BlockSource.state
The field for thestate
record component.Methods in net.minecraft.core.dispenser that return BlockStateModifier and TypeMethodDescriptionBlockSource.state()
Returns the value of thestate
record component.Constructors in net.minecraft.core.dispenser with parameters of type BlockStateModifierConstructorDescriptionBlockSource
(ServerLevel level, BlockPos pos, BlockState state, DispenserBlockEntity blockEntity) Creates an instance of aBlockSource
record class. -
Uses of BlockState in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as BlockStateFields in net.minecraft.core.particles with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<BlockState> BlockParticleOption.BLOCK_STATE_CODEC
Methods in net.minecraft.core.particles that return BlockStateConstructors in net.minecraft.core.particles with parameters of type BlockStateModifierConstructorDescriptionBlockParticleOption
(ParticleType<BlockParticleOption> pType, BlockState pState) -
Uses of BlockState in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return BlockStateMethods in net.minecraft.gametest.framework with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
GameTestHelper.setBlock
(int pX, int pY, int pZ, BlockState pState) void
GameTestHelper.setBlock
(BlockPos pPos, BlockState pState) Method parameters in net.minecraft.gametest.framework with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
GameTestHelper.assertBlockState
(BlockPos pPos, Predicate<BlockState> pPredicate, Supplier<String> pExceptionMessage) -
Uses of BlockState in net.minecraft.nbt
Methods in net.minecraft.nbt that return BlockStateModifier and TypeMethodDescriptionstatic BlockState
NbtUtils.readBlockState
(HolderGetter<Block> pBlockGetter, CompoundTag pTag) Methods in net.minecraft.nbt with parameters of type BlockState -
Uses of BlockState in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
ClientboundBlockUpdatePacket.blockState
private final BlockState[]
ClientboundSectionBlocksUpdatePacket.states
Methods in net.minecraft.network.protocol.game that return BlockStateMethods in net.minecraft.network.protocol.game with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
DebugPackets.sendHiveInfo
(Level pLevel, BlockPos pPos, BlockState pBlockState, BeehiveBlockEntity pHiveBlockEntity) Method parameters in net.minecraft.network.protocol.game with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
ClientboundSectionBlocksUpdatePacket.runUpdates
(BiConsumer<BlockPos, BlockState> pConsumer) Constructors in net.minecraft.network.protocol.game with parameters of type BlockStateModifierConstructorDescriptionClientboundBlockUpdatePacket
(BlockPos p_131738_, BlockState p_131739_) -
Uses of BlockState in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type BlockStateModifier and TypeFieldDescriptionstatic final EntityDataSerializer
<BlockState> EntityDataSerializers.BLOCK_STATE
static final EntityDataSerializer
<Optional<BlockState>> EntityDataSerializers.OPTIONAL_BLOCK_STATE
private static final StreamCodec
<io.netty.buffer.ByteBuf, Optional<BlockState>> EntityDataSerializers.OPTIONAL_BLOCK_STATE_CODEC
-
Uses of BlockState in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
CloneCommands.CloneBlockInfo.state
The field for thestate
record component.Methods in net.minecraft.server.commands that return BlockStateModifier and TypeMethodDescriptionCloneCommands.CloneBlockInfo.state()
Returns the value of thestate
record component.Constructors in net.minecraft.server.commands with parameters of type BlockStateModifierConstructorDescription(package private)
CloneBlockInfo
(BlockPos pos, BlockState state, CloneCommands.CloneBlockEntityInfo blockEntityInfo) Creates an instance of aCloneBlockInfo
record class. -
Uses of BlockState in net.minecraft.server.level
Methods in net.minecraft.server.level that return BlockStateMethods in net.minecraft.server.level with parameters of type BlockStateModifier and TypeMethodDescriptionprivate void
ChunkHolder.broadcastBlockEntityIfNeeded
(List<ServerPlayer> pPlayers, Level pLevel, BlockPos pPos, BlockState pState) protected void
ServerPlayer.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) private float
ServerPlayerGameMode.incrementDestroyProgress
(BlockState pState, BlockPos pPos, int pStartTick) void
ServerLevel.neighborChanged
(BlockState pState, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) void
ServerLevel.onBlockStateChange
(BlockPos pPos, BlockState pBlockState, BlockState pNewState) void
ServerPlayer.onInsideBlock
(BlockState pState) private boolean
ServerPlayerGameMode.removeBlock
(BlockPos pos, BlockState state, boolean canHarvest) Patched-in method that handles actual removal of blocks forServerPlayerGameMode.destroyBlock(BlockPos)
.void
ServerLevel.sendBlockUpdated
(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStateboolean
WorldGenRegion.setBlock
(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) Method parameters in net.minecraft.server.level with type arguments of type BlockStateModifier and TypeMethodDescriptionboolean
WorldGenRegion.isStateAtPosition
(BlockPos pPos, Predicate<BlockState> pState) -
Uses of BlockState in net.minecraft.util
Methods in net.minecraft.util with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
SpawnUtil.Strategy.canSpawnOn
(ServerLevel pLevel, BlockPos pTargetPos, BlockState pTargetState, BlockPos pAttemptedPos, BlockState pAttemptedState) -
Uses of BlockState in net.minecraft.world
Methods in net.minecraft.world with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
Containers.dropContentsOnDestroy
(BlockState pState, BlockState pNewState, Level pLevel, BlockPos pPos) WorldlyContainerHolder.getContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) -
Uses of BlockState in net.minecraft.world.damagesource
Methods in net.minecraft.world.damagesource with parameters of type BlockStateModifier and TypeMethodDescriptionstatic FallLocation
FallLocation.blockToFallLocation
(BlockState pState) -
Uses of BlockState in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
Display.BlockDisplay.BlockRenderState.blockState
The field for theblockState
record component.private BlockState
Entity.inBlockState
Fields in net.minecraft.world.entity with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<BlockState> Display.BlockDisplay.DATA_BLOCK_STATE_ID
Methods in net.minecraft.world.entity that return BlockStateModifier and TypeMethodDescriptionDisplay.BlockDisplay.BlockRenderState.blockState()
Returns the value of theblockState
record component.private BlockState
Display.BlockDisplay.getBlockState()
Entity.getBlockStateOn()
protected BlockState
Entity.getBlockStateOnLegacy()
Deprecated.Entity.getInBlockState()
Methods in net.minecraft.world.entity with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
Entity.canTrample
(BlockState state, BlockPos pos, float fallDistance) protected void
Entity.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
FlyingMob.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
LivingEntity.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) float
Entity.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityboolean
EntityType.isBlockDangerous
(BlockState pState) boolean
Entity.isColliding
(BlockPos pPos, BlockState pState) private boolean
Entity.isStateClimbable
(BlockState pState) void
Entity.makeStuckInBlock
(BlockState pState, Vec3 pMotionMultiplier) protected void
Entity.onInsideBlock
(BlockState pState) protected void
Entity.playCombinationStepSounds
(BlockState pPrimaryState, BlockState pSecondaryState, BlockPos primaryPos, BlockPos secondaryPos) protected void
Entity.playMuffledStepSound
(BlockState pState, BlockPos pos) protected void
Entity.playStepSound
(BlockPos pPos, BlockState pState) private void
Display.BlockDisplay.setBlockState
(BlockState pBlockState) boolean
Entity.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) private boolean
Entity.shouldPlayAmethystStepSound
(BlockState pState) private boolean
LivingEntity.trapdoorUsableAsLadder
(BlockPos pPos, BlockState pState) private boolean
Entity.vibrationAndSoundEffectsFromBlock
(BlockPos pPos, BlockState pState, boolean pPlayStepSound, boolean pBroadcastGameEvent, Vec3 pEntityPos) private void
Entity.walkingStepSound
(BlockPos pPos, BlockState pState) Constructors in net.minecraft.world.entity with parameters of type BlockStateModifierConstructorDescriptionBlockRenderState
(BlockState blockState) Creates an instance of aBlockRenderState
record class. -
Uses of BlockState in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior with parameters of type BlockStateModifier and TypeMethodDescriptionprivate void
WorkAtComposter.compostItems
(ServerLevel pLevel, Villager pVillager, GlobalPos pGlobal, BlockState pState) private void
WorkAtComposter.spawnComposterFillEffects
(ServerLevel pLevel, BlockState pPreState, BlockPos pPos, BlockState pPostState) -
Uses of BlockState in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final Predicate
<BlockState> EatBlockGoal.IS_TALL_GRASS
-
Uses of BlockState in net.minecraft.world.entity.ai.village.poi
Fields in net.minecraft.world.entity.ai.village.poi with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final Set
<BlockState> PoiTypes.BEDS
private static final Set
<BlockState> PoiTypes.CAULDRONS
private final Set
<BlockState> PoiType.matchingStates
The field for thematchingStates
record component.private static final Map
<BlockState, Holder<PoiType>> PoiTypes.TYPE_BY_STATE
Methods in net.minecraft.world.entity.ai.village.poi that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate static Set
<BlockState> PoiTypes.getBlockStates
(Block pBlock) PoiType.matchingStates()
Returns the value of thematchingStates
record component.Methods in net.minecraft.world.entity.ai.village.poi with parameters of type BlockStateModifier and TypeMethodDescriptionPoiTypes.forState
(BlockState pState) static boolean
PoiTypes.hasPoi
(BlockState pState) boolean
PoiType.is
(BlockState pState) Method parameters in net.minecraft.world.entity.ai.village.poi with type arguments of type BlockStateModifier and TypeMethodDescriptionprivate static PoiType
PoiTypes.register
(Registry<PoiType> pKey, ResourceKey<PoiType> pValue, Set<BlockState> pMatchingStates, int pMaxTickets, int pValidRange) private static void
PoiTypes.registerBlockStates
(Holder<PoiType> pPoi, Set<BlockState> pStates) Constructor parameters in net.minecraft.world.entity.ai.village.poi with type arguments of type BlockStateModifierConstructorDescriptionPoiType
(Set<BlockState> matchingStates, int maxTickets, int validRange) Creates an instance of aPoiType
record class. -
Uses of BlockState in net.minecraft.world.entity.ambient
Methods in net.minecraft.world.entity.ambient with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Bat.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) -
Uses of BlockState in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as BlockStateModifier and TypeFieldDescription(package private) final BlockState
MushroomCow.MushroomType.blockState
Fields in net.minecraft.world.entity.animal with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final Predicate
<BlockState> Bee.BeePollinateGoal.VALID_POLLINATION_BLOCKS
Methods in net.minecraft.world.entity.animal that return BlockStateMethods in net.minecraft.world.entity.animal with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Bee.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
Parrot.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) private void
Fox.FoxEatBerriesGoal.pickGlowBerry
(BlockState pState) private void
Fox.FoxEatBerriesGoal.pickSweetBerries
(BlockState pState) protected void
AbstractFish.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Bee.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Chicken.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Cow.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
IronGolem.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Panda.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Parrot.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Pig.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
PolarBear.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Sheep.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Turtle.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Wolf.playStepSound
(BlockPos pPos, BlockState pBlock) Method parameters in net.minecraft.world.entity.animal with type arguments of type BlockStateModifier and TypeMethodDescriptionBee.BeePollinateGoal.findNearestBlock
(Predicate<BlockState> pPredicate, double pDistance) Constructors in net.minecraft.world.entity.animal with parameters of type BlockState -
Uses of BlockState in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Allay.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
Allay.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.animal.armadillo
Methods in net.minecraft.world.entity.animal.armadillo with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Armadillo.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Camel.playStepSound
(BlockPos pPos, BlockState pBlock) -
Uses of BlockState in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Frog.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Goat.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
AbstractHorse.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Llama.playStepSound
(BlockPos pPos, BlockState pBlock) -
Uses of BlockState in net.minecraft.world.entity.animal.sniffer
Methods in net.minecraft.world.entity.animal.sniffer with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Sniffer.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.boss.wither
Methods in net.minecraft.world.entity.boss.wither with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
WitherBoss.canDestroy
(BlockState pState) Deprecated.void
WitherBoss.makeStuckInBlock
(BlockState pState, Vec3 pMotionMultiplier) -
Uses of BlockState in net.minecraft.world.entity.item
Fields in net.minecraft.world.entity.item declared as BlockStateFields in net.minecraft.world.entity.item with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<BlockState> PrimedTnt.DATA_BLOCK_STATE_ID
Methods in net.minecraft.world.entity.item that return BlockStateMethods in net.minecraft.world.entity.item with parameters of type BlockStateModifier and TypeMethodDescriptionstatic FallingBlockEntity
FallingBlockEntity.fall
(Level pLevel, BlockPos pPos, BlockState pBlockState) void
PrimedTnt.setBlockState
(BlockState pBlockState) Constructors in net.minecraft.world.entity.item with parameters of type BlockStateModifierConstructorDescriptionprivate
FallingBlockEntity
(Level pLevel, double pX, double pY, double pZ, BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<Optional<BlockState>> EnderMan.DATA_CARRY_STATE
Methods in net.minecraft.world.entity.monster that return BlockStateMethods in net.minecraft.world.entity.monster with parameters of type BlockStateModifier and TypeMethodDescriptionprivate boolean
EnderMan.EndermanLeaveBlockGoal.canPlaceBlock
(Level pLevel, BlockPos pDestinationPos, BlockState pCarriedState, BlockState pDestinationState, BlockState pBelowDestinationState, BlockPos pBelowDestinationPos) protected void
Strider.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) void
Spider.makeStuckInBlock
(BlockState pState, Vec3 pMotionMultiplier) protected void
AbstractSkeleton.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Endermite.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Ravager.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Silverfish.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Spider.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Strider.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Zoglin.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
Zombie.playStepSound
(BlockPos pPos, BlockState pBlock) void
EnderMan.setCarriedBlock
(BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Hoglin.playStepSound
(BlockPos pPos, BlockState pBlock) -
Uses of BlockState in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Piglin.playStepSound
(BlockPos pPos, BlockState pBlock) protected void
PiglinBrute.playStepSound
(BlockPos pPos, BlockState pBlock) -
Uses of BlockState in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Warden.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type BlockStateModifier and TypeMethodDescriptionfloat
Inventory.getDestroySpeed
(BlockState pState) float
Player.getDestroySpeed
(BlockState pState) Deprecated.float
Player.getDigSpeed
(BlockState p_36282_, BlockPos pos) boolean
Player.hasCorrectToolForDrops
(BlockState pState) Deprecated.boolean
Player.hasCorrectToolForDrops
(BlockState pState, Level level, BlockPos pos) void
Player.makeStuckInBlock
(BlockState pState, Vec3 pMotionMultiplier) protected void
Player.playStepSound
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.projectile
Fields in net.minecraft.world.entity.projectile declared as BlockStateMethods in net.minecraft.world.entity.projectile with parameters of type BlockStateModifier and TypeMethodDescriptionfloat
WitherSkull.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityprotected void
ThrownEnderpearl.onInsideBlock
(BlockState pState) -
Uses of BlockState in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return BlockStateModifier and TypeMethodDescriptionAbstractMinecart.getDefaultDisplayBlockState()
MinecartChest.getDefaultDisplayBlockState()
MinecartCommandBlock.getDefaultDisplayBlockState()
MinecartFurnace.getDefaultDisplayBlockState()
MinecartHopper.getDefaultDisplayBlockState()
MinecartSpawner.getDefaultDisplayBlockState()
MinecartTNT.getDefaultDisplayBlockState()
AbstractMinecart.getDisplayBlockState()
Methods in net.minecraft.world.entity.vehicle with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Boat.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) float
MinecartTNT.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityprotected void
AbstractMinecart.moveAlongTrack
(BlockPos pPos, BlockState pState) protected void
MinecartFurnace.moveAlongTrack
(BlockPos pPos, BlockState pState) void
AbstractMinecart.setDisplayBlockState
(BlockState pDisplayState) boolean
MinecartTNT.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) -
Uses of BlockState in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory with parameters of type BlockStateModifier and TypeMethodDescriptionprotected boolean
AnvilMenu.isValidBlock
(BlockState pState) protected abstract boolean
ItemCombinerMenu.isValidBlock
(BlockState pState) protected boolean
SmithingMenu.isValidBlock
(BlockState pState) -
Uses of BlockState in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type BlockStateModifier and TypeFieldDescriptionprotected static final Map
<Block, BlockState> ShovelItem.FLATTENABLES
Map used to lookup shovel right click interactionsMethods in net.minecraft.world.item that return BlockStateModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateDebugStickItem.cycleState
(BlockState pState, Property<T> pProperty, boolean pBackwards) static @Nullable BlockState
AxeItem.getAxeStrippingState
(BlockState originalState) private BlockState
MapItem.getCorrectStateForFluidBlock
(Level pLevel, BlockState pState, BlockPos pPos) protected BlockState
BlockItem.getPlacementState
(BlockPlaceContext pContext) protected BlockState
GameMasterBlockItem.getPlacementState
(BlockPlaceContext pContext) protected BlockState
StandingAndWallBlockItem.getPlacementState
(BlockPlaceContext pContext) static @Nullable BlockState
ShovelItem.getShovelPathingState
(BlockState originalState) private BlockState
BlockItem.updateBlockStateFromTag
(BlockPos pPos, Level pLevel, ItemStack pStack, BlockState pState) Methods in net.minecraft.world.item that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate Optional
<BlockState> AxeItem.evaluateNewBlockState
(Level pLevel, BlockPos pPos, Player pPlayer, BlockState pState, UseOnContext p_40529_) private Optional
<BlockState> AxeItem.getStripped
(BlockState pUnstrippedState) static Optional
<BlockState> HoneycombItem.getWaxed
(BlockState pState) Methods in net.minecraft.world.item with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
DebugStickItem.canAttackBlock
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) boolean
Item.canAttackBlock
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) boolean
MaceItem.canAttackBlock
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) boolean
SwordItem.canAttackBlock
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) boolean
TridentItem.canAttackBlock
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected boolean
BucketItem.canBlockContainFluid
(Player player, Level worldIn, BlockPos posIn, BlockState blockstate) protected boolean
BlockItem.canPlace
(BlockPlaceContext pContext, BlockState pState) protected boolean
HangingSignItem.canPlace
(LevelReader pLevel, BlockState pState, BlockPos pPos) protected boolean
StandingAndWallBlockItem.canPlace
(LevelReader pLevel, BlockState pState, BlockPos pPos) static Consumer
<UseOnContext> HoeItem.changeIntoState
(BlockState pState) static Consumer
<UseOnContext> HoeItem.changeIntoStateAndDropItem
(BlockState pState, ItemLike pItemToDrop) private static <T extends Comparable<T>>
BlockStateDebugStickItem.cycleState
(BlockState pState, Property<T> pProperty, boolean pBackwards) private Optional
<BlockState> AxeItem.evaluateNewBlockState
(Level pLevel, BlockPos pPos, Player pPlayer, BlockState pState, UseOnContext p_40529_) static @Nullable BlockState
AxeItem.getAxeStrippingState
(BlockState originalState) private BlockState
MapItem.getCorrectStateForFluidBlock
(Level pLevel, BlockState pState, BlockPos pPos) float
Item.getDestroySpeed
(ItemStack pStack, BlockState pState) float
ItemStack.getDestroySpeed
(BlockState pState) private static <T extends Comparable<T>>
StringDebugStickItem.getNameHelper
(BlockState pState, Property<T> pProperty) protected SoundEvent
BlockItem.getPlaceSound
(BlockState pState) Deprecated.protected SoundEvent
BlockItem.getPlaceSound
(BlockState pState, Level world, BlockPos pos, Player entity) protected SoundEvent
SolidBucketItem.getPlaceSound
(BlockState pState) static @Nullable BlockState
ShovelItem.getShovelPathingState
(BlockState originalState) private Optional
<BlockState> AxeItem.getStripped
(BlockState pUnstrippedState) static Optional
<BlockState> HoneycombItem.getWaxed
(BlockState pState) private boolean
DebugStickItem.handleInteraction
(Player pPlayer, BlockState pStateClicked, LevelAccessor pAccessor, BlockPos pPos, boolean pShouldCycleState, ItemStack pDebugStack) boolean
Item.isCorrectToolForDrops
(ItemStack pStack, BlockState pState) boolean
ItemStack.isCorrectToolForDrops
(BlockState pState) Check whether the given Block can be harvested using this ItemStack.boolean
Item.mineBlock
(ItemStack pStack, Level pLevel, BlockState pState, BlockPos pPos, LivingEntity pMiningEntity) Called when aBlock
is destroyed using this Item.void
ItemStack.mineBlock
(Level pLevel, BlockState pState, BlockPos pPos, Player pPlayer) Called when a Block is destroyed using this ItemStackboolean
ShearsItem.mineBlock
(ItemStack pStack, Level pLevel, BlockState pState, BlockPos pPos, LivingEntity pEntityLiving) Called when aBlock
is destroyed using this Item.protected boolean
BedItem.placeBlock
(BlockPlaceContext pContext, BlockState pState) protected boolean
BlockItem.placeBlock
(BlockPlaceContext pContext, BlockState pState) protected boolean
DoubleHighBlockItem.placeBlock
(BlockPlaceContext pContext, BlockState pState) private void
BrushItem.spawnDustParticles
(Level pLevel, BlockHitResult pHitResult, BlockState pState, Vec3 pPos, HumanoidArm pArm) void
JukeboxSongPlayer.stop
(LevelAccessor pLevel, BlockState pState) void
JukeboxSongPlayer.tick
(LevelAccessor pLevel, BlockState pState) private BlockState
BlockItem.updateBlockStateFromTag
(BlockPos pPos, Level pLevel, ItemStack pStack, BlockState pState) protected boolean
BlockItem.updateCustomBlockEntityTag
(BlockPos pPos, Level pLevel, Player pPlayer, ItemStack pStack, BlockState pState) protected boolean
SignItem.updateCustomBlockEntityTag
(BlockPos pPos, Level pLevel, Player pPlayer, ItemStack pStack, BlockState pState) -
Uses of BlockState in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component that return BlockStateModifier and TypeMethodDescriptionBlockItemStateProperties.apply
(BlockState pState) private static <T extends Comparable<T>>
BlockStateBlockItemStateProperties.updateState
(BlockState pState, Property<T> pProperty, String pPropertyName) Methods in net.minecraft.world.item.component with parameters of type BlockStateModifier and TypeMethodDescriptionBlockItemStateProperties.apply
(BlockState pState) float
Tool.getMiningSpeed
(BlockState pState) boolean
Tool.isCorrectForDrops
(BlockState pState) private static <T extends Comparable<T>>
BlockStateBlockItemStateProperties.updateState
(BlockState pState, Property<T> pProperty, String pPropertyName) <T extends Comparable<T>>
BlockItemStatePropertiesBlockItemStateProperties.with
(Property<T> pProperty, BlockState pState) -
Uses of BlockState in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type BlockStateModifier and TypeMethodDescriptionstatic LootContext
Enchantment.blockHitContext
(ServerLevel pLevel, int pEnchantmentLevel, Entity pEntity, Vec3 pOrigin, BlockState pState) void
Enchantment.onHitBlock
(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pPos, BlockState pState) static void
EnchantmentHelper.onHitBlock
(ServerLevel pLevel, ItemStack pStack, LivingEntity pOwner, Entity pEntity, EquipmentSlot pSlot, Vec3 pPos, BlockState pState, Consumer<Item> pOnBreak) -
Uses of BlockState in net.minecraft.world.level
Fields in net.minecraft.world.level declared as BlockStateFields in net.minecraft.world.level with type parameters of type BlockStateMethods in net.minecraft.world.level that return BlockStateModifier and TypeMethodDescriptionNoiseColumn.getBlock
(int pPos) BlockGetter.getBlockState
(BlockPos p_45571_) EmptyBlockGetter.getBlockState
(BlockPos pPos) Level.getBlockState
(BlockPos pPos) PathNavigationRegion.getBlockState
(BlockPos pPos) Methods in net.minecraft.world.level that return types with arguments of type BlockStateModifier and TypeMethodDescriptiondefault Stream
<BlockState> BlockGetter.getBlockStates
(AABB pArea) default Stream
<BlockState> LevelReader.getBlockStatesIfLoaded
(AABB pAabb) ClipBlockStateContext.isTargetBlock()
Methods in net.minecraft.world.level with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
Level.addDestroyBlockEffect
(BlockPos pPos, BlockState pState) default BlockHitResult
BlockGetter.clipWithInteractionOverride
(Vec3 pStartVec, Vec3 pEndVec, BlockPos pPos, VoxelShape pShape, BlockState pState) ClipContext.Block.get
(BlockState pState, BlockGetter pBlock, BlockPos pPos, CollisionContext pCollisionContext) ClipContext.ShapeGetter.get
(BlockState pState, BlockGetter pBlock, BlockPos pPos, CollisionContext pCollisionContext) EntityBasedExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) ExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) SimpleExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) ClipContext.getBlockShape
(BlockState pBlockState, BlockGetter pLevel, BlockPos pPos) default boolean
CollisionGetter.isUnobstructed
(BlockState pState, BlockPos pPos, CollisionContext pContext) static boolean
NaturalSpawner.isValidEmptySpawnBlock
(BlockGetter pBlock, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, EntityType<?> pEntityType) void
Level.markAndNotifyBlock
(BlockPos p_46605_, LevelChunk levelchunk, BlockState blockstate, BlockState p_46606_, int p_46607_, int p_46608_) void
Level.neighborChanged
(BlockState pState, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) void
Level.neighborShapeChanged
(Direction pDirection, BlockState pQueried, BlockPos pPos, BlockPos pOffsetPos, int pFlags, int pRecursionLevel) default void
LevelAccessor.neighborShapeChanged
(Direction pDirection, BlockState pQueried, BlockPos pPos, BlockPos pOffsetPos, int pFlags, int pRecursionLevel) void
Level.onBlockStateChange
(BlockPos pPos, BlockState pBlockState, BlockState pNewState) abstract void
Level.sendBlockUpdated
(BlockPos pPos, BlockState pOldState, BlockState pNewState, int pFlags) Flags are as in setBlockStateboolean
Level.setBlock
(BlockPos pPos, BlockState pNewState, int pFlags) Sets a block state into this world.Flags are as follows: 1 will notify neighboring blocks throughinvalid reference
neighborChanged
boolean
Level.setBlock
(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) default boolean
LevelWriter.setBlock
(BlockPos pPos, BlockState pNewState, int pFlags) Sets a block state into this world.Flags are as follows: 1 will cause a block update. 2 will send the change to clients. 4 will prevent the block from being re-rendered. 8 will force any re-renders to run on the main thread instead 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). 32 will prevent neighbor reactions from spawning drops. 64 will signify the block is being moved.boolean
LevelWriter.setBlock
(BlockPos pPos, BlockState pState, int pFlags, int pRecursionLeft) void
NoiseColumn.setBlock
(int pPos, BlockState pState) boolean
Level.setBlockAndUpdate
(BlockPos pPos, BlockState pState) Convenience method to update the block on both the client and servervoid
Level.setBlocksDirty
(BlockPos pBlockPos, BlockState pOldState, BlockState pNewState) boolean
EntityBasedExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) boolean
ExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) boolean
SimpleExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) Method parameters in net.minecraft.world.level with type arguments of type BlockStateModifier and TypeMethodDescriptionboolean
Level.isStateAtPosition
(BlockPos pPos, Predicate<BlockState> pState) boolean
LevelSimulatedReader.isStateAtPosition
(BlockPos pPos, Predicate<BlockState> pState) Constructors in net.minecraft.world.level with parameters of type BlockStateConstructor parameters in net.minecraft.world.level with type arguments of type BlockStateModifierConstructorDescriptionClipBlockStateContext
(Vec3 pFrom, Vec3 pTo, Predicate<BlockState> pBlock) -
Uses of BlockState in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as BlockStateModifier and TypeFieldDescriptionprotected final BlockState
StairBlock.baseState
private final BlockState
RedStoneWireBlock.crossState
private BlockState
Block.defaultBlockState
private final BlockState
Block.BlockStatePairKey.first
private final BlockState
Block.BlockStatePairKey.second
private final BlockState
PointedDripstoneBlock.FluidInfo.sourceState
The field for thesourceState
record component.private final BlockState
ComposterBlock.InputContainer.state
private final BlockState
ComposterBlock.OutputContainer.state
private final BlockState
PitcherCropBlock.PosAndState.state
The field for thestate
record component.private BlockState
RailState.state
Fields in net.minecraft.world.level.block with type parameters of type BlockStateModifier and TypeFieldDescriptionstatic final IdMapper
<BlockState> Block.BLOCK_STATE_REGISTRY
private final Map
<BlockState, VoxelShape> WallBlock.collisionShapeByIndex
private static final Map
<BlockState, BlockState> InfestedBlock.HOST_TO_INFESTED_STATES
private static final Map
<BlockState, BlockState> InfestedBlock.HOST_TO_INFESTED_STATES
private static final Map
<BlockState, BlockState> InfestedBlock.INFESTED_TO_HOST_STATES
private static final Map
<BlockState, BlockState> InfestedBlock.INFESTED_TO_HOST_STATES
static final ToIntFunction
<BlockState> CandleBlock.LIGHT_EMISSION
static final ToIntFunction
<BlockState> LightBlock.LIGHT_EMISSION
private static final Predicate
<BlockState> CarvedPumpkinBlock.PUMPKINS_PREDICATE
private final Map
<BlockState, VoxelShape> WallBlock.shapeByIndex
private static final Map
<BlockState, VoxelShape> RedStoneWireBlock.SHAPES_CACHE
private final Map
<BlockState, VoxelShape> BigDripleafBlock.shapesCache
private final Map
<BlockState, VoxelShape> FireBlock.shapesCache
private final com.google.common.collect.ImmutableMap
<BlockState, VoxelShape> MultifaceBlock.shapesCache
private final Map
<BlockState, VoxelShape> VineBlock.shapesCache
protected final StateDefinition
<Block, BlockState> Block.stateDefinition
private final it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> CrossCollisionBlock.stateToIndex
Methods in net.minecraft.world.level.block that return BlockStateModifier and TypeMethodDescription(package private) static BlockState
ComposterBlock.addItem
(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos, ItemStack pStack) static BlockState
CandleCakeBlock.byCandle
(CandleBlock pCandle) private static <T extends Comparable<T>>
BlockStateBlock.copyProperty
(BlockState pSourceState, BlockState pTargetState, Property<T> pProperty) private BlockState
VineBlock.copyRandomFaces
(BlockState pSourceState, BlockState pSpreadState, RandomSource pRandom) static BlockState
DoublePlantBlock.copyWaterloggedFrom
(LevelReader pLevel, BlockPos pPos, BlockState pState) static BlockState
MangrovePropaguleBlock.createNewHangingPropagule()
static BlockState
MangrovePropaguleBlock.createNewHangingPropagule
(int pAge) static BlockState
AnvilBlock.damage
(BlockState pState) final BlockState
Block.defaultBlockState()
(package private) static BlockState
ComposterBlock.empty
(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockState
ComposterBlock.extractProduce
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) private static BlockState
BubbleColumnBlock.getColumnState
(BlockState pBlockState) private BlockState
RedStoneWireBlock.getConnectionState
(BlockGetter pLevel, BlockState pState, BlockPos pPos) private static BlockState
MultifaceBlock.getDefaultMultifaceState
(StateDefinition<Block, BlockState> pStateDefinition) static BlockState
WeatheringCopper.getFirst
(BlockState pState) protected BlockState
CaveVinesBlock.getGrowIntoState
(BlockState p_220935_, RandomSource p_220936_) protected BlockState
GrowingPlantHeadBlock.getGrowIntoState
(BlockState pState, RandomSource pRandom) GrowingPlantHeadBlock.getMaxAgeState
(BlockState pState) private BlockState
RedStoneWireBlock.getMissingConnections
(BlockGetter pLevel, BlockState pState, BlockPos pPos) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> pStateMap, BlockState pState, Supplier<BlockState> pSupplier) private BlockState
SculkBlock.getRandomGrowthState
(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pIsWorldGeneration) static BlockState
BaseFireBlock.getState
(BlockGetter pReader, BlockPos pPos) RailState.getState()
CropBlock.getStateForAge
(int pAge) TorchflowerCropBlock.getStateForAge
(int p_275698_) AbstractFurnaceBlock.getStateForPlacement
(BlockPlaceContext pContext) AbstractSkullBlock.getStateForPlacement
(BlockPlaceContext pContext) AmethystClusterBlock.getStateForPlacement
(BlockPlaceContext pContext) AnvilBlock.getStateForPlacement
(BlockPlaceContext pContext) BambooStalkBlock.getStateForPlacement
(BlockPlaceContext pContext) BannerBlock.getStateForPlacement
(BlockPlaceContext pContext) BarrelBlock.getStateForPlacement
(BlockPlaceContext pContext) BarrierBlock.getStateForPlacement
(BlockPlaceContext pContext) BaseCoralPlantTypeBlock.getStateForPlacement
(BlockPlaceContext pContext) BaseCoralWallFanBlock.getStateForPlacement
(BlockPlaceContext pContext) BaseFireBlock.getStateForPlacement
(BlockPlaceContext pContext) BaseRailBlock.getStateForPlacement
(BlockPlaceContext pContext) BedBlock.getStateForPlacement
(BlockPlaceContext pContext) BeehiveBlock.getStateForPlacement
(BlockPlaceContext pContext) BellBlock.getStateForPlacement
(BlockPlaceContext pContext) BigDripleafBlock.getStateForPlacement
(BlockPlaceContext pContext) Block.getStateForPlacement
(BlockPlaceContext pContext) CalibratedSculkSensorBlock.getStateForPlacement
(BlockPlaceContext p_277423_) CampfireBlock.getStateForPlacement
(BlockPlaceContext pContext) CandleBlock.getStateForPlacement
(BlockPlaceContext pContext) CarvedPumpkinBlock.getStateForPlacement
(BlockPlaceContext pContext) CeilingHangingSignBlock.getStateForPlacement
(BlockPlaceContext pContext) ChainBlock.getStateForPlacement
(BlockPlaceContext pContext) ChestBlock.getStateForPlacement
(BlockPlaceContext pContext) ChiseledBookShelfBlock.getStateForPlacement
(BlockPlaceContext pContext) ChorusPlantBlock.getStateForPlacement
(BlockPlaceContext pContext) CocoaBlock.getStateForPlacement
(BlockPlaceContext pContext) CommandBlock.getStateForPlacement
(BlockPlaceContext pContext) ConcretePowderBlock.getStateForPlacement
(BlockPlaceContext pContext) ConduitBlock.getStateForPlacement
(BlockPlaceContext pContext) CoralBlock.getStateForPlacement
(BlockPlaceContext pContext) CrafterBlock.getStateForPlacement
(BlockPlaceContext pContext) DecoratedPotBlock.getStateForPlacement
(BlockPlaceContext p_272711_) DiodeBlock.getStateForPlacement
(BlockPlaceContext pContext) DirtPathBlock.getStateForPlacement
(BlockPlaceContext p_153131_) DispenserBlock.getStateForPlacement
(BlockPlaceContext pContext) DoorBlock.getStateForPlacement
(BlockPlaceContext pContext) DoublePlantBlock.getStateForPlacement
(BlockPlaceContext pContext) EnderChestBlock.getStateForPlacement
(BlockPlaceContext pContext) EndPortalFrameBlock.getStateForPlacement
(BlockPlaceContext pContext) EndRodBlock.getStateForPlacement
(BlockPlaceContext pContext) FaceAttachedHorizontalDirectionalBlock.getStateForPlacement
(BlockPlaceContext pContext) FarmBlock.getStateForPlacement
(BlockPlaceContext pContext) FenceBlock.getStateForPlacement
(BlockPlaceContext pContext) FenceGateBlock.getStateForPlacement
(BlockPlaceContext pContext) FireBlock.getStateForPlacement
(BlockPlaceContext pContext) protected BlockState
FireBlock.getStateForPlacement
(BlockGetter pLevel, BlockPos pPos) GlazedTerracottaBlock.getStateForPlacement
(BlockPlaceContext pContext) GrowingPlantBlock.getStateForPlacement
(BlockPlaceContext pContext) GrowingPlantBlock.getStateForPlacement
(LevelAccessor pLevel) GrowingPlantHeadBlock.getStateForPlacement
(LevelAccessor pLevel) HangingRootsBlock.getStateForPlacement
(BlockPlaceContext p_153340_) HeavyCoreBlock.getStateForPlacement
(BlockPlaceContext p_338691_) HopperBlock.getStateForPlacement
(BlockPlaceContext pContext) HugeMushroomBlock.getStateForPlacement
(BlockPlaceContext pContext) InfestedRotatedPillarBlock.getStateForPlacement
(BlockPlaceContext p_153441_) IronBarsBlock.getStateForPlacement
(BlockPlaceContext pContext) JigsawBlock.getStateForPlacement
(BlockPlaceContext pContext) KelpBlock.getStateForPlacement
(BlockPlaceContext pContext) LadderBlock.getStateForPlacement
(BlockPlaceContext pContext) LanternBlock.getStateForPlacement
(BlockPlaceContext pContext) LeavesBlock.getStateForPlacement
(BlockPlaceContext pContext) LecternBlock.getStateForPlacement
(BlockPlaceContext pContext) LightningRodBlock.getStateForPlacement
(BlockPlaceContext pContext) LoomBlock.getStateForPlacement
(BlockPlaceContext pContext) MangrovePropaguleBlock.getStateForPlacement
(BlockPlaceContext pContext) MangroveRootsBlock.getStateForPlacement
(BlockPlaceContext p_221508_) MultifaceBlock.getStateForPlacement
(BlockPlaceContext pContext) MultifaceBlock.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) NoteBlock.getStateForPlacement
(BlockPlaceContext pContext) ObserverBlock.getStateForPlacement
(BlockPlaceContext pContext) PinkPetalsBlock.getStateForPlacement
(BlockPlaceContext p_273158_) PitcherCropBlock.getStateForPlacement
(BlockPlaceContext pContext) PointedDripstoneBlock.getStateForPlacement
(BlockPlaceContext pContext) RedstoneLampBlock.getStateForPlacement
(BlockPlaceContext pContext) RedstoneWallTorchBlock.getStateForPlacement
(BlockPlaceContext pContext) RedStoneWireBlock.getStateForPlacement
(BlockPlaceContext pContext) RepeaterBlock.getStateForPlacement
(BlockPlaceContext pContext) RotatedPillarBlock.getStateForPlacement
(BlockPlaceContext pContext) ScaffoldingBlock.getStateForPlacement
(BlockPlaceContext pContext) SculkSensorBlock.getStateForPlacement
(BlockPlaceContext pContext) SculkShriekerBlock.getStateForPlacement
(BlockPlaceContext pContext) SeagrassBlock.getStateForPlacement
(BlockPlaceContext p_154503_) SeaPickleBlock.getStateForPlacement
(BlockPlaceContext pContext) ShulkerBoxBlock.getStateForPlacement
(BlockPlaceContext pContext) SkullBlock.getStateForPlacement
(BlockPlaceContext pContext) SlabBlock.getStateForPlacement
(BlockPlaceContext pContext) SmallDripleafBlock.getStateForPlacement
(BlockPlaceContext p_154592_) SnowLayerBlock.getStateForPlacement
(BlockPlaceContext pContext) SnowyDirtBlock.getStateForPlacement
(BlockPlaceContext pContext) StairBlock.getStateForPlacement
(BlockPlaceContext pContext) StandingSignBlock.getStateForPlacement
(BlockPlaceContext pContext) StonecutterBlock.getStateForPlacement
(BlockPlaceContext pContext) TallSeagrassBlock.getStateForPlacement
(BlockPlaceContext p_154747_) TrapDoorBlock.getStateForPlacement
(BlockPlaceContext pContext) TripWireBlock.getStateForPlacement
(BlockPlaceContext pContext) TripWireHookBlock.getStateForPlacement
(BlockPlaceContext pContext) TurtleEggBlock.getStateForPlacement
(BlockPlaceContext pContext) VaultBlock.getStateForPlacement
(BlockPlaceContext p_324576_) VineBlock.getStateForPlacement
(BlockPlaceContext pContext) WallBannerBlock.getStateForPlacement
(BlockPlaceContext pContext) WallBlock.getStateForPlacement
(BlockPlaceContext pContext) WallHangingSignBlock.getStateForPlacement
(BlockPlaceContext pContext) WallSignBlock.getStateForPlacement
(BlockPlaceContext pContext) WallSkullBlock.getStateForPlacement
(BlockPlaceContext pContext) WallTorchBlock.getStateForPlacement
(BlockPlaceContext pContext) WaterloggedTransparentBlock.getStateForPlacement
(BlockPlaceContext p_313836_) private BlockState
FireBlock.getStateWithAge
(LevelAccessor pLevel, BlockPos pPos, int pAge) static BlockState
ChorusPlantBlock.getStateWithConnections
(BlockGetter pLevel, BlockPos pPos, BlockState pState) private BlockState
VineBlock.getUpdatedState
(BlockState pState, BlockGetter pLevel, BlockPos pPos) InfestedBlock.hostStateByInfested
(BlockState pInfested) static BlockState
InfestedBlock.infestedStateByHost
(BlockState pHost) static BlockState
ComposterBlock.insertItem
(Entity pEntity, BlockState pState, ServerLevel pLevel, ItemStack pStack, BlockPos pPos) private BlockState
MultifaceBlock.mapDirections
(BlockState pState, Function<Direction, Direction> pDirectionalFunction) static BlockState
IceBlock.meltsInto()
protected BlockState
AbstractFurnaceBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
AmethystClusterBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
AttachedStemBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BannerBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BarrelBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BaseCoralWallFanBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.BeehiveBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.BellBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.CalibratedSculkSensorBlock.mirror
(BlockState p_277615_, Mirror p_277916_) protected BlockState
CampfireBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CeilingHangingSignBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
ChestBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.ChiseledBookShelfBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CommandBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CrafterBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CrossCollisionBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DecoratedPotBlock.mirror
(BlockState p_334078_, Mirror p_333905_) protected BlockState
DetectorRailBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DispenserBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DoorBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
EnderChestBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
EndPortalFrameBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
GrindstoneBlock.mirror
(BlockState pState, Mirror pMirror) protected BlockState
HopperBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
HorizontalDirectionalBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
HugeMushroomBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
JigsawBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
LadderBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
LecternBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
MultifaceBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
ObserverBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.PinkPetalsBlock.mirror
(BlockState p_272961_, Mirror p_273278_) protected BlockState
PoweredRailBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RailBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RedstoneWallTorchBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RedStoneWireBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RodBlock.mirror
(BlockState p_154351_, Mirror p_154352_) protected BlockState
ShulkerBoxBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
SkullBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
SmallDripleafBlock.mirror
(BlockState p_154619_, Mirror p_154620_) protected BlockState
StairBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
StandingSignBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
StonecutterBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
TripWireBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
TripWireHookBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.VaultBlock.mirror
(BlockState p_323894_, Mirror p_324242_) protected BlockState
VineBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallBannerBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallHangingSignBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallSignBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallSkullBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallTorchBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.BaseFireBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) BedBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) BeehiveBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) Block.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) DecoratedPotBlock.playerWillDestroy
(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) DoublePlantBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) ShulkerBoxBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) TntBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) TripWireBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) static BlockState
Block.pushEntitiesUp
(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos) private static BlockState
MultifaceBlock.removeFace
(BlockState pState, BooleanProperty pFaceProp) protected BlockState
AbstractFurnaceBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AmethystClusterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AnvilBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AttachedStemBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BannerBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BarrelBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BaseCoralWallFanBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.BeehiveBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.BellBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.CalibratedSculkSensorBlock.rotate
(BlockState p_277545_, Rotation p_277482_) protected BlockState
CampfireBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CeilingHangingSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ChestBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.ChiseledBookShelfBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CommandBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrafterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrossCollisionBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DecoratedPotBlock.rotate
(BlockState p_333895_, Rotation p_333806_) protected BlockState
DetectorRailBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DispenserBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DoorBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EnderChestBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EndPortalFrameBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
GrindstoneBlock.rotate
(BlockState pState, Rotation pRotation) protected BlockState
HopperBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HorizontalDirectionalBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HugeMushroomBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
InfestedRotatedPillarBlock.rotate
(BlockState p_153443_, Rotation p_153444_) protected BlockState
JigsawBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LadderBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LecternBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
MultifaceBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
NetherPortalBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ObserverBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.PinkPetalsBlock.rotate
(BlockState p_273485_, Rotation p_273021_) protected BlockState
PoweredRailBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RailBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedstoneWallTorchBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedStoneWireBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RodBlock.rotate
(BlockState p_154354_, Rotation p_154355_) protected BlockState
RotatedPillarBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ShulkerBoxBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SkullBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SmallDripleafBlock.rotate
(BlockState p_154622_, Rotation p_154623_) protected BlockState
StairBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StandingSignBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StonecutterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireHookBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.VaultBlock.rotate
(BlockState p_324232_, Rotation p_324443_) protected BlockState
VineBlock.rotate
(BlockState pState, Rotation pRotate) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBannerBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallHangingSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSkullBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallTorchBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.static BlockState
RotatedPillarBlock.rotatePillar
(BlockState pState, Rotation pRotation) private BlockState
NoteBlock.setInstrument
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected abstract BlockState
BasePressurePlateBlock.setSignalForState
(BlockState pState, int pSignal) Returns the block state that encodes the given signal.protected BlockState
PressurePlateBlock.setSignalForState
(BlockState pState, int pStrength) Returns the block state that encodes the given signal.protected BlockState
WeightedPressurePlateBlock.setSignalForState
(BlockState pState, int pStrength) Returns the block state that encodes the given signal.private BlockState
WallBlock.sideUpdate
(LevelReader pLevel, BlockPos pFirstPos, BlockState pFirstState, BlockPos pSecondPos, BlockState pSecondState, Direction pDir) PointedDripstoneBlock.FluidInfo.sourceState()
Returns the value of thesourceState
record component.PitcherCropBlock.PosAndState.state()
Returns the value of thestate
record component.static BlockState
Block.stateById
(int pId) private BlockState
WallBlock.topUpdate
(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pSecondState) protected BlockState
CaveVinesBlock.updateBodyAfterConvertedFromHead
(BlockState p_152987_, BlockState p_152988_) protected BlockState
GrowingPlantHeadBlock.updateBodyAfterConvertedFromHead
(BlockState pHead, BlockState pBody) protected BlockState
BaseRailBlock.updateDir
(Level pLevel, BlockPos pPos, BlockState pState, boolean pAlwaysPlace) private static BlockState
LeavesBlock.updateDistance
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockState
Block.updateFromNeighbourShapes
(BlockState pCurrentState, LevelAccessor pLevel, BlockPos pPos) With the provided block state, performs neighbor checks for all neighboring blocks to get an "adjusted" blockstate for placement in the world, if the current state is not valid.protected BlockState
CaveVinesPlantBlock.updateHeadAfterConvertedFromBody
(BlockState p_153028_, BlockState p_153029_) protected BlockState
GrowingPlantBodyBlock.updateHeadAfterConvertedFromBody
(BlockState pHead, BlockState pBody) protected BlockState
AmethystClusterBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
AttachedStemBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockState
BambooSaplingBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BambooStalkBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BannerBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BarrierBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BasePressurePlateBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseRailBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, Direction p_304475_, BlockState p_304669_, LevelAccessor p_304637_, BlockPos p_304633_, BlockPos p_304603_) protected BlockState
BedBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BeehiveBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BellBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BigDripleafBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BigDripleafStemBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BubbleColumnBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BushBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CactusBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CakeBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CampfireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CandleBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CandleCakeBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockState
ChainBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ChestBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockState
ChorusFlowerBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ChorusPlantBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CocoaBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ConcretePowderBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockState
ConduitBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralFanBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralPlantBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralWallFanBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) protected BlockState
DoorBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
DoublePlantBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
EnderChestBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FallingBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FarmBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FenceBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FenceGateBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FlowerPotBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FrogspawnBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GlowLichenBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, Direction p_338189_, BlockState p_338723_, LevelAccessor p_338514_, BlockPos p_338346_, BlockPos p_338401_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
IronBarsBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LadderBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LanternBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LeavesBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LightBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LightningRodBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LiquidBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MagmaBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) protected BlockState
MultifaceBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
NetherPortalBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
NoteBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ObserverBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
PointedDripstoneBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RedStoneWireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RepeaterBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ScaffoldingBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkSensorBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkShriekerBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkVeinBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) protected BlockState
SeaPickleBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SlabBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) protected BlockState
SnowLayerBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SnowyDirtBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SoulFireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SoulSandBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) protected BlockState
StairBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
StandingSignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SugarCaneBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TrapDoorBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TripWireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TripWireHookBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
VineBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallBannerBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.private BlockState
WallBlock.updateShape
(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pNeighbour, boolean pNorthConnection, boolean pEastConnection, boolean pSouthConnection, boolean pWestConnection) protected BlockState
WallHangingSignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallSignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallTorchBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, Direction p_313739_, BlockState p_313829_, LevelAccessor p_313692_, BlockPos p_313842_, BlockPos p_313843_) private BlockState
WallBlock.updateSides
(BlockState pState, boolean pNorthConnection, boolean pEastConnection, boolean pSouthConnection, boolean pWestConnection, VoxelShape pWallShape) protected BlockState
BaseRailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, boolean pMovedByPiston) final BlockState
Block.withPropertiesOf
(BlockState pState) Methods in net.minecraft.world.level.block that return types with arguments of type BlockStateModifier and TypeMethodDescriptionstatic ToIntFunction
<BlockState> CaveVines.emission
(int pBerries) static ToIntFunction
<BlockState> GlowLichenBlock.emission
(int pLight) ChangeOverTimeBlock.getNext
(BlockState pState) default Optional
<BlockState> WeatheringCopper.getNext
(BlockState pState) default Optional
<BlockState> ChangeOverTimeBlock.getNextState
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) static Optional
<BlockState> WeatheringCopper.getPrevious
(BlockState pState) protected com.google.common.collect.ImmutableMap
<BlockState, VoxelShape> Block.getShapeForEachState
(Function<BlockState, VoxelShape> p_152459_) Block.getStateDefinition()
private static ToIntFunction
<BlockState> Blocks.litBlockEmission
(int pLightValue) private Map
<BlockState, VoxelShape> WallBlock.makeShapes
(float pWidth, float pDepth, float pWallPostHeight, float pWallMinY, float pWallLowHeight, float pWallTallHeight) private static Function
<BlockState, MapColor> Blocks.waterloggedMapColor
(MapColor pUnwaterloggedMapColor) Methods in net.minecraft.world.level.block with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
SculkSensorBlock.activate
(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, int pPower, int pFrequency) (package private) static BlockState
ComposterBlock.addItem
(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos, ItemStack pStack) void
SaplingBlock.advanceTree
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) private static boolean
Blocks.always
(BlockState p_50775_, BlockGetter p_50776_, BlockPos p_50777_) static Boolean
Blocks.always
(BlockState p_50810_, BlockGetter p_50811_, BlockPos p_50812_, EntityType<?> p_50813_) void
AbstractCandleBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BaseFireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BeehiveBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BlastFurnaceBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
Block.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BrewingStandBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BrushableBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BubbleColumnBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
CampfireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
CherryLeavesBlock.animateTick
(BlockState p_272714_, Level p_272837_, BlockPos p_273218_, RandomSource p_273360_) void
CryingObsidianBlock.animateTick
(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) void
EnchantingTableBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EnderChestBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndGatewayBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndPortalBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndRodBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
FallingBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
FurnaceBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LeavesBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LeverBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LightningRodBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
MyceliumBlock.animateTick
(BlockState p_221789_, Level p_221790_, BlockPos p_221791_, RandomSource p_221792_) void
NetherPortalBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
PointedDripstoneBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedStoneOreBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedstoneTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedstoneWallTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedStoneWireBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RepeaterBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RespawnAnchorBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SculkSensorBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SmokerBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SporeBlossomBlock.animateTick
(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) void
TorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WallTorchBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WetSpongeBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WitherRoseBlock.animateTick
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).final boolean
IronBarsBlock.attachsTo
(BlockState pState, boolean pSolidSide) protected void
DragonEggBlock.attack
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected void
NoteBlock.attack
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected void
RedStoneOreBlock.attack
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) default boolean
SculkBehaviour.attemptSpreadVein
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections, boolean pMarkForPostprocessing) MultifaceBlock.availableFaces
(BlockState pState) private static VoxelShape
MultifaceBlock.calculateMultifaceShape
(BlockState p_153959_) private int
ComparatorBlock.calculateOutputSignal
(Level pLevel, BlockPos pPos, BlockState pState) private static VoxelShape
BigDripleafBlock.calculateShape
(BlockState p_152318_) private static VoxelShape
FireBlock.calculateShape
(BlockState p_53491_) private VoxelShape
RedStoneWireBlock.calculateShape
(BlockState pState) private static VoxelShape
VineBlock.calculateShape
(BlockState p_57906_) static void
TripWireHookBlock.calculateState
(Level pLevel, BlockPos pPos, BlockState pHookState, boolean pAttaching, boolean pShouldNotifyNeighbours, int pSearchRange, BlockState pState) static boolean
SculkSensorBlock.canActivate
(BlockState pState) protected boolean
GrowingPlantBlock.canAttachTo
(BlockState pState) protected boolean
KelpBlock.canAttachTo
(BlockState pState) protected boolean
KelpPlantBlock.canAttachTo
(BlockState pState) static boolean
MultifaceBlock.canAttachTo
(BlockGetter pLevel, Direction pDirection, BlockPos pPos, BlockState pState) boolean
WallHangingSignBlock.canAttachTo
(LevelReader pLevel, BlockState pState, BlockPos pPos, Direction pDirection) private static boolean
RespawnAnchorBlock.canBeCharged
(BlockState pState) private static boolean
SpreadingSnowyDirtBlock.canBeGrass
(BlockState pState, LevelReader pLevelReader, BlockPos pPos) protected boolean
AbstractCandleBlock.canBeLit
(BlockState pState) protected boolean
CandleBlock.canBeLit
(BlockState pState) private static boolean
NyliumBlock.canBeNylium
(BlockState pState, LevelReader pReader, BlockPos pPos) protected boolean
CandleBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
EndGatewayBlock.canBeReplaced
(BlockState pState, Fluid pFluid) protected boolean
EndPortalBlock.canBeReplaced
(BlockState pState, Fluid pFluid) protected boolean
GlowLichenBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
GrowingPlantBodyBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
MultifaceBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) boolean
PinkPetalsBlock.canBeReplaced
(BlockState p_272922_, BlockPlaceContext p_273534_) boolean
PitcherCropBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
ScaffoldingBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
SculkVeinBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
SeaPickleBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
SlabBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
SnowLayerBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
TurtleEggBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
VineBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected abstract boolean
BaseFireBlock.canBurn
(BlockState pState) protected boolean
FireBlock.canBurn
(BlockState pState) Deprecated.protected boolean
SoulFireBlock.canBurn
(BlockState pState) static boolean
BuddingAmethystBlock.canClusterGrowAtState
(BlockState pState) static boolean
PointedDripstoneBlock.canDrip
(BlockState p_154239_) private static boolean
PointedDripstoneBlock.canDripThrough
(BlockGetter pLevel, BlockPos pPos, BlockState pState) private static boolean
BubbleColumnBlock.canExistIn
(BlockState pBlockState) private boolean
PitcherCropBlock.canGrow
(LevelReader pReader, BlockPos pPos, BlockState pState, int pAge) private static boolean
PointedDripstoneBlock.canGrow
(BlockState pDripstoneState, BlockState pState) protected boolean
CaveVinesBlock.canGrowInto
(BlockState p_152998_) protected abstract boolean
GrowingPlantHeadBlock.canGrowInto
(BlockState pState) protected boolean
KelpBlock.canGrowInto
(BlockState pState) protected boolean
TwistingVinesBlock.canGrowInto
(BlockState p_154869_) protected boolean
WeepingVinesBlock.canGrowInto
(BlockState p_154971_) static boolean
CampfireBlock.canLight
(BlockState pState) static boolean
CandleBlock.canLight
(BlockState pState) static boolean
CandleCakeBlock.canLight
(BlockState pState) private static boolean
ShulkerBoxBlock.canOpen
(BlockState pState, Level pLevel, BlockPos pPos, ShulkerBoxBlockEntity pBlockEntity) boolean
WallHangingSignBlock.canPlace
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected static boolean
BigDripleafBlock.canPlaceAt
(LevelHeightAccessor pLevel, BlockPos pPos, BlockState pState) boolean
BarrierBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
KelpBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
KelpPlantBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
LiquidBlockContainer.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
SeagrassBlock.canPlaceLiquid
(Player p_296226_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default boolean
SimpleWaterloggedBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
SlabBlock.canPlaceLiquid
(Player pPlayer, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
TallSeagrassBlock.canPlaceLiquid
(Player p_296027_, BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) private static boolean
SpreadingSnowyDirtBlock.canPropagate
(BlockState pState, LevelReader pLevel, BlockPos pPos) private static boolean
BigDripleafBlock.canReplace
(BlockState pState) private static boolean
ConcretePowderBlock.canSolidify
(BlockState pState) default boolean
MultifaceSpreader.SpreadConfig.canSpreadFrom
(BlockState pState, Direction pDirection) boolean
MultifaceSpreader.canSpreadInAnyDirection
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection) protected boolean
AmethystClusterBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BambooSaplingBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BambooStalkBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BannerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseCoralPlantTypeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseCoralWallFanBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BasePressurePlateBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseRailBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseTorchBlock.canSurvive
(BlockState p_304413_, LevelReader p_304885_, BlockPos p_304808_) protected boolean
BellBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BigDripleafBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BigDripleafStemBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BubbleColumnBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BushBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CactusBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CakeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CandleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CandleCakeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CarpetBlock.canSurvive
(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) protected boolean
CeilingHangingSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
ChorusFlowerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
ChorusPlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CocoaBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CropBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DiodeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DirtPathBlock.canSurvive
(BlockState p_153148_, LevelReader p_153149_, BlockPos p_153150_) protected boolean
DoorBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DoublePlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FaceAttachedHorizontalDirectionalBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FarmBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FrogspawnBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
GrindstoneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
GrowingPlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
HangingRootsBlock.canSurvive
(BlockState p_153347_, LevelReader p_153348_, BlockPos p_153349_) protected boolean
LadderBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
LanternBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MangrovePropaguleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MultifaceBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MushroomBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) boolean
PitcherCropBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
PointedDripstoneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
RedstoneWallTorchBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
RedStoneWireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
ScaffoldingBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SeaPickleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SmallDripleafBlock.canSurvive
(BlockState p_154615_, LevelReader p_154616_, BlockPos p_154617_) protected boolean
SnowLayerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SoulFireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SporeBlossomBlock.canSurvive
(BlockState p_154709_, LevelReader p_154710_, BlockPos p_154711_) protected boolean
StandingSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SugarCaneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
TallSeagrassBlock.canSurvive
(BlockState p_154768_, LevelReader p_154769_, BlockPos p_154770_) protected boolean
TripWireHookBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
VineBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallBannerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallTorchBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DiodeBlock.canSurviveOn
(LevelReader pLevel, BlockPos pPos, BlockState pState) private boolean
RedStoneWireBlock.canSurviveOn
(BlockGetter pLevel, BlockPos pPos, BlockState pState) static boolean
SoulFireBlock.canSurviveOnBlock
(BlockState pState) private static boolean
StairBlock.canTakeShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private static boolean
PointedDripstoneBlock.canTipGrow
(BlockState pState, ServerLevel pLevel, BlockPos pPos) default void
ChangeOverTimeBlock.changeOverTime
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static void
LecternBlock.changePowered
(Level pLevel, BlockPos pPos, BlockState pState, boolean pPowered) static void
RespawnAnchorBlock.charge
(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState) void
CopperBulbBlock.checkAndFlip
(BlockState pState, ServerLevel pLevel, BlockPos pPos) private void
HopperBlock.checkPoweredState
(Level pLevel, BlockPos pPos, BlockState pState) private void
BasePressurePlateBlock.checkPressed
(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, int pCurrentSignal) protected void
ButtonBlock.checkPressed
(BlockState pState, Level pLevel, BlockPos pPos) private void
DetectorRailBlock.checkPressed
(Level pLevel, BlockPos pPos, BlockState pState) protected void
ComparatorBlock.checkTickOnNeighbor
(Level pLevel, BlockPos pPos, BlockState pState) Check the output signal of this diode and schedule a new block tick if it should change.protected void
DiodeBlock.checkTickOnNeighbor
(Level pLevel, BlockPos pPos, BlockState pState) Check the output signal of this diode and schedule a new block tick if it should change.abstract DoubleBlockCombiner.NeighborCombineResult
<? extends ChestBlockEntity> AbstractChestBlock.combine
(BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) ChestBlock.combine
(BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) EnderChestBlock.combine
(BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour
(BlockEntityType<S> pBlockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> pDoubleBlockTypeGetter, Function<BlockState, Direction> pDirectionGetter, DirectionProperty pDirectionProperty, BlockState pState, LevelAccessor pLevel, BlockPos pPos, BiPredicate<LevelAccessor, BlockPos> pBlockedChestTest) boolean
FenceBlock.connectsTo
(BlockState pState, boolean pIsSideSolid, Direction pDirection) private boolean
WallBlock.connectsTo
(BlockState pState, boolean pSideSolid, Direction pDirection) static boolean
FenceGateBlock.connectsToDirection
(BlockState pState, Direction pDirection) private static <T extends Comparable<T>>
BlockStateBlock.copyProperty
(BlockState pSourceState, BlockState pTargetState, Property<T> pProperty) private BlockState
VineBlock.copyRandomFaces
(BlockState pSourceState, BlockState pSpreadState, RandomSource pRandom) static BlockState
DoublePlantBlock.copyWaterloggedFrom
(LevelReader pLevel, BlockPos pPos, BlockState pState) private int
VineBlock.countFaces
(BlockState pState) private static void
PointedDripstoneBlock.createMergedTips
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockState
AnvilBlock.damage
(BlockState pState) static void
SculkSensorBlock.deactivate
(Level pLevel, BlockPos pPos, BlockState pState) protected boolean
LeavesBlock.decaying
(BlockState pState) private void
TurtleEggBlock.decreaseEggs
(Level pLevel, BlockPos pPos, BlockState pState) void
Block.destroy
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) Called after this block has been removed by a player.private void
TurtleEggBlock.destroyEgg
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, int pChance) protected void
CrafterBlock.dispenseFrom
(BlockState pState, ServerLevel pLevel, BlockPos pPos) protected void
DispenserBlock.dispenseFrom
(ServerLevel pLevel, BlockState pState, BlockPos pPos) protected void
DropperBlock.dispenseFrom
(ServerLevel p_52944_, BlockState p_302455_, BlockPos p_52945_) private void
CrafterBlock.dispenseItem
(ServerLevel pLevel, BlockPos pPos, CrafterBlockEntity pCrafter, ItemStack pStack, BlockState pState, RecipeHolder<CraftingRecipe> pRecipe) static void
CampfireBlock.dowse
(Entity pEntity, LevelAccessor pLevel, BlockPos pPos, BlockState pState) static void
Block.dropResources
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, BlockEntity pBlockEntity) static void
Block.dropResources
(BlockState pState, Level pLevel, BlockPos pPos) static void
Block.dropResources
(BlockState pState, Level pLevel, BlockPos pPos, BlockEntity pBlockEntity, Entity pEntity, ItemStack pTool) protected static InteractionResult
CakeBlock.eat
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Player pPlayer) (package private) static BlockState
ComposterBlock.empty
(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos) protected void
BaseFireBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
BasePressurePlateBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
BigDripleafBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
BubbleColumnBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
ButtonBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
CactusBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
CampfireBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
CropBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
DetectorRailBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
EndGatewayBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
EndPortalBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
FrogspawnBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
HoneyBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
HopperBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
LavaCauldronBlock.entityInside
(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_) protected void
LayeredCauldronBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
NetherPortalBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) void
PitcherCropBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
PowderSnowBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
SweetBerryBushBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
TripWireBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
WaterlilyBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
WebBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) protected void
WitherRoseBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) private void
CommandBlock.execute
(BlockState pState, Level pLevel, BlockPos pPos, BaseCommandBlock pLogic, boolean pCanTrigger) private void
RespawnAnchorBlock.explode
(BlockState pState, Level pLevel, BlockPos pPos2) static void
AbstractCandleBlock.extinguish
(Player pPlayer, BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockState
ComposterBlock.extractProduce
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) void
BedBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) void
Block.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) void
FarmBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) void
HayBlock.fallOn
(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, float p_153366_) void
HoneyBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) void
PointedDripstoneBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) void
PowderSnowBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) void
SlimeBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) void
TurtleEggBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, float pFallDistance) protected boolean
PoweredRailBlock.findPoweredRailSignal
(Level pLevel, BlockPos pPos, BlockState pState, boolean pSearchForward, int pRecursionCount) PointedDripstoneBlock.findRootBlock
(Level pLevel, BlockPos pPos, BlockState pState, int pMaxIterations) private static BlockPos
PointedDripstoneBlock.findTip
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pMaxIterations, boolean pIsTipMerge) protected int
CrossCollisionBlock.getAABBIndex
(BlockState pState) protected int
PipeBlock.getAABBIndex
(BlockState pState) int
CropBlock.getAge
(BlockState pState) protected int
DiodeBlock.getAlternateSignal
(SignalGetter pLevel, BlockPos pPos, BlockState pState) protected int
AbstractFurnaceBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
BarrelBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
BeehiveBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
BrewingStandBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CakeBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CandleCakeBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
ChestBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
ChiseledBookShelfBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CommandBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
ComposterBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CopperBulbBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
CrafterBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
DecoratedPotBlock.getAnalogOutputSignal
(BlockState p_306206_, Level p_306113_, BlockPos p_306305_) protected int
DetectorRailBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
DispenserBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
EndPortalFrameBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
HopperBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
JukeboxBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
LavaCauldronBlock.getAnalogOutputSignal
(BlockState p_153502_, Level p_153503_, BlockPos p_153504_) protected int
LayeredCauldronBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
LecternBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
RespawnAnchorBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
SculkSensorBlock.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected int
ShulkerBoxBlock.getAnalogOutputSignal
(BlockState pBlockState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.private static SculkBehaviour
SculkSpreader.ChargeCursor.getBlockBehaviour
(BlockState pState) protected VoxelShape
CeilingHangingSignBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) ChorusFlowerBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
FenceGateBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
LeavesBlock.getBlockSupportShape
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShape
MudBlock.getBlockSupportShape
(BlockState p_221566_, BlockGetter p_221567_, BlockPos p_221568_) protected VoxelShape
ShulkerBoxBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
SnowLayerBlock.getBlockSupportShape
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShape
SoulSandBlock.getBlockSupportShape
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected VoxelShape
WallHangingSignBlock.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) BedBlock.getBlockType
(BlockState pState) ChestBlock.getBlockType
(BlockState p_51583_) int
FireBlock.getBurnOdds
(BlockState pState) Deprecated.AbstractBannerBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) AttachedStemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) BambooSaplingBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) BigDripleafStemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) Block.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) Deprecated.CandleCakeBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) CaveVinesBlock.getCloneItemStack
(LevelReader p_304590_, BlockPos p_152967_, BlockState p_152968_) CaveVinesPlantBlock.getCloneItemStack
(LevelReader p_304444_, BlockPos p_153008_, BlockState p_153009_) CropBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) DecoratedPotBlock.getCloneItemStack
(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_) EndGatewayBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) EndPortalBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) FlowerPotBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) FrostedIceBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) GrowingPlantBodyBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) LightBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) NetherPortalBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) NetherWartBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) ShulkerBoxBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) StemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) SweetBerryBushBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) TallSeagrassBlock.getCloneItemStack
(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_) protected VoxelShape
BambooStalkBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BellBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BigDripleafBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CactusBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ComposterBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CrossCollisionBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FenceGateBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
GrindstoneBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
HoneyBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LecternBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LiquidBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MudBlock.getCollisionShape
(BlockState p_221561_, BlockGetter p_221562_, BlockPos p_221563_, CollisionContext p_221564_) PitcherCropBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PowderSnowBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ScaffoldingBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SculkShriekerBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SnowLayerBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SoulSandBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallHangingSignBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) private static BlockState
BubbleColumnBlock.getColumnState
(BlockState pBlockState) static Direction
BedBlock.getConnectedDirection
(BlockState pState) private static Direction
BellBlock.getConnectedDirection
(BlockState pState) static Direction
ChestBlock.getConnectedDirection
(BlockState p_51585_) protected static Direction
FaceAttachedHorizontalDirectionalBlock.getConnectedDirection
(BlockState pState) protected static Direction
LanternBlock.getConnectedDirection
(BlockState pState) private BlockState
RedStoneWireBlock.getConnectionState
(BlockGetter pLevel, BlockState pState, BlockPos pPos) static Container
ChestBlock.getContainer
(ChestBlock pChest, BlockState pState, Level pLevel, BlockPos pPos, boolean pOverride) ComposterBlock.getContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) protected double
AbstractCauldronBlock.getContentHeight
(BlockState pState) protected double
LavaCauldronBlock.getContentHeight
(BlockState p_153500_) protected double
LayeredCauldronBlock.getContentHeight
(BlockState pState) protected int
ComparatorBlock.getDelay
(BlockState pState) protected abstract int
DiodeBlock.getDelay
(BlockState pState) protected int
RepeaterBlock.getDelay
(BlockState pState) protected float
BambooSaplingBlock.getDestroyProgress
(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerprotected float
BambooStalkBlock.getDestroyProgress
(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerprotected int
BasePressurePlateBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
ButtonBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
DetectorRailBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
DiodeBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
LecternBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
LeverBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
LightningRodBlock.getDirectSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.protected int
ObserverBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
RedstoneTorchBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
RedStoneWireBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.int
SculkSensorBlock.getDirectSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.protected int
TrappedChestBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected int
TripWireHookBlock.getDirectSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.private static int
LeavesBlock.getDistanceAt
(BlockState pNeighbor) BeehiveBlock.getDrops
(BlockState pState, LootParams.Builder pParams) Block.getDrops
(BlockState pState, ServerLevel pLevel, BlockPos pPos, BlockEntity pBlockEntity) Block.getDrops
(BlockState pState, ServerLevel pLevel, BlockPos pPos, BlockEntity pBlockEntity, Entity pEntity, ItemStack pTool) DecoratedPotBlock.getDrops
(BlockState p_287683_, LootParams.Builder p_287582_) LiquidBlock.getDrops
(BlockState pState, LootParams.Builder pParams) ShulkerBoxBlock.getDrops
(BlockState pState, LootParams.Builder pParams) int
AnvilBlock.getDustColor
(BlockState pState, BlockGetter pReader, BlockPos pPos) int
ColoredFallingBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) int
ConcretePowderBlock.getDustColor
(BlockState pState, BlockGetter pReader, BlockPos pPos) int
FallingBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) int
DropExperienceBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
RedStoneOreBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkCatalystBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkSensorBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkShriekerBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SpawnerBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) static BlockState
WeatheringCopper.getFirst
(BlockState pState) private static Optional
<PointedDripstoneBlock.FluidInfo> PointedDripstoneBlock.getFluidAboveStalactite
(Level pLevel, BlockPos pPos, BlockState pState) protected FluidState
AmethystClusterBlock.getFluidState
(BlockState pState) protected FluidState
BarrierBlock.getFluidState
(BlockState pState) protected FluidState
BaseCoralPlantTypeBlock.getFluidState
(BlockState pState) protected FluidState
BaseRailBlock.getFluidState
(BlockState pState) protected FluidState
BigDripleafBlock.getFluidState
(BlockState pState) protected FluidState
BigDripleafStemBlock.getFluidState
(BlockState pState) protected FluidState
BubbleColumnBlock.getFluidState
(BlockState pState) protected FluidState
CampfireBlock.getFluidState
(BlockState pState) protected FluidState
CandleBlock.getFluidState
(BlockState pState) protected FluidState
ChainBlock.getFluidState
(BlockState pState) protected FluidState
ChestBlock.getFluidState
(BlockState pState) protected FluidState
ConduitBlock.getFluidState
(BlockState pState) protected FluidState
CrossCollisionBlock.getFluidState
(BlockState pState) protected FluidState
DecoratedPotBlock.getFluidState
(BlockState p_272593_) protected FluidState
EnderChestBlock.getFluidState
(BlockState pState) protected FluidState
GlowLichenBlock.getFluidState
(BlockState pState) protected FluidState
HangingRootsBlock.getFluidState
(BlockState p_153360_) protected FluidState
HeavyCoreBlock.getFluidState
(BlockState p_335518_) protected FluidState
KelpBlock.getFluidState
(BlockState pState) protected FluidState
KelpPlantBlock.getFluidState
(BlockState pState) protected FluidState
LadderBlock.getFluidState
(BlockState pState) protected FluidState
LanternBlock.getFluidState
(BlockState pState) protected FluidState
LeavesBlock.getFluidState
(BlockState pState) protected FluidState
LightBlock.getFluidState
(BlockState pState) protected FluidState
LightningRodBlock.getFluidState
(BlockState pState) protected FluidState
LiquidBlock.getFluidState
(BlockState pState) protected FluidState
MangrovePropaguleBlock.getFluidState
(BlockState pState) protected FluidState
MangroveRootsBlock.getFluidState
(BlockState p_221523_) protected FluidState
PointedDripstoneBlock.getFluidState
(BlockState pState) protected FluidState
ScaffoldingBlock.getFluidState
(BlockState pState) protected FluidState
SculkSensorBlock.getFluidState
(BlockState pState) protected FluidState
SculkShriekerBlock.getFluidState
(BlockState pState) protected FluidState
SculkVeinBlock.getFluidState
(BlockState pState) protected FluidState
SeagrassBlock.getFluidState
(BlockState p_154537_) protected FluidState
SeaPickleBlock.getFluidState
(BlockState pState) protected FluidState
SignBlock.getFluidState
(BlockState pState) protected FluidState
SlabBlock.getFluidState
(BlockState pState) protected FluidState
SmallDripleafBlock.getFluidState
(BlockState p_154634_) protected FluidState
StairBlock.getFluidState
(BlockState pState) protected FluidState
TallSeagrassBlock.getFluidState
(BlockState p_154772_) protected FluidState
TrapDoorBlock.getFluidState
(BlockState pState) protected FluidState
WallBlock.getFluidState
(BlockState pState) protected FluidState
WaterloggedTransparentBlock.getFluidState
(BlockState p_313789_) static Direction
JigsawBlock.getFrontFacing
(BlockState pState) This represents the face that the puzzle piece is on.protected BlockState
CaveVinesBlock.getGrowIntoState
(BlockState p_220935_, RandomSource p_220936_) protected BlockState
GrowingPlantHeadBlock.getGrowIntoState
(BlockState pState, RandomSource pRandom) protected static float
CropBlock.getGrowthSpeed
(BlockState blockState, BlockGetter p_52274_, BlockPos p_52275_) int
SnifferEggBlock.getHatchLevel
(BlockState pState) private OptionalInt
ChiseledBookShelfBlock.getHitSlot
(BlockHitResult pHitReselt, BlockState pState) static int
Block.getId
(BlockState pState) int
FireBlock.getIgniteOdds
(BlockState pState) Deprecated.protected int
ComparatorBlock.getInputSignal
(Level pLevel, BlockPos pPos, BlockState pState) protected int
DiodeBlock.getInputSignal
(Level pLevel, BlockPos pPos, BlockState pState) protected VoxelShape
AbstractCauldronBlock.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
ComposterBlock.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
HopperBlock.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
ScaffoldingBlock.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected int
LeavesBlock.getLightBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected int
TintedGlassBlock.getLightBlock
(BlockState p_154828_, BlockGetter p_154829_, BlockPos p_154830_) private PitcherCropBlock.PosAndState
PitcherCropBlock.getLowerHalf
(LevelReader pLevel, BlockPos pPos, BlockState pState) GrowingPlantHeadBlock.getMaxAgeState
(BlockState pState) protected MenuProvider
AnvilBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
BaseEntityBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
CartographyTableBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
ChestBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
CraftingTableBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
EnchantingTableBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
GrindstoneBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
LecternBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
LoomBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
SmithingTableBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected MenuProvider
StonecutterBlock.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) private BlockState
RedStoneWireBlock.getMissingConnections
(BlockGetter pLevel, BlockState pState, BlockPos pPos) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> pStateMap, BlockState pState, Supplier<BlockState> pSupplier) ChangeOverTimeBlock.getNext
(BlockState pState) default Optional
<BlockState> WeatheringCopper.getNext
(BlockState pState) default Optional
<BlockState> ChangeOverTimeBlock.getNextState
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected VoxelShape
FenceBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
FenceGateBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
LecternBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
PointedDripstoneBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
PowderSnowBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
SculkShriekerBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
SkullBlock.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) static OptionalInt
LeavesBlock.getOptionalDistanceAt
(BlockState pState) protected int
ComparatorBlock.getOutputSignal
(BlockGetter pLevel, BlockPos pPos, BlockState pState) protected int
DiodeBlock.getOutputSignal
(BlockGetter pLevel, BlockPos pPos, BlockState pState) AbstractCandleBlock.getParticleOffsets
(BlockState pState) CandleBlock.getParticleOffsets
(BlockState pState) CandleCakeBlock.getParticleOffsets
(BlockState pState) static SculkSensorPhase
SculkSensorBlock.getPhase
(BlockState pState) static Optional
<BlockState> WeatheringCopper.getPrevious
(BlockState pState) BaseRailBlock.getRailDirection
(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) protected RenderShape
AbstractFurnaceBlock.getRenderShape
(BlockState pState) protected RenderShape
AirBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BarrelBlock.getRenderShape
(BlockState pState) protected RenderShape
BarrierBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BaseEntityBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BeaconBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BedBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BeehiveBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BellBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BrewingStandBlock.getRenderShape
(BlockState pState) The type of render function called.BrushableBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BubbleColumnBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
CampfireBlock.getRenderShape
(BlockState pState) Deprecated.call viainvalid reference
IBlockState#getRenderType()
protected RenderShape
ChestBlock.getRenderShape
(BlockState pState) Deprecated.call viainvalid reference
IBlockState#getRenderType()
protected RenderShape
ChiseledBookShelfBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
CommandBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
ConduitBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
CrafterBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
DaylightDetectorBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
DispenserBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
EnchantingTableBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
EnderChestBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
GrindstoneBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
HopperBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
JukeboxBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
LecternBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
LightBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
LiquidBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
SculkCatalystBlock.getRenderShape
(BlockState p_222120_) protected RenderShape
SculkSensorBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
SculkShriekerBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
ShulkerBoxBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
SpawnerBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
StonecutterBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
StructureBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
StructureVoidBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
TrialSpawnerBlock.getRenderShape
(BlockState p_312710_) VaultBlock.getRenderShape
(BlockState p_324584_) static int
RespawnAnchorBlock.getScaledChargeLevel
(BlockState pState, int pScale) protected long
BedBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource)
, used for random model rotationsprotected long
DoorBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource)
, used for random model rotationsprotected long
DoublePlantBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource)
, used for random model rotationsprotected float
BarrierBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
LightBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
MudBlock.getShadeBrightness
(BlockState p_221552_, BlockGetter p_221553_, BlockPos p_221554_) protected float
SnowLayerBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
SoulSandBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
StructureVoidBlock.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected float
TransparentBlock.getShadeBrightness
(BlockState p_308911_, BlockGetter p_308952_, BlockPos p_308918_) protected VoxelShape
AbstractCauldronBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AirBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AmethystClusterBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AnvilBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AttachedStemBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
AzaleaBlock.getShape
(BlockState p_152084_, BlockGetter p_152085_, BlockPos p_152086_, CollisionContext p_152087_) protected VoxelShape
BambooSaplingBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BambooStalkBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BannerBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseCoralFanBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseCoralPlantBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseCoralPlantTypeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseCoralWallFanBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseFireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BasePressurePlateBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseRailBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BaseTorchBlock.getShape
(BlockState p_304673_, BlockGetter p_304919_, BlockPos p_304930_, CollisionContext p_304757_) protected VoxelShape
BedBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BeetrootBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BellBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BigDripleafBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BigDripleafStemBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BrewingStandBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
BubbleColumnBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ButtonBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CactusBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CakeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CampfireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CandleBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CandleCakeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CarpetBlock.getShape
(BlockState p_152917_, BlockGetter p_152918_, BlockPos p_152919_, CollisionContext p_152920_) protected VoxelShape
CarrotBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CeilingHangingSignBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ChainBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ChestBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CocoaBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ComposterBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ConduitBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CoralPlantBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CropBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
CrossCollisionBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DaylightDetectorBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DeadBushBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DecoratedPotBlock.getShape
(BlockState p_273112_, BlockGetter p_273055_, BlockPos p_273137_, CollisionContext p_273151_) protected VoxelShape
DiodeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DirtPathBlock.getShape
(BlockState p_153143_, BlockGetter p_153144_, BlockPos p_153145_, CollisionContext p_153146_) protected VoxelShape
DoorBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DragonEggBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
EnchantingTableBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
EnderChestBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
EndPortalBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
EndPortalFrameBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FarmBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FenceGateBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FlowerBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FlowerPotBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FrogspawnBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
FungusBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
GrindstoneBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
GrowingPlantBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
HangingRootsBlock.getShape
(BlockState p_153342_, BlockGetter p_153343_, BlockPos p_153344_, CollisionContext p_153345_) protected VoxelShape
HeavyCoreBlock.getShape
(BlockState p_334026_, BlockGetter p_334049_, BlockPos p_334056_, CollisionContext p_333870_) protected VoxelShape
HopperBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LadderBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LanternBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LecternBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LeverBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LightBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
LiquidBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MangrovePropaguleBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MultifaceBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MushroomBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
NetherPortalBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
NetherSproutsBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
NetherWartBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PiglinWallSkullBlock.getShape
(BlockState p_261765_, BlockGetter p_261604_, BlockPos p_261948_, CollisionContext p_261889_) PinkPetalsBlock.getShape
(BlockState p_273399_, BlockGetter p_273568_, BlockPos p_273314_, CollisionContext p_273274_) protected VoxelShape
PipeBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) PitcherCropBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PointedDripstoneBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PotatoBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
RedstoneWallTorchBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
RedStoneWireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
RodBlock.getShape
(BlockState p_154346_, BlockGetter p_154347_, BlockPos p_154348_, CollisionContext p_154349_) protected VoxelShape
RootsBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SaplingBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ScaffoldingBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SculkSensorBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SeagrassBlock.getShape
(BlockState p_154525_, BlockGetter p_154526_, BlockPos p_154527_, CollisionContext p_154528_) protected VoxelShape
SeaPickleBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
ShulkerBoxBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SignBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SkullBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SlabBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SmallDripleafBlock.getShape
(BlockState p_154610_, BlockGetter p_154611_, BlockPos p_154612_, CollisionContext p_154613_) SnifferEggBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SnowLayerBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SporeBlossomBlock.getShape
(BlockState p_154699_, BlockGetter p_154700_, BlockPos p_154701_, CollisionContext p_154702_) protected VoxelShape
StairBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
StemBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
StonecutterBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
StructureVoidBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SugarCaneBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SweetBerryBushBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TallGrassBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TallSeagrassBlock.getShape
(BlockState p_154763_, BlockGetter p_154764_, BlockPos p_154765_, CollisionContext p_154766_) TorchflowerCropBlock.getShape
(BlockState p_272748_, BlockGetter p_273408_, BlockPos p_272762_, CollisionContext p_272649_) protected VoxelShape
TrapDoorBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TripWireBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TripWireHookBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TurtleEggBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
VineBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallBannerBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallHangingSignBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallSignBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WallSkullBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) static VoxelShape
WallTorchBlock.getShape
(BlockState pState) protected VoxelShape
WallTorchBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
WaterlilyBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) private int
StairBlock.getShapeIndex
(BlockState pState) protected int
BasePressurePlateBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
ButtonBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.int
CalibratedSculkSensorBlock.getSignal
(BlockState p_277782_, BlockGetter p_277556_, BlockPos p_277903_, Direction p_278059_) protected int
DaylightDetectorBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
DetectorRailBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
DiodeBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.int
JukeboxBlock.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected int
LecternBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
LeverBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
LightningRodBlock.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected int
ObserverBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
PoweredBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
RedstoneTorchBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
RedstoneWallTorchBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
RedStoneWireBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
SculkSensorBlock.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected int
TargetBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
TrappedChestBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected int
TripWireHookBlock.getSignal
(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected abstract int
BasePressurePlateBlock.getSignalForState
(BlockState pState) Returns the signal encoded in the given block state.protected int
PressurePlateBlock.getSignalForState
(BlockState pState) Returns the signal encoded in the given block state.protected int
WeightedPressurePlateBlock.getSignalForState
(BlockState pState) Returns the signal encoded in the given block state.SignBlock.getSignHitboxCenterPosition
(BlockState pState) WallSignBlock.getSignHitboxCenterPosition
(BlockState pState) protected SoundType
DecoratedPotBlock.getSoundType
(BlockState p_277561_) MultifaceSpreader.getSpreadFromFaceTowardDirection
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection, Direction pFace, MultifaceSpreader.SpreadPredicate pPredicate) private static StairsShape
StairBlock.getStairsShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) Returns a stair shape property based on the surrounding stairs from the given blockstate and positionMultifaceBlock.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement
(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) static BlockState
ChorusPlantBlock.getStateWithConnections
(BlockGetter pLevel, BlockPos pPos, BlockState pState) <T extends BlockEntity>
BlockEntityTicker<T> AbstractSkullBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BeaconBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BeehiveBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BellBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BlastFurnaceBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BrewingStandBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> CalibratedSculkSensorBlock.getTicker
(Level p_277645_, BlockState p_278033_, BlockEntityType<T> p_277641_) <T extends BlockEntity>
BlockEntityTicker<T> CampfireBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> CeilingHangingSignBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> ChestBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> ConduitBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> CrafterBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> DaylightDetectorBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> EnchantingTableBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> EnderChestBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> EndGatewayBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) default <T extends BlockEntity>
BlockEntityTicker<T> EntityBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> FurnaceBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> HopperBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> JukeboxBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SculkCatalystBlock.getTicker
(Level p_222100_, BlockState p_222101_, BlockEntityType<T> p_222102_) <T extends BlockEntity>
BlockEntityTicker<T> SculkSensorBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SculkShriekerBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> ShulkerBoxBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SignBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SmokerBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SpawnerBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> TrialSpawnerBlock.getTicker
(Level p_311756_, BlockState p_312797_, BlockEntityType<T> p_312122_) <T extends BlockEntity>
BlockEntityTicker<T> VaultBlock.getTicker
(Level p_323525_, BlockState p_324070_, BlockEntityType<T> p_323541_) <T extends BlockEntity>
BlockEntityTicker<T> WallHangingSignBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) static Direction
JigsawBlock.getTopFacing
(BlockState pState) This represents the face that the line connector is on.private BlockState
VineBlock.getUpdatedState
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
FenceBlock.getVisualShape
(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShape
IronBarsBlock.getVisualShape
(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShape
MudBlock.getVisualShape
(BlockState p_221556_, BlockGetter p_221557_, BlockPos p_221558_, CollisionContext p_221559_) protected VoxelShape
PowderSnowBlock.getVisualShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SnowLayerBlock.getVisualShape
(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShape
SoulSandBlock.getVisualShape
(BlockState pState, BlockGetter pReader, BlockPos pPos, CollisionContext pContext) protected VoxelShape
TransparentBlock.getVisualShape
(BlockState p_309057_, BlockGetter p_308936_, BlockPos p_308956_, CollisionContext p_309006_) private VoxelShape
BellBlock.getVoxelShape
(BlockState pState) private VoxelShape
GrindstoneBlock.getVoxelShape
(BlockState pState) boolean
ComparatorBlock.getWeakChanges
(BlockState state, LevelReader world, BlockPos pos) private int
RedStoneWireBlock.getWireSignal
(BlockState pState) float
CeilingHangingSignBlock.getYRotationDegrees
(BlockState pState) abstract float
SignBlock.getYRotationDegrees
(BlockState pState) float
StandingSignBlock.getYRotationDegrees
(BlockState pState) float
WallHangingSignBlock.getYRotationDegrees
(BlockState pState) float
WallSignBlock.getYRotationDegrees
(BlockState pState) private void
PitcherCropBlock.grow
(ServerLevel pLevel, BlockState pState, BlockPos pPos, int pAgeIncrement) protected void
BambooStalkBlock.growBamboo
(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom, int pAge) void
CropBlock.growCrops
(Level pLevel, BlockPos pPos, BlockState pState) boolean
MushroomBlock.growMushroom
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) static void
PointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private void
LayeredCauldronBlock.handleEntityOnFireInside
(BlockState pState, Level pLevel, BlockPos pPos) void
Block.handlePrecipitation
(BlockState pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) void
CauldronBlock.handlePrecipitation
(BlockState pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) void
LayeredCauldronBlock.handlePrecipitation
(BlockState pState, Level pLevel, BlockPos pPos, Biome.Precipitation pPrecipitation) protected boolean
AbstractCauldronBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
AbstractFurnaceBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
BarrelBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
BeehiveBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
BrewingStandBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
CakeBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
CandleCakeBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
ChestBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
ChiseledBookShelfBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
CommandBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
ComposterBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
CopperBulbBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
CrafterBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
DecoratedPotBlock.hasAnalogOutputSignal
(BlockState p_305995_) protected boolean
DetectorRailBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
DispenserBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
EndPortalFrameBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
HopperBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
JukeboxBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
LecternBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
RespawnAnchorBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
SculkSensorBlock.hasAnalogOutputSignal
(BlockState pState) protected boolean
ShulkerBoxBlock.hasAnalogOutputSignal
(BlockState pState) protected static boolean
MultifaceBlock.hasAnyFace
(BlockState pState) private static boolean
MultifaceBlock.hasAnyVacantFace
(BlockState pState) static boolean
MultifaceBlock.hasFace
(BlockState pState, Direction pDirection) default boolean
MultifaceSpreader.SpreadConfig.hasFace
(BlockState pState, Direction pDirection) private boolean
VineBlock.hasFaces
(BlockState pState) static boolean
CaveVines.hasGlowBerries
(BlockState pState) private boolean
VineBlock.hasHorizontalConnection
(BlockState pState) protected boolean
RedstoneTorchBlock.hasNeighborSignal
(Level pLevel, BlockPos pPos, BlockState pState) protected boolean
RedstoneWallTorchBlock.hasNeighborSignal
(Level pLevel, BlockPos pPos, BlockState pState) static boolean
SculkVeinBlock.hasSubstrateAccess
(LevelAccessor pLevel, BlockState pState, BlockPos pPos) InfestedBlock.hostStateByInfested
(BlockState pInfested) static BlockState
InfestedBlock.infestedStateByHost
(BlockState pHost) static BlockState
ComposterBlock.insertItem
(Entity pEntity, BlockState pState, ServerLevel pLevel, ItemStack pStack, BlockPos pPos) private static void
RedStoneOreBlock.interact
(BlockState pState, Level pLevel, BlockPos pPos) boolean
AzaleaBlock.isBonemealSuccess
(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) boolean
BambooSaplingBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BambooStalkBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BigDripleafBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BigDripleafStemBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BonemealableBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
CaveVinesBlock.isBonemealSuccess
(Level p_220930_, RandomSource p_220931_, BlockPos p_220932_, BlockState p_220933_) boolean
CaveVinesPlantBlock.isBonemealSuccess
(Level p_220943_, RandomSource p_220944_, BlockPos p_220945_, BlockState p_220946_) boolean
CocoaBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
CropBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
FungusBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GlowLichenBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GrassBlock.isBonemealSuccess
(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) boolean
GrowingPlantBodyBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
GrowingPlantHeadBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MangroveLeavesBlock.isBonemealSuccess
(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) boolean
MangrovePropaguleBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MossBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
MushroomBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
NetherrackBlock.isBonemealSuccess
(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) boolean
NyliumBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
PinkPetalsBlock.isBonemealSuccess
(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) boolean
PitcherCropBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
RootedDirtBlock.isBonemealSuccess
(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) boolean
SaplingBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
SeagrassBlock.isBonemealSuccess
(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) boolean
SeaPickleBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
SmallDripleafBlock.isBonemealSuccess
(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) boolean
StemBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
SweetBerryBushBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
TallFlowerBlock.isBonemealSuccess
(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) boolean
TallGrassBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) protected boolean
BambooStalkBlock.isCollisionShapeFullBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
PointedDripstoneBlock.isCollisionShapeFullBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) static boolean
InfestedBlock.isCompatibleHostBlock
(BlockState pState) private static boolean
WallBlock.isConnected
(BlockState pState, Property<WallSide> pHeightProperty) private static boolean
RedStoneWireBlock.isCross
(BlockState pState) static boolean
SeaPickleBlock.isDead
(BlockState pState) static boolean
DiodeBlock.isDiode
(BlockState pState) private static boolean
RedStoneWireBlock.isDot
(BlockState pState) protected boolean
AbstractCauldronBlock.isEntityInsideContent
(BlockState pState, BlockPos pPos, Entity pEntity) static boolean
Block.isExceptionForConnection
(BlockState pState) boolean
BaseRailBlock.isFlexibleRail
(BlockState state, BlockGetter world, BlockPos pos) static boolean
FallingBlock.isFree
(BlockState pState) abstract boolean
AbstractCauldronBlock.isFull
(BlockState pState) boolean
CauldronBlock.isFull
(BlockState pState) boolean
LavaCauldronBlock.isFull
(BlockState p_153511_) boolean
LayeredCauldronBlock.isFull
(BlockState pState) private static boolean
MangrovePropaguleBlock.isFullyGrown
(BlockState pState) private static boolean
MangrovePropaguleBlock.isHanging
(BlockState pState) private boolean
WallHangingSignBlock.isHittingEditableSide
(BlockHitResult pHitResult, BlockState pState) boolean
TrapDoorBlock.isLadder
(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) static boolean
AbstractCandleBlock.isLit
(BlockState pState) static boolean
CampfireBlock.isLitCampfire
(BlockState pState) boolean
DiodeBlock.isLocked
(LevelReader pLevel, BlockPos pPos, BlockState pState) Check if neighboring blocks are locking this diode.boolean
RepeaterBlock.isLocked
(LevelReader pLevel, BlockPos pPos, BlockState pState) Check if neighboring blocks are locking this diode.private static boolean
PitcherCropBlock.isLower
(BlockState pState) final boolean
CropBlock.isMaxAge
(BlockState pState) boolean
GrowingPlantHeadBlock.isMaxAge
(BlockState pState) private boolean
PitcherCropBlock.isMaxAge
(BlockState pState) boolean
DoorBlock.isOpen
(BlockState pState) default boolean
MultifaceSpreader.SpreadConfig.isOtherBlockValidAsSource
(BlockState pOtherBlock) boolean
SculkVeinBlock.SculkVeinSpreaderConfig.isOtherBlockValidAsSource
(BlockState pOtherBlock) protected boolean
AbstractCauldronBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
AbstractSkullBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
AnvilBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
BambooStalkBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
BedBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
BellBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
BrewingStandBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
BushBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
CactusBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
CakeBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
CampfireBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
CandleCakeBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
ChainBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
ChestBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
ChorusPlantBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
CocoaBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
ComposterBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
ConduitBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
CrossCollisionBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
DecoratedPotBlock.isPathfindable
(BlockState p_276295_, PathComputationType p_276303_) protected boolean
DirtPathBlock.isPathfindable
(BlockState p_153138_, PathComputationType p_153141_) protected boolean
DoorBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
DragonEggBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
EnchantingTableBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
EnderChestBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
EndPortalFrameBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
FarmBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
FenceBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
FenceGateBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
FlowerPotBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
GrindstoneBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
HeavyCoreBlock.isPathfindable
(BlockState p_333758_, PathComputationType p_333728_) protected boolean
HopperBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
LanternBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
LecternBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
LiquidBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
MudBlock.isPathfindable
(BlockState p_221547_, PathComputationType p_221550_) protected boolean
PointedDripstoneBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
PowderSnowBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
RespawnAnchorBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
RodBlock.isPathfindable
(BlockState p_154341_, PathComputationType p_154344_) protected boolean
SculkSensorBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
SeaPickleBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
SlabBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) boolean
SnifferEggBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
SnowLayerBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
SoulSandBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
StairBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
StonecutterBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
TrapDoorBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
WallBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
WallHangingSignBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) private static boolean
PointedDripstoneBlock.isPointedDripstoneWithDirection
(BlockState pState, Direction pDir) boolean
AbstractBannerBlock.isPossibleToRespawnInThis
(BlockState pState) boolean
BasePressurePlateBlock.isPossibleToRespawnInThis
(BlockState pState) boolean
Block.isPossibleToRespawnInThis
(BlockState pState) boolean
SignBlock.isPossibleToRespawnInThis
(BlockState pState) private boolean
BellBlock.isProperHit
(BlockState pPos, Direction pDirection, double pDistanceY) static boolean
BaseRailBlock.isRail
(BlockState pState) protected boolean
BambooStalkBlock.isRandomlyTicking
(BlockState pState) protected boolean
ChorusFlowerBlock.isRandomlyTicking
(BlockState pState) Returns whether this block is of a type that needs random ticking.protected boolean
CocoaBlock.isRandomlyTicking
(BlockState pState) protected boolean
CropBlock.isRandomlyTicking
(BlockState pState) protected boolean
GrowingPlantHeadBlock.isRandomlyTicking
(BlockState pState) protected boolean
LeavesBlock.isRandomlyTicking
(BlockState pState) protected boolean
LiquidBlock.isRandomlyTicking
(BlockState pState) protected boolean
NetherWartBlock.isRandomlyTicking
(BlockState pState) boolean
PitcherCropBlock.isRandomlyTicking
(BlockState pState) protected boolean
RedStoneOreBlock.isRandomlyTicking
(BlockState pState) protected boolean
SweetBerryBushBlock.isRandomlyTicking
(BlockState pState) protected boolean
WeatheringCopperBulbBlock.isRandomlyTicking
(BlockState pState) protected boolean
WeatheringCopperDoorBlock.isRandomlyTicking
(BlockState pState) protected boolean
WeatheringCopperFullBlock.isRandomlyTicking
(BlockState pState) protected boolean
WeatheringCopperGrateBlock.isRandomlyTicking
(BlockState pState) protected boolean
WeatheringCopperSlabBlock.isRandomlyTicking
(BlockState pState) protected boolean
WeatheringCopperStairBlock.isRandomlyTicking
(BlockState pState) protected boolean
WeatheringCopperTrapDoorBlock.isRandomlyTicking
(BlockState pState) private boolean
SnifferEggBlock.isReadyToHatch
(BlockState pState) private boolean
FenceBlock.isSameFence
(BlockState pState) protected boolean
BasePressurePlateBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
ButtonBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
DaylightDetectorBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
DetectorRailBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
DiodeBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.boolean
JukeboxBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
LecternBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
LeverBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
LightningRodBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
ObserverBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
PoweredBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
RedstoneTorchBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
RedStoneWireBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
SculkSensorBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
TargetBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
TrappedChestBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected boolean
TripWireHookBlock.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.private boolean
CampfireBlock.isSmokeSource
(BlockState pState) private static boolean
SnowyDirtBlock.isSnowySetting
(BlockState pState) static boolean
StairBlock.isStairs
(BlockState pState) private static boolean
PointedDripstoneBlock.isStalactite
(BlockState pState) private static boolean
PointedDripstoneBlock.isStalactiteStartPos
(BlockState pState, LevelReader pLevel, BlockPos pPos) private static boolean
PointedDripstoneBlock.isStalagmite
(BlockState pState) abstract boolean
SupportType.isSupporting
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private static boolean
PointedDripstoneBlock.isTip
(BlockState pState, boolean pIsTipMerge) private static boolean
PointedDripstoneBlock.isUnmergedTipWithDirection
(BlockState pState, Direction pDir) boolean
AzaleaBlock.isValidBonemealTarget
(LevelReader p_256329_, BlockPos p_256107_, BlockState p_255771_) boolean
BambooSaplingBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BambooStalkBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BigDripleafBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BigDripleafStemBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BonemealableBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
CaveVinesBlock.isValidBonemealTarget
(LevelReader p_256026_, BlockPos p_152971_, BlockState p_152972_) boolean
CaveVinesPlantBlock.isValidBonemealTarget
(LevelReader p_255942_, BlockPos p_153012_, BlockState p_153013_) boolean
CocoaBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
CropBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
FungusBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
GlowLichenBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
GrassBlock.isValidBonemealTarget
(LevelReader p_256229_, BlockPos p_256432_, BlockState p_255677_) boolean
GrowingPlantBodyBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
GrowingPlantHeadBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MangroveLeavesBlock.isValidBonemealTarget
(LevelReader p_256534_, BlockPos p_256299_, BlockState p_255926_) boolean
MangrovePropaguleBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MossBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MushroomBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
NetherrackBlock.isValidBonemealTarget
(LevelReader p_256620_, BlockPos p_55003_, BlockState p_55004_) boolean
NyliumBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
PinkPetalsBlock.isValidBonemealTarget
(LevelReader p_272968_, BlockPos p_273762_, BlockState p_273662_) boolean
PitcherCropBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
RootedDirtBlock.isValidBonemealTarget
(LevelReader p_256100_, BlockPos p_255943_, BlockState p_255655_) boolean
SaplingBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
SeagrassBlock.isValidBonemealTarget
(LevelReader p_295512_, BlockPos p_154506_, BlockState p_154507_) boolean
SeaPickleBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
SmallDripleafBlock.isValidBonemealTarget
(LevelReader p_255772_, BlockPos p_154595_, BlockState p_154596_) boolean
StemBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
SweetBerryBushBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
TallFlowerBlock.isValidBonemealTarget
(LevelReader p_256234_, BlockPos p_57304_, BlockState p_57305_) boolean
TallGrassBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) static boolean
NetherVines.isValidGrowthState
(BlockState pState) boolean
MultifaceBlock.isValidStateForPlacement
(BlockGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection) private boolean
FenceGateBlock.isWall
(BlockState pState) static boolean
DoorBlock.isWoodenDoor
(BlockState pState) static void
LayeredCauldronBlock.lowerFillLevel
(BlockState pState, Level pLevel, BlockPos pPos) private static void
LeverBlock.makeParticle
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, float pAlpha) private BlockState
MultifaceBlock.mapDirections
(BlockState pState, Function<Direction, Direction> pDirectionalFunction) static void
PointedDripstoneBlock.maybeTransferFluid
(BlockState pState, ServerLevel pLevel, BlockPos pPos, float pRandChance) protected boolean
AttachedStemBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
AzaleaBlock.mayPlaceOn
(BlockState p_152089_, BlockGetter p_152090_, BlockPos p_152091_) protected boolean
BushBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
CropBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
DeadBushBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
FungusBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
MangrovePropaguleBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
MushroomBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
NetherSproutsBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
NetherWartBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
PitcherCropBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
RootsBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
SeagrassBlock.mayPlaceOn
(BlockState p_154539_, BlockGetter p_154540_, BlockPos p_154541_) protected boolean
SeaPickleBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
SmallDripleafBlock.mayPlaceOn
(BlockState p_154636_, BlockGetter p_154637_, BlockPos p_154638_) protected boolean
StemBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
TallSeagrassBlock.mayPlaceOn
(BlockState p_154774_, BlockGetter p_154775_, BlockPos p_154776_) protected boolean
WaterlilyBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
WitherRoseBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected void
IceBlock.melt
(BlockState pState, Level pLevel, BlockPos pPos) protected BlockState
AbstractFurnaceBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
AmethystClusterBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
AttachedStemBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BannerBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BarrelBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BaseCoralWallFanBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.BeehiveBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.BellBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.CalibratedSculkSensorBlock.mirror
(BlockState p_277615_, Mirror p_277916_) protected BlockState
CampfireBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CeilingHangingSignBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
ChestBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.ChiseledBookShelfBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CommandBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CrafterBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CrossCollisionBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DecoratedPotBlock.mirror
(BlockState p_334078_, Mirror p_333905_) protected BlockState
DetectorRailBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DispenserBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DoorBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
EnderChestBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
EndPortalFrameBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
GrindstoneBlock.mirror
(BlockState pState, Mirror pMirror) protected BlockState
HopperBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
HorizontalDirectionalBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
HugeMushroomBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
JigsawBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
LadderBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
LecternBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
MultifaceBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
ObserverBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.PinkPetalsBlock.mirror
(BlockState p_272961_, Mirror p_273278_) protected BlockState
PoweredRailBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RailBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RedstoneWallTorchBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RedStoneWireBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RodBlock.mirror
(BlockState p_154351_, Mirror p_154352_) protected BlockState
ShulkerBoxBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
SkullBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
SmallDripleafBlock.mirror
(BlockState p_154619_, Mirror p_154620_) protected BlockState
StairBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
StandingSignBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
StonecutterBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
TripWireBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
TripWireHookBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.VaultBlock.mirror
(BlockState p_323894_, Mirror p_324242_) protected BlockState
VineBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallBannerBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallHangingSignBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallSignBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallSkullBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallTorchBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected void
AbstractSkullBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected void
BaseRailBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
BellBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
BigDripleafBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected void
CommandBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
CopperBulbBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected void
CrafterBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected void
DiodeBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
DispenserBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
DoorBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
FenceGateBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
FrostedIceBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
HopperBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
LiquidBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
NoteBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
RedstoneLampBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
RedstoneTorchBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
RedStoneWireBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
SpongeBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
StructureBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
TntBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
TrapDoorBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) private static boolean
Blocks.never
(BlockState p_50806_, BlockGetter p_50807_, BlockPos p_50808_) static Boolean
Blocks.never
(BlockState p_50779_, BlockGetter p_50780_, BlockPos p_50781_, EntityType<?> p_50782_) AbstractBannerBlock.newBlockEntity
(BlockPos pPos, BlockState pState) AbstractSkullBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BarrelBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BeaconBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BedBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BeehiveBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BellBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BlastFurnaceBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BrewingStandBlock.newBlockEntity
(BlockPos pPos, BlockState pState) BrushableBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CalibratedSculkSensorBlock.newBlockEntity
(BlockPos p_277925_, BlockState p_277938_) CampfireBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CeilingHangingSignBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ChestBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ChiseledBookShelfBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CommandBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ComparatorBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ConduitBlock.newBlockEntity
(BlockPos pPos, BlockState pState) CrafterBlock.newBlockEntity
(BlockPos pPos, BlockState pState) DaylightDetectorBlock.newBlockEntity
(BlockPos pPos, BlockState pState) DecoratedPotBlock.newBlockEntity
(BlockPos p_273396_, BlockState p_272674_) DispenserBlock.newBlockEntity
(BlockPos pPos, BlockState pState) DropperBlock.newBlockEntity
(BlockPos p_153179_, BlockState p_153180_) EnchantingTableBlock.newBlockEntity
(BlockPos pPos, BlockState pState) EnderChestBlock.newBlockEntity
(BlockPos pPos, BlockState pState) EndGatewayBlock.newBlockEntity
(BlockPos pPos, BlockState pState) EndPortalBlock.newBlockEntity
(BlockPos pPos, BlockState pState) EntityBlock.newBlockEntity
(BlockPos pPos, BlockState pState) FurnaceBlock.newBlockEntity
(BlockPos pPos, BlockState pState) HopperBlock.newBlockEntity
(BlockPos pPos, BlockState pState) JigsawBlock.newBlockEntity
(BlockPos pPos, BlockState pState) JukeboxBlock.newBlockEntity
(BlockPos pPos, BlockState pState) LecternBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SculkCatalystBlock.newBlockEntity
(BlockPos p_222117_, BlockState p_222118_) SculkSensorBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SculkShriekerBlock.newBlockEntity
(BlockPos pPos, BlockState pState) ShulkerBoxBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SignBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SmokerBlock.newBlockEntity
(BlockPos pPos, BlockState pState) SpawnerBlock.newBlockEntity
(BlockPos pPos, BlockState pState) StructureBlock.newBlockEntity
(BlockPos pPos, BlockState pState) TrappedChestBlock.newBlockEntity
(BlockPos pPos, BlockState pState) TrialSpawnerBlock.newBlockEntity
(BlockPos p_311941_, BlockState p_312821_) VaultBlock.newBlockEntity
(BlockPos p_324543_, BlockState p_323652_) WallHangingSignBlock.newBlockEntity
(BlockPos pPos, BlockState pState) static Boolean
Blocks.ocelotOrParrot
(BlockState p_50822_, BlockGetter p_50823_, BlockPos p_50824_, EntityType<?> p_50825_) void
TntBlock.onCaughtFire
(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) default void
SculkBehaviour.onDischarged
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) void
SculkVeinBlock.onDischarged
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) protected void
AbstractCandleBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BellBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
ButtonBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
DoorBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
FenceGateBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
LeverBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
TrapDoorBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) boolean
BellBlock.onHit
(Level pLevel, BlockState pState, BlockHitResult pResult, Player pPlayer, boolean pCanRingBell) void
AnvilBlock.onLand
(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) void
ConcretePowderBlock.onLand
(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) default void
Fallable.onLand
(Level pLevel, BlockPos pPos, BlockState pState, BlockState pReplaceableState, FallingBlockEntity pFallingBlock) void
LightningRodBlock.onLightningStrike
(BlockState pState, Level pLevel, BlockPos pPos) void
ComparatorBlock.onNeighborChange
(BlockState state, LevelReader world, BlockPos pos, BlockPos neighbor) void
AbstractCauldronBlock.onPlace
(BlockState p_51978_, Level p_51979_, BlockPos p_51980_, BlockState p_51981_, boolean p_51982_) protected void
BaseFireBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
BaseRailBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) void
BrushableBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
CarvedPumpkinBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
ComposterBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
CopperBulbBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
CoralFanBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
CoralPlantBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
CoralWallFanBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
DetectorRailBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
DiodeBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
FallingBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
FireBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
FrogspawnBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) void
FrostedIceBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
HopperBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
LightningRodBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
LiquidBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
MagmaBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
ObserverBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
RedstoneTorchBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
RedStoneWireBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
ScaffoldingBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
SculkSensorBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) void
SnifferEggBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
SoulSandBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
SpongeBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
TargetBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
TntBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
TripWireBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
TurtleEggBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
WetSpongeBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
AbstractCandleBlock.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) protected void
AmethystBlock.onProjectileHit
(Level p_152001_, BlockState p_152002_, BlockHitResult p_152003_, Projectile p_152004_) protected void
BellBlock.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) protected void
BigDripleafBlock.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) protected void
CampfireBlock.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) protected void
ChorusFlowerBlock.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) protected void
DecoratedPotBlock.onProjectileHit
(Level p_306322_, BlockState p_306005_, BlockHitResult p_306105_, Projectile p_305851_) protected void
PointedDripstoneBlock.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) protected void
TargetBlock.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) protected void
TntBlock.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) void
AbstractCauldronBlock.onRemove
(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected void
AbstractFurnaceBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
BarrelBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
BasePressurePlateBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
BaseRailBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
BrewingStandBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
ButtonBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
CampfireBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
ChestBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
ChiseledBookShelfBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected void
ComposterBlock.onRemove
(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected void
CrafterBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected void
DecoratedPotBlock.onRemove
(BlockState p_305821_, Level p_306245_, BlockPos p_305894_, BlockState p_306294_, boolean p_306159_) protected void
DiodeBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
DispenserBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
HopperBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
JukeboxBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
LecternBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
LeverBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
LightningRodBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected void
ObserverBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
RedstoneTorchBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
RedStoneWireBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
SculkSensorBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected void
SculkShriekerBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected void
ShulkerBoxBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
TripWireBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
TripWireHookBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) void
AzaleaBlock.performBonemeal
(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) void
BambooSaplingBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BambooStalkBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BigDripleafBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BigDripleafStemBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BonemealableBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
CaveVinesBlock.performBonemeal
(ServerLevel p_220923_, RandomSource p_220924_, BlockPos p_220925_, BlockState p_220926_) void
CaveVinesPlantBlock.performBonemeal
(ServerLevel p_220938_, RandomSource p_220939_, BlockPos p_220940_, BlockState p_220941_) void
CocoaBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
CropBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
FungusBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GlowLichenBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GrassBlock.performBonemeal
(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) void
GrowingPlantBodyBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
GrowingPlantHeadBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MangroveLeavesBlock.performBonemeal
(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) void
MangrovePropaguleBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MossBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
MushroomBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
NetherrackBlock.performBonemeal
(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) void
NyliumBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
PinkPetalsBlock.performBonemeal
(ServerLevel p_273476_, RandomSource p_273093_, BlockPos p_272601_, BlockState p_272683_) void
PitcherCropBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
RootedDirtBlock.performBonemeal
(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) void
SaplingBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
SeagrassBlock.performBonemeal
(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) void
SeaPickleBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
SmallDripleafBlock.performBonemeal
(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) void
StemBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
SweetBerryBushBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
TallFlowerBlock.performBonemeal
(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) void
TallGrassBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) BarrierBlock.pickupBlock
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BubbleColumnBlock.pickupBlock
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BucketPickup.pickupBlock
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) LiquidBlock.pickupBlock
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) PowderSnowBlock.pickupBlock
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) default ItemStack
SimpleWaterloggedBlock.pickupBlock
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) static void
DoublePlantBlock.placeAt
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, int pFlags) default boolean
MultifaceSpreader.SpreadConfig.placeBlock
(LevelAccessor pLevel, MultifaceSpreader.SpreadPos pPos, BlockState pState, boolean pMarkForPostprocessing) private static void
LecternBlock.placeBook
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockState pState, ItemStack pStack) boolean
CampfireBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
CandleBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
KelpBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
KelpPlantBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
LiquidBlockContainer.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
SeagrassBlock.placeLiquid
(LevelAccessor p_154520_, BlockPos p_154521_, BlockState p_154522_, FluidState p_154523_) default boolean
SimpleWaterloggedBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
SlabBlock.placeLiquid
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) boolean
TallSeagrassBlock.placeLiquid
(LevelAccessor p_154758_, BlockPos p_154759_, BlockState p_154760_, FluidState p_154761_) void
BeehiveBlock.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.void
Block.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pBlockEntity, ItemStack pTool) Called after a player has successfully harvested this block.void
DoublePlantBlock.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.void
IceBlock.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.void
TurtleEggBlock.playerDestroy
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState, BlockEntity pTe, ItemStack pStack) Called after a player has successfully harvested this block.BaseFireBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) BedBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) BeehiveBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) Block.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) DecoratedPotBlock.playerWillDestroy
(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) DoublePlantBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) ShulkerBoxBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) TntBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) TripWireBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) private void
NoteBlock.playNote
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) protected static void
LeverBlock.playSound
(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) private void
LecternBlock.popBook
(BlockState pState, Level pLevel, BlockPos pPos) void
ButtonBlock.press
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected static void
DoublePlantBlock.preventDropFromBottomPart
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) protected boolean
BambooStalkBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
BarrierBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
BushBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
CrossCollisionBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
GlowLichenBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
LightBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
LiquidBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
PipeBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) protected boolean
ShulkerBoxBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
TintedGlassBlock.propagatesSkylightDown
(BlockState p_154824_, BlockGetter p_154825_, BlockPos p_154826_) protected boolean
TransparentBlock.propagatesSkylightDown
(BlockState p_309084_, BlockGetter p_309133_, BlockPos p_309097_) protected boolean
VineBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
WallBlock.propagatesSkylightDown
(BlockState pState, BlockGetter pReader, BlockPos pPos) void
LeverBlock.pull
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) static BlockState
Block.pushEntitiesUp
(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos) protected void
BambooSaplingBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BambooStalkBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BeetrootBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
BuddingAmethystBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CactusBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
ChorusFlowerBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CocoaBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
CropBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
FarmBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
GrowingPlantHeadBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
IceBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
LeavesBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
LiquidBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
MangrovePropaguleBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
MushroomBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NetherPortalBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NetherWartBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
NyliumBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.void
PitcherCropBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
PointedDripstoneBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
RedStoneOreBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SaplingBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SnowLayerBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SpreadingSnowyDirtBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
StemBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SugarCaneBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
SweetBerryBushBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.void
TorchflowerCropBlock.randomTick
(BlockState p_273361_, ServerLevel p_273515_, BlockPos p_273546_, RandomSource p_273261_) protected void
TurtleEggBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
VineBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperBulbBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperDoorBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperFullBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperGrateBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperSlabBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperStairBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
WeatheringCopperTrapDoorBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
AbstractCauldronBlock.receiveStalactiteDrip
(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) protected void
CauldronBlock.receiveStalactiteDrip
(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) protected void
LayeredCauldronBlock.receiveStalactiteDrip
(BlockState pState, Level pLevel, BlockPos pPos, Fluid pFluid) private void
ComparatorBlock.refreshOutputState
(Level pLevel, BlockPos pPos, BlockState pState) protected final void
Block.registerDefaultState
(BlockState pState) static boolean
SculkVeinBlock.regrow
(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections) void
BeehiveBlock.releaseBeesAndResetHoneyLevel
(Level pLevel, BlockState pState, BlockPos pPos, Player pPlayer, BeehiveBlockEntity.BeeReleaseStatus pBeeReleaseStatus) private static BlockState
MultifaceBlock.removeFace
(BlockState pState, BooleanProperty pFaceProp) static void
LecternBlock.resetBookState
(Entity pEntity, Level pLevel, BlockPos pPos, BlockState pState, boolean pHasBook) void
BeehiveBlock.resetHoneyLevel
(Level pLevel, BlockState pState, BlockPos pPos) private static void
BigDripleafBlock.resetTilt
(BlockState pState, Level pLevel, BlockPos pPos) protected BlockState
AbstractFurnaceBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AmethystClusterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AnvilBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AttachedStemBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BannerBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BarrelBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BaseCoralWallFanBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.BeehiveBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.BellBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.CalibratedSculkSensorBlock.rotate
(BlockState p_277545_, Rotation p_277482_) protected BlockState
CampfireBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CeilingHangingSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ChestBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.ChiseledBookShelfBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CommandBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrafterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrossCollisionBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DecoratedPotBlock.rotate
(BlockState p_333895_, Rotation p_333806_) protected BlockState
DetectorRailBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DispenserBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DoorBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EnderChestBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EndPortalFrameBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
GrindstoneBlock.rotate
(BlockState pState, Rotation pRotation) protected BlockState
HopperBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HorizontalDirectionalBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HugeMushroomBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
InfestedRotatedPillarBlock.rotate
(BlockState p_153443_, Rotation p_153444_) protected BlockState
JigsawBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LadderBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LecternBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
MultifaceBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
NetherPortalBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ObserverBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.PinkPetalsBlock.rotate
(BlockState p_273485_, Rotation p_273021_) protected BlockState
PoweredRailBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RailBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedstoneWallTorchBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedStoneWireBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RodBlock.rotate
(BlockState p_154354_, Rotation p_154355_) protected BlockState
RotatedPillarBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ShulkerBoxBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SkullBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SmallDripleafBlock.rotate
(BlockState p_154622_, Rotation p_154623_) protected BlockState
StairBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StandingSignBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StonecutterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireHookBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.VaultBlock.rotate
(BlockState p_324232_, Rotation p_324443_) protected BlockState
VineBlock.rotate
(BlockState pState, Rotation pRotate) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBannerBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallHangingSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSkullBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallTorchBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.static BlockState
RotatedPillarBlock.rotatePillar
(BlockState pState, Rotation pRotation) protected static boolean
BaseCoralPlantTypeBlock.scanForWater
(BlockState pState, BlockGetter pLevel, BlockPos pPos) private BlockState
NoteBlock.setInstrument
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) private static void
AbstractCandleBlock.setLit
(LevelAccessor pLevel, BlockState pState, BlockPos pPos, boolean pLit) void
DoorBlock.setOpen
(Entity pEntity, Level pLevel, BlockState pState, BlockPos pPos, boolean pOpen) private static void
TargetBlock.setOutputPower
(LevelAccessor pLevel, BlockState pState, int pPower, BlockPos pPos, int pWaitTime) void
BedBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
Block.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
CommandBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
CrafterBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
DiodeBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
DoorBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
DoublePlantBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
JukeboxBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
PitcherCropBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
SmallDripleafBlock.setPlacedBy
(Level p_154599_, BlockPos p_154600_, BlockState p_154601_, LivingEntity p_154602_, ItemStack p_154603_) void
StructureBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
TripWireHookBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
WitherSkullBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.void
WitherWallSkullBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by ItemBlocks after a block is set in the world, to allow post-place logicprotected abstract BlockState
BasePressurePlateBlock.setSignalForState
(BlockState pState, int pSignal) Returns the block state that encodes the given signal.protected BlockState
PressurePlateBlock.setSignalForState
(BlockState pState, int pStrength) Returns the block state that encodes the given signal.protected BlockState
WeightedPressurePlateBlock.setSignalForState
(BlockState pState, int pStrength) Returns the block state that encodes the given signal.private static void
BigDripleafBlock.setTilt
(BlockState pState, Level pLevel, BlockPos pPos, Tilt pTilt) private void
BigDripleafBlock.setTiltAndScheduleTick
(BlockState pState, Level pLevel, BlockPos pPos, Tilt pTilt, SoundEvent pSound) protected static boolean
RedStoneWireBlock.shouldConnectTo
(BlockState pState) protected static boolean
RedStoneWireBlock.shouldConnectTo
(BlockState pState, Direction pDirection) boolean
TripWireBlock.shouldConnectTo
(BlockState pState, Direction pDirection) boolean
DiodeBlock.shouldPrioritize
(BlockGetter pLevel, BlockPos pPos, BlockState pState) Check if this diode should have a higher tick priority than default.private boolean
WallBlock.shouldRaisePost
(BlockState pState, BlockState pNeighbour, VoxelShape pShape) static boolean
Block.shouldRenderFace
(BlockState pState, BlockGetter pLevel, BlockPos pOffset, Direction pFace, BlockPos pPos) private static boolean
ConcretePowderBlock.shouldSolidify
(BlockGetter pLevel, BlockPos pPos, BlockState pState) private static boolean
ConcretePowderBlock.shouldSolidify
(BlockGetter pLevel, BlockPos pPos, BlockState pState, FluidState fluidState) private boolean
LiquidBlock.shouldSpreadLiquid
(Level pLevel, BlockPos pPos, BlockState pState) Deprecated.private boolean
WallHangingSignBlock.shouldTryToChainAnotherHangingSign
(BlockState pState, Player pPlayer, BlockHitResult pHitResult, SignBlockEntity pSign, ItemStack pStack) protected boolean
ComparatorBlock.shouldTurnOn
(Level pLevel, BlockPos pPos, BlockState pState) protected boolean
DiodeBlock.shouldTurnOn
(Level pLevel, BlockPos pPos, BlockState pState) private BlockState
WallBlock.sideUpdate
(LevelReader pLevel, BlockPos pFirstPos, BlockState pFirstState, BlockPos pSecondPos, BlockState pSecondState, Direction pDir) static void
LecternBlock.signalPageChange
(Level pLevel, BlockPos pPos, BlockState pState) protected boolean
HalfTransparentBlock.skipRendering
(BlockState pState, BlockState pAdjacentBlockState, Direction pSide) protected boolean
IronBarsBlock.skipRendering
(BlockState pState, BlockState pAdjacentBlockState, Direction pSide) protected boolean
LiquidBlock.skipRendering
(BlockState pState, BlockState pAdjacentBlockState, Direction pSide) protected boolean
MangroveRootsBlock.skipRendering
(BlockState p_221510_, BlockState p_221511_, Direction p_221512_) protected boolean
PowderSnowBlock.skipRendering
(BlockState pState, BlockState pAdjacentState, Direction pDirection) private boolean
FrostedIceBlock.slightlyMelt
(BlockState pState, Level pLevel, BlockPos pPos) protected void
DropExperienceBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
InfestedBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
RedStoneOreBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
SculkCatalystBlock.spawnAfterBreak
(BlockState p_222109_, ServerLevel p_222110_, BlockPos p_222111_, ItemStack p_222112_, boolean p_222113_) protected void
SculkSensorBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
SculkShriekerBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
SpawnerBlock.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
BaseFireBlock.spawnDestroyParticles
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState) protected void
Block.spawnDestroyParticles
(Level pLevel, Player pPlayer, BlockPos pPos, BlockState pState) static void
PointedDripstoneBlock.spawnDripParticle
(Level pLevel, BlockPos pPos, BlockState pState) private static void
PointedDripstoneBlock.spawnDripParticle
(Level pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private static void
PointedDripstoneBlock.spawnFallingStalactite
(BlockState pState, ServerLevel pLevel, BlockPos pPos) long
MultifaceSpreader.spreadAll
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, boolean pMarkForPostprocessing) private long
MultifaceSpreader.spreadFromFaceTowardAllDirections
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromFaceTowardDirection
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, Direction pFace, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromFaceTowardRandomDirection
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, RandomSource pRandom, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected boolean
MultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced
(BlockGetter pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) boolean
SculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced
(BlockGetter pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) void
Block.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
MagmaBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
RedStoneOreBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
SculkSensorBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
SculkShriekerBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
SlimeBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) void
TurtleEggBlock.stepOn
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity) private void
DragonEggBlock.teleport
(BlockState pState, Level pLevel, BlockPos pPos) protected void
AbstractCauldronBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BambooStalkBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BarrelBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BasePressurePlateBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BigDripleafBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BigDripleafStemBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
BrushableBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
BubbleColumnBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ButtonBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CactusBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChestBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChorusFlowerBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ChorusPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CommandBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ComparatorBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ComposterBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralFanBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CoralWallFanBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
CrafterBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DetectorRailBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DiodeBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
DirtPathBlock.tick
(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected void
DispenserBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
EnderChestBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FallingBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FarmBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FireBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FrogspawnBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
FrostedIceBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
GrowingPlantBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LeavesBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LecternBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
LightningRodBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
MagmaBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ObserverBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
PointedDripstoneBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
RedstoneLampBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
RedstoneTorchBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
ScaffoldingBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SculkCatalystBlock.tick
(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected void
SculkSensorBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SculkShriekerBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) void
SnifferEggBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SoulSandBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
SugarCaneBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TargetBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TripWireBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
TripWireHookBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) private static void
DaylightDetectorBlock.tickEntity
(Level p_153113_, BlockPos p_153114_, BlockState p_153115_, DaylightDetectorBlockEntity p_153116_) private void
TrapDoorBlock.toggle
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) private BlockState
WallBlock.topUpdate
(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pSecondState) private static boolean
ConcretePowderBlock.touchesLiquid
(BlockGetter pLevel, BlockPos pPos, BlockState state) protected boolean
BaseEntityBlock.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected boolean
ComparatorBlock.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected boolean
NoteBlock.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.static boolean
LecternBlock.tryPlaceBook
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockState pState, ItemStack pStack) protected void
BaseCoralPlantTypeBlock.tryScheduleDieTick
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) private void
BeehiveBlock.trySpawnDripParticles
(Level pLevel, BlockPos pPos, BlockState pState) static void
FarmBlock.turnToDirt
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) private static void
LecternBlock.updateBelow
(Level pLevel, BlockPos pPos, BlockState pState) protected BlockState
CaveVinesBlock.updateBodyAfterConvertedFromHead
(BlockState p_152987_, BlockState p_152988_) protected BlockState
GrowingPlantHeadBlock.updateBodyAfterConvertedFromHead
(BlockState pHead, BlockState pBody) static void
BubbleColumnBlock.updateColumn
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) static void
BubbleColumnBlock.updateColumn
(LevelAccessor pLevel, BlockPos pPos, BlockState pFluid, BlockState pState) protected BlockState
BaseRailBlock.updateDir
(Level pLevel, BlockPos pPos, BlockState pState, boolean pAlwaysPlace) private static BlockState
LeavesBlock.updateDistance
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockState
Block.updateFromNeighbourShapes
(BlockState pCurrentState, LevelAccessor pLevel, BlockPos pPos) With the provided block state, performs neighbor checks for all neighboring blocks to get an "adjusted" blockstate for placement in the world, if the current state is not valid.protected BlockState
CaveVinesPlantBlock.updateHeadAfterConvertedFromBody
(BlockState p_153028_, BlockState p_153029_) protected BlockState
GrowingPlantBodyBlock.updateHeadAfterConvertedFromBody
(BlockState pHead, BlockState pBody) protected void
RedStoneWireBlock.updateIndirectNeighbourShapes
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) Updates the shapes of indirect neighbors of this block.protected void
DiodeBlock.updateNeighborsInFront
(Level pLevel, BlockPos pPos, BlockState pState) protected void
ObserverBlock.updateNeighborsInFront
(Level pLevel, BlockPos pPos, BlockState pState) private void
ButtonBlock.updateNeighbours
(BlockState pState, Level pLevel, BlockPos pPos) private void
LeverBlock.updateNeighbours
(BlockState pState, Level pLevel, BlockPos pPos) private void
LightningRodBlock.updateNeighbours
(BlockState pState, Level pLevel, BlockPos pPos) private static void
SculkSensorBlock.updateNeighbours
(Level pLevel, BlockPos pPos, BlockState pState) static void
Block.updateOrDestroy
(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, int pFlags) Replaces oldState with newState, possibly playing effects and creating drops.static void
Block.updateOrDestroy
(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) private void
RedStoneWireBlock.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState) protected void
DetectorRailBlock.updatePowerToConnected
(Level pLevel, BlockPos pPos, BlockState pState, boolean pPowered) private static int
TargetBlock.updateRedstoneOutput
(LevelAccessor pLevel, BlockState pState, BlockHitResult pHit, Entity pProjectile) protected BlockState
AmethystClusterBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
AttachedStemBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockState
BambooSaplingBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BambooStalkBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BannerBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BarrierBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BasePressurePlateBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseRailBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, Direction p_304475_, BlockState p_304669_, LevelAccessor p_304637_, BlockPos p_304633_, BlockPos p_304603_) protected BlockState
BedBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BeehiveBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BellBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BigDripleafBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BigDripleafStemBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BubbleColumnBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BushBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CactusBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CakeBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CampfireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CandleBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CandleCakeBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockState
ChainBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ChestBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockState
ChorusFlowerBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ChorusPlantBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CocoaBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ConcretePowderBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockState
ConduitBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralFanBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralPlantBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralWallFanBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) protected BlockState
DoorBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
DoublePlantBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
EnderChestBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FallingBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FarmBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FenceBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FenceGateBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FlowerPotBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FrogspawnBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GlowLichenBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, Direction p_338189_, BlockState p_338723_, LevelAccessor p_338514_, BlockPos p_338346_, BlockPos p_338401_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
IronBarsBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LadderBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LanternBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LeavesBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LightBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LightningRodBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LiquidBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MagmaBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) protected BlockState
MultifaceBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
NetherPortalBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
NoteBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ObserverBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
PointedDripstoneBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RedStoneWireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RepeaterBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ScaffoldingBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkSensorBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkShriekerBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkVeinBlock.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) protected BlockState
SeaPickleBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SlabBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) protected BlockState
SnowLayerBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SnowyDirtBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SoulFireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SoulSandBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) protected BlockState
StairBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
StandingSignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SugarCaneBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TrapDoorBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TripWireBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TripWireHookBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
VineBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallBannerBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.private BlockState
WallBlock.updateShape
(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pNeighbour, boolean pNorthConnection, boolean pEastConnection, boolean pSouthConnection, boolean pWestConnection) protected BlockState
WallHangingSignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallSignBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallTorchBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, Direction p_313739_, BlockState p_313829_, LevelAccessor p_313692_, BlockPos p_313842_, BlockPos p_313843_) private BlockState
WallBlock.updateSides
(BlockState pState, boolean pNorthConnection, boolean pEastConnection, boolean pSouthConnection, boolean pWestConnection, VoxelShape pWallShape) private static void
DaylightDetectorBlock.updateSignalStrength
(BlockState pState, Level pLevel, BlockPos pPos) private void
RedStoneWireBlock.updatesOnShapeChange
(Level pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState) private void
TripWireBlock.updateSource
(Level pLevel, BlockPos pPos, BlockState pState) protected BlockState
BaseRailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BaseRailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock) protected void
PoweredRailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock) protected void
RailBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock) static InteractionResult
CaveVines.use
(Entity pEntity, BlockState pState, Level pLevel, BlockPos pPos) protected ItemInteractionResult
AbstractCauldronBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
BeehiveBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
CakeBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
CampfireBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
CandleBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
CandleCakeBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
CeilingHangingSignBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
ChiseledBookShelfBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
ComposterBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
DecoratedPotBlock.useItemOn
(ItemStack p_316569_, BlockState p_316562_, Level p_316177_, BlockPos p_316898_, Player p_316632_, InteractionHand p_316424_, BlockHitResult p_316345_) protected ItemInteractionResult
FenceBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
FlowerPotBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
JukeboxBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
LecternBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
NoteBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
PumpkinBlock.useItemOn
(ItemStack p_316383_, BlockState p_316676_, Level p_316272_, BlockPos p_316484_, Player p_316367_, InteractionHand p_316216_, BlockHitResult p_316827_) protected ItemInteractionResult
RedStoneOreBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
RespawnAnchorBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
SignBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
SweetBerryBushBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected ItemInteractionResult
TntBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) VaultBlock.useItemOn
(ItemStack p_324161_, BlockState p_323816_, Level p_324403_, BlockPos p_324623_, Player p_324219_, InteractionHand p_324416_, BlockHitResult p_324261_) protected ItemInteractionResult
WallHangingSignBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected boolean
DaylightDetectorBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
DirtPathBlock.useShapeForLightOcclusion
(BlockState p_153159_) protected boolean
EnchantingTableBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
EndPortalFrameBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
FarmBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
LecternBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
SculkSensorBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
SculkShriekerBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
SlabBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
SnowLayerBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
StairBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
StonecutterBlock.useShapeForLightOcclusion
(BlockState pState) protected InteractionResult
AbstractFurnaceBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
AnvilBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BarrelBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BeaconBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BedBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BellBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
BrewingStandBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ButtonBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CakeBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CandleCakeBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CartographyTableBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CaveVinesBlock.useWithoutItem
(BlockState p_152980_, Level p_152981_, BlockPos p_152982_, Player p_152983_, BlockHitResult p_152985_) protected InteractionResult
CaveVinesPlantBlock.useWithoutItem
(BlockState p_153021_, Level p_153022_, BlockPos p_153023_, Player p_153024_, BlockHitResult p_153026_) protected InteractionResult
ChestBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ChiseledBookShelfBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CommandBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ComparatorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ComposterBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CrafterBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
CraftingTableBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
DaylightDetectorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
DecoratedPotBlock.useWithoutItem
(BlockState p_316866_, Level p_316544_, BlockPos p_316541_, Player p_316732_, BlockHitResult p_316860_) protected InteractionResult
DispenserBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
DoorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
DragonEggBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
EnchantingTableBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
EnderChestBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
FenceBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
FenceGateBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
FletchingTableBlock.useWithoutItem
(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, BlockHitResult p_53506_) protected InteractionResult
FlowerPotBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
GrindstoneBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
HopperBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
JigsawBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
JukeboxBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
LecternBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
LeverBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
LightBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
LoomBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
NoteBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
RedStoneWireBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
RepeaterBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
RespawnAnchorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
ShulkerBoxBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
SignBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
SmithingTableBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
StonecutterBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
StructureBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
SweetBerryBushBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
TrapDoorBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) final BlockState
Block.withPropertiesOf
(BlockState pState) Method parameters in net.minecraft.world.level.block with type arguments of type BlockStateModifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour
(BlockEntityType<S> pBlockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> pDoubleBlockTypeGetter, Function<BlockState, Direction> pDirectionGetter, DirectionProperty pDirectionProperty, BlockState pState, LevelAccessor pLevel, BlockPos pPos, BiPredicate<LevelAccessor, BlockPos> pBlockedChestTest) protected void
AbstractFurnaceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
AbstractSkullBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
AmethystClusterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
AnvilBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
AttachedStemBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BambooStalkBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BannerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BarrelBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BarrierBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BaseCoralPlantTypeBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BaseCoralWallFanBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BedBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BeehiveBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BeetrootBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BellBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BigDripleafBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BigDripleafStemBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
Block.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BrewingStandBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BrushableBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
BubbleColumnBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ButtonBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CactusBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CakeBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CalibratedSculkSensorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_277652_) protected void
CampfireBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CandleBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CandleCakeBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CarvedPumpkinBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CaveVinesBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_152993_) protected void
CaveVinesPlantBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_153031_) protected void
CeilingHangingSignBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ChainBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ChestBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ChiseledBookShelfBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ChorusFlowerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ChorusPlantBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CocoaBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CommandBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ComparatorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ComposterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ConduitBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CopperBulbBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CrafterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
CropBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
DaylightDetectorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
DecoratedPotBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_273169_) protected void
DetectorRailBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
DispenserBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
DoorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
DoublePlantBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
EnderChestBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
EndPortalFrameBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
EndRodBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
FarmBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
FenceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
FenceGateBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
FireBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
FrostedIceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
GlazedTerracottaBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
GlowLichenBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
GrindstoneBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
GrowingPlantHeadBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
HangingRootsBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_153358_) protected void
HeavyCoreBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_333925_) protected void
HopperBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
HugeMushroomBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
InfestedRotatedPillarBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_153446_) protected void
IronBarsBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
JigsawBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
JukeboxBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LadderBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LanternBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LayeredCauldronBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LeavesBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LecternBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LeverBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LightBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LightningRodBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LiquidBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
LoomBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
MangrovePropaguleBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
MangroveRootsBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_221521_) protected void
MultifaceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
NetherPortalBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
NetherWartBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
NoteBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ObserverBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
PinkPetalsBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_272634_) protected void
PitcherCropBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
PointedDripstoneBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
PoweredRailBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
PressurePlateBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RailBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RedstoneLampBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RedStoneOreBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RedstoneTorchBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RedstoneWallTorchBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RedStoneWireBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RepeaterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RespawnAnchorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
RotatedPillarBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SaplingBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ScaffoldingBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SculkCatalystBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_222115_) protected void
SculkSensorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SculkShriekerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SculkVeinBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SeaPickleBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
ShulkerBoxBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SkullBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SlabBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SmallDripleafBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_154632_) protected void
SnifferEggBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SnowLayerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SnowyDirtBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
StairBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
StandingSignBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
StemBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
StonecutterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
StructureBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SugarCaneBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
SweetBerryBushBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
TargetBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
TntBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
TorchflowerCropBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_272679_) protected void
TrapDoorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
TrialSpawnerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_312785_) protected void
TripWireBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
TripWireHookBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
TurtleEggBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
VaultBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_323673_) protected void
VineBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
WallBannerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
WallBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
WallHangingSignBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
WallSignBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
WallSkullBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
WallTorchBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
WaterloggedTransparentBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_313896_) protected void
WeightedPressurePlateBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) PointedDripstoneBlock.findBlockVertical
(LevelAccessor pLevel, BlockPos pPos, Direction.AxisDirection pAxis, BiPredicate<BlockPos, BlockState> pPositionalStatePredicate, Predicate<BlockState> pStatePredicate, int pMaxIterations) PointedDripstoneBlock.findBlockVertical
(LevelAccessor pLevel, BlockPos pPos, Direction.AxisDirection pAxis, BiPredicate<BlockPos, BlockState> pPositionalStatePredicate, Predicate<BlockState> pStatePredicate, int pMaxIterations) private static BlockState
MultifaceBlock.getDefaultMultifaceState
(StateDefinition<Block, BlockState> pStateDefinition) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> pStateMap, BlockState pState, Supplier<BlockState> pSupplier) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> pStateMap, BlockState pState, Supplier<BlockState> pSupplier) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> pStateMap, BlockState pState, Supplier<BlockState> pSupplier) protected com.google.common.collect.ImmutableMap
<BlockState, VoxelShape> Block.getShapeForEachState
(Function<BlockState, VoxelShape> p_152459_) Constructors in net.minecraft.world.level.block with parameters of type BlockStateModifierConstructorDescriptionBlockStatePairKey
(BlockState pFirst, BlockState pSecond, Direction pDirection) (package private)
FluidInfo
(BlockPos pos, Fluid fluid, BlockState sourceState) Creates an instance of aFluidInfo
record class.InputContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) OutputContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, ItemStack pStack) (package private)
PosAndState
(BlockPos pos, BlockState state) Creates an instance of aPosAndState
record class.RailState
(Level pLevel, BlockPos pPos, BlockState pState) StairBlock
(BlockState p_56862_, BlockBehaviour.Properties p_56863_) WeatheringCopperStairBlock
(WeatheringCopper.WeatherState p_154951_, BlockState p_154952_, BlockBehaviour.Properties p_154953_) -
Uses of BlockState in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as BlockStateModifier and TypeFieldDescriptionprivate BlockState
BlockEntity.blockState
private final BlockState
SculkCatalystBlockEntity.CatalystListener.blockState
Methods in net.minecraft.world.level.block.entity that return BlockStateMethods in net.minecraft.world.level.block.entity with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
SkullBlockEntity.animation
(Level pLevel, BlockPos pPos, BlockState pState, SkullBlockEntity pBlockEntity) static void
TheEndGatewayBlockEntity.beamAnimationTick
(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) private void
SculkCatalystBlockEntity.CatalystListener.bloom
(ServerLevel pLevel, BlockPos pPos, BlockState pState, RandomSource pRandom) static void
EnchantingTableBlockEntity.bookAnimationTick
(Level pLevel, BlockPos pPos, BlockState pState, EnchantingTableBlockEntity pEnchantingTable) static void
BellBlockEntity.clientTick
(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity) static void
ConduitBlockEntity.clientTick
(Level pLevel, BlockPos pPos, BlockState pState, ConduitBlockEntity pBlockEntity) static void
SpawnerBlockEntity.clientTick
(Level pLevel, BlockPos pPos, BlockState pState, SpawnerBlockEntity pBlockEntity) static void
CampfireBlockEntity.cookTick
(Level pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pBlockEntity) static void
CampfireBlockEntity.cooldownTick
(Level pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pBlockEntity) BlockEntityType.BlockEntitySupplier.create
(BlockPos pPos, BlockState pState) BlockEntityType.create
(BlockPos pPos, BlockState pState) void
ContainerOpenersCounter.decrementOpeners
(Player pPlayer, Level pLevel, BlockPos pPos, BlockState pState) private static void
ShulkerBoxBlockEntity.doNeighborUpdates
(Level pLevel, BlockPos pPos, BlockState pState) void
BeehiveBlockEntity.emptyAllLivingFromHive
(Player pPlayer, BlockState pState, BeehiveBlockEntity.BeeReleaseStatus pReleaseStatus) static void
HopperBlockEntity.entityInside
(Level pLevel, BlockPos pPos, BlockState pState, Entity pEntity, HopperBlockEntity pBlockEntity) private int
CalibratedSculkSensorBlockEntity.VibrationUser.getBackSignal
(Level pLevel, BlockPos pPos, BlockState pState) private static Container
HopperBlockEntity.getBlockContainer
(Level pLevel, BlockPos pPos, BlockState pState) ShulkerBoxBlockEntity.getBoundingBox
(BlockState pState) private static Container
HopperBlockEntity.getContainerAt
(Level pLevel, BlockPos pPos, BlockState pState, double pX, double pY, double pZ) static int
BeehiveBlockEntity.getHoneyLevel
(BlockState pState) private static Container
HopperBlockEntity.getSourceContainer
(Level pLevel, Hopper pHopper, BlockPos pPos, BlockState pState) void
ContainerOpenersCounter.incrementOpeners
(Player pPlayer, Level pLevel, BlockPos pPos, BlockState pState) boolean
BlockEntityType.isValid
(BlockState pState) boolean
BlockEntity.isValidBlockState
(BlockState p_353131_) static void
ChestBlockEntity.lidAnimateTick
(Level pLevel, BlockPos pPos, BlockState pState, ChestBlockEntity pBlockEntity) static void
EnderChestBlockEntity.lidAnimateTick
(Level pLevel, BlockPos pPos, BlockState pState, EnderChestBlockEntity pBlockEntity) static BlockEntity
BlockEntity.loadStatic
(BlockPos pPos, BlockState pState, CompoundTag pTag, HolderLookup.Provider pRegistries) private void
ShulkerBoxBlockEntity.moveCollidedEntities
(Level pLevel, BlockPos pPos, BlockState pState) protected abstract void
ContainerOpenersCounter.onClose
(Level pLevel, BlockPos pPos, BlockState pState) protected abstract void
ContainerOpenersCounter.onOpen
(Level pLevel, BlockPos pPos, BlockState pState) protected abstract void
ContainerOpenersCounter.openerCountChanged
(Level pLevel, BlockPos pPos, BlockState pState, int pCount, int pOpenCount) static void
CampfireBlockEntity.particleTick
(Level pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pBlockEntity) (package private) void
BarrelBlockEntity.playSound
(BlockState pState, SoundEvent pSound) (package private) static void
ChestBlockEntity.playSound
(Level pLevel, BlockPos pPos, BlockState pState, SoundEvent pSound) static void
TheEndGatewayBlockEntity.portalTick
(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) static void
HopperBlockEntity.pushItemsTick
(Level pLevel, BlockPos pPos, BlockState pState, HopperBlockEntity pBlockEntity) void
ContainerOpenersCounter.recheckOpeners
(Level pLevel, BlockPos pPos, BlockState pState) BeehiveBlockEntity.releaseAllOccupants
(BlockState pState, BeehiveBlockEntity.BeeReleaseStatus pReleaseStatus) private static boolean
BeehiveBlockEntity.releaseOccupant
(Level pLevel, BlockPos pPos, BlockState pState, BeehiveBlockEntity.Occupant pOccupant, List<Entity> pStoredInHives, BeehiveBlockEntity.BeeReleaseStatus pReleaseStatus, BlockPos pStoredFlowerPos) private static void
ContainerOpenersCounter.scheduleRecheck
(Level pLevel, BlockPos pPos, BlockState pState) static void
AbstractFurnaceBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, AbstractFurnaceBlockEntity pBlockEntity) static void
BeehiveBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, BeehiveBlockEntity pBeehive) static void
BellBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity) static void
BrewingStandBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, BrewingStandBlockEntity pBlockEntity) static void
ConduitBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, ConduitBlockEntity pBlockEntity) static void
CrafterBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, CrafterBlockEntity pCrafter) static void
SculkCatalystBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, SculkCatalystBlockEntity pSculkCatalyst) static void
SpawnerBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, SpawnerBlockEntity pBlockEntity) void
BlockEntity.setBlockState
(BlockState pBlockState) Deprecated.void
ChestBlockEntity.setBlockState
(BlockState p_155251_) void
HopperBlockEntity.setBlockState
(BlockState pBlockState) protected static void
BlockEntity.setChanged
(Level pLevel, BlockPos pPos, BlockState pState) protected void
ChestBlockEntity.signalOpenCount
(Level pLevel, BlockPos pPos, BlockState pState, int pEventId, int pEventParam) protected void
TrappedChestBlockEntity.signalOpenCount
(Level p_155865_, BlockPos p_155866_, BlockState p_155867_, int p_155868_, int p_155869_) static void
BeaconBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, BeaconBlockEntity pBlockEntity) private static void
BellBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, BellBlockEntity pBlockEntity, BellBlockEntity.ResonationEndAction pResonationEndAction) void
BlockEntityTicker.tick
(Level pLevel, BlockPos pPos, BlockState pState, T pBlockEntity) static void
JukeboxBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, JukeboxBlockEntity pJukebox) static void
ShulkerBoxBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, ShulkerBoxBlockEntity pBlockEntity) static void
SignBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, SignBlockEntity pSign) private static void
BeehiveBlockEntity.tickOccupants
(Level pLevel, BlockPos pPos, BlockState pState, List<BeehiveBlockEntity.BeeData> pData, BlockPos pSavedFlowerPos) static void
TheEndGatewayBlockEntity.triggerCooldown
(Level pLevel, BlockPos pPos, BlockState pState, TheEndGatewayBlockEntity pBlockEntity) private static boolean
HopperBlockEntity.tryMoveItems
(Level pLevel, BlockPos pPos, BlockState pState, HopperBlockEntity pBlockEntity, BooleanSupplier pValidator) private void
ShulkerBoxBlockEntity.updateAnimation
(Level pLevel, BlockPos pPos, BlockState pState) (package private) void
BarrelBlockEntity.updateBlockState
(BlockState pState, boolean pOpen) private static void
ConduitBlockEntity.updateDestroyTarget
(Level pLevel, BlockPos pPos, BlockState pState, List<BlockPos> pPositions, ConduitBlockEntity pBlockEntity) private void
BlockEntity.validateBlockState
(BlockState p_353132_) Constructors in net.minecraft.world.level.block.entity with parameters of type BlockStateModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState, RecipeType<? extends AbstractCookingRecipe> pRecipeType) BannerBlockEntity
(BlockPos pPos, BlockState pBlockState) BannerBlockEntity
(BlockPos pPos, BlockState pBlockState, DyeColor pBaseColor) BarrelBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
BaseContainerBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) BeaconBlockEntity
(BlockPos pPos, BlockState pBlockState) BedBlockEntity
(BlockPos pPos, BlockState pBlockState) BedBlockEntity
(BlockPos pPos, BlockState pBlockState, DyeColor pColor) BeehiveBlockEntity
(BlockPos pPos, BlockState pBlockState) BellBlockEntity
(BlockPos pPos, BlockState pBlockState) BlastFurnaceBlockEntity
(BlockPos pPos, BlockState pBlockState) BlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) BrewingStandBlockEntity
(BlockPos pPos, BlockState pState) BrushableBlockEntity
(BlockPos pPos, BlockState pBlockState) CalibratedSculkSensorBlockEntity
(BlockPos pPos, BlockState pBlockState) CampfireBlockEntity
(BlockPos pPos, BlockState pBlockState) CatalystListener
(BlockState pBlockState, PositionSource pPositionSource) ChestBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
ChestBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) ChiseledBookShelfBlockEntity
(BlockPos pPos, BlockState pState) CommandBlockEntity
(BlockPos pPos, BlockState pBlockState) ComparatorBlockEntity
(BlockPos pPos, BlockState pBlockState) ConduitBlockEntity
(BlockPos pPos, BlockState pBlockState) CrafterBlockEntity
(BlockPos pPos, BlockState pState) DaylightDetectorBlockEntity
(BlockPos pPos, BlockState pBlockState) DecoratedPotBlockEntity
(BlockPos pPos, BlockState pState) DispenserBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
DispenserBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) DropperBlockEntity
(BlockPos p_155498_, BlockState p_155499_) EnchantingTableBlockEntity
(BlockPos pPos, BlockState pState) EnderChestBlockEntity
(BlockPos pPos, BlockState pBlockState) FurnaceBlockEntity
(BlockPos pPos, BlockState pBlockState) HangingSignBlockEntity
(BlockPos p_250603_, BlockState p_251674_) HopperBlockEntity
(BlockPos pPos, BlockState pBlockState) JigsawBlockEntity
(BlockPos pPos, BlockState pBlockState) JukeboxBlockEntity
(BlockPos pPos, BlockState pBlockState) LecternBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
RandomizableContainerBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) SculkCatalystBlockEntity
(BlockPos pPos, BlockState pBlockState) SculkSensorBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
SculkSensorBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) SculkShriekerBlockEntity
(BlockPos pPos, BlockState pBlockState) ShulkerBoxBlockEntity
(BlockPos pPos, BlockState pBlockState) ShulkerBoxBlockEntity
(DyeColor pColor, BlockPos pPos, BlockState pBlockState) SignBlockEntity
(BlockPos pPos, BlockState pBlockState) SignBlockEntity
(BlockEntityType pType, BlockPos pPos, BlockState pBlockState) SkullBlockEntity
(BlockPos pPos, BlockState pBlockState) SmokerBlockEntity
(BlockPos pPos, BlockState pBlockState) SpawnerBlockEntity
(BlockPos pPos, BlockState pBlockState) StructureBlockEntity
(BlockPos pPos, BlockState pBlockState) TheEndGatewayBlockEntity
(BlockPos pPos, BlockState pBlockState) TheEndPortalBlockEntity
(BlockPos pPos, BlockState pBlockState) protected
TheEndPortalBlockEntity
(BlockEntityType<?> pType, BlockPos pPos, BlockState pBlockState) TrappedChestBlockEntity
(BlockPos p_155862_, BlockState p_155863_) TrialSpawnerBlockEntity
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.level.block.entity.vault
Methods in net.minecraft.world.level.block.entity.vault with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
VaultBlockEntity.Client.emitActivationParticles
(Level pLevel, BlockPos pPos, BlockState pState, VaultSharedData pSharedData, ParticleOptions pParticle) private static void
VaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers
(Level pLevel, BlockPos pPos, BlockState pState, VaultSharedData pSharedData) (package private) static void
VaultBlockEntity.Server.setVaultState
(ServerLevel pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState, VaultConfig pConfig, VaultSharedData pSharedData) static void
VaultBlockEntity.Client.tick
(Level pLevel, BlockPos pPos, BlockState pState, VaultClientData pClientData, VaultSharedData pSharedData) static void
VaultBlockEntity.Server.tick
(ServerLevel pLevel, BlockPos pPos, BlockState pState, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData) static void
VaultBlockEntity.Server.tryInsertKey
(ServerLevel pLevel, BlockPos pPos, BlockState pState, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData, Player pPlayer, ItemStack pStack) private static void
VaultBlockEntity.Server.unlock
(ServerLevel pLevel, BlockState pState, BlockPos pPos, VaultConfig pConfig, VaultServerData pServerData, VaultSharedData pSharedData, List<ItemStack> pItemsToEject) Constructors in net.minecraft.world.level.block.entity.vault with parameters of type BlockState -
Uses of BlockState in net.minecraft.world.level.block.grower
Methods in net.minecraft.world.level.block.grower with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
TreeGrower.growTree
(ServerLevel pLevel, ChunkGenerator pChunkGenerator, BlockPos pPos, BlockState pState, RandomSource pRandom) private static boolean
TreeGrower.isTwoByTwoSapling
(BlockState pState, BlockGetter pLevel, BlockPos pPos, int pXOffset, int pYOffset) -
Uses of BlockState in net.minecraft.world.level.block.piston
Fields in net.minecraft.world.level.block.piston declared as BlockStateMethods in net.minecraft.world.level.block.piston that return BlockStateModifier and TypeMethodDescriptionprivate BlockState
PistonMovingBlockEntity.getCollisionRelatedBlockState()
PistonMovingBlockEntity.getMovedState()
PistonBaseBlock.getStateForPlacement
(BlockPlaceContext pContext) protected BlockState
MovingPistonBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
PistonBaseBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
PistonHeadBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.PistonHeadBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) protected BlockState
MovingPistonBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
PistonBaseBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.PistonBaseBlock.rotate
(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) protected BlockState
PistonHeadBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
PistonHeadBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.Methods in net.minecraft.world.level.block.piston with parameters of type BlockStateModifier and TypeMethodDescriptionprotected boolean
PistonHeadBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) private void
PistonBaseBlock.checkIfExtend
(Level pLevel, BlockPos pPos, BlockState pState) void
MovingPistonBlock.destroy
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) Called after this block has been removed by a player.MovingPistonBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) PistonHeadBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState) protected VoxelShape
MovingPistonBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) MovingPistonBlock.getDrops
(BlockState pState, LootParams.Builder pParams) protected VoxelShape
MovingPistonBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PistonBaseBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
PistonHeadBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) <T extends BlockEntity>
BlockEntityTicker<T> MovingPistonBlock.getTicker
(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) private boolean
PistonHeadBlock.isFittingBase
(BlockState pBaseState, BlockState pExtendedState) protected boolean
MovingPistonBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
PistonBaseBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
PistonHeadBlock.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) static boolean
PistonBaseBlock.isPushable
(BlockState pState, Level pLevel, BlockPos pPos, Direction pMovementDirection, boolean pAllowDestroy, Direction pPistonFacing) Checks if the piston can push the given BlockState.protected BlockState
MovingPistonBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
PistonBaseBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
PistonHeadBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected void
PistonBaseBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) protected void
PistonHeadBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pBlock, BlockPos pFromPos, boolean pIsMoving) MovingPistonBlock.newBlockEntity
(BlockPos pPos, BlockState pState) static BlockEntity
MovingPistonBlock.newMovingBlockEntity
(BlockPos pPos, BlockState pBlockState, BlockState pMovedState, Direction pDirection, boolean pExtending, boolean pIsSourcePiston) protected void
PistonBaseBlock.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pIsMoving) protected void
MovingPistonBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) protected void
PistonHeadBlock.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) PistonHeadBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) protected BlockState
MovingPistonBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
PistonBaseBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.PistonBaseBlock.rotate
(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) protected BlockState
PistonHeadBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.void
PistonBaseBlock.setPlacedBy
(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) Called by BlockItem after this block has been placed.static void
PistonMovingBlockEntity.tick
(Level pLevel, BlockPos pPos, BlockState pState, PistonMovingBlockEntity pBlockEntity) protected boolean
PistonBaseBlock.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected BlockState
PistonHeadBlock.updateShape
(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected boolean
PistonBaseBlock.useShapeForLightOcclusion
(BlockState pState) protected boolean
PistonHeadBlock.useShapeForLightOcclusion
(BlockState pState) protected InteractionResult
MovingPistonBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) Method parameters in net.minecraft.world.level.block.piston with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected void
MovingPistonBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
PistonBaseBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
PistonHeadBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) Constructors in net.minecraft.world.level.block.piston with parameters of type BlockStateModifierConstructorDescriptionPistonMovingBlockEntity
(BlockPos pPos, BlockState pBlockState) PistonMovingBlockEntity
(BlockPos pPos, BlockState pBlockState, BlockState pMovedState, Direction pDirection, boolean pExtending, boolean pIsSourcePiston) -
Uses of BlockState in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state with type parameters of type BlockStateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockState> BlockState.CODEC
(package private) ToIntFunction
<BlockState> BlockBehaviour.Properties.lightEmission
(package private) Function
<BlockState, MapColor> BlockBehaviour.Properties.mapColor
Methods in net.minecraft.world.level.block.state that return BlockStateModifier and TypeMethodDescriptionprotected abstract BlockState
BlockBehaviour.BlockStateBase.asState()
protected BlockState
BlockState.asState()
protected BlockState
BlockBehaviour.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.Deprecated.protected BlockState
BlockBehaviour.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.BlockBehaviour.BlockStateBase.updateShape
(Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) protected BlockState
BlockBehaviour.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.Methods in net.minecraft.world.level.block.state with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
BlockBehaviour.attack
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) protected boolean
BlockBehaviour.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
BlockBehaviour.canBeReplaced
(BlockState pState, Fluid pFluid) protected boolean
BlockBehaviour.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected void
BlockBehaviour.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity) BlockBehaviour.OffsetFunction.evaluate
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected int
BlockBehaviour.getAnalogOutputSignal
(BlockState pState, Level pLevel, BlockPos pPos) Returns the analog signal this block emits.protected VoxelShape
BlockBehaviour.getBlockSupportShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected float
BlockBehaviour.getDestroyProgress
(BlockState pState, Player pPlayer, BlockGetter pLevel, BlockPos pPos) Get the hardness of this Block relative to the ability of the given playerprotected int
BlockBehaviour.getDirectSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.BlockBehaviour.getDrops
(BlockState pState, LootParams.Builder pParams) protected FluidState
BlockBehaviour.getFluidState
(BlockState pState) protected VoxelShape
BlockBehaviour.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected int
BlockBehaviour.getLightBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected MenuProvider
BlockBehaviour.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getOcclusionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected RenderShape
BlockBehaviour.getRenderShape
(BlockState pState) The type of render function called.protected long
BlockBehaviour.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource)
, used for random model rotationsprotected float
BlockBehaviour.getShadeBrightness
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected int
BlockBehaviour.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected SoundType
BlockBehaviour.getSoundType
(BlockState pState) Deprecated.protected VoxelShape
BlockBehaviour.getVisualShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected boolean
BlockBehaviour.hasAnalogOutputSignal
(BlockState pState) protected boolean
BlockBehaviour.isAir
(BlockState state) protected boolean
BlockBehaviour.isCollisionShapeFullBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
BlockBehaviour.isOcclusionShapeFullBlock
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
BlockBehaviour.isPathfindable
(BlockState pState, PathComputationType pPathComputationType) protected boolean
BlockBehaviour.isRandomlyTicking
(BlockState pState) protected boolean
BlockBehaviour.isSignalSource
(BlockState pState) Returns whether this block is capable of emitting redstone signals.protected BlockState
BlockBehaviour.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected void
BlockBehaviour.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) protected void
BlockBehaviour.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) void
BlockBehaviour.BlockStateBase.onPlace
(Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) protected void
BlockBehaviour.onPlace
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pOldState, boolean pMovedByPiston) void
BlockBehaviour.BlockStateBase.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) protected void
BlockBehaviour.onProjectileHit
(Level pLevel, BlockState pState, BlockHitResult pHit, Projectile pProjectile) void
BlockBehaviour.BlockStateBase.onRemove
(Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected void
BlockBehaviour.onRemove
(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pMovedByPiston) protected boolean
BlockBehaviour.propagatesSkylightDown
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected void
BlockBehaviour.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected BlockState
BlockBehaviour.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.boolean
BlockBehaviour.BlockStateBase.skipRendering
(BlockState pState, Direction pFace) protected boolean
BlockBehaviour.skipRendering
(BlockState pState, BlockState pAdjacentState, Direction pDirection) protected void
BlockBehaviour.spawnAfterBreak
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack, boolean pDropExperience) Perform side-effects from block dropping, such as creating silverfishboolean
BlockBehaviour.StateArgumentPredicate.test
(BlockState pState, BlockGetter pLevel, BlockPos pPos, A pValue) boolean
BlockBehaviour.StatePredicate.test
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected void
BlockBehaviour.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected boolean
BlockBehaviour.triggerEvent
(BlockState pState, Level pLevel, BlockPos pPos, int pId, int pParam) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected void
BlockBehaviour.updateIndirectNeighbourShapes
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) Updates the shapes of indirect neighbors of this block.BlockBehaviour.BlockStateBase.updateShape
(Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) protected BlockState
BlockBehaviour.updateShape
(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected ItemInteractionResult
BlockBehaviour.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected boolean
BlockBehaviour.useShapeForLightOcclusion
(BlockState pState) protected InteractionResult
BlockBehaviour.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) Method parameters in net.minecraft.world.level.block.state with type arguments of type BlockStateModifier and TypeMethodDescriptionBlockBehaviour.Properties.lightLevel
(ToIntFunction<BlockState> pLightEmission) BlockBehaviour.Properties.mapColor
(Function<BlockState, MapColor> pMapColor) Constructors in net.minecraft.world.level.block.state with parameters of type BlockStateConstructor parameters in net.minecraft.world.level.block.state with type arguments of type BlockStateModifierConstructorDescriptionBlockState
(Block p_61042_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_326238_, com.mojang.serialization.MapCodec<BlockState> p_61044_) protected
BlockStateBase
(Block p_60608_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_326208_, com.mojang.serialization.MapCodec<BlockState> p_60610_) -
Uses of BlockState in net.minecraft.world.level.block.state.pattern
Fields in net.minecraft.world.level.block.state.pattern declared as BlockStateMethods in net.minecraft.world.level.block.state.pattern that return BlockStateMethod parameters in net.minecraft.world.level.block.state.pattern with type arguments of type BlockStateModifier and TypeMethodDescriptionstatic Predicate
<BlockInWorld> BlockInWorld.hasState
(Predicate<BlockState> pState) -
Uses of BlockState in net.minecraft.world.level.block.state.predicate
Fields in net.minecraft.world.level.block.state.predicate with type parameters of type BlockStateModifier and TypeFieldDescriptionstatic final Predicate
<BlockState> BlockStatePredicate.ANY
private final StateDefinition
<Block, BlockState> BlockStatePredicate.definition
Methods in net.minecraft.world.level.block.state.predicate with parameters of type BlockStateModifier and TypeMethodDescriptionprotected <T extends Comparable<T>>
booleanBlockStatePredicate.applies
(BlockState pState, Property<T> pProperty, Predicate<Object> pValuePredicate) boolean
BlockPredicate.test
(BlockState pState) boolean
BlockStatePredicate.test
(BlockState pState) Constructor parameters in net.minecraft.world.level.block.state.predicate with type arguments of type BlockStateModifierConstructorDescriptionprivate
BlockStatePredicate
(StateDefinition<Block, BlockState> pDefinition) -
Uses of BlockState in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final PalettedContainer
<BlockState> LevelChunkSection.states
Methods in net.minecraft.world.level.chunk that return BlockStateModifier and TypeMethodDescriptionBlockColumn.getBlock
(int pPos) BulkSectionAccess.getBlockState
(BlockPos pPos) EmptyLevelChunk.getBlockState
(BlockPos pPos) ImposterProtoChunk.getBlockState
(BlockPos pPos) LevelChunk.getBlockState
(BlockPos pPos) LevelChunkSection.getBlockState
(int pX, int pY, int pZ) ProtoChunk.getBlockState
(BlockPos pPos) abstract BlockState
ChunkAccess.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) EmptyLevelChunk.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) ImposterProtoChunk.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) LevelChunk.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) LevelChunkSection.setBlockState
(int pX, int pY, int pZ, BlockState pState) LevelChunkSection.setBlockState
(int pX, int pY, int pZ, BlockState pState, boolean pUseLocks) ProtoChunk.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) UpgradeData.BlockFixer.updateShape
(BlockState pState, Direction pDirection, BlockState pOffsetState, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) private static BlockState
UpgradeData.updateState
(BlockState pState, Direction pDirection, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) Methods in net.minecraft.world.level.chunk that return types with arguments of type BlockStateMethods in net.minecraft.world.level.chunk with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
BlockColumn.setBlock
(int pPos, BlockState pState) abstract BlockState
ChunkAccess.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) EmptyLevelChunk.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) ImposterProtoChunk.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) LevelChunk.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) LevelChunkSection.setBlockState
(int pX, int pY, int pZ, BlockState pState) LevelChunkSection.setBlockState
(int pX, int pY, int pZ, BlockState pState, boolean pUseLocks) ProtoChunk.setBlockState
(BlockPos pPos, BlockState pState, boolean pIsMoving) UpgradeData.BlockFixer.updateShape
(BlockState pState, Direction pDirection, BlockState pOffsetState, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) private static BlockState
UpgradeData.updateState
(BlockState pState, Direction pDirection, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) Method parameters in net.minecraft.world.level.chunk with type arguments of type BlockStateModifier and TypeMethodDescriptionfinal void
ChunkAccess.findBlockLightSources
(BiConsumer<BlockPos, BlockState> pOutput) void
LightChunk.findBlockLightSources
(BiConsumer<BlockPos, BlockState> pOutput) void
ChunkAccess.findBlocks
(BiPredicate<BlockState, BlockPos> p_285343_, BiConsumer<BlockPos, BlockState> p_285030_) Deprecated, for removal: This API element is subject to removal in a future version.void
ChunkAccess.findBlocks
(BiPredicate<BlockState, BlockPos> p_285343_, BiConsumer<BlockPos, BlockState> p_285030_) Deprecated, for removal: This API element is subject to removal in a future version.void
ChunkAccess.findBlocks
(Predicate<BlockState> pPredicate, BiConsumer<BlockPos, BlockState> pOutput) void
ChunkAccess.findBlocks
(Predicate<BlockState> pPredicate, BiConsumer<BlockPos, BlockState> pOutput) void
ChunkAccess.findBlocks
(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ChunkAccess.findBlocks
(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ChunkAccess.findBlocks
(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(BiPredicate<BlockState, BlockPos> p_285465_, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(BiPredicate<BlockState, BlockPos> p_285465_, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> pPredicate, BiConsumer<BlockPos, BlockState> pOutput) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> pPredicate, BiConsumer<BlockPos, BlockState> pOutput) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> p_285465_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> p_285465_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> p_285465_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) boolean
LevelChunkSection.maybeHas
(Predicate<BlockState> pPredicate) Constructor parameters in net.minecraft.world.level.chunk with type arguments of type BlockStateModifierConstructorDescriptionLevelChunkSection
(PalettedContainer<BlockState> pStates, PalettedContainerRO<Holder<Biome>> pBiomes) -
Uses of BlockState in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<PalettedContainer<BlockState>> ChunkSerializer.BLOCK_STATE_CODEC
-
Uses of BlockState in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
GameEvent.Context.affectedState
The field for theaffectedState
record component.Methods in net.minecraft.world.level.gameevent that return BlockStateModifier and TypeMethodDescriptionGameEvent.Context.affectedState()
Returns the value of theaffectedState
record component.Methods in net.minecraft.world.level.gameevent with parameters of type BlockStateModifier and TypeMethodDescriptionstatic GameEvent.Context
GameEvent.Context.of
(Entity pSourceEntity, BlockState pAffectedState) static GameEvent.Context
GameEvent.Context.of
(BlockState pAffectedState) Constructors in net.minecraft.world.level.gameevent with parameters of type BlockStateModifierConstructorDescriptionContext
(Entity sourceEntity, BlockState affectedState) Creates an instance of aContext
record class. -
Uses of BlockState in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as BlockStateModifier and TypeFieldDescriptionprotected static final BlockState
DebugLevelSource.AIR
private static final BlockState
NoiseBasedChunkGenerator.AIR
protected static final BlockState
DebugLevelSource.BARRIER
private static final BlockState
SurfaceSystem.BROWN_TERRACOTTA
private final BlockState[]
SurfaceSystem.clayBands
private final BlockState
NoiseGeneratorSettings.defaultBlock
The field for thedefaultBlock
record component.private final BlockState
SurfaceSystem.defaultBlock
private final BlockState
NoiseGeneratorSettings.defaultFluid
The field for thedefaultFluid
record component.(package private) final BlockState
OreVeinifier.VeinType.filler
(package private) final BlockState
Aquifer.FluidStatus.fluidType
The fluid state the aquifer is filled with.private static final BlockState
SurfaceSystem.LIGHT_GRAY_TERRACOTTA
private static final BlockState
SurfaceSystem.ORANGE_TERRACOTTA
(package private) final BlockState
OreVeinifier.VeinType.ore
private static final BlockState
SurfaceSystem.PACKED_ICE
(package private) final BlockState
OreVeinifier.VeinType.rawOreBlock
private static final BlockState
SurfaceSystem.RED_TERRACOTTA
private final BlockState
SurfaceRules.BlockRuleSource.resultState
The field for theresultState
record component.private static final BlockState
SurfaceSystem.SNOW_BLOCK
private final BlockState
SurfaceRules.StateRule.state
The field for thestate
record component.private static final BlockState
SurfaceSystem.TERRACOTTA
private static final BlockState
SurfaceSystem.WHITE_TERRACOTTA
private static final BlockState
SurfaceSystem.YELLOW_TERRACOTTA
Fields in net.minecraft.world.level.levelgen with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static List
<BlockState> DebugLevelSource.ALL_BLOCKS
A list of all valid block states.final List
<BlockState> GeodeBlockSettings.innerPlacements
private final Predicate
<BlockState> Heightmap.isOpaque
private final Predicate
<BlockState> Heightmap.Types.isOpaque
(package private) static final Predicate
<BlockState> Heightmap.MATERIAL_MOTION_BLOCKING
(package private) static final Predicate
<BlockState> Heightmap.NOT_AIR
Methods in net.minecraft.world.level.levelgen that return BlockStateModifier and TypeMethodDescriptionAquifer.FluidStatus.at
(int pY) NoiseChunk.BlockStateFiller.calculate
(DensityFunction.FunctionContext pContext) private BlockState
Aquifer.NoiseBasedAquifer.computeFluidType
(int pX, int pY, int pZ, Aquifer.FluidStatus pFluidStatus, int pSurfaceLevel) Aquifer.computeSubstance
(DensityFunction.FunctionContext pContext, double pSubstance) Aquifer.NoiseBasedAquifer.computeSubstance
(DensityFunction.FunctionContext pContext, double pSubstance) private BlockState
NoiseBasedChunkGenerator.debugPreliminarySurfaceLevel
(NoiseChunk pChunk, int pX, int pY, int pZ, BlockState pState) NoiseGeneratorSettings.defaultBlock()
Returns the value of thedefaultBlock
record component.NoiseGeneratorSettings.defaultFluid()
Returns the value of thedefaultFluid
record component.private static BlockState[]
SurfaceSystem.generateBands
(RandomSource pRandom) protected BlockState
SurfaceSystem.getBand
(int pX, int pY, int pZ) static BlockState
DebugLevelSource.getBlockStateFor
(int pChunkX, int pChunkZ) protected BlockState
NoiseChunk.getInterpolatedState()
SurfaceRules.BlockRuleSource.resultState()
Returns the value of theresultState
record component.SurfaceRules.StateRule.state()
Returns the value of thestate
record component.SurfaceRules.SequenceRule.tryApply
(int p_189694_, int p_189695_, int p_189696_) SurfaceRules.StateRule.tryApply
(int p_189721_, int p_189722_, int p_189723_) SurfaceRules.SurfaceRule.tryApply
(int pX, int pY, int pZ) SurfaceRules.TestRule.tryApply
(int p_189805_, int p_189806_, int p_189807_) Methods in net.minecraft.world.level.levelgen that return types with arguments of type BlockStateModifier and TypeMethodDescriptionHeightmap.Types.isOpaque()
SurfaceSystem.topMaterial
(SurfaceRules.RuleSource pRule, CarvingContext pContext, Function<BlockPos, Holder<Biome>> pBiomeGetter, ChunkAccess pChunk, NoiseChunk pNoiseChunk, BlockPos pPos, boolean pHasFluid) Deprecated.Methods in net.minecraft.world.level.levelgen with parameters of type BlockStateModifier and TypeMethodDescriptionprivate BlockState
NoiseBasedChunkGenerator.debugPreliminarySurfaceLevel
(NoiseChunk pChunk, int pX, int pY, int pZ, BlockState pState) private boolean
SurfaceSystem.isStone
(BlockState pState) private static void
SurfaceSystem.makeBands
(RandomSource pRandom, BlockState[] pOutput, int pMinSize, BlockState pState) static SurfaceRules.RuleSource
SurfaceRules.state
(BlockState pResultState) boolean
Heightmap.update
(int pX, int pY, int pZ, BlockState pState) Method parameters in net.minecraft.world.level.levelgen with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected OptionalInt
NoiseBasedChunkGenerator.iterateNoiseColumn
(LevelHeightAccessor p_224240_, RandomState p_224241_, int p_224242_, int p_224243_, org.apache.commons.lang3.mutable.MutableObject<NoiseColumn> p_224244_, Predicate<BlockState> p_224245_) Column.scan
(LevelSimulatedReader pLevel, BlockPos pPos, int pMaxDistance, Predicate<BlockState> pColumnPredicate, Predicate<BlockState> pTipPredicate) Scans for a column of states satisfyingcolumnPredicate
, up to a length ofmaxDistance
from the origin, and ending with a state which satisfiestipPredicate
.private static OptionalInt
Column.scanDirection
(LevelSimulatedReader pLevel, int pMaxDistance, Predicate<BlockState> pColumnPredicate, Predicate<BlockState> pTipPredicate, BlockPos.MutableBlockPos pMutablePos, int pStartY, Direction pDirection) Scans for a sequence of states in a givendirection
, up to a length ofmaxDistance
which satisfycolumnPredicate
, and ending with a state which satisfiestipPredicate
.Constructors in net.minecraft.world.level.levelgen with parameters of type BlockStateModifierConstructorDescription(package private)
BlockRuleSource
(BlockState p_189517_) (package private)
BlockRuleSource
(BlockState resultState, SurfaceRules.StateRule rule) Creates an instance of aBlockRuleSource
record class.FluidStatus
(int pFluidLevel, BlockState pFluidType) NoiseGeneratorSettings
(NoiseSettings noiseSettings, BlockState defaultBlock, BlockState defaultFluid, NoiseRouter noiseRouter, SurfaceRules.RuleSource surfaceRule, List<Climate.ParameterPoint> spawnTarget, int seaLevel, boolean disableMobGeneration, boolean aquifersEnabled, boolean oreVeinsEnabled, boolean useLegacyRandomSource) Creates an instance of aNoiseGeneratorSettings
record class.(package private)
StateRule
(BlockState state) Creates an instance of aStateRule
record class.SurfaceSystem
(RandomState pRandomState, BlockState pDefaultBlock, int pSeaLevel, PositionalRandomFactory pNoiseRandom) private
VeinType
(BlockState pOre, BlockState pRawOreBlock, BlockState pFiller, int pMinY, int pMaxY) Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type BlockStateModifierConstructorDescriptionGeodeBlockSettings
(BlockStateProvider p_204555_, BlockStateProvider p_204556_, BlockStateProvider p_204557_, BlockStateProvider p_204558_, BlockStateProvider p_204559_, List<BlockState> p_204560_, TagKey<Block> p_204561_, TagKey<Block> p_204562_) private
Types
(String pSerializationKey, Heightmap.Usage pUsage, Predicate<BlockState> pIsOpaque) -
Uses of BlockState in net.minecraft.world.level.levelgen.blockpredicates
Fields in net.minecraft.world.level.levelgen.blockpredicates declared as BlockStateMethods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockStateModifier and TypeMethodDescriptionprotected boolean
MatchingBlocksPredicate.test
(BlockState pState) protected boolean
MatchingBlockTagPredicate.test
(BlockState pState) protected boolean
MatchingFluidsPredicate.test
(BlockState pState) protected boolean
ReplaceablePredicate.test
(BlockState p_190527_) protected boolean
SolidPredicate.test
(BlockState p_190536_) Deprecated.protected abstract boolean
StateTestingPredicate.test
(BlockState pState) static BlockPredicate
BlockPredicate.wouldSurvive
(BlockState pState, Vec3i pOffset) Constructors in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockStateModifierConstructorDescriptionprotected
WouldSurvivePredicate
(Vec3i p_190570_, BlockState p_190571_) -
Uses of BlockState in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver declared as BlockStateModifier and TypeFieldDescriptionprotected static final BlockState
WorldCarver.AIR
private final BlockState
CarverDebugSettings.airState
private final BlockState
CarverDebugSettings.barrierState
protected static final BlockState
WorldCarver.CAVE_AIR
private final BlockState
CarverDebugSettings.lavaState
private final BlockState
CarverDebugSettings.waterState
Methods in net.minecraft.world.level.levelgen.carver that return BlockStateModifier and TypeMethodDescriptionCarverDebugSettings.getAirState()
CarverDebugSettings.getBarrierState()
private BlockState
WorldCarver.getCarveState
(CarvingContext pContext, C pConfig, BlockPos pPos, Aquifer pAquifer) private static BlockState
WorldCarver.getDebugState
(CarverConfiguration pConfig, BlockState pState) CarverDebugSettings.getLavaState()
CarverDebugSettings.getWaterState()
Methods in net.minecraft.world.level.levelgen.carver that return types with arguments of type BlockStateModifier and TypeMethodDescriptionCarvingContext.topMaterial
(Function<BlockPos, Holder<Biome>> pBiomeMapper, ChunkAccess pAccess, BlockPos pPos, boolean pHasFluid) Deprecated.Methods in net.minecraft.world.level.levelgen.carver with parameters of type BlockStateModifier and TypeMethodDescriptionprotected boolean
WorldCarver.canReplaceBlock
(C pConfig, BlockState pState) private static BlockState
WorldCarver.getDebugState
(CarverConfiguration pConfig, BlockState pState) static CarverDebugSettings
CarverDebugSettings.of
(boolean pDebugMode, BlockState pAirState) static CarverDebugSettings
CarverDebugSettings.of
(boolean pDebugMode, BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState) static CarverDebugSettings
CarverDebugSettings.of
(BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState) Constructors in net.minecraft.world.level.levelgen.carver with parameters of type BlockStateModifierConstructorDescriptionprivate
CarverDebugSettings
(boolean p_159123_, BlockState p_159124_, BlockState p_159125_, BlockState p_159126_, BlockState p_159127_) -
Uses of BlockState in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as BlockStateModifier and TypeFieldDescriptionprivate static final BlockState
LakeFeature.AIR
Deprecated.private static final BlockState
MonsterRoomFeature.AIR
private static final BlockState
BambooFeature.BAMBOO_FINAL_LARGE
private static final BlockState
BambooFeature.BAMBOO_TOP_LARGE
private static final BlockState
BambooFeature.BAMBOO_TOP_SMALL
private static final BlockState
BambooFeature.BAMBOO_TRUNK
final BlockState
HugeFungusConfiguration.decorState
final BlockState
HugeFungusConfiguration.hatState
private final BlockState
DesertWellFeature.sand
private final BlockState
DesertWellFeature.sandSlab
private final BlockState
DesertWellFeature.sandstone
final BlockState
HugeFungusConfiguration.stemState
final BlockState
HugeFungusConfiguration.validBaseState
private final BlockState
DesertWellFeature.water
Methods in net.minecraft.world.level.levelgen.feature that return BlockStateModifier and TypeMethodDescriptionprivate static BlockState
DripstoneUtils.createPointedDripstone
(Direction pDirection, DripstoneThickness pDripstoneThickness) Methods in net.minecraft.world.level.levelgen.feature that return types with arguments of type BlockStateModifier and TypeMethodDescriptionstatic Predicate
<BlockState> Feature.isReplaceable
(TagKey<Block> pBlockTag) Methods in net.minecraft.world.level.levelgen.feature with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
OreFeature.canPlaceOre
(BlockState pState, Function<BlockPos, BlockState> pAdjacentStateAccessor, RandomSource pRandom, OreConfiguration pConfig, OreConfiguration.TargetBlockState pTargetState, BlockPos.MutableBlockPos pMutablePos) private boolean
LakeFeature.canReplaceBlock
(BlockState pState) Deprecated.private void
IcebergFeature.generateIcebergBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pHeight, int pLocalX, int pLocalY, int pLocalZ, int pRadius, int pMajorRadius, boolean pElliptical, int pMinorRadius, double pAngle, boolean pPlaceSnow, BlockState pState) private static boolean
MultifaceGrowthFeature.isAirOrWater
(BlockState pState) private static boolean
RootSystemFeature.isAllowedTreeSpace
(BlockState pState, int pY, int pAllowedVerticalWater) static boolean
Feature.isDirt
(BlockState p_159760_) static boolean
DripstoneUtils.isDripstoneBase
(BlockState pState) static boolean
DripstoneUtils.isDripstoneBaseOrLava
(BlockState pState) static boolean
DripstoneUtils.isEmptyOrWater
(BlockState p_159665_) static boolean
DripstoneUtils.isEmptyOrWaterOrLava
(BlockState p_159667_) private static boolean
IcebergFeature.isIcebergState
(BlockState pState) static boolean
DripstoneUtils.isNeitherEmptyNorWater
(BlockState pState) protected static boolean
Feature.isStone
(BlockState pState) protected boolean
CoralFeature.placeCoralBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) protected boolean
CoralClawFeature.placeFeature
(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract boolean
CoralFeature.placeFeature
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) protected boolean
CoralMushroomFeature.placeFeature
(LevelAccessor p_224982_, RandomSource p_224983_, BlockPos p_224984_, BlockState p_224985_) protected boolean
CoralTreeFeature.placeFeature
(LevelAccessor p_224987_, RandomSource p_224988_, BlockPos p_224989_, BlockState p_224990_) static boolean
MultifaceGrowthFeature.placeGrowthIfPossible
(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, MultifaceGrowthConfiguration pConfig, RandomSource pRandom, List<Direction> pDirections) private void
HugeFungusFeature.placeHatDropBlock
(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState, boolean pWeepingVines) protected void
Feature.safeSetBlock
(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, Predicate<BlockState> pOldState) protected void
Feature.setBlock
(LevelWriter pLevel, BlockPos pPos, BlockState pState) protected void
TreeFeature.setBlock
(LevelWriter pLevel, BlockPos pPos, BlockState pState) private static void
TreeFeature.setBlockKnownShape
(LevelWriter pLevel, BlockPos pPos, BlockState pState) private void
IcebergFeature.setIcebergBlock
(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom, int pHeightRemaining, int pHeight, boolean pElliptical, boolean pPlaceSnow, BlockState pState) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected static void
DripstoneUtils.buildBaseToTipColumn
(Direction pDirection, int pHeight, boolean pMergeTip, Consumer<BlockState> pBlockSetter) static boolean
OreFeature.canPlaceOre
(BlockState pState, Function<BlockPos, BlockState> pAdjacentStateAccessor, RandomSource pRandom, OreConfiguration pConfig, OreConfiguration.TargetBlockState pTargetState, BlockPos.MutableBlockPos pMutablePos) static boolean
Feature.checkNeighbors
(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos, Predicate<BlockState> pFilter) static boolean
Feature.checkNeighbors
(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos, Predicate<BlockState> pFilter) private boolean
TreeFeature.doPlace
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos, BiConsumer<BlockPos, BlockState> pRootBlockSetter, BiConsumer<BlockPos, BlockState> pTrunkBlockSetter, FoliagePlacer.FoliageSetter pFoliageBlockSetter, TreeConfiguration pConfig) static boolean
Feature.isAdjacentToAir
(Function<BlockPos, BlockState> pAdjacentStateAccessor, BlockPos pPos) protected boolean
VegetationPatchFeature.placeGround
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, Predicate<BlockState> pReplaceableblocks, RandomSource pRandom, BlockPos.MutableBlockPos pMutablePos, int pMaxDistance) VegetationPatchFeature.placeGroundPatch
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) WaterloggedVegetationPatchFeature.placeGroundPatch
(WorldGenLevel pLevel, VegetationPatchConfiguration pConfig, RandomSource pRandom, BlockPos pPos, Predicate<BlockState> pState, int pXRadius, int pZRadius) protected void
Feature.safeSetBlock
(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, Predicate<BlockState> pOldState) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type BlockStateModifierConstructorDescriptionHugeFungusConfiguration
(BlockState p_285423_, BlockState p_285075_, BlockState p_285050_, BlockState p_285067_, BlockPredicate p_284983_, boolean p_285285_) -
Uses of BlockState in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
DeltaFeatureConfiguration.contents
final BlockState
ReplaceSphereConfiguration.replaceState
private final BlockState
DeltaFeatureConfiguration.rim
final BlockState
BlockStateConfiguration.state
final BlockState
LayerConfiguration.state
final BlockState
OreConfiguration.TargetBlockState.state
final BlockState
ReplaceSphereConfiguration.targetState
Methods in net.minecraft.world.level.levelgen.feature.configurations that return BlockStateModifier and TypeMethodDescriptionDeltaFeatureConfiguration.contents()
DeltaFeatureConfiguration.rim()
Methods in net.minecraft.world.level.levelgen.feature.configurations with parameters of type BlockStateConstructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type BlockStateModifierConstructorDescriptionBlockStateConfiguration
(BlockState p_67550_) DeltaFeatureConfiguration
(BlockState p_160731_, BlockState p_160732_, IntProvider p_160733_, IntProvider p_160734_) LayerConfiguration
(int p_67772_, BlockState p_67773_) OreConfiguration
(RuleTest pTarget, BlockState pState, int pSize) OreConfiguration
(RuleTest pTarget, BlockState pState, int pSize, float pDiscardChanceOnAirExposure) ReplaceBlockConfiguration
(BlockState pTargetState, BlockState pState) ReplaceSphereConfiguration
(BlockState p_161091_, BlockState p_161092_, IntProvider p_161093_) (package private)
TargetBlockState
(RuleTest p_161036_, BlockState p_161037_) -
Uses of BlockState in net.minecraft.world.level.levelgen.feature.foliageplacers
Methods in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
FoliagePlacer.FoliageSetter.set
(BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.level.levelgen.feature.rootplacers
Methods in net.minecraft.world.level.levelgen.feature.rootplacers that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
RootPlacer.getPotentiallyWaterloggedState
(LevelSimulatedReader pLevel, BlockPos pPos, BlockState pState) Methods in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type BlockStateModifier and TypeMethodDescriptionprotected BlockState
RootPlacer.getPotentiallyWaterloggedState
(LevelSimulatedReader pLevel, BlockPos pPos, BlockState pState) Method parameters in net.minecraft.world.level.levelgen.feature.rootplacers with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected void
MangroveRootPlacer.placeRoot
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) protected void
RootPlacer.placeRoot
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pTreeConfig) boolean
MangroveRootPlacer.placeRoots
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) abstract boolean
RootPlacer.placeRoots
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, BlockPos pTrunkOrigin, TreeConfiguration pTreeConfig) -
Uses of BlockState in net.minecraft.world.level.levelgen.feature.stateproviders
Fields in net.minecraft.world.level.levelgen.feature.stateproviders declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
NoiseThresholdProvider.defaultState
private final BlockState
SimpleStateProvider.state
Fields in net.minecraft.world.level.levelgen.feature.stateproviders with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final List
<BlockState> NoiseThresholdProvider.highStates
private final List
<BlockState> NoiseThresholdProvider.lowStates
protected final List
<BlockState> NoiseProvider.states
private final SimpleWeightedRandomList
<BlockState> WeightedStateProvider.weightedList
Methods in net.minecraft.world.level.levelgen.feature.stateproviders that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
NoiseProvider.getRandomState
(List<BlockState> pPossibleStates, double pDelta) protected BlockState
NoiseProvider.getRandomState
(List<BlockState> pPossibleStates, BlockPos pPos, double pDelta) abstract BlockState
BlockStateProvider.getState
(RandomSource pRandom, BlockPos pPos) DualNoiseProvider.getState
(RandomSource pRandom, BlockPos pPos) NoiseProvider.getState
(RandomSource pRandom, BlockPos pPos) NoiseThresholdProvider.getState
(RandomSource pRandom, BlockPos pPos) RandomizedIntStateProvider.getState
(RandomSource pRandom, BlockPos pPos) RotatedBlockProvider.getState
(RandomSource pRandom, BlockPos pPos) RuleBasedBlockStateProvider.getState
(WorldGenLevel pLevel, RandomSource pRandom, BlockPos pPos) SimpleStateProvider.getState
(RandomSource pRandom, BlockPos pPos) WeightedStateProvider.getState
(RandomSource pRandom, BlockPos pPos) Methods in net.minecraft.world.level.levelgen.feature.stateproviders that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprotected static <P extends NoiseProvider>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, Long, NormalNoise.NoiseParameters, Float, List<BlockState>> NoiseProvider.noiseProviderCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> p_191460_) Methods in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockStateModifier and TypeMethodDescriptionprivate static IntegerProperty
RandomizedIntStateProvider.findProperty
(BlockState pState, String pPropertyName) static SimpleStateProvider
BlockStateProvider.simple
(BlockState pState) Method parameters in net.minecraft.world.level.levelgen.feature.stateproviders with type arguments of type BlockStateModifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<WeightedStateProvider> WeightedStateProvider.create
(SimpleWeightedRandomList<BlockState> p_161598_) protected BlockState
NoiseProvider.getRandomState
(List<BlockState> pPossibleStates, double pDelta) protected BlockState
NoiseProvider.getRandomState
(List<BlockState> pPossibleStates, BlockPos pPos, double pDelta) Constructors in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockStateModifierConstructorDescriptionNoiseThresholdProvider
(long p_191471_, NormalNoise.NoiseParameters p_191472_, float p_191473_, float p_191474_, float p_191475_, BlockState p_191476_, List<BlockState> p_191477_, List<BlockState> p_191478_) protected
SimpleStateProvider
(BlockState p_68801_) Constructor parameters in net.minecraft.world.level.levelgen.feature.stateproviders with type arguments of type BlockStateModifierConstructorDescriptionDualNoiseProvider
(InclusiveRange<Integer> p_191396_, NormalNoise.NoiseParameters p_191397_, float p_191398_, long p_191399_, NormalNoise.NoiseParameters p_191400_, float p_191401_, List<BlockState> p_191402_) NoiseProvider
(long p_191442_, NormalNoise.NoiseParameters p_191443_, float p_191444_, List<BlockState> p_191445_) NoiseThresholdProvider
(long p_191471_, NormalNoise.NoiseParameters p_191472_, float p_191473_, float p_191474_, float p_191475_, BlockState p_191476_, List<BlockState> p_191477_, List<BlockState> p_191478_) WeightedStateProvider
(SimpleWeightedRandomList<BlockState> pWeightedList) -
Uses of BlockState in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final BiConsumer
<BlockPos, BlockState> TreeDecorator.Context.decorationSetter
Methods in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
TreeDecorator.Context.setBlock
(BlockPos pPos, BlockState pState) Constructor parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type BlockStateModifierConstructorDescriptionContext
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pDecorationSetter, RandomSource pRandom, Set<BlockPos> pLogs, Set<BlockPos> pLeaves, Set<BlockPos> pRoots) -
Uses of BlockState in net.minecraft.world.level.levelgen.feature.trunkplacers
Method parameters in net.minecraft.world.level.levelgen.feature.trunkplacers with type arguments of type BlockStateModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter, Direction pDirection, int pSecondBranchStartOffsetFromTop, boolean pDoubleBranch, BlockPos.MutableBlockPos pCurrentPos) private FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter, Direction pDirection, int pSecondBranchStartOffsetFromTop, boolean pDoubleBranch, BlockPos.MutableBlockPos pCurrentPos) private FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter, Direction pDirection, int pSecondBranchStartOffsetFromTop, boolean pDoubleBranch, BlockPos.MutableBlockPos pCurrentPos) private void
FancyTrunkPlacer.makeBranches
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pMaxHeight, BlockPos pPos, List<FancyTrunkPlacer.FoliageCoords> pFoliageCoords, TreeConfiguration pConfig) private boolean
FancyTrunkPlacer.makeLimb
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pBasePos, BlockPos pOffsetPos, boolean pModifyWorld, TreeConfiguration pConfig) private void
UpwardsBranchingTrunkPlacer.placeBranch
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, TreeConfiguration pTreeConfig, List<FoliagePlacer.FoliageAttachment> pFoliageAttachments, BlockPos.MutableBlockPos pPos, int pY, Direction pDirection, int pExtraBranchLength, int pExtraBranchSteps) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter) protected void
TrunkPlacer.placeLogIfFree
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig) private void
GiantTrunkPlacer.placeLogIfFreeWithOffset
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos.MutableBlockPos pPos, TreeConfiguration pConfig, BlockPos pOffsetPos, int pOffsetX, int pOffsetY, int pOffsetZ) BendingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) CherryTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) DarkOakTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) FancyTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) ForkingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) GiantTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) MegaJungleTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) StraightTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) abstract List
<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) UpwardsBranchingTrunkPlacer.placeTrunk
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig) protected static void
TrunkPlacer.setDirtAt
(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, BlockPos pPos, TreeConfiguration pConfig) -
Uses of BlockState in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final List
<BlockState> FlatLevelGeneratorSettings.layers
Methods in net.minecraft.world.level.levelgen.flat that return BlockStateMethods in net.minecraft.world.level.levelgen.flat that return types with arguments of type BlockState -
Uses of BlockState in net.minecraft.world.level.levelgen.material
Methods in net.minecraft.world.level.levelgen.material that return BlockStateModifier and TypeMethodDescriptionWorldGenMaterialRule.apply
(NoiseChunk pChunk, int pX, int pY, int pZ) MaterialRuleList.calculate
(DensityFunction.FunctionContext p_209815_) -
Uses of BlockState in net.minecraft.world.level.levelgen.placement
Methods in net.minecraft.world.level.levelgen.placement that return BlockStateMethods in net.minecraft.world.level.levelgen.placement with parameters of type BlockStateModifier and TypeMethodDescriptionprivate static boolean
CountOnEveryLayerPlacement.isEmpty
(BlockState pState) Deprecated. -
Uses of BlockState in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as BlockStateModifier and TypeFieldDescriptionprotected static final BlockState
StructurePiece.CAVE_AIR
protected BlockState
StructurePiece.BlockSelector.next
Methods in net.minecraft.world.level.levelgen.structure that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
StructurePiece.getBlock
(BlockGetter pLevel, int pX, int pY, int pZ, BoundingBox pBox) StructurePiece.BlockSelector.getNext()
static BlockState
StructurePiece.reorient
(BlockGetter pLevel, BlockPos pPos, BlockState pState) Methods in net.minecraft.world.level.levelgen.structure with parameters of type BlockStateModifier and TypeMethodDescriptionprotected boolean
StructurePiece.createChest
(ServerLevelAccessor pLevel, BoundingBox pBox, RandomSource pRandom, BlockPos pPos, ResourceKey<LootTable> pLootTable, BlockState pState) protected void
StructurePiece.fillColumnDown
(WorldGenLevel pLevel, BlockState pState, int pX, int pY, int pZ, BoundingBox pBox) protected void
StructurePiece.generateBox
(WorldGenLevel pLevel, BoundingBox pBox, int pXMin, int pYMin, int pZMin, int pXMax, int pYMax, int pZMax, BlockState pBoundaryBlockState, BlockState pInsideBlockState, boolean pExistingOnly) Fill the given area with the selected blocksprotected void
StructurePiece.generateBox
(WorldGenLevel pLevel, BoundingBox pBoundingBox, BoundingBox pBox, BlockState pBoundaryBlockState, BlockState pInsideBlockState, boolean pExistingOnly) protected void
StructurePiece.generateMaybeBox
(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, float pChance, int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2, BlockState pEdgeState, BlockState pState, boolean pRequireNonAir, boolean pRequireSkylight) protected void
StructurePiece.generateUpperHalfSphere
(WorldGenLevel pLevel, BoundingBox pBox, int pMinX, int pMinY, int pMinZ, int pMaxX, int pMaxY, int pMaxZ, BlockState pState, boolean pExcludeAir) protected boolean
StructurePiece.isReplaceableByStructures
(BlockState pState) protected void
StructurePiece.maybeGenerateBlock
(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, float pChance, int pX, int pY, int pZ, BlockState pState) protected void
StructurePiece.placeBlock
(WorldGenLevel pLevel, BlockState pBlockstate, int pX, int pY, int pZ, BoundingBox pBoundingbox) static BlockState
StructurePiece.reorient
(BlockGetter pLevel, BlockPos pPos, BlockState pState) -
Uses of BlockState in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as BlockStateModifier and TypeFieldDescriptionprotected static final BlockState
OceanMonumentPieces.OceanMonumentPiece.BASE_BLACK
protected static final BlockState
OceanMonumentPieces.OceanMonumentPiece.BASE_GRAY
protected static final BlockState
OceanMonumentPieces.OceanMonumentPiece.BASE_LIGHT
protected static final BlockState
OceanMonumentPieces.OceanMonumentPiece.DOT_DECO_DATA
private final BlockState
MineshaftStructure.Type.fenceState
protected static final BlockState
OceanMonumentPieces.OceanMonumentPiece.FILL_BLOCK
protected static final BlockState
OceanMonumentPieces.OceanMonumentPiece.LAMP_BLOCK
private final BlockState
MineshaftStructure.Type.planksState
private final BlockState
MineshaftStructure.Type.woodState
Methods in net.minecraft.world.level.levelgen.structure.structures that return BlockStateModifier and TypeMethodDescriptionMineshaftStructure.Type.getFenceState()
MineshaftStructure.Type.getPlanksState()
MineshaftStructure.Type.getWoodState()
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type BlockStateModifier and TypeMethodDescriptionprivate boolean
MineshaftPieces.MineShaftCorridor.canHangChainBelow
(LevelReader pLevel, BlockPos pPos, BlockState pState) private boolean
MineshaftPieces.MineShaftCorridor.canPlaceColumnOnTopOf
(LevelReader pLevel, BlockPos pPos, BlockState pState) private static void
MineshaftPieces.MineShaftCorridor.fillColumnBetween
(WorldGenLevel pLevel, BlockState pState, BlockPos.MutableBlockPos pPos, int pMinY, int pMaxY) protected void
MineshaftPieces.MineShaftCorridor.fillColumnDown
(WorldGenLevel pLevel, BlockState pState, int pX, int pY, int pZ, BoundingBox pBox) protected void
MineshaftPieces.MineShaftCorridor.fillPillarDownOrChainUp
(WorldGenLevel pLevel, BlockState pState, int pX, int pY, int pZ, BoundingBox pBox) protected void
OceanMonumentPieces.OceanMonumentPiece.generateBoxOnFillOnly
(WorldGenLevel pLevel, BoundingBox pBox, int pMinX, int pMinY, int pMinZ, int pMaxX, int pMaxY, int pMaxZ, BlockState pState) private boolean
BuriedTreasurePieces.BuriedTreasurePiece.isLiquid
(BlockState pState) protected void
MineshaftPieces.MineShaftPiece.setPlanksBlock
(WorldGenLevel pLevel, BoundingBox pBox, BlockState pPlankState, int pX, int pY, int pZ) -
Uses of BlockState in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
BlockStateMatchTest.blockState
private final BlockState
RandomBlockStateMatchTest.blockState
static final BlockState
StructureTemplate.SimplePalette.DEFAULT_BLOCK_STATE
private static final BlockState[]
BlockAgeProcessor.NON_MOSSY_REPLACEMENTS
private final BlockState
ProcessorRule.outputState
private final BlockState
StructureTemplate.StructureBlockInfo.state
The field for thestate
record component.Fields in net.minecraft.world.level.levelgen.structure.templatesystem with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final IdMapper
<BlockState> StructureTemplate.SimplePalette.ids
Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return BlockStateModifier and TypeMethodDescriptionProcessorRule.getOutputState()
private static BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource pRandom, BlockState[] pStates) private BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource pRandom, BlockState[] pNormalStates, BlockState[] pMossyStates) private static BlockState
BlockAgeProcessor.getRandomFacingStairs
(RandomSource pRandom, Block pStairsBlock) private BlockState
BlockAgeProcessor.maybeReplaceFullStoneBlock
(RandomSource pRandom) private BlockState
BlockAgeProcessor.maybeReplaceObsidian
(RandomSource pRandom) private BlockState
BlockAgeProcessor.maybeReplaceSlab
(RandomSource pRandom) private BlockState
BlockAgeProcessor.maybeReplaceStairs
(RandomSource pRandom, BlockState pState) private BlockState
BlockAgeProcessor.maybeReplaceWall
(RandomSource pRandom) StructureTemplate.StructureBlockInfo.state()
Returns the value of thestate
record component.StructureTemplate.SimplePalette.stateFor
(int pId) Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return types with arguments of type BlockStateMethods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
StructureTemplate.SimplePalette.addMapping
(BlockState pState, int pId) private static BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource pRandom, BlockState[] pStates) private BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource pRandom, BlockState[] pNormalStates, BlockState[] pMossyStates) int
StructureTemplate.SimplePalette.idFor
(BlockState pState) private BlockState
BlockAgeProcessor.maybeReplaceStairs
(RandomSource pRandom, BlockState pState) boolean
AlwaysTrueTest.test
(BlockState p_230248_, RandomSource p_230249_) boolean
BlockMatchTest.test
(BlockState pState, RandomSource pRandom) boolean
BlockStateMatchTest.test
(BlockState pState, RandomSource pRandom) boolean
ProcessorRule.test
(BlockState pInputState, BlockState pExistingState, BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) boolean
RandomBlockMatchTest.test
(BlockState pState, RandomSource pRandom) boolean
RandomBlockStateMatchTest.test
(BlockState pState, RandomSource pRandom) abstract boolean
RuleTest.test
(BlockState pState, RandomSource pRandom) boolean
TagMatchTest.test
(BlockState pState, RandomSource pRandom) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type BlockStateModifierConstructorDescriptionBlockStateMatchTest
(BlockState p_74093_) ProcessorRule
(RuleTest pInputPredicate, RuleTest pLocPredicate, BlockState pOutputState) ProcessorRule
(RuleTest pInputPredicate, RuleTest pLocPredicate, PosRuleTest pPosPredicate, BlockState pOutputState) ProcessorRule
(RuleTest pInputPredicate, RuleTest pLocPredicate, PosRuleTest pPosPredicate, BlockState pOutputState, RuleBlockEntityModifier p_277808_) RandomBlockStateMatchTest
(BlockState p_74280_, float p_74281_) StructureBlockInfo
(BlockPos pos, BlockState state, CompoundTag nbt) Creates an instance of aStructureBlockInfo
record class. -
Uses of BlockState in net.minecraft.world.level.lighting
Methods in net.minecraft.world.level.lighting that return BlockStateMethods in net.minecraft.world.level.lighting with parameters of type BlockStateModifier and TypeMethodDescriptionprivate int
ChunkSkyLightSources.findLowestSourceBelow
(BlockGetter pLevel, BlockPos pPos, BlockState pState) private int
BlockLightEngine.getEmission
(long pPackedPos, BlockState pState) static int
LightEngine.getLightBlockInto
(BlockGetter pLevel, BlockState pState1, BlockPos pPos1, BlockState pState2, BlockPos pPos2, Direction pDirection, int pDefaultReturnValue) protected VoxelShape
LightEngine.getOcclusionShape
(BlockState pState, long pPos, Direction pDirection) static VoxelShape
LightEngine.getOcclusionShape
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pDirection) protected int
LightEngine.getOpacity
(BlockState pState, BlockPos pPos) static boolean
LightEngine.hasDifferentLightProperties
(BlockGetter pLevel, BlockPos pPos, BlockState pState1, BlockState pState2) private static boolean
ChunkSkyLightSources.isEdgeOccluded
(BlockGetter pLevel, BlockPos pPos1, BlockState pState1, BlockPos pPos2, BlockState pState2) protected static boolean
LightEngine.isEmptyShape
(BlockState pState) protected boolean
LightEngine.shapeOccludes
(long pPackedPos1, BlockState pState1, long pPackedPos2, BlockState pState2, Direction pDirection) private boolean
ChunkSkyLightSources.updateEdge
(BlockGetter pLevel, int pIndex, int pMinY, BlockPos pPos1, BlockState pState1, BlockPos pPos2, BlockState pState2) -
Uses of BlockState in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
EmptyFluid.createLegacyBlock
(FluidState pState) protected abstract BlockState
Fluid.createLegacyBlock
(FluidState pState) FluidState.createLegacyBlock()
LavaFluid.createLegacyBlock
(FluidState pState) WaterFluid.createLegacyBlock
(FluidState pState) Methods in net.minecraft.world.level.material with parameters of type BlockStateModifier and TypeMethodDescriptionprotected abstract void
FlowingFluid.beforeDestroyingBlock
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected void
LavaFluid.beforeDestroyingBlock
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected void
WaterFluid.beforeDestroyingBlock
(LevelAccessor pLevel, BlockPos pPos, BlockState pState) private boolean
FlowingFluid.canHoldFluid
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private boolean
FlowingFluid.canPassThrough
(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private boolean
FlowingFluid.canPassThroughWall
(Direction pDirection, BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected boolean
FlowingFluid.canSpreadTo
(BlockGetter pLevel, BlockPos pFromPos, BlockState pFromBlockState, Direction pDirection, BlockPos pToPos, BlockState pToBlockState, FluidState pToFluidState, Fluid pFluid) protected FluidState
FlowingFluid.getNewLiquid
(Level pLevel, BlockPos pPos, BlockState pBlockState) protected int
FlowingFluid.getSlopeDistance
(LevelReader p_76027_, BlockPos p_76028_, int p_76029_, Direction p_76030_, BlockState p_76031_, BlockPos p_76032_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> p_76033_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap p_76034_) protected Map
<Direction, FluidState> FlowingFluid.getSpread
(Level pLevel, BlockPos pPos, BlockState pState) private boolean
FlowingFluid.isWaterHole
(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected void
FlowingFluid.spreadTo
(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) protected void
LavaFluid.spreadTo
(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) private void
FlowingFluid.spreadToSides
(Level pLevel, BlockPos pPos, FluidState pFluidState, BlockState pBlockState) Method parameters in net.minecraft.world.level.material with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected int
FlowingFluid.getSlopeDistance
(LevelReader p_76027_, BlockPos p_76028_, int p_76029_, Direction p_76030_, BlockState p_76031_, BlockPos p_76032_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> p_76033_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap p_76034_) -
Uses of BlockState in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder that return BlockStateMethods in net.minecraft.world.level.pathfinder with parameters of type BlockState -
Uses of BlockState in net.minecraft.world.level.portal
Methods in net.minecraft.world.level.portal with parameters of type BlockState -
Uses of BlockState in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
CollectingNeighborUpdater.FullNeighborUpdate.state
The field for thestate
record component.private final BlockState
CollectingNeighborUpdater.ShapeUpdate.state
The field for thestate
record component.Methods in net.minecraft.world.level.redstone that return BlockStateModifier and TypeMethodDescriptionCollectingNeighborUpdater.FullNeighborUpdate.state()
Returns the value of thestate
record component.CollectingNeighborUpdater.ShapeUpdate.state()
Returns the value of thestate
record component.Methods in net.minecraft.world.level.redstone with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
NeighborUpdater.executeShapeUpdate
(LevelAccessor pLevel, Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) static void
NeighborUpdater.executeUpdate
(Level pLevel, BlockState pState, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) void
CollectingNeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) void
InstantNeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) void
NeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, BlockPos pNeighborPos, boolean pMovedByPiston) void
CollectingNeighborUpdater.shapeUpdate
(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) void
InstantNeighborUpdater.shapeUpdate
(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) void
NeighborUpdater.shapeUpdate
(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) Constructors in net.minecraft.world.level.redstone with parameters of type BlockStateModifierConstructorDescription(package private)
FullNeighborUpdate
(BlockState state, BlockPos pos, Block block, BlockPos neighborPos, boolean movedByPiston) Creates an instance of aFullNeighborUpdate
record class.(package private)
ShapeUpdate
(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdate
record class. -
Uses of BlockState in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters with type parameters of type BlockStateModifier and TypeFieldDescriptionstatic final LootContextParam
<BlockState> LootContextParams.BLOCK_STATE
-
Uses of BlockState in net.neoforged.neoforge.capabilities
Methods in net.neoforged.neoforge.capabilities with parameters of type BlockStateModifier and TypeMethodDescriptionBlockCapability.getCapability
(Level level, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) IBlockCapabilityProvider.getCapability
(Level level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, C context) Returns the capability, ornull
if not available. -
Uses of BlockState in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
ClientHooks.calculateFaceWithoutAO
(BlockAndTintGetter getter, BlockState state, BlockPos pos, BakedQuad quad, boolean isFaceCubic, float[] brightness, int[] lightmap) static boolean
ClientHooks.isBlockInSolidLayer
(BlockState state) static boolean
ClientHooks.renderBlockOverlay
(Player player, PoseStack mat, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos pos) static void
ClientHooks.renderPistonMovedBlocks
(BlockPos pos, BlockState state, PoseStack stack, MultiBufferSource bufferSource, Level level, boolean checkSides, int packedOverlay, BlockRenderDispatcher blockRenderer) -
Uses of BlockState in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
RenderBlockScreenEffectEvent.blockState
Methods in net.neoforged.neoforge.client.event that return BlockStateModifier and TypeMethodDescriptionRenderBlockScreenEffectEvent.getBlockState()
Returns the block which the overlay is gotten from.Constructors in net.neoforged.neoforge.client.event with parameters of type BlockStateModifierConstructorDescriptionRenderBlockScreenEffectEvent
(Player player, PoseStack poseStack, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos blockPos) -
Uses of BlockState in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type BlockStateModifier and TypeMethodDescriptiondefault ModelData
IBakedModelExtension.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) IBakedModelExtension.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) A nullRenderType
is used for the breaking overlay as well as non-standard rendering, so models should return all their quads.default ChunkRenderTypeSet
IBakedModelExtension.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) Gets the set ofrender types
to use when drawing this block in the level.default TriState
IBakedModelExtension.useAmbientOcclusion
(BlockState state, ModelData data, RenderType renderType) Controls the AO behavior for all quads of this model. -
Uses of BlockState in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type BlockStateModifier and TypeMethodDescriptiondefault boolean
IClientBlockExtensions.addDestroyEffects
(BlockState state, Level Level, BlockPos pos, ParticleEngine manager) Spawn particles for when the block is destroyed.default boolean
IClientBlockExtensions.addHitEffects
(BlockState state, Level level, HitResult target, ParticleEngine manager) Spawn a digging particle effect in the level, this is a wrapper around EffectRenderer.addBlockHitEffects to allow the block more control over the particles.default boolean
IClientBlockExtensions.areBreakingParticlesTinted
(BlockState state, ClientLevel level, BlockPos pos) Returns true if the breaking particles created from theBlockState
passed should be tinted with biome colors.default org.joml.Vector3d
IClientBlockExtensions.getFogColor
(BlockState state, LevelReader level, BlockPos pos, Entity entity, org.joml.Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTEDstatic IClientBlockExtensions
IClientBlockExtensions.of
(BlockState state) default boolean
IClientBlockExtensions.playBreakSound
(BlockState state, Level level, BlockPos pos) Play breaking sound(s) when the block is destroyed.default boolean
IClientFluidTypeExtensions.renderFluid
(FluidState fluidState, BlockAndTintGetter getter, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState) Called to allow rendering custom quads for a fluid during chunk meshing. -
Uses of BlockState in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type BlockStateModifier and TypeMethodDescriptionBakedModelWrapper.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) CompositeModel.Baked.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) CompositeModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) BakedModelWrapper.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) CompositeModel.Baked.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) SeparateTransformsModel.Baked.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) BakedModelWrapper.useAmbientOcclusion
(BlockState state, ModelData data, RenderType renderType) -
Uses of BlockState in net.neoforged.neoforge.client.model.data
Methods in net.neoforged.neoforge.client.model.data with parameters of type BlockStateModifier and TypeMethodDescriptionstatic ModelData
MultipartModelData.create
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> selectors, BitSet bitset, BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData tileModelData) Method parameters in net.neoforged.neoforge.client.model.data with type arguments of type BlockStateModifier and TypeMethodDescriptionstatic ModelData
MultipartModelData.create
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> selectors, BitSet bitset, BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData tileModelData) -
Uses of BlockState in net.neoforged.neoforge.client.model.generators
Fields in net.neoforged.neoforge.client.model.generators with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final Set
<BlockState> VariantBlockStateBuilder.coveredStates
Methods in net.neoforged.neoforge.client.model.generators with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
VariantBlockStateBuilder.PartialBlockstate.test
(BlockState blockState) Method parameters in net.neoforged.neoforge.client.model.generators with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
BlockStateProvider.directionalBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.directionalBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) VariantBlockStateBuilder.forAllStates
(Function<BlockState, ConfiguredModel[]> mapper) VariantBlockStateBuilder.forAllStatesExcept
(Function<BlockState, ConfiguredModel[]> mapper, Property<?>... ignored) void
BlockStateProvider.horizontalBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.horizontalBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) void
BlockStateProvider.horizontalFaceBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.horizontalFaceBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) -
Uses of BlockState in net.neoforged.neoforge.client.model.lighting
Fields in net.neoforged.neoforge.client.model.lighting declared as BlockStateMethods in net.neoforged.neoforge.client.model.lighting with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
FlatQuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos pos, BlockState state) protected abstract void
QuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos pos, BlockState state) protected void
SmoothQuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos origin, BlockState state) static boolean
LightPipelineAwareModelBlockRenderer.render
(VertexConsumer vertexConsumer, QuadLighter lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) final void
QuadLighter.setup
(BlockAndTintGetter level, BlockPos pos, BlockState state) Set up this lighter to light quads of the given block.void
LightPipelineAwareModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
LightPipelineAwareModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) -
Uses of BlockState in net.neoforged.neoforge.client.model.renderable
Fields in net.neoforged.neoforge.client.model.renderable declared as BlockStateModifier and TypeFieldDescriptionprivate final @Nullable BlockState
BakedModelRenderable.Context.state
The field for thestate
record component.Methods in net.neoforged.neoforge.client.model.renderable that return BlockStateModifier and TypeMethodDescription@Nullable BlockState
BakedModelRenderable.Context.state()
Returns the value of thestate
record component.Constructors in net.neoforged.neoforge.client.model.renderable with parameters of type BlockStateModifierConstructorDescriptionContext
(@Nullable BlockState state, Direction[] faces, RandomSource randomSource, long seed, ModelData data, org.joml.Vector4f tint) Creates an instance of aContext
record class. -
Uses of BlockState in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
CommonHooks.canCropGrow
(Level level, BlockPos pos, BlockState state, boolean def) Checks if a crop can grow by firingCropGrowEvent.Pre
.static BlockEvent.BreakEvent
CommonHooks.fireBlockBreak
(Level level, GameType gameType, ServerPlayer player, BlockPos pos, BlockState state) FiresBlockEvent.BreakEvent
, pre-emptively canceling the event based on the conditions that will cause the block to not be broken anyway.static void
CommonHooks.fireCropGrowPost
(Level level, BlockPos pos, BlockState state) static void
CommonHooks.handleBlockDrops
(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Fires theBlockDropsEvent
when block drops (items and experience) are determined.CommonHooks.isLivingOnLadder
(BlockState state, Level level, BlockPos pos, LivingEntity entity) static boolean
CommonHooks.onFarmlandTrample
(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) static int
CommonHooks.onNoteChange
(Level level, BlockPos pos, BlockState state, int old, int _new) -
Uses of BlockState in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return BlockStateModifier and TypeMethodDescriptiondefault BlockState
IBlockExtension.getAppearance
(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this block reports to look like on the given side, for querying by other mods.default BlockState
IBlockStateExtension.getAppearance
(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this state reports to look like on the given side for querying by other mods.default BlockState
IBlockExtension.getStateAtViewpoint
(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default BlockState
IBlockStateExtension.getStateAtViewpoint
(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default @Nullable BlockState
IBlockExtension.getToolModifiedState
(BlockState state, UseOnContext context, ItemAbility itemAbility, boolean simulate) Returns the state that this block should transform into when right-clicked by a tool.default @Nullable BlockState
IBlockStateExtension.getToolModifiedState
(UseOnContext context, ItemAbility itemAbility, boolean simulate) Returns the state that this block should transform into when right-clicked by a tool.default BlockState
IBlockExtension.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockState
IBlockStateExtension.rotate
(LevelAccessor level, BlockPos pos, Rotation direction) private BlockState
IBlockStateExtension.self()
Methods in net.neoforged.neoforge.common.extensions with parameters of type BlockStateModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.addLandingEffects
(BlockState state1, ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IBlockStateExtension.addLandingEffects
(ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IBlockExtension.addRunningEffects
(BlockState state, Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default boolean
IBlockExtension.canBeHydrated
(BlockState state, BlockGetter getter, BlockPos pos, FluidState fluid, BlockPos fluidPos) Returns whether the block can be hydrated by a fluid.default boolean
IBlockExtension.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault boolean
IBlockExtension.canDropFromExplosion
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default boolean
IBlockExtension.canEntityDestroy
(BlockState state, BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IBlockExtension.canHarvestBlock
(BlockState state, BlockGetter level, BlockPos pos, Player player) Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.default boolean
IFluidExtension.canHydrate
(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default boolean
IFluidStateExtension.canHydrate
(BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default boolean
IBaseRailBlockExtension.canMakeSlopes
(BlockState state, BlockGetter level, BlockPos pos) Returns true if the rail can make up and down slopes.default boolean
IBlockExtension.canStickTo
(BlockState state, BlockState other) Determines if this block can stick to another block when pushed by a piston.default boolean
IBlockStateExtension.canStickTo
(BlockState other) Determines if this block can stick to another block when pushed by a piston.default TriState
IBlockExtension.canSustainPlant
(BlockState state, BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default TriState
IBlockStateExtension.canSustainPlant
(BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.boolean
IEntityExtension.canTrample
(BlockState state, BlockPos pos, float fallDistance) default boolean
IBlockExtension.collisionExtendsVertically
(BlockState state, BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default @Nullable PathType
IBlockExtension.getAdjacentBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default BlockState
IBlockExtension.getAppearance
(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this block reports to look like on the given side, for querying by other mods.default BlockState
IBlockStateExtension.getAppearance
(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this state reports to look like on the given side for querying by other mods.default @Nullable Integer
IBlockExtension.getBeaconColorMultiplier
(BlockState state, LevelReader level, BlockPos pos, BlockPos beaconPos) default Direction
IBlockExtension.getBedDirection
(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default @Nullable PathType
IBlockExtension.getBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default BubbleColumnDirection
IBlockExtension.getBubbleColumnDirection
(BlockState state) Determines if this block can spawn Bubble Columns and if so, what direction the column flows.default <T,
C extends @Nullable Object>
TILevelExtension.getCapability
(BlockCapability<T, C> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) Retrieve a block capability.default <T> T
ILevelExtension.getCapability
(BlockCapability<T, @Nullable Void> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity) Retrieve a block capability with no context.default ItemStack
IBlockExtension.getCloneItemStack
(BlockState state, HitResult target, LevelReader level, BlockPos pos, Player player) Called when A user uses the creative pick block button on this blockdefault float
IBlockExtension.getEnchantPowerBonus
(BlockState state, LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default int
IBlockExtension.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default float
IBlockExtension.getExplosionResistance
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault int
IBlockExtension.getFireSpreadSpeed
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default int
IBlockExtension.getFlammability
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.default float
IBlockExtension.getFriction
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default int
IBlockExtension.getLightEmission
(BlockState state, BlockGetter level, BlockPos pos) Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15default MapColor
IBlockExtension.getMapColor
(BlockState state, BlockGetter level, BlockPos pos, MapColor defaultColor) Returns theMapColor
shown on the map.default Optional
<SoundEvent> IBucketPickupExtension.getPickupSound
(BlockState state) State sensitive variant ofBucketPickup.getPickupSound()
.default @Nullable PushReaction
IBlockExtension.getPistonPushReaction
(BlockState state) Returns the reaction of the block when pushed or pulled by a piston.IBaseRailBlockExtension.getRailDirection
(BlockState state, BlockGetter level, BlockPos pos, @Nullable AbstractMinecart cart) Return the rail's direction.default float
IBaseRailBlockExtension.getRailMaxSpeed
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) Returns the max speed of the rail at the specified position.default Optional
<ServerPlayer.RespawnPosAngle> IBlockExtension.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation) Returns the position that the entity is moved to upon respawning at this block.default SoundType
IBlockExtension.getSoundType
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault BlockState
IBlockExtension.getStateAtViewpoint
(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default @Nullable BlockState
IBlockExtension.getToolModifiedState
(BlockState state, UseOnContext context, ItemAbility itemAbility, boolean simulate) Returns the state that this block should transform into when right-clicked by a tool.default boolean
IBlockExtension.getWeakChanges
(BlockState state, LevelReader level, BlockPos pos) If this block should be notified of weak changes.default boolean
IBlockExtension.hasDynamicLightEmission
(BlockState state) Whether this block has dynamic light emission which is not solely based on theBlockState
and instead uses theBlockPos
, theAuxiliaryLightManager
or another external data source to determine its light value inIBlockExtension.getLightEmission(BlockState, BlockGetter, BlockPos)
default boolean
IBlockExtension.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IBlockStateExtension.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IBlockExtension.isBed
(BlockState state, BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlock
checks.default boolean
IBlockExtension.isBurning
(BlockState state, BlockGetter level, BlockPos pos) Determines if this block should set fire and deal fire damage to entities coming into contact with it.default boolean
IBlockExtension.isConduitFrame
(BlockState state, LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IBlockExtension.isEmpty
(BlockState state) Return true if the state is able to be replaced with Blocks.AIR in chunk sections that is entirely made of blocks that return true for isEmptydefault boolean
IBlockExtension.isFertile
(BlockState state, BlockGetter level, BlockPos pos) Checks if this soil is fertile, typically this means that growth rates of plants on this soil will be slightly sped up.default boolean
IBlockExtension.isFireSource
(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default boolean
IBlockExtension.isFlammable
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.boolean
IBaseRailBlockExtension.isFlexibleRail
(BlockState state, BlockGetter level, BlockPos pos) Return true if the rail can make corners.default boolean
IBlockExtension.isLadder
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IBlockExtension.isPortalFrame
(BlockState state, BlockGetter level, BlockPos pos) Determines if this block can be used as part of a frame of a nether portal.default boolean
IBlockExtension.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IBlockExtension.isSlimeBlock
(BlockState state) default boolean
IBlockExtension.isStickyBlock
(BlockState state) default boolean
IBlockExtension.makesOpenTrapdoorAboveClimbable
(BlockState state, LevelReader level, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default void
IBlockExtension.onBlockExploded
(BlockState state, Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IBlockExtension.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState, BlockState newState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IBlockStateExtension.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IBlockExtension.onCaughtFire
(BlockState state, Level level, BlockPos pos, @Nullable Direction direction, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IBlockExtension.onDestroyedByPlayer
(BlockState state, Level level, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) Called when a player removes a block.default void
IBlockExtension.onDestroyedByPushReaction
(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY
.default void
IBaseRailBlockExtension.onMinecartPass
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) This function is called by any minecart that passes over this rail.default void
IBlockExtension.onNeighborChange
(BlockState state, LevelReader level, BlockPos pos, BlockPos neighbor) Called when a block entity on a side of this block changes, is created, or is destroyed.default boolean
IBlockExtension.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default BlockState
IBlockExtension.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default void
IBlockExtension.setBedOccupied
(BlockState state, Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default boolean
IBlockExtension.shouldCheckWeakPower
(BlockState state, SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default boolean
IBlockExtension.shouldDisplayFluidOverlay
(BlockState state, BlockAndTintGetter level, 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
IBlockExtension.shouldHideAdjacentFluidFace
(BlockState state, Direction selfFace, FluidState adjacentFluid) Determines if a fluid adjacent to the block on the given side should not be rendered.default boolean
IBlockExtension.supportsExternalFaceHiding
(BlockState state) Whether this block allows a neighboring block to hide the face of this block it touches.Method parameters in net.neoforged.neoforge.common.extensions with type arguments of type BlockStateModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default boolean
IBlockStateExtension.onTreeGrow
(LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer. -
Uses of BlockState in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as BlockStateMethods in net.neoforged.neoforge.common.util that return BlockStateModifier and TypeMethodDescriptionBlockSnapshot.getCurrentState()
Returns the current (live) block state at the recorded position, not the snapshot's recorded state.BlockSnapshot.getState()
Returns the snapshot's recorded block state.Constructors in net.neoforged.neoforge.common.util with parameters of type BlockStateModifierConstructorDescriptionprivate
BlockSnapshot
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of BlockState in net.neoforged.neoforge.debug.block
Methods in net.neoforged.neoforge.debug.block that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
BlockTests.CustomBubbleColumnSustainingBlock.updateShape
(BlockState currentBlockState, Direction direction, BlockState sideBlockState, LevelAccessor levelAccessor, BlockPos currentBlockPos, BlockPos sideBlockPos) Methods in net.neoforged.neoforge.debug.block with parameters of type BlockStateModifier and TypeMethodDescriptionCanSustainPlantTests.CustomSuperSustainingBlock.canSustainPlant
(BlockState state, BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) BlockTests.CustomBubbleColumnSustainingBlock.getBubbleColumnDirection
(BlockState state) int
BlockPropertyTests.LightBlock.getLightEmission
(BlockState state, BlockGetter level, BlockPos pos) boolean
BlockPropertyTests.LightBlock.hasDynamicLightEmission
(BlockState state) BlockPropertyTests.LightBlock.newBlockEntity
(BlockPos pos, BlockState state) void
OnDestroyedByPushReactionTests.DestroyedByPushReactionListeningBlock.onDestroyedByPushReaction
(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) protected void
BlockTests.CustomBubbleColumnSustainingBlock.onPlace
(BlockState blockState, Level level, BlockPos blockPos, BlockState oldBlockState, boolean isMoving) protected void
BlockTests.CustomBubbleColumnSustainingBlock.tick
(BlockState blockState, ServerLevel serverLevel, BlockPos blockPos, RandomSource randomSource) protected BlockState
BlockTests.CustomBubbleColumnSustainingBlock.updateShape
(BlockState currentBlockState, Direction direction, BlockState sideBlockState, LevelAccessor levelAccessor, BlockPos currentBlockPos, BlockPos sideBlockPos) BlockPropertyTests.LightBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hit) Constructors in net.neoforged.neoforge.debug.block with parameters of type BlockStateModifierConstructorDescriptionLightBlockEntity
(BlockEntityType<?> beType, BlockPos pos, BlockState state) -
Uses of BlockState in net.neoforged.neoforge.debug.fluid
Methods in net.neoforged.neoforge.debug.fluid with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
ClientFluidTests.WaterGlassBlock.shouldHideAdjacentFluidFace
(BlockState state, Direction selfFace, FluidState adjacentFluid) -
Uses of BlockState in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event that return BlockStateModifier and TypeMethodDescriptionstatic BlockState
EventHooks.fireFluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) static @Nullable BlockState
EventHooks.onToolUse
(BlockState originalState, UseOnContext context, ItemAbility itemAbility, boolean simulate) Methods in net.neoforged.neoforge.event with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
EventHooks.canCreateFluidSource
(Level level, BlockPos pos, BlockState state) Checks if a fluid is allowed to create a fluid source.static boolean
EventHooks.doPlayerHarvestCheck
(Player player, BlockState state, BlockGetter level, BlockPos pos) static BonemealEvent
EventHooks.fireBonemealEvent
(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) Called when bone meal (or equivalent) is used on a block.static BlockState
EventHooks.fireFluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) static float
EventHooks.getBreakSpeed
(Player player, BlockState state, float original, BlockPos pos) static boolean
EventHooks.onEntityDestroyBlock
(LivingEntity entity, BlockPos pos, BlockState state) EventHooks.onNeighborNotify
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) static @Nullable BlockState
EventHooks.onToolUse
(BlockState originalState, UseOnContext context, ItemAbility itemAbility, boolean simulate) -
Uses of BlockState in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as BlockStateMethods in net.neoforged.neoforge.event.entity.living that return BlockStateConstructors in net.neoforged.neoforge.event.entity.living with parameters of type BlockStateModifierConstructorDescriptionLivingDestroyBlockEvent
(LivingEntity entity, BlockPos pos, BlockState state) -
Uses of BlockState in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
BonemealEvent.state
private final BlockState
CanPlayerSleepEvent.state
private final BlockState
PlayerEvent.BreakSpeed.state
private final BlockState
PlayerEvent.HarvestCheck.state
Methods in net.neoforged.neoforge.event.entity.player that return BlockStateModifier and TypeMethodDescriptionBonemealEvent.getState()
Returns the state of the bone mealed block.CanPlayerSleepEvent.getState()
PlayerEvent.BreakSpeed.getState()
PlayerEvent.HarvestCheck.getTargetBlock()
Constructors in net.neoforged.neoforge.event.entity.player with parameters of type BlockStateModifierConstructorDescriptionBonemealEvent
(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) BreakSpeed
(Player player, BlockState state, float original, @Nullable BlockPos pos) HarvestCheck
(Player player, BlockState state, BlockGetter level, BlockPos pos, boolean success) -
Uses of BlockState in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as BlockStateModifier and TypeFieldDescriptionprivate BlockState
BlockEvent.FluidPlaceBlockEvent.newState
private BlockState
BlockEvent.FluidPlaceBlockEvent.origState
private final BlockState
BlockEvent.EntityPlaceEvent.placedAgainst
private final BlockState
BlockEvent.EntityPlaceEvent.placedBlock
private BlockState
BlockEvent.BlockToolModificationEvent.state
private final BlockState
BlockEvent.state
Methods in net.neoforged.neoforge.event.level that return BlockStateModifier and TypeMethodDescriptionBlockEvent.BlockToolModificationEvent.getFinalState()
Returns the state to transform the block into after item ability use.BlockEvent.FluidPlaceBlockEvent.getNewState()
BlockEvent.FluidPlaceBlockEvent.getOriginalState()
BlockEvent.EntityPlaceEvent.getPlacedAgainst()
BlockEvent.EntityPlaceEvent.getPlacedBlock()
AlterGroundEvent.StateProvider.getState
(RandomSource random, BlockPos state) Gets the BlockState that will be placed at the passed position.BlockEvent.getState()
Methods in net.neoforged.neoforge.event.level with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
BlockEvent.BlockToolModificationEvent.setFinalState
(@Nullable BlockState finalState) Sets the state to transform the block into after tool use.void
BlockEvent.FluidPlaceBlockEvent.setNewState
(BlockState state) Constructors in net.neoforged.neoforge.event.level with parameters of type BlockStateModifierConstructorDescriptionBlockDropsEvent
(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Constructs a new BlockDropsEventBlockEvent
(LevelAccessor level, BlockPos pos, BlockState state) BlockToolModificationEvent
(BlockState originalState, UseOnContext context, ItemAbility itemAbility, boolean simulate) BreakEvent
(Level level, BlockPos pos, BlockState state, Player player) Change
(Level world, BlockPos pos, BlockState state, int oldNote, int newNote) EntityMultiPlaceEvent
(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, @Nullable Entity entity) EntityPlaceEvent
(BlockSnapshot blockSnapshot, BlockState placedAgainst, @Nullable Entity entity) FarmlandTrampleEvent
(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) FluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) NeighborNotifyEvent
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) protected
NoteBlockEvent
(Level world, BlockPos pos, BlockState state, int note) Play
(Level world, BlockPos pos, BlockState state, int note, NoteBlockInstrument instrument) PortalSpawnEvent
(LevelAccessor level, BlockPos pos, BlockState state, PortalShape size) -
Uses of BlockState in net.neoforged.neoforge.event.level.block
Fields in net.neoforged.neoforge.event.level.block declared as BlockStateMethods in net.neoforged.neoforge.event.level.block that return BlockStateModifier and TypeMethodDescriptionCropGrowEvent.Post.getOriginalState()
Returns the original state of the crop before growing.CropGrowEvent.Post.getState()
Returns the new state of the crop after growing.Constructors in net.neoforged.neoforge.event.level.block with parameters of type BlockStateModifierConstructorDescriptionCreateFluidSourceEvent
(Level level, BlockPos pos, BlockState state) CropGrowEvent
(Level level, BlockPos pos, BlockState state) Post
(Level level, BlockPos pos, BlockState original, BlockState state) Pre
(Level level, BlockPos pos, BlockState state) -
Uses of BlockState in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
BaseFlowingFluid.createLegacyBlock
(FluidState state) FluidType.getBlockForFluidState
(BlockAndTintGetter getter, BlockPos pos, FluidState state) Returns the associatedBlockState
for aFluidState
.Methods in net.neoforged.neoforge.fluids with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
BaseFlowingFluid.beforeDestroyingBlock
(LevelAccessor worldIn, BlockPos pos, BlockState state) boolean
FluidType.canHydrate
(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.int
CauldronFluidContent.currentLevel
(BlockState state) Return the current level of the cauldron given its block state, or 0 if it's an empty cauldron.Constructors in net.neoforged.neoforge.fluids with parameters of type BlockStateModifierConstructorDescriptionInteractionInformation
(FluidInteractionRegistry.HasFluidInteraction predicate, BlockState state) Constructor which transforms the source state into a block.InteractionInformation
(FluidType type, BlockState state) Constructor which checks the surroundings fluids for a specific type and then transforms the source state into a block.Constructor parameters in net.neoforged.neoforge.fluids with type arguments of type BlockStateModifierConstructorDescriptionInteractionInformation
(FluidInteractionRegistry.HasFluidInteraction predicate, Function<FluidState, BlockState> getState) Constructor which transforms the source state into a block.InteractionInformation
(FluidType type, Function<FluidState, BlockState> getState) Constructor which checks the surroundings fluids for a specific type and then transforms the source state into a block. -
Uses of BlockState in net.neoforged.neoforge.fluids.capability.wrappers
Fields in net.neoforged.neoforge.fluids.capability.wrappers declared as BlockStateMethods in net.neoforged.neoforge.fluids.capability.wrappers with parameters of type BlockStateModifier and TypeMethodDescriptionprivate FluidStack
CauldronWrapper.drain
(BlockState state, int maxDrain, IFluidHandler.FluidAction action) private CauldronFluidContent
CauldronWrapper.getContent
(BlockState state) Constructors in net.neoforged.neoforge.fluids.capability.wrappers with parameters of type BlockState -
Uses of BlockState in net.neoforged.neoforge.oldtest.block
Methods in net.neoforged.neoforge.oldtest.block that return BlockStateModifier and TypeMethodDescriptionValidRailShapeTest.RailSlopeBlock.getStateForPlacement
(BlockPlaceContext context) Methods in net.neoforged.neoforge.oldtest.block with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
RedstoneSidedConnectivityTest.EastRedstoneBlock.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) boolean
CustomPlantTypeTest.CustomPlantBlock.canSurvive
(BlockState state, LevelReader world, BlockPos pos) boolean
ValidRailShapeTest.RailSlopeBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) CustomPlantTypeTest.CustomBlock.canSustainPlant
(BlockState state, BlockGetter level, BlockPos pos, Direction facing, BlockState plantable) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) FullPotsAccessorDemo.DioriteFlowerPotBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) boolean
HideNeighborFaceTest.GlassSlab.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) boolean
ScaffoldingTest.ScaffoldingMethodTestBlock.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) boolean
CustomPlantTypeTest.CustomPlantBlock.mayPlaceOn
(BlockState state, BlockGetter worldIn, BlockPos pos) void
RedstoneSidedConnectivityTest.EastRedstoneBlock.neighborChanged
(BlockState state, Level world, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) CustomHeadTest.CustomSkullBlock.newBlockEntity
(BlockPos pos, BlockState state) CustomHeadTest.CustomWallSkullBlock.newBlockEntity
(BlockPos pos, BlockState state) CustomSignsTest.CustomCeilingHangingSignBlock.newBlockEntity
(BlockPos pos, BlockState state) CustomSignsTest.CustomStandingSignBlock.newBlockEntity
(BlockPos pos, BlockState state) CustomSignsTest.CustomWallHangingSignBlock.newBlockEntity
(BlockPos pos, BlockState state) CustomSignsTest.CustomWallSignBlock.newBlockEntity
(BlockPos pos, BlockState state) FullPotsAccessorDemo.DioriteFlowerPotBlock.newBlockEntity
(BlockPos pos, BlockState state) boolean
HideNeighborFaceTest.GlassSlab.skipRendering
(BlockState state, BlockState neighborState, Direction face) FullPotsAccessorDemo.DioriteFlowerPotBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) Method parameters in net.neoforged.neoforge.oldtest.block with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected void
ValidRailShapeTest.RailSlopeBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) Constructors in net.neoforged.neoforge.oldtest.block with parameters of type BlockStateModifierConstructorDescriptionCustomHangingSignBlockEntity
(BlockPos pos, BlockState state) CustomSignBlockEntity
(BlockPos pos, BlockState state) CustomSkullBlockEntity
(BlockPos pos, BlockState state) DioriteFlowerPotBlockEntity
(BlockPos pos, BlockState state) -
Uses of BlockState in net.neoforged.neoforge.oldtest.client.model
Methods in net.neoforged.neoforge.oldtest.client.model that return BlockStateModifier and TypeMethodDescription@Nullable BlockState
CustomItemDisplayContextTest.ItemHangerBlock.getStateForPlacement
(BlockPlaceContext ctx) @Nullable BlockState
NewModelLoaderTest.TestBlock.getStateForPlacement
(BlockPlaceContext context) Methods in net.neoforged.neoforge.oldtest.client.model with parameters of type BlockStateModifier and TypeMethodDescriptionMegaModelTest.TransformingModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) TRSRTransformerTest.MyBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) CustomItemDisplayContextTest.ItemHangerBlock.getRenderShape
(BlockState state) Deprecated.NewModelLoaderTest.TestBlock.getShape
(BlockState state, BlockGetter worldIn, BlockPos pos, CollisionContext context) @Nullable BlockEntity
CustomItemDisplayContextTest.ItemHangerBlock.newBlockEntity
(BlockPos pos, BlockState state) @Nullable BlockEntity
MegaModelTest.TestBlock.newBlockEntity
(BlockPos pos, BlockState state) protected boolean
CustomItemDisplayContextTest.ItemHangerItem.placeBlock
(BlockPlaceContext ctx, BlockState state) protected ItemInteractionResult
MegaModelTest.TestBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) Method parameters in net.neoforged.neoforge.oldtest.client.model with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected void
CustomItemDisplayContextTest.ItemHangerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
NewModelLoaderTest.TestBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) Constructors in net.neoforged.neoforge.oldtest.client.model with parameters of type BlockStateModifierConstructorDescriptionEntity
(BlockPos pos, BlockState state) ItemHangerBlockEntity
(BlockPos blockPos, BlockState blockState) ItemHangerBlockEntity
(BlockEntityType<?> type, BlockPos blockPos, BlockState blockState) -
Uses of BlockState in net.neoforged.neoforge.oldtest.fluid
Methods in net.neoforged.neoforge.oldtest.fluid with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
NewFluidTest.FluidloggableBlock.canPlaceLiquid
(@Nullable Player player, BlockGetter worldIn, BlockPos pos, BlockState state, Fluid fluidIn) NewFluidTest.FluidloggableBlock.getFluidState
(BlockState state) NewFluidTest.FluidloggableBlock.pickupBlock
(@Nullable Player player, LevelAccessor worldIn, BlockPos pos, BlockState state) boolean
NewFluidTest.FluidloggableBlock.placeLiquid
(LevelAccessor worldIn, BlockPos pos, BlockState state, FluidState fluidStateIn) Method parameters in net.neoforged.neoforge.oldtest.fluid with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected void
NewFluidTest.FluidloggableBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) -
Uses of BlockState in net.neoforged.neoforge.oldtest.misc
Methods in net.neoforged.neoforge.oldtest.misc with parameters of type BlockStateModifier and TypeMethodDescription@Nullable BlockEntity
GameTestTest.EnergyBlock.newBlockEntity
(BlockPos pos, BlockState state) Constructors in net.neoforged.neoforge.oldtest.misc with parameters of type BlockState -
Uses of BlockState in net.neoforged.neoforge.oldtest.world
Methods in net.neoforged.neoforge.oldtest.world with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
ForgeChunkManagerTest.ChunkLoaderBlock.onPlace
(BlockState state, Level worldIn, BlockPos pos, BlockState oldState, boolean isMoving) void
ForgeChunkManagerTest.ChunkLoaderBlock.onRemove
(BlockState state, Level worldIn, BlockPos pos, BlockState newState, boolean isMoving) Deprecated. -
Uses of BlockState in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries with type parameters of type BlockStateModifier and TypeFieldDescription(package private) static final NeoForgeRegistryCallbacks.BlockCallbacks.ClearableObjectIntIdentityMap
<BlockState> NeoForgeRegistryCallbacks.BlockCallbacks.BLOCKSTATE_TO_ID_MAP
(package private) static final Map
<BlockState, Holder<PoiType>> NeoForgeRegistryCallbacks.PoiTypeCallbacks.BLOCKSTATE_TO_POI_TYPE_MAP
Methods in net.neoforged.neoforge.registries that return types with arguments of type BlockStateModifier and TypeMethodDescriptionstatic IdMapper
<BlockState> GameData.getBlockStateIDMap()
static Map
<BlockState, Holder<PoiType>> GameData.getBlockStatePointOfInterestTypeMap()
-
Uses of BlockState in net.neoforged.testframework.gametest
Methods in net.neoforged.testframework.gametest with parameters of type BlockStateModifier and TypeMethodDescriptionStructureTemplateBuilder.fill
(int x, int y, int z, int toX, int toY, int toZ, BlockState state) StructureTemplateBuilder.fill
(int x, int y, int z, int toX, int toY, int toZ, BlockState state, @Nullable CompoundTag nbt) default T
TemplateBuilderHelper.placeSustainedWater
(int x, int y, int z, BlockState surrounding) default T
TemplateBuilderHelper.placeWaterConfinement
(int x, int y, int z, BlockState surrounding, boolean bottom) StructureTemplateBuilder.set
(int x, int y, int z, BlockState state) StructureTemplateBuilder.set
(int x, int y, int z, BlockState state, @Nullable CompoundTag nbt) TemplateBuilderHelper.set
(int x, int y, int z, BlockState state, @Nullable CompoundTag nbt) -
Uses of BlockState in net.neoforged.testframework.registration
Method parameters in net.neoforged.testframework.registration with type arguments of type BlockStateModifier and TypeMethodDescription<B extends Block,
E extends BlockEntity>
DeferredBlockBuilder<B> DeferredBlocks.registerBlockWithBEType
(String name, BiFunction<BlockBehaviour.Properties, Supplier<BlockEntityType<E>>, ? extends B> func, org.apache.commons.lang3.function.TriFunction<BlockEntityType<?>, BlockPos, BlockState, E> beType, BlockBehaviour.Properties props)
invalid @link