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.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 BlockStateModifierConstructorDescriptionBlockMarker
(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 ChunkSectionLayer
ItemBlockRenderTypes.getChunkRenderType
(BlockState pState) Deprecated.Neo: Use invalid input: '{@link net.minecraft.client.renderer.block.model.BlockModelPart#' getRenderType(BlockState)}.static int
LevelRenderer.getLightColor
(LevelRenderer.BrightnessGetter pBrightnessGetter, BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos) static RenderType
ItemBlockRenderTypes.getMovingBlockRenderType
(BlockState pState) Deprecated.Neo: Useinvalid @link
{@link net.neoforged.neoforge.client.RenderTypeHelper#
static RenderType
ItemBlockRenderTypes.getRenderType
(BlockState pState) Deprecated.Neo: Useinvalid @link
{@link net.neoforged.neoforge.client.RenderTypeHelper#
private void
LevelRenderer.renderHitOutline
(PoseStack pPoseStack, VertexConsumer pBuffer, Entity pEntity, double pCamX, double pCamY, double pCamZ, BlockPos pPos, BlockState pState, int pColor) 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, BlockStateModel> BlockModelShaper.modelByStateCache
Methods in net.minecraft.client.renderer.block with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
ModelBlockRenderer.AmbientOcclusionRenderStorage.calculate
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection, boolean pShade) private static void
ModelBlockRenderer.calculateShape
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int[] pVertices, Direction pDirection, ModelBlockRenderer.CommonRenderStorage pRenderStorage) 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.BlockModelShaper.getParticleIcon
(BlockState pState, BlockAndTintGetter level, BlockPos pos) float
ModelBlockRenderer.Cache.getShadeBrightness
(BlockState pState, BlockAndTintGetter pLevel, BlockPos pPos) private static boolean
LiquidBlockRenderer.isFaceOccludedByNeighbor
(Direction pFace, float pHeight, BlockState pState) private static boolean
LiquidBlockRenderer.isFaceOccludedBySelf
(BlockState pState, Direction pFace) private static boolean
LiquidBlockRenderer.isFaceOccludedByState
(Direction pFace, float pHeight, 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, ModelBlockRenderer.CommonRenderStorage pRenderStorage, int pPackedOverlay) void
BlockRenderDispatcher.renderBatched
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, List<BlockModelPart> pParts) Deprecated.void
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234361_, List<BlockModelPart> p_410643_) void
BlockRenderDispatcher.renderBreakingTexture
(BlockState pState, BlockPos pPos, BlockAndTintGetter pLevel, PoseStack pPoseStack, VertexConsumer pConsumer) void
BlockRenderDispatcher.renderLiquid
(BlockPos pPos, BlockAndTintGetter pLevel, VertexConsumer pConsumer, BlockState pBlockState, FluidState pFluidState) static void
ModelBlockRenderer.renderModel
(PoseStack.Pose p_111068_, MultiBufferSource bufferSource, BlockStateModel p_405848_, float p_111072_, float p_111073_, float p_111074_, int p_111075_, int p_111076_, BlockAndTintGetter level, BlockPos pos, BlockState state) private void
ModelBlockRenderer.renderModelFaceAO
(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, List<BakedQuad> pQuads, ModelBlockRenderer.AmbientOcclusionRenderStorage pRenderStorage, 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, ModelBlockRenderer.CommonRenderStorage pRenderStorage) private void
ModelBlockRenderer.renderModelQuadFlat
(BlockAndTintGetter p_111002_, BlockState p_111003_, BlockPos p_111004_, int p_111005_, int p_111006_, boolean p_111007_, PoseStack p_111008_, VertexConsumer p_111009_, BakedQuad bakedquad, ModelBlockRenderer.CommonRenderStorage p_412163_) 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, BlockAndTintGetter level, BlockPos pos) static boolean
LiquidBlockRenderer.shouldRenderFace
(FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static boolean
LiquidBlockRenderer.shouldRenderFace
(FluidState pFluidState, BlockState pBlockState, Direction pSide, FluidState pNeighborFluid) Deprecated.Neo: use overload that accepts BlockStateprotected static boolean
ModelBlockRenderer.shouldRenderFace
(BlockAndTintGetter p_412640_, BlockPos pos, BlockState p_412168_, boolean p_412054_, Direction p_412130_, BlockPos p_412608_) private static boolean
ModelBlockRenderer.shouldRenderFace
(BlockAndTintGetter pLevel, BlockState pState, boolean pCheckSides, Direction pFace, BlockPos pPos) Deprecated.void
LiquidBlockRenderer.tesselate
(BlockAndTintGetter pLevel, BlockPos pPos, VertexConsumer pBuffer, BlockState pBlockState, FluidState pFluidState) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_234380_, List<BlockModelPart> p_410025_, BlockState p_234382_, BlockPos p_234383_, PoseStack p_234384_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234386_, int p_234389_) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_234391_, List<BlockModelPart> p_410478_, BlockState p_234393_, BlockPos p_234394_, PoseStack p_234395_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234397_, int p_234400_) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter pLevel, List<BlockModelPart> pParts, BlockState pState, BlockPos pPos, PoseStack pPoseStack, VertexConsumer pConsumer, boolean pCheckSides, int pPackedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_234402_, List<BlockModelPart> p_410604_, BlockState p_234404_, BlockPos p_234405_, PoseStack p_234406_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234408_, int p_234411_) Method parameters in net.minecraft.client.renderer.block with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
BlockModelShaper.replaceCache
(Map<BlockState, BlockStateModel> pModelByStateCache) -
Uses of BlockState in net.minecraft.client.renderer.block.model
Methods in net.minecraft.client.renderer.block.model that return types with arguments of type BlockStateModifier and TypeMethodDescriptionBlockModelDefinition.instantiate
(StateDefinition<Block, BlockState> pStateDefinition, Supplier<String> pName) BlockModelDefinition.instantiateVanilla
(StateDefinition<Block, BlockState> p_360641_, Supplier<String> p_405739_) Methods in net.minecraft.client.renderer.block.model with parameters of type BlockStateModifier and TypeMethodDescriptionBlockStateModel.SimpleCachedUnbakedRoot.bake
(BlockState pState, ModelBaker pBaker) BlockStateModel.UnbakedRoot.bake
(BlockState pState, ModelBaker pBaker) SingleVariant.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) SimpleModelWrapper.getRenderType
(BlockState state) BlockStateModel.SimpleCachedUnbakedRoot.visualEqualityGroup
(BlockState pState) BlockStateModel.UnbakedRoot.visualEqualityGroup
(BlockState pState) Method parameters in net.minecraft.client.renderer.block.model with type arguments of type BlockStateModifier and TypeMethodDescriptionBlockModelDefinition.instantiate
(StateDefinition<Block, BlockState> pStateDefinition, Supplier<String> pName) BlockModelDefinition.MultiPartDefinition.instantiate
(StateDefinition<Block, BlockState> pStateDefinition) void
BlockModelDefinition.SimpleModelSelectors.instantiate
(StateDefinition<Block, BlockState> pStateDefinition, Supplier<String> pName, BiConsumer<BlockState, BlockStateModel.UnbakedRoot> pOutput) void
BlockModelDefinition.SimpleModelSelectors.instantiate
(StateDefinition<Block, BlockState> pStateDefinition, Supplier<String> pName, BiConsumer<BlockState, BlockStateModel.UnbakedRoot> pOutput) BlockModelDefinition.instantiateVanilla
(StateDefinition<Block, BlockState> p_360641_, Supplier<String> p_405739_) -
Uses of BlockState in net.minecraft.client.renderer.block.model.multipart
Fields in net.minecraft.client.renderer.block.model.multipart declared as BlockStateFields in net.minecraft.client.renderer.block.model.multipart with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final Predicate
<BlockState> MultiPartModel.Selector.condition
The field for thecondition
record component.Methods in net.minecraft.client.renderer.block.model.multipart that return types with arguments of type BlockStateModifier and TypeMethodDescriptionMultiPartModel.Selector.condition()
Returns the value of thecondition
record component.Methods in net.minecraft.client.renderer.block.model.multipart with parameters of type BlockStateModifier and TypeMethodDescriptionMultiPartModel.Unbaked.bake
(BlockState pState, ModelBaker pBaker) void
MultiPartModel.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource p_410101_, List<BlockModelPart> p_410550_) MultiPartModel.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) MultiPartModel.SharedBakedState.selectModels
(BlockState pState) MultiPartModel.Unbaked.visualEqualityGroup
(BlockState pState) Constructors in net.minecraft.client.renderer.block.model.multipart with parameters of type BlockStateModifierConstructorDescription(package private)
MultiPartModel
(MultiPartModel.SharedBakedState pShared, BlockState pBlockState) Constructor parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type BlockStateModifierConstructorDescriptionSelector
(Predicate<BlockState> condition, T model) Creates an instance of aSelector
record class. -
Uses of BlockState in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type BlockStateModifier and TypeMethodDescriptionHangingSignRenderer.AttachmentType.byBlockState
(BlockState pBlockState) protected abstract Model
AbstractSignRenderer.getSignModel
(BlockState pState, WoodType pWoodType) protected Model
HangingSignRenderer.getSignModel
(BlockState pState, WoodType pWoodType) protected Model
SignRenderer.getSignModel
(BlockState pState, WoodType pWoodType) private void
PistonHeadRenderer.renderBlock
(BlockPos pPos, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, Level pLevel, boolean pExtended, int pPackedOverlay) private void
AbstractSignRenderer.renderSignWithText
(SignBlockEntity pBlockEntity, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, BlockState pState, SignBlock pSign, WoodType pWoodType, Model pModel) protected abstract void
AbstractSignRenderer.translateSign
(PoseStack pPoseStack, float pYRot, BlockState pState) protected void
HangingSignRenderer.translateSign
(PoseStack pPoseStack, float pYRot, BlockState pState) protected 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 BlockStateMethods in net.minecraft.client.renderer.chunk that return BlockStateModifier and TypeMethodDescriptionRenderSectionRegion.getBlockState
(BlockPos pPos) SectionCopy.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
AbstractMinecartRenderer.renderMinecartContents
(S pRenderState, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight) protected void
TntMinecartRenderer.renderMinecartContents
(MinecartTntRenderState pRenderState, BlockState pState, PoseStack pPoseStack, MultiBufferSource pBufferSource, 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 pBufferSource, int pPackedLight, boolean pRenderOutline, BlockState pState, int pPackedOverlay, BlockStateModel pModel) -
Uses of BlockState in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as BlockStateModifier and TypeFieldDescriptionFallingBlockRenderState.blockState
TntRenderState.blockState
EndermanRenderState.carriedBlock
MinecartRenderState.displayBlockState
Methods in net.minecraft.client.renderer.entity.state that return BlockState -
Uses of BlockState in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final Map
<BlockState, BlockStateModel> ModelBakery.BakingResult.blockStateModels
The field for theblockStateModels
record component.private static final StateDefinition
<Block, BlockState> BlockStateDefinitions.GLOW_ITEM_FRAME_FAKE_DEFINITION
private static final StateDefinition
<Block, BlockState> BlockStateDefinitions.ITEM_FRAME_FAKE_DEFINITION
private final Map
<BlockState, BlockStateModel> ModelManager.ReloadState.modelCache
The field for themodelCache
record component.private it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelManager.modelGroups
private final it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelManager.ReloadState.modelGroups
The field for themodelGroups
record component.private final Map
<BlockState, BlockStateModel.UnbakedRoot> BlockStateModelLoader.LoadedModels.models
The field for themodels
record component.private static final Map
<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateDefinitions.STATIC_DEFINITIONS
private final Map
<BlockState, BlockStateModel.UnbakedRoot> ModelBakery.unbakedBlockStateModels
Methods in net.minecraft.client.resources.model that return BlockStateModifier and TypeMethodDescriptionstatic BlockState
BlockStateDefinitions.getItemFrameFakeState
(boolean pIsGlowing, boolean pMap) Methods in net.minecraft.client.resources.model that return types with arguments of type BlockStateModifier and TypeMethodDescriptionModelBakery.BakingResult.blockStateModels()
Returns the value of theblockStateModels
record component.static it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelGroupCollector.build
(BlockColors p_364277_, BlockStateModelLoader.LoadedModels p_360427_) private static it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelManager.buildModelGroups
(BlockColors p_362057_, BlockStateModelLoader.LoadedModels p_362559_) private static Map
<BlockState, BlockStateModel> ModelManager.createBlockStateToModelDispatch
(Map<BlockState, BlockStateModel> pBlockStateModels, BlockStateModel pMissingModel) private static StateDefinition
<Block, BlockState> BlockStateDefinitions.createItemFrameFakeState()
(package private) static Function
<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateDefinitions.definitionLocationToBlockStateMapper()
ModelManager.ReloadState.modelCache()
Returns the value of themodelCache
record component.it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelManager.ReloadState.modelGroups()
Returns the value of themodelGroups
record component.BlockStateModelLoader.LoadedModels.models()
Returns the value of themodels
record component.Methods in net.minecraft.client.resources.model with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
WeightedVariants.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource p_409649_, List<BlockModelPart> p_410123_) static ModelGroupCollector.GroupKey
ModelGroupCollector.GroupKey.create
(BlockState pState, BlockStateModel.UnbakedRoot pRoot, List<Property<?>> pProperties) WeightedVariants.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) ModelGroupCollector.GroupKey.getColoringValues
(BlockState pState, List<Property<?>> pProperties) boolean
ModelManager.requiresRender
(BlockState pOldState, BlockState pNewState) Method parameters in net.minecraft.client.resources.model with type arguments of type BlockStateModifier and TypeMethodDescriptionprivate static Map
<BlockState, BlockStateModel> ModelManager.createBlockStateToModelDispatch
(Map<BlockState, BlockStateModel> pBlockStateModels, BlockStateModel pMissingModel) private static BlockStateModelLoader.LoadedModels
BlockStateModelLoader.loadBlockStateDefinitionStack
(ResourceLocation pBlockStateId, StateDefinition<Block, BlockState> pStateDefinition, List<BlockStateModelLoader.LoadedBlockModelDefinition> pModelDefinitions) private static CompletableFuture
<ModelManager.ReloadState> ModelManager.loadModels
(Map<ResourceLocation, AtlasSet.StitchResult> p_250646_, ModelBakery p_248945_, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> p_363498_, EntityModelSet p_388110_, SpecialBlockModelRenderer p_387466_, Executor p_405316_) Constructor parameters in net.minecraft.client.resources.model with type arguments of type BlockStateModifierConstructorDescriptionBakingResult
(ModelBakery.MissingModels missingModels, Map<BlockState, BlockStateModel> blockStateModels, Map<ResourceLocation, ItemModel> itemStackModels, Map<ResourceLocation, ClientItem.Properties> itemProperties) BakingResult
(ModelBakery.MissingModels missingModels, Map<BlockState, BlockStateModel> blockStateModels, Map<ResourceLocation, ItemModel> itemStackModels, Map<ResourceLocation, ClientItem.Properties> itemProperties, StandaloneModelLoader.BakedModels standaloneModels) Creates an instance of aBakingResult
record class.Creates an instance of aLoadedModels
record class.ModelBakery
(EntityModelSet pEntityModelSet, Map<BlockState, BlockStateModel.UnbakedRoot> pUnbakedBlockStateModels, Map<ResourceLocation, ClientItem> pClientInfos, Map<ResourceLocation, ResolvedModel> pResolvedModels, ResolvedModel pMissingModel) ModelBakery
(EntityModelSet pEntityModelSet, Map<BlockState, BlockStateModel.UnbakedRoot> pUnbakedBlockStateModels, Map<ResourceLocation, ClientItem> pClientInfos, Map<ResourceLocation, ResolvedModel> pResolvedModels, ResolvedModel pMissingModel, StandaloneModelLoader.LoadedModels standaloneModels) (package private)
ReloadState
(ModelBakery.BakingResult bakedModels, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> modelGroups, Map<BlockState, BlockStateModel> modelCache, Map<ResourceLocation, AtlasSet.StitchResult> atlasPreparations, EntityModelSet entityModelSet, SpecialBlockModelRenderer specialBlockModelRenderer, CompletableFuture<Void> readyForUpload) Creates an instance of aReloadState
record class.(package private)
ReloadState
(ModelBakery.BakingResult bakedModels, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> modelGroups, Map<BlockState, BlockStateModel> modelCache, Map<ResourceLocation, AtlasSet.StitchResult> atlasPreparations, EntityModelSet entityModelSet, SpecialBlockModelRenderer specialBlockModelRenderer, 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.private static <T extends Comparable<T>>
BlockStateBlockInput.copyProperty
(BlockState pSource, BlockState pTarget, Property<T> pProperty) BlockInput.getState()
private BlockState
BlockInput.overwriteWithDefinedProperties
(BlockState pState) Methods in net.minecraft.commands.arguments.blocks with parameters of type BlockStateModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateBlockInput.copyProperty
(BlockState pSource, BlockState pTarget, Property<T> pProperty) private BlockState
BlockInput.overwriteWithDefinedProperties
(BlockState pState) static String
BlockStateParser.serialize
(BlockState pState) Constructors 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 TypeMethodDescriptionprivate static InteractionResult
CauldronInteraction.bannerInteraction
(BlockState p_365039_, Level p_360792_, BlockPos p_364354_, Player p_362948_, InteractionHand p_363589_, ItemStack p_365256_) private static InteractionResult
CauldronInteraction.dyedItemIteration
(BlockState p_364488_, Level p_363832_, BlockPos p_363503_, Player p_362213_, InteractionHand p_360757_, ItemStack p_360363_) static InteractionResult
CauldronInteraction.emptyBucket
(Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pFilledStack, BlockState pState, SoundEvent pEmptySound) static InteractionResult
CauldronInteraction.fillBucket
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pEmptyStack, ItemStack pFilledStack, Predicate<BlockState> pStatePredicate, SoundEvent pFillSound) private static InteractionResult
CauldronInteraction.fillLavaInteraction
(BlockState p_360382_, Level p_365170_, BlockPos p_361603_, Player p_365069_, InteractionHand p_360292_, ItemStack p_364835_) private static InteractionResult
CauldronInteraction.fillPowderSnowInteraction
(BlockState p_361682_, Level p_362979_, BlockPos p_361996_, Player p_361273_, InteractionHand p_361726_, ItemStack p_361338_) private static InteractionResult
CauldronInteraction.fillWaterInteraction
(BlockState p_362955_, Level p_363378_, BlockPos p_363149_, Player p_364905_, InteractionHand p_361406_, ItemStack p_361413_) CauldronInteraction.interact
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, ItemStack pStack) private static InteractionResult
CauldronInteraction.shulkerBoxInteraction
(BlockState p_360793_, Level p_365272_, BlockPos p_361319_, Player p_365441_, InteractionHand p_361085_, ItemStack p_365174_) Method parameters in net.minecraft.core.cauldron with type arguments of type BlockStateModifier and TypeMethodDescriptionstatic InteractionResult
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.Methods in net.minecraft.core.dispenser with parameters of type BlockStateModifier and TypeMethodDescriptionprivate static RailShape
MinecartDispenseItemBehavior.getRailShape
(BlockState pState, ServerLevel level, BlockPos pos) 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) BlockParticleOption
(ParticleType<BlockParticleOption> pType, BlockState pState, BlockPos pos) Neo: construct aBlockParticleOption
for the given type andBlockState
and optionally the position of the block this particle is being spawned for -
Uses of BlockState in net.minecraft.data.worldgen.features
Methods in net.minecraft.data.worldgen.features that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate static WeightedList.Builder
<BlockState> VegetationFeatures.flowerBedPatchBuilder
(Block pBlock) static WeightedList.Builder
<BlockState> VegetationFeatures.leafLitterPatchBuilder
(int pMinAmount, int pMaxAmount) private static WeightedList.Builder
<BlockState> VegetationFeatures.segmentedBlockPatchBuilder
(Block pBlock, int pMinAmount, int pMaxAmount, IntegerProperty pAmountProperty, EnumProperty<Direction> pDirectionProperty) -
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.assertBlockState
(BlockPos pPos, BlockState pState) void
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, Function<BlockState, Component> pMessage) void
GameTestHelper.assertBlockState
(BlockPos pPos, Predicate<BlockState> pPredicate, Function<BlockState, Component> pMessage) -
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.previousStateAtDestination
The field for thepreviousStateAtDestination
record component.private final BlockState
CloneCommands.CloneBlockInfo.state
The field for thestate
record component.Methods in net.minecraft.server.commands that return BlockStateModifier and TypeMethodDescriptionCloneCommands.CloneBlockInfo.previousStateAtDestination()
Returns the value of thepreviousStateAtDestination
record component.CloneCommands.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, BlockState previousStateAtDestination) 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, Orientation pOrientation, boolean pMovedByPiston) 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) void
ServerLevel.updateNeighboursOnBlockSet
(BlockPos pPos, BlockState pState) void
ServerLevel.updatePOIOnBlockStateChange
(BlockPos pPos, BlockState pOldState, BlockState pNewState) 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.server.network
Methods in net.minecraft.server.network with parameters of type BlockStateModifier and TypeMethodDescriptionprivate static void
ServerGamePacketListenerImpl.addBlockDataToItem
(BlockState pState, ServerLevel pLevel, BlockPos pPos, ItemStack pStack) -
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 TypeMethodDescriptionWorldlyContainerHolder.getContainer
(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static void
Containers.updateNeighboursAfterDestroy
(BlockState pState, Level 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 TypeMethodDescriptionprivate void
Entity.applyMovementEmissionAndPlaySound
(Entity.MovementEmission pMovementEmission, Vec3 pMovement, BlockPos pPos, BlockState pState) boolean
Entity.canTrample
(ServerLevel level, BlockState state, BlockPos pos, double fallDistance) protected void
Entity.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_EDIBLE
-
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 BlockStateMethods in net.minecraft.world.entity.animal that return BlockStateMethods in net.minecraft.world.entity.animal with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
Bee.attractsBees
(BlockState pState) protected void
Bee.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
HappyGhast.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
AbstractCow.playStepSound
(BlockPos p_401406_, BlockState p_401079_) 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
HappyGhast.playStepSound
(BlockPos pPos, BlockState pState) 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
Turtle.playStepSound
(BlockPos pPos, BlockState pBlock) 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.sheep
Methods in net.minecraft.world.entity.animal.sheep with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Sheep.playStepSound
(BlockPos pPos, BlockState pState) -
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.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Wolf.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 BlockStateModifier and TypeFieldDescriptionprivate BlockState
FallingBlockEntity.blockState
private static final BlockState
FallingBlockEntity.DEFAULT_BLOCK_STATE
private static final BlockState
PrimedTnt.DEFAULT_BLOCK_STATE
Fields 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
Ghast.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
Phantom.checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) 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.creaking
Methods in net.minecraft.world.entity.monster.creaking with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Creaking.playStepSound
(BlockPos pPos, 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
Player.getDestroySpeed
(BlockState pState) Deprecated.Neo:Player.getDestroySpeed(BlockState, BlockPos)
insteadfloat
Player.getDestroySpeed
(BlockState pState, 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
Fields in net.minecraft.world.entity.vehicle with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<Optional<BlockState>> AbstractMinecart.DATA_ID_CUSTOM_DISPLAY_BLOCK
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 that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate Optional
<BlockState> AbstractMinecart.getCustomDisplayBlockState()
Methods in net.minecraft.world.entity.vehicle with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
NewMinecartBehavior.adjustToRails
(BlockPos pPos, BlockState pState, boolean pSnapToStart) private Vec3
NewMinecartBehavior.calculateBoostTrackSpeed
(Vec3 pSpeed, BlockPos pPos, BlockState pState) private Vec3
NewMinecartBehavior.calculateHaltTrackSpeed
(Vec3 pSpeed, BlockState pState) private Vec3
NewMinecartBehavior.calculateTrackSpeed
(ServerLevel pLevel, Vec3 pSpeed, NewMinecartBehavior.TrackIteration pTrackIteration, BlockPos pPos, BlockState pState, RailShape pRailShape) protected void
AbstractBoat.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 entityboolean
MinecartTNT.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) Method parameters in net.minecraft.world.entity.vehicle with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
AbstractMinecart.setCustomDisplayBlockState
(Optional<BlockState> pCustomDisplayBlockState) -
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 TypeMethodDescriptionprotected boolean
BucketItem.canBlockContainFluid
(Player player, Level worldIn, BlockPos posIn, BlockState blockstate) boolean
DebugStickItem.canDestroyBlock
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, LivingEntity pEntity) boolean
Item.canDestroyBlock
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, LivingEntity pEntity) boolean
ItemStack.canDestroyBlock
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) 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_) EmptyBlockAndTintGetter.getBlockState
(BlockPos p_364801_) 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, Orientation pOrientation, boolean pMovedByPiston) void
Level.neighborShapeChanged
(Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) default void
LevelAccessor.neighborShapeChanged
(Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) 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) void
Level.updatePOIOnBlockStateChange
(BlockPos pPos, BlockState pOldState, BlockState pNewState) 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
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 Function
<BlockState, VoxelShape> CrossCollisionBlock.collisionShapes
private final Function
<BlockState, VoxelShape> WallBlock.collisionShapes
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 final Function
<BlockState, VoxelShape> FenceBlock.occlusionShapes
private static final Predicate
<BlockState> CarvedPumpkinBlock.PUMPKINS_PREDICATE
private final Function
<BlockState, VoxelShape> BigDripleafBlock.shapes
private final Function
<BlockState, VoxelShape> ButtonBlock.shapes
private final Function
<BlockState, VoxelShape> CrossCollisionBlock.shapes
private final Function
<BlockState, VoxelShape> FireBlock.shapes
private final Function
<BlockState, VoxelShape> FlowerBedBlock.shapes
private final Function
<BlockState, VoxelShape> GrindstoneBlock.shapes
private final Function
<BlockState, VoxelShape> HopperBlock.shapes
private final Function
<BlockState, VoxelShape> LeafLitterBlock.shapes
private final Function
<BlockState, VoxelShape> LeverBlock.shapes
private final Function
<BlockState, VoxelShape> MossyCarpetBlock.shapes
private final Function
<BlockState, VoxelShape> MultifaceBlock.shapes
private final Function
<BlockState, VoxelShape> PipeBlock.shapes
private final Function
<BlockState, VoxelShape> PitcherCropBlock.shapes
private final Function
<BlockState, VoxelShape> RedStoneWireBlock.shapes
private final Function
<BlockState, VoxelShape> VineBlock.shapes
private final Function
<BlockState, VoxelShape> WallBlock.shapes
protected final StateDefinition
<Block, BlockState> Block.stateDefinition
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) private static BlockState
MossyCarpetBlock.createTopperWithSideChance
(BlockGetter pLevel, BlockPos pPos, BooleanSupplier pPlaceSide) 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) CreakingHeartBlock.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) DriedGhastBlock.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) FlowerBedBlock.getStateForPlacement
(BlockPlaceContext p_393645_) GlazedTerracottaBlock.getStateForPlacement
(BlockPlaceContext pContext) GrowingPlantBlock.getStateForPlacement
(RandomSource pRandom) GrowingPlantBlock.getStateForPlacement
(BlockPlaceContext pContext) GrowingPlantHeadBlock.getStateForPlacement
(RandomSource pRandom) HangingRootsBlock.getStateForPlacement
(BlockPlaceContext p_153340_) HeavyCoreBlock.getStateForPlacement
(BlockPlaceContext p_338691_) HopperBlock.getStateForPlacement
(BlockPlaceContext pContext) HugeMushroomBlock.getStateForPlacement
(BlockPlaceContext pContext) InfestedRotatedPillarBlock.getStateForPlacement
(BlockPlaceContext pContext) IronBarsBlock.getStateForPlacement
(BlockPlaceContext pContext) JigsawBlock.getStateForPlacement
(BlockPlaceContext pContext) KelpBlock.getStateForPlacement
(BlockPlaceContext pContext) LadderBlock.getStateForPlacement
(BlockPlaceContext pContext) LanternBlock.getStateForPlacement
(BlockPlaceContext pContext) LeafLitterBlock.getStateForPlacement
(BlockPlaceContext p_394214_) 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_) MossyCarpetBlock.getStateForPlacement
(BlockPlaceContext pContext) 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) 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) default BlockState
SegmentableBlock.getStateForPlacement
(BlockPlaceContext pContext, Block pBlock, IntegerProperty pAmountProperty, EnumProperty<Direction> pDirectionProperty) 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_) TestBlock.getStateForPlacement
(BlockPlaceContext pContext) 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
(LevelReader pLevel, BlockPos pPos, int pAge) static BlockState
ChorusPlantBlock.getStateWithConnections
(BlockGetter pLevel, BlockPos pPos, BlockState pState) private static BlockState
MossyCarpetBlock.getUpdatedState
(BlockState pState, BlockGetter pLevel, BlockPos pPos, boolean pTip) 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.FlowerBedBlock.mirror
(BlockState p_393796_, Mirror p_393802_) 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.LeafLitterBlock.mirror
(BlockState p_393478_, Mirror p_393616_) protected BlockState
LecternBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
MossyCarpetBlock.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.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.FlowerPotBlock.opposite
(BlockState pState) 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) CreakingHeartBlock.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
CreakingHeartBlock.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.FlowerBedBlock.rotate
(BlockState p_393932_, Rotation p_394491_) 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 pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.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.LeafLitterBlock.rotate
(BlockState p_394056_, Rotation p_394157_) protected BlockState
LecternBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
MossyCarpetBlock.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.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
(LevelReader 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.EyeblossomBlock.Type.state()
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, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
AttachedStemBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BambooSaplingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BambooStalkBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BannerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BarrierBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BasePressurePlateBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseRailBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, LevelReader p_374159_, ScheduledTickAccess p_374152_, BlockPos p_304633_, Direction p_304475_, BlockPos p_304603_, BlockState p_304669_, RandomSource p_374111_) protected BlockState
BedBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BeehiveBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BellBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BigDripleafBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BigDripleafStemBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) BrushableBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BubbleColumnBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CactusBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CakeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CampfireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CandleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CandleCakeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, LevelReader p_374550_, ScheduledTickAccess p_374188_, BlockPos p_152930_, Direction p_152927_, BlockPos p_152931_, BlockState p_152928_, RandomSource p_374375_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChainBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChestBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChorusFlowerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChorusPlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CocoaBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) ComparatorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ConcretePowderBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ConduitBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralPlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralWallFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CreakingHeartBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, LevelReader p_374037_, ScheduledTickAccess p_374267_, BlockPos p_276270_, Direction p_276322_, BlockPos p_276312_, BlockState p_276280_, RandomSource p_374464_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, LevelReader p_374225_, ScheduledTickAccess p_374127_, BlockPos p_153156_, Direction p_153153_, BlockPos p_153157_, BlockState p_153154_, RandomSource p_374236_) protected BlockState
DoorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DoublePlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DriedGhastBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
EnderChestBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FallingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FarmBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FenceBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FenceGateBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FlowerPotBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FrogspawnBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
HangingMossBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, LevelReader p_374138_, ScheduledTickAccess p_374229_, BlockPos p_153355_, Direction p_153352_, BlockPos p_153356_, BlockState p_153353_, RandomSource p_374467_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, LevelReader p_374371_, ScheduledTickAccess p_374063_, BlockPos p_338346_, Direction p_338189_, BlockPos p_338401_, BlockState p_338723_, RandomSource p_374262_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
IronBarsBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LadderBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LanternBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LeavesBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LightBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LightningRodBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LiquidBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MagmaBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, LevelReader p_374345_, ScheduledTickAccess p_374139_, BlockPos p_221518_, Direction p_221515_, BlockPos p_221519_, BlockState p_221516_, RandomSource p_374100_) protected BlockState
MossyCarpetBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MultifaceBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
NetherPortalBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
NoteBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ObserverBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) PitcherCropBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
PointedDripstoneBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RedStoneWireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RepeaterBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ScaffoldingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SculkSensorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SculkShriekerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, LevelReader p_374421_, ScheduledTickAccess p_374071_, BlockPos p_154534_, Direction p_154531_, BlockPos p_154535_, BlockState p_154532_, RandomSource p_374406_) protected BlockState
SeaPickleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SlabBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, LevelReader p_374488_, ScheduledTickAccess p_374525_, BlockPos p_154629_, Direction p_154626_, BlockPos p_154630_, BlockState p_154627_, RandomSource p_374277_) protected BlockState
SnowLayerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SnowyDirtBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SoulFireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SoulSandBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, LevelReader p_374047_, ScheduledTickAccess p_374543_, BlockPos p_154717_, Direction p_154714_, BlockPos p_154718_, BlockState p_154715_, RandomSource p_374461_) protected BlockState
StairBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
StandingSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SugarCaneBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TrapDoorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TripWireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TripWireHookBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
VegetationBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
VineBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallBannerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallTorchBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, LevelReader p_374178_, ScheduledTickAccess p_374293_, BlockPos p_313842_, Direction p_313739_, BlockPos p_313843_, BlockState p_313829_, RandomSource p_374433_) 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) private static BlockState
CreakingHeartBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos) 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) default Function
<BlockState, VoxelShape> SegmentableBlock.getShapeCalculator
(EnumProperty<Direction> pDirectionProperty, IntegerProperty pAmountProperty) protected Function
<BlockState, VoxelShape> Block.getShapeForEachState
(Function<BlockState, VoxelShape> pShapeGetter) protected Function
<BlockState, VoxelShape> Block.getShapeForEachState
(Function<BlockState, VoxelShape> pShapeGetter, Property<?>... pProperties) Block.getStateDefinition()
private static ToIntFunction
<BlockState> Blocks.litBlockEmission
(int pLightValue) private Function
<BlockState, VoxelShape> BigDripleafBlock.makeShapes()
private Function
<BlockState, VoxelShape> ButtonBlock.makeShapes()
protected Function
<BlockState, VoxelShape> CrossCollisionBlock.makeShapes
(float pNodeWidth, float pExtensionWidth, float pNodeHeight, float pExtensionBottom, float pExtensionHeight) private Function
<BlockState, VoxelShape> FireBlock.makeShapes()
private Function
<BlockState, VoxelShape> FlowerBedBlock.makeShapes()
private Function
<BlockState, VoxelShape> GrindstoneBlock.makeShapes()
private Function
<BlockState, VoxelShape> HopperBlock.makeShapes
(VoxelShape pShape) private Function
<BlockState, VoxelShape> LeafLitterBlock.makeShapes()
private Function
<BlockState, VoxelShape> LeverBlock.makeShapes()
MossyCarpetBlock.makeShapes()
private Function
<BlockState, VoxelShape> MultifaceBlock.makeShapes()
private Function
<BlockState, VoxelShape> PipeBlock.makeShapes
(float pApothem) private Function
<BlockState, VoxelShape> PitcherCropBlock.makeShapes()
private Function
<BlockState, VoxelShape> RedStoneWireBlock.makeShapes()
private Function
<BlockState, VoxelShape> VineBlock.makeShapes()
private Function
<BlockState, VoxelShape> WallBlock.makeShapes
(float pHeight, float pWidth) 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) protected void
AbstractCauldronBlock.affectNeighborsAfterRemoval
(BlockState p_394424_, ServerLevel p_394241_, BlockPos p_393520_, boolean p_394545_) protected void
AbstractFurnaceBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BarrelBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BasePressurePlateBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BaseRailBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
BrewingStandBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ButtonBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ChestBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ChiseledBookShelfBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ComposterBlock.affectNeighborsAfterRemoval
(BlockState p_394424_, ServerLevel p_394241_, BlockPos p_393520_, boolean p_394545_) protected void
CrafterBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
CreakingHeartBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
DecoratedPotBlock.affectNeighborsAfterRemoval
(BlockState p_394575_, ServerLevel p_393957_, BlockPos p_393972_, boolean p_393685_) protected void
DiodeBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
DispenserBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
HopperBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
JukeboxBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
LecternBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
LeverBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
LightningRodBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ObserverBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
RedstoneTorchBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
RedStoneWireBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
SculkSensorBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
ShulkerBoxBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
TripWireBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected void
TripWireHookBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) 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
CreakingHeartBlock.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
CryingObsidianBlock.animateTick
(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) void
DriedGhastBlock.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
DryVegetationBlock.animateTick
(BlockState p_401875_, Level p_401809_, BlockPos p_401789_, RandomSource p_401918_) 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
EyeblossomBlock.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
FireflyBushBlock.animateTick
(BlockState p_401358_, Level p_401092_, BlockPos p_401110_, RandomSource p_401309_) 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
HangingMossBlock.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
SandBlock.animateTick
(BlockState p_401157_, Level p_401385_, BlockPos p_401240_, RandomSource p_401370_) 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
ShortDryGrassBlock.animateTick
(BlockState p_416439_, Level p_415933_, BlockPos p_416136_, RandomSource p_415976_) 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
TallDryGrassBlock.animateTick
(BlockState p_416597_, Level p_416118_, BlockPos p_415677_, RandomSource p_415821_) 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 int
ComparatorBlock.calculateOutputSignal
(Level pLevel, BlockPos pPos, BlockState pState) 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) boolean
FlowerBedBlock.canBeReplaced
(BlockState p_393549_, BlockPlaceContext p_393927_) protected boolean
GrowingPlantBodyBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) boolean
LeafLitterBlock.canBeReplaced
(BlockState p_394494_, BlockPlaceContext p_393674_) protected boolean
MultifaceBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) boolean
PitcherCropBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
ScaffoldingBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) protected boolean
SeaPickleBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pUseContext) default boolean
SegmentableBlock.canBeReplaced
(BlockState pState, BlockPlaceContext pContext, IntegerProperty pAmountProperty) 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) private boolean
HangingMossBlock.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
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
KelpBlock.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
KelpPlantBlock.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
LiquidBlockContainer.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
SeagrassBlock.canPlaceLiquid
(LivingEntity p_394548_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default boolean
SimpleWaterloggedBlock.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
SlabBlock.canPlaceLiquid
(LivingEntity pOwner, BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) boolean
TallSeagrassBlock.canPlaceLiquid
(LivingEntity p_394229_, 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
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
HangingMossBlock.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
LeafLitterBlock.canSurvive
(BlockState p_401850_, LevelReader p_401768_, BlockPos p_401902_) protected boolean
MangrovePropaguleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MossyCarpetBlock.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
VegetationBlock.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, Property<Direction> 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<?> 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, InsideBlockEffectApplier pEffectApplier) protected void
BasePressurePlateBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
BigDripleafBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
BubbleColumnBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
ButtonBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
CactusBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
CampfireBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
CropBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
DetectorRailBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
EndGatewayBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
EndPortalBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
EyeblossomBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
FrogspawnBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
HoneyBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
HopperBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
LavaCauldronBlock.entityInside
(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_, InsideBlockEffectApplier p_404841_) protected void
LayeredCauldronBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
NetherPortalBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) void
PitcherCropBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
PowderSnowBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
SweetBerryBushBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
TripWireBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
WaterlilyBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) protected void
WebBlock.entityInside
(BlockState p_58180_, Level p_58181_, BlockPos p_58182_, Entity p_58183_, InsideBlockEffectApplier p_405438_) protected void
WitherRoseBlock.entityInside
(BlockState pState, Level pLevel, BlockPos pPos, Entity pEntity, InsideBlockEffectApplier pEffectApplier) private void
CommandBlock.execute
(BlockState pState, ServerLevel 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, double pFallDistance) void
Block.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
FarmBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
HayBlock.fallOn
(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, double p_397598_) void
HoneyBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
PointedDripstoneBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
PowderSnowBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
SlimeBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double pFallDistance) void
TurtleEggBlock.fallOn
(Level pLevel, BlockState pState, BlockPos pPos, Entity pEntity, double 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) BonemealableBlock.findSpreadableNeighbourPos
(Level pLevel, BlockPos pPos, BlockState pState) private static BlockPos
PointedDripstoneBlock.findTip
(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pMaxIterations, boolean pIsTipMerge) 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
CreakingHeartBlock.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.protected ItemStack
AbstractBannerBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
AttachedStemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BambooSaplingBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BeehiveBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BigDripleafStemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
CandleCakeBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
CaveVinesBlock.getCloneItemStack
(LevelReader p_304590_, BlockPos p_152967_, BlockState p_152968_, boolean p_386659_) protected ItemStack
CaveVinesPlantBlock.getCloneItemStack
(LevelReader p_304444_, BlockPos p_153008_, BlockState p_153009_, boolean p_387975_) protected ItemStack
CropBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
DecoratedPotBlock.getCloneItemStack
(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_, boolean p_387769_) protected ItemStack
EndGatewayBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
EndPortalBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
FlowerPotBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
FrostedIceBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
GrowingPlantBodyBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
LightBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
NetherPortalBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
NetherWartBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
StemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
SweetBerryBushBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
TallSeagrassBlock.getCloneItemStack
(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_, boolean p_387662_) protected ItemStack
TestBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) 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
MossyCarpetBlock.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 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
DragonEggBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) abstract int
FallingBlock.getDustColor
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected VoxelShape
EndPortalBlock.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) protected VoxelShape
LavaCauldronBlock.getEntityInsideCollisionShape
(BlockState p_423606_, BlockGetter p_423559_, BlockPos p_423584_, Entity p_423629_) protected VoxelShape
LayeredCauldronBlock.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) protected VoxelShape
PowderSnowBlock.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) protected VoxelShape
TripWireBlock.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) 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
DriedGhastBlock.getFluidState
(BlockState pState) protected FluidState
EnderChestBlock.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
MultifaceBlock.getFluidState
(BlockState pState) 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
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) private static DoublePlantBlock
TallGrassBlock.getGrownBlock
(BlockState pState) protected static float
CropBlock.getGrowthSpeed
(BlockState blockState, BlockGetter p_52274_, BlockPos p_52275_) int
SnifferEggBlock.getHatchLevel
(BlockState pState) private OptionalInt
ChiseledBookShelfBlock.getHitSlot
(BlockHitResult pHitResult, BlockState pState) int
DriedGhastBlock.getHydrationLevel
(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) protected int
TintedGlassBlock.getLightBlock
(BlockState p_154828_) 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) protected VoxelShape
FenceGateBlock.getOcclusionShape
(BlockState pState) protected VoxelShape
LecternBlock.getOcclusionShape
(BlockState pState) protected VoxelShape
MossyCarpetBlock.getOcclusionShape
(BlockState pState) protected VoxelShape
PointedDripstoneBlock.getOcclusionShape
(BlockState pState) protected VoxelShape
SculkShriekerBlock.getOcclusionShape
(BlockState pState) protected VoxelShape
SkullBlock.getOcclusionShape
(BlockState pState) 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
AirBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BarrierBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
BubbleColumnBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
EndGatewayBlock.getRenderShape
(BlockState pState) The type of render function called.protected RenderShape
EndPortalBlock.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
StructureVoidBlock.getRenderShape
(BlockState pState) The type of render function called.static int
RespawnAnchorBlock.getScaledChargeLevel
(BlockState pState, int pScale) protected long
BedBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuads
protected long
DoorBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuads
protected long
DoublePlantBlock.getSeed
(BlockState pState, BlockPos pPos) Return a random long to be passed toinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuads
protected 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
BushBlock.getShape
(BlockState p_401432_, BlockGetter p_401175_, BlockPos p_401162_, CollisionContext p_401402_) 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
CactusFlowerBlock.getShape
(BlockState p_401923_, BlockGetter p_401936_, BlockPos p_401926_, CollisionContext p_401860_) 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
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) DriedGhastBlock.getShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) protected VoxelShape
DryVegetationBlock.getShape
(BlockState p_401767_, BlockGetter p_401764_, BlockPos p_401758_, CollisionContext p_401896_) 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) FlowerBedBlock.getShape
(BlockState p_393803_, BlockGetter p_394026_, BlockPos p_394322_, CollisionContext p_394474_) 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
HangingMossBlock.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) LeafLitterBlock.getShape
(BlockState p_393565_, BlockGetter p_393799_, BlockPos p_394123_, CollisionContext p_393894_) 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
MossyCarpetBlock.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_) 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
ShortDryGrassBlock.getShape
(BlockState p_401780_, BlockGetter p_401807_, BlockPos p_401895_, CollisionContext p_401802_) 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
TallDryGrassBlock.getShape
(BlockState p_401857_, BlockGetter p_401866_, BlockPos p_401940_, CollisionContext p_401832_) 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) 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.int
TestBlock.getSignal
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) 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_) BonemealableBlock.getSpreadableNeighbourPos
(List<Direction> pDirections, LevelReader pLevel, BlockPos pPos, BlockState pState) 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 p_152160_, BlockState p_152161_, BlockEntityType<T> p_152162_) <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> CreakingHeartBlock.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 p_154683_, BlockState p_154684_, BlockEntityType<T> p_154685_) <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 static BlockState
MossyCarpetBlock.getUpdatedState
(BlockState pState, BlockGetter pLevel, BlockPos pPos, boolean pTip) 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) 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
CreakingHeartBlock.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 static boolean
MossyCarpetBlock.hasFaces
(BlockState pState) 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
CreakingHeartBlock.hasRequiredLogs
(BlockState pState, LevelReader pLevel, BlockPos pPos) static boolean
BonemealableBlock.hasSpreadableNeighbourPos
(LevelReader 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
BonemealableFeaturePlacerBlock.isBonemealSuccess
(Level pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) boolean
BushBlock.isBonemealSuccess
(Level p_401200_, RandomSource p_401387_, BlockPos p_401374_, BlockState p_401380_) 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
FireflyBushBlock.isBonemealSuccess
(Level p_401120_, RandomSource p_401417_, BlockPos p_401298_, BlockState p_401423_) boolean
FlowerBedBlock.isBonemealSuccess
(Level p_393489_, RandomSource p_394493_, BlockPos p_394603_, BlockState p_393700_) 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
HangingMossBlock.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
MossyCarpetBlock.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
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
ShortDryGrassBlock.isBonemealSuccess
(Level p_401806_, RandomSource p_401772_, BlockPos p_401791_, BlockState p_401942_) 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
TallDryGrassBlock.isBonemealSuccess
(Level p_401931_, RandomSource p_401815_, BlockPos p_401808_, BlockState p_401935_) 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) 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
AzaleaBlock.isPathfindable
(BlockState p_364492_, PathComputationType p_361049_) 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
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) boolean
DriedGhastBlock.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
VegetationBlock.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
FlowerPotBlock.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
DriedGhastBlock.isReadyToSpawn
(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) protected 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
BonemealableFeaturePlacerBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BushBlock.isValidBonemealTarget
(LevelReader p_401250_, BlockPos p_401361_, BlockState p_401191_) 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
FireflyBushBlock.isValidBonemealTarget
(LevelReader p_401352_, BlockPos p_401332_, BlockState p_401436_) boolean
FlowerBedBlock.isValidBonemealTarget
(LevelReader p_393585_, BlockPos p_393679_, BlockState p_394653_) 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
HangingMossBlock.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
MossyCarpetBlock.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
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
ShortDryGrassBlock.isValidBonemealTarget
(LevelReader p_401814_, BlockPos p_401760_, BlockState p_401924_) 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
TallDryGrassBlock.isValidBonemealTarget
(LevelReader p_401899_, BlockPos p_401858_, BlockState p_401909_) 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
LeavesBlock.makeDrippingWaterParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom, BlockState pBlockBelow, BlockPos pBelowPos) private void
LeavesBlock.makeFallingLeavesParticles
(Level pLevel, BlockPos pPos, RandomSource pRandom, BlockState pBlockBelow, BlockPos pBelowPos) 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
CactusFlowerBlock.mayPlaceOn
(BlockState p_401846_, BlockGetter p_401825_, BlockPos p_401934_) protected boolean
CropBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected boolean
DryVegetationBlock.mayPlaceOn
(BlockState p_401820_, BlockGetter p_401945_, BlockPos p_401852_) 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
VegetationBlock.mayPlaceOn
(BlockState pState, BlockGetter pLevel, BlockPos pPos) 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.FlowerBedBlock.mirror
(BlockState p_393796_, Mirror p_393802_) 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.LeafLitterBlock.mirror
(BlockState p_393478_, Mirror p_393616_) protected BlockState
LecternBlock.mirror
(BlockState pState, Mirror pMirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
MossyCarpetBlock.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.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, Orientation pOrientation, boolean pMovedByPiston) protected void
BaseRailBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BellBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BigDripleafBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CommandBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CopperBulbBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CrafterBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DiodeBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DispenserBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DoorBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
FenceGateBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
FrostedIceBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
HopperBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
LiquidBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
NoteBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedstoneLampBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedstoneTorchBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedStoneWireBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
SpongeBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
StructureBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TestBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TntBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TrapDoorBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) 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 p_152164_, BlockState p_152165_) 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) CreakingHeartBlock.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 p_154687_, BlockState p_154688_) StructureBlock.newBlockEntity
(BlockPos pPos, BlockState pState) TestBlock.newBlockEntity
(BlockPos pPos, BlockState pState) TestInstanceBlock.newBlockEntity
(BlockPos p_397973_, BlockState p_397522_) 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) private void
RedstoneTorchBlock.notifyNeighbors
(Level pLevel, BlockPos pPos, BlockState pState) static Boolean
Blocks.ocelotOrParrot
(BlockState p_50822_, BlockGetter p_50823_, BlockPos p_50824_, EntityType<?> p_50825_) boolean
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, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BeehiveBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BellBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
ButtonBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
CreakingHeartBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
DoorBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
FenceGateBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
LeverBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
TrapDoorBlock.onExplosionHit
(BlockState pState, ServerLevel 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 levelReader, 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) FlowerPotBlock.opposite
(BlockState pState) 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
BonemealableFeaturePlacerBlock.performBonemeal
(ServerLevel pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) void
BushBlock.performBonemeal
(ServerLevel p_401091_, RandomSource p_401012_, BlockPos p_401218_, BlockState p_401130_) 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
FireflyBushBlock.performBonemeal
(ServerLevel p_401415_, RandomSource p_401124_, BlockPos p_401112_, BlockState p_401260_) void
FlowerBedBlock.performBonemeal
(ServerLevel p_394140_, RandomSource p_394672_, BlockPos p_393771_, BlockState p_394008_) 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
HangingMossBlock.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
MossyCarpetBlock.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
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
ShortDryGrassBlock.performBonemeal
(ServerLevel p_401950_, RandomSource p_401831_, BlockPos p_401948_, BlockState p_401868_) 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
TallDryGrassBlock.performBonemeal
(ServerLevel p_401804_, RandomSource p_401769_, BlockPos p_401777_, BlockState p_401790_) 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
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BubbleColumnBlock.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BucketPickup.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) LiquidBlock.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) PowderSnowBlock.pickupBlock
(LivingEntity pOwner, LevelAccessor pLevel, BlockPos pPos, BlockState pState) default ItemStack
SimpleWaterloggedBlock.pickupBlock
(LivingEntity pOwner, 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
DriedGhastBlock.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) CreakingHeartBlock.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) 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) protected boolean
BarrierBlock.propagatesSkylightDown
(BlockState pState) protected boolean
CrossCollisionBlock.propagatesSkylightDown
(BlockState pState) protected boolean
GlowLichenBlock.propagatesSkylightDown
(BlockState pState) protected boolean
HangingMossBlock.propagatesSkylightDown
(BlockState pState) protected boolean
LightBlock.propagatesSkylightDown
(BlockState pState) protected boolean
LiquidBlock.propagatesSkylightDown
(BlockState pState) protected boolean
MossyCarpetBlock.propagatesSkylightDown
(BlockState pState) protected boolean
PipeBlock.propagatesSkylightDown
(BlockState pState) protected boolean
ShulkerBoxBlock.propagatesSkylightDown
(BlockState pState) protected boolean
TintedGlassBlock.propagatesSkylightDown
(BlockState p_154824_) protected boolean
TransparentBlock.propagatesSkylightDown
(BlockState p_309084_) protected boolean
VegetationBlock.propagatesSkylightDown
(BlockState pState) protected boolean
VineBlock.propagatesSkylightDown
(BlockState pState) protected boolean
WallBlock.propagatesSkylightDown
(BlockState pState) void
LeverBlock.pull
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer) static BlockState
Block.pushEntitiesUp
(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos) protected Orientation
RedstoneTorchBlock.randomOrientation
(Level pLevel, BlockState pState) protected Orientation
RedstoneWallTorchBlock.randomOrientation
(Level pLevel, BlockState pState) 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
DriedGhastBlock.randomTick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) Performs a random tick on a block.protected void
EyeblossomBlock.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
FlowerPotBlock.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
CreakingHeartBlock.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.FlowerBedBlock.rotate
(BlockState p_393932_, Rotation p_394491_) 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 pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.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.LeafLitterBlock.rotate
(BlockState p_394056_, Rotation p_394157_) protected BlockState
LecternBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
MossyCarpetBlock.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.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
(LevelReader 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
DriedGhastBlock.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
MossyCarpetBlock.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 pCurrentFace, BlockState pNeighboringFace, Direction pFace) Deprecated.Neo: use overload with level context insteadstatic boolean
Block.shouldRenderFace
(BlockGetter level, BlockPos pos, BlockState p_152445_, BlockState p_361252_, Direction p_152448_) 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 p_222477_, ServerLevel p_222478_, BlockPos p_222479_, ItemStack p_222480_, boolean p_222481_) protected 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) private void
DriedGhastBlock.spawnGhastling
(ServerLevel pLevel, BlockPos pPos, BlockState pState) 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
CreakingHeartBlock.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
DriedGhastBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
EnderChestBlock.tick
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) protected void
EyeblossomBlock.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
HangingMossBlock.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
TestBlock.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
DriedGhastBlock.tickWaterlogged
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) 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.private void
CreakingHeartBlock.tryAwardExperience
(Player pPlayer, BlockState pState, Level pLevel, BlockPos pPos) private boolean
EyeblossomBlock.tryChangingState
(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) static boolean
LecternBlock.tryPlaceBook
(LivingEntity pEntity, Level pLevel, BlockPos pPos, BlockState pState, ItemStack pStack) protected void
BaseCoralPlantTypeBlock.tryScheduleDieTick
(BlockState pState, BlockGetter pLevel, ScheduledTickAccess pScheduledTickAccess, RandomSource pRandom, 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, Orientation pOrientation, boolean pUpdateShape) 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, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
AttachedStemBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BambooSaplingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BambooStalkBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BannerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BarrierBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BasePressurePlateBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseRailBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, LevelReader p_374159_, ScheduledTickAccess p_374152_, BlockPos p_304633_, Direction p_304475_, BlockPos p_304603_, BlockState p_304669_, RandomSource p_374111_) protected BlockState
BedBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BeehiveBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BellBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BigDripleafBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BigDripleafStemBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) BrushableBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BubbleColumnBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CactusBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CakeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CampfireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CandleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CandleCakeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, LevelReader p_374550_, ScheduledTickAccess p_374188_, BlockPos p_152930_, Direction p_152927_, BlockPos p_152931_, BlockState p_152928_, RandomSource p_374375_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChainBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChestBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChorusFlowerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChorusPlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CocoaBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) ComparatorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ConcretePowderBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ConduitBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralPlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralWallFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CreakingHeartBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, LevelReader p_374037_, ScheduledTickAccess p_374267_, BlockPos p_276270_, Direction p_276322_, BlockPos p_276312_, BlockState p_276280_, RandomSource p_374464_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, LevelReader p_374225_, ScheduledTickAccess p_374127_, BlockPos p_153156_, Direction p_153153_, BlockPos p_153157_, BlockState p_153154_, RandomSource p_374236_) protected BlockState
DoorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DoublePlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DriedGhastBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
EnderChestBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FallingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FarmBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FenceBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FenceGateBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FlowerPotBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FrogspawnBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
HangingMossBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, LevelReader p_374138_, ScheduledTickAccess p_374229_, BlockPos p_153355_, Direction p_153352_, BlockPos p_153356_, BlockState p_153353_, RandomSource p_374467_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, LevelReader p_374371_, ScheduledTickAccess p_374063_, BlockPos p_338346_, Direction p_338189_, BlockPos p_338401_, BlockState p_338723_, RandomSource p_374262_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
IronBarsBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LadderBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LanternBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LeavesBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LightBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LightningRodBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LiquidBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MagmaBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, LevelReader p_374345_, ScheduledTickAccess p_374139_, BlockPos p_221518_, Direction p_221515_, BlockPos p_221519_, BlockState p_221516_, RandomSource p_374100_) protected BlockState
MossyCarpetBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MultifaceBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
NetherPortalBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
NoteBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ObserverBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) PitcherCropBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
PointedDripstoneBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RedStoneWireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RepeaterBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ScaffoldingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SculkSensorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SculkShriekerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, LevelReader p_374421_, ScheduledTickAccess p_374071_, BlockPos p_154534_, Direction p_154531_, BlockPos p_154535_, BlockState p_154532_, RandomSource p_374406_) protected BlockState
SeaPickleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SlabBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, LevelReader p_374488_, ScheduledTickAccess p_374525_, BlockPos p_154629_, Direction p_154626_, BlockPos p_154630_, BlockState p_154627_, RandomSource p_374277_) protected BlockState
SnowLayerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SnowyDirtBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SoulFireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SoulSandBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, LevelReader p_374047_, ScheduledTickAccess p_374543_, BlockPos p_154717_, Direction p_154714_, BlockPos p_154718_, BlockState p_154715_, RandomSource p_374461_) protected BlockState
StairBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
StandingSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SugarCaneBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TrapDoorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TripWireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TripWireHookBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
VegetationBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
VineBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallBannerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallTorchBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, LevelReader p_374178_, ScheduledTickAccess p_374293_, BlockPos p_313842_, Direction p_313739_, BlockPos p_313843_, BlockState p_313829_, RandomSource p_374433_) 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) private static BlockState
CreakingHeartBlock.updateState
(BlockState pState, Level pLevel, BlockPos pPos) 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 InteractionResult
AbstractCauldronBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
BeehiveBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CakeBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CampfireBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CandleBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CandleCakeBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
CeilingHangingSignBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
ChiseledBookShelfBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
ComposterBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
DecoratedPotBlock.useItemOn
(ItemStack p_316569_, BlockState p_316562_, Level p_316177_, BlockPos p_316898_, Player p_316632_, InteractionHand p_316424_, BlockHitResult p_316345_) protected InteractionResult
FlowerPotBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
JukeboxBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
LecternBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
NoteBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
PumpkinBlock.useItemOn
(ItemStack p_316383_, BlockState p_316676_, Level p_316272_, BlockPos p_316484_, Player p_316367_, InteractionHand p_316216_, BlockHitResult p_316827_) protected InteractionResult
RedStoneOreBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
RespawnAnchorBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
SignBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
SweetBerryBushBlock.useItemOn
(ItemStack pStack, BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHitResult) protected InteractionResult
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 InteractionResult
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 p_49432_, Level p_49433_, BlockPos p_49434_, Player p_49435_, BlockHitResult p_49437_) 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
TestBlock.useWithoutItem
(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, BlockHitResult pHitResult) protected InteractionResult
TestInstanceBlock.useWithoutItem
(BlockState p_397015_, Level p_397062_, BlockPos p_397232_, Player p_397809_, BlockHitResult p_397307_) 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, Property<Direction> 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
CreakingHeartBlock.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
DriedGhastBlock.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
FlowerBedBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_393753_) protected void
FrostedIceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) protected void
GlazedTerracottaBlock.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
HangingMossBlock.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> pBuilder) 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
LeafLitterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_393852_) 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
MossyCarpetBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> pBuilder) 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
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
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
TestBlock.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 Function
<BlockState, VoxelShape> Block.getShapeForEachState
(Function<BlockState, VoxelShape> pShapeGetter) protected Function
<BlockState, VoxelShape> Block.getShapeForEachState
(Function<BlockState, VoxelShape> pShapeGetter, Property<?>... pProperties) Constructors in net.minecraft.world.level.block with parameters of type BlockStateModifierConstructorDescription(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 BlockStateModifier and TypeMethodDescriptionBlockEntity.getBlockState()
private static BlockState
CreakingHeartBlockEntity.updateCreakingState
(Level pLevel, BlockState pState, BlockPos pPos, CreakingHeartBlockEntity pCreakingHeart) Methods 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
(ServerLevel pLevel, BlockPos pPos, BlockState pState, CampfireBlockEntity pCampfire, RecipeManager.CachedCheck<SingleRecipeInput, CampfireCookingRecipe> pCheck) 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) private static ContainerOrHandler
HopperBlockEntity.getContainerOrHandlerAt
(Level level, BlockPos pos, BlockState state, double x, double y, double z, Direction side) static int
BeehiveBlockEntity.getHoneyLevel
(BlockState pState) private static Container
HopperBlockEntity.getSourceContainer
(Level pLevel, Hopper pHopper, BlockPos pPos, BlockState pState) private static ContainerOrHandler
HopperBlockEntity.getSourceContainerOrHandler
(Level p_155597_, Hopper p_155598_, BlockPos p_326315_, BlockState p_326093_) void
ContainerOpenersCounter.incrementOpeners
(Player pPlayer, Level pLevel, BlockPos pPos, BlockState pState) boolean
BlockEntityType.isValid
(BlockState pState) boolean
BlockEntity.isValidBlockState
(BlockState pState) 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) void
AbstractFurnaceBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
BlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
CampfireBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
CreakingHeartBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
JukeboxBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
LecternBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
SculkShriekerBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) void
ShulkerBoxBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) 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
(ServerLevel pLevel, BlockPos pPos, BlockState pState, AbstractFurnaceBlockEntity pFurnace) 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
CreakingHeartBlockEntity.serverTick
(Level pLevel, BlockPos pPos, BlockState pState, CreakingHeartBlockEntity pCreakingHeart) 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 static void
ConduitBlockEntity.updateAndAttackTarget
(ServerLevel pLevel, BlockPos pPos, BlockState pState, ConduitBlockEntity pBlockEntity, boolean pCanDestroy) private void
ShulkerBoxBlockEntity.updateAnimation
(Level pLevel, BlockPos pPos, BlockState pState) (package private) void
BarrelBlockEntity.updateBlockState
(BlockState pState, boolean pOpen) private static BlockState
CreakingHeartBlockEntity.updateCreakingState
(Level pLevel, BlockState pState, BlockPos pPos, CreakingHeartBlockEntity pCreakingHeart) private void
BlockEntity.validateBlockState
(BlockState pState) 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) CreakingHeartBlockEntity
(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) TestBlockEntity
(BlockPos pPos, BlockState pState) TestInstanceBlockEntity
(BlockPos pPos, BlockState pState) 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 BlockStateModifier and TypeFieldDescriptionprivate static final BlockState
PistonMovingBlockEntity.DEFAULT_BLOCK_STATE
private BlockState
PistonMovingBlockEntity.movedState
Methods 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, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) Methods in net.minecraft.world.level.block.piston with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
PistonHeadBlock.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected 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.protected ItemStack
MovingPistonBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
PistonHeadBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected VoxelShape
MovingPistonBlock.getCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) MovingPistonBlock.getDrops
(BlockState pState, LootParams.Builder pParams) protected RenderShape
MovingPistonBlock.getRenderShape
(BlockState pState) The type of render function called.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 pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
PistonHeadBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) 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) PistonHeadBlock.playerWillDestroy
(Level pLevel, BlockPos pPos, BlockState pState, Player pPlayer) void
PistonMovingBlockEntity.preRemoveSideEffects
(BlockPos pPos, BlockState pState) 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, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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.sounds
Methods in net.minecraft.world.level.block.sounds with parameters of type BlockStateModifier and TypeMethodDescriptionprivate static boolean
AmbientDesertBlockSoundsPlayer.canTriggerAmbientDesertSandSounds
(BlockState pState) -
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
(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BlockBehaviour.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) Methods in net.minecraft.world.level.block.state with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
BlockBehaviour.affectNeighborsAfterRemoval
(BlockState pState, ServerLevel pLevel, BlockPos pPos, boolean pMovedByPiston) protected 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, InsideBlockEffectApplier pEffectApplier) BlockBehaviour.OffsetFunction.evaluate
(BlockState pState, 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 ItemStack
BlockBehaviour.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) Deprecated.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 VoxelShape
BlockBehaviour.getEntityInsideCollisionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos, Entity pEntity) protected FluidState
BlockBehaviour.getFluidState
(BlockState pState) protected VoxelShape
BlockBehaviour.getInteractionShape
(BlockState pState, BlockGetter pLevel, BlockPos pPos) protected int
BlockBehaviour.getLightBlock
(BlockState pState) protected MenuProvider
BlockBehaviour.getMenuProvider
(BlockState pState, Level pLevel, BlockPos pPos) protected VoxelShape
BlockBehaviour.getOcclusionShape
(BlockState pState) 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 toinvalid reference
net.minecraft.client.resources.model.BakedModel#getQuads
protected 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.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, Orientation pOrientation, boolean pMovedByPiston) protected void
BlockBehaviour.onExplosionHit
(BlockState pState, ServerLevel 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) protected boolean
BlockBehaviour.propagatesSkylightDown
(BlockState pState) 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
(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BlockBehaviour.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected InteractionResult
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) ChunkAccess.setBlockState
(BlockPos pPos, BlockState pState) abstract BlockState
ChunkAccess.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) EmptyLevelChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) ImposterProtoChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) LevelChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) 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, int pFlags) 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) ChunkAccess.setBlockState
(BlockPos pPos, BlockState pState) abstract BlockState
ChunkAccess.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) EmptyLevelChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) ImposterProtoChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) LevelChunk.setBlockState
(BlockPos pPos, BlockState pState, int pFlags) 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, int pFlags) 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
(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
(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>> SerializableChunkData.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
private final BlockState
Aquifer.FluidStatus.fluidType
The field for thefluidType
record component.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.Aquifer.FluidStatus.fluidType()
Returns the value of thefluidType
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 fluidLevel, BlockState fluidType) Creates an instance of aFluidStatus
record class.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
(int pId, 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 TypeMethodDescriptionprivate BiConsumer
<BlockPos, BlockState> FallenTreeFeature.getDecorationSetter
(WorldGenLevel pLevel) private static Function
<BlockState, BlockState> FallenTreeFeature.getSidewaysStateModifier
(Direction pDirection) private static Function
<BlockState, BlockState> FallenTreeFeature.getSidewaysStateModifier
(Direction pDirection) static 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
AbstractHugeMushroomFeature.placeMushroomBlock
(LevelAccessor pLevel, BlockPos.MutableBlockPos pMutablePos, BlockState pState) 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) private BlockPos
FallenTreeFeature.placeLogBlock
(FallenTreeConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, Function<BlockState, BlockState> pStateModifier) private BlockPos
FallenTreeFeature.placeLogBlock
(FallenTreeConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, Function<BlockState, BlockState> pStateModifier) 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 WeightedList
<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
(WeightedList<BlockState> p_394378_) 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
(WeightedList.Builder<BlockState> pWeightedList) WeightedStateProvider
(WeightedList<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) Method parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type BlockStateModifier and TypeMethodDescriptionboolean
TreeDecorator.Context.checkBlock
(BlockPos pPos, Predicate<BlockState> pPredicate) 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) static JigsawBlockEntity.JointType
StructureTemplate.getDefaultJointType
(BlockState pState) static JigsawBlockEntity.JointType
StructureTemplate.getJointType
(CompoundTag pTag, BlockState pState) 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
(BlockState pState1, BlockState pState2, Direction pDirection, int pDefaultReturnValue) static VoxelShape
LightEngine.getOcclusionShape
(BlockState pState, Direction pDirection) protected int
LightEngine.getOpacity
(BlockState pState) static boolean
LightEngine.hasDifferentLightProperties
(BlockState pState1, BlockState pState2) Deprecated.Neo: use overload with level context insteadstatic boolean
LightEngine.hasDifferentLightProperties
(BlockGetter level, BlockPos pos, BlockState p_285110_, BlockState p_285372_) private static boolean
ChunkSkyLightSources.isEdgeOccluded
(BlockState pState1, BlockState pState2) protected static boolean
LightEngine.isEmptyShape
(BlockState pState) protected boolean
LightEngine.shapeOccludes
(BlockState pState1, 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
Fields in net.minecraft.world.level.material declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
FlowingFluid.BlockStatePairKey.first
The field for thefirst
record component.private final BlockState
FlowingFluid.BlockStatePairKey.second
The field for thesecond
record component.Fields in net.minecraft.world.level.material with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.shorts.Short2ObjectMap
<BlockState> FlowingFluid.SpreadContext.stateCache
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) FlowingFluid.BlockStatePairKey.first()
Returns the value of thefirst
record component.FlowingFluid.SpreadContext.getBlockState
(BlockPos pPos) private BlockState
FlowingFluid.SpreadContext.getBlockState
(BlockPos pPos, short pCacheKey) FlowingFluid.BlockStatePairKey.second()
Returns the value of thesecond
record component.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 static boolean
FlowingFluid.canHoldAnyFluid
(BlockState pState) private static boolean
FlowingFluid.canHoldFluid
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private static boolean
FlowingFluid.canHoldSpecificFluid
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Fluid pFluid) private boolean
FlowingFluid.canMaybePassThrough
(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private boolean
FlowingFluid.canPassThrough
(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private static boolean
FlowingFluid.canPassThroughWall
(Direction pDirection, BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected FluidState
FlowingFluid.getNewLiquid
(ServerLevel pLevel, BlockPos pPos, BlockState pState) protected int
FlowingFluid.getSlopeDistance
(LevelReader pLevel, BlockPos pPos, int pDepth, Direction pDirection, BlockState pState, FlowingFluid.SpreadContext pSpreadContext) protected Map
<Direction, FluidState> FlowingFluid.getSpread
(ServerLevel pLevel, BlockPos pPos, BlockState pState) (package private) boolean
FlowingFluid.isWaterHole
(BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pBelowPos, BlockState pBelowState) protected void
FlowingFluid.spread
(ServerLevel pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) 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
(ServerLevel pLevel, BlockPos pPos, FluidState pFluidState, BlockState pBlockState) void
FlowingFluid.tick
(ServerLevel pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) protected void
Fluid.tick
(ServerLevel pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState) void
FluidState.tick
(ServerLevel pLevel, BlockPos pPos, BlockState pState) Constructors in net.minecraft.world.level.material with parameters of type BlockStateModifierConstructorDescription(package private)
BlockStatePairKey
(BlockState first, BlockState second, Direction direction) Creates an instance of aBlockStatePairKey
record class. -
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.ShapeUpdate.neighborState
The field for theneighborState
record component.private final BlockState
CollectingNeighborUpdater.FullNeighborUpdate.state
The field for thestate
record component.Methods in net.minecraft.world.level.redstone that return BlockStateModifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.neighborState()
Returns the value of theneighborState
record component.CollectingNeighborUpdater.FullNeighborUpdate.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, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) static void
NeighborUpdater.executeUpdate
(Level pLevel, BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected int
ExperimentalRedstoneWireEvaluator.getWireSignal
(BlockPos pPos, BlockState pState) protected int
RedstoneWireEvaluator.getWireSignal
(BlockPos pPos, BlockState pState) private static boolean
ExperimentalRedstoneWireEvaluator.isConnected
(BlockState pState, Direction pDirection) void
CollectingNeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) void
InstantNeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) void
NeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, 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) void
DefaultRedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) void
ExperimentalRedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) abstract void
RedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) Constructors in net.minecraft.world.level.redstone with parameters of type BlockStateModifierConstructorDescription(package private)
FullNeighborUpdate
(BlockState state, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston) Creates an instance of aFullNeighborUpdate
record class.(package private)
ShapeUpdate
(Direction direction, BlockState neighborState, 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 ContextKey
<BlockState> LootContextParams.BLOCK_STATE
-
Uses of BlockState in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes with parameters of type BlockStateModifier and TypeMethodDescriptionCollisionContext.getCollisionShape
(BlockState pState, CollisionGetter pCollisionGetter, BlockPos pPos) EntityCollisionContext.getCollisionShape
(BlockState pState, CollisionGetter pCollisionGetter, BlockPos pPos) MinecartCollisionContext.getCollisionShape
(BlockState pState, CollisionGetter pCollisionGetter, BlockPos pPos) -
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.isInTranslucentBlockOutlinePass
(Level level, BlockPos pos, BlockState state) static boolean
ClientHooks.renderBlockOverlay
(Player player, PoseStack mat, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos pos) -
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 List
<BlockModelPart> BlockStateModelExtension.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Helper to collects the parts of the model into a new list.default void
BlockStateModelExtension.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) Collects the parts of the model that should be rendered.default @Nullable Object
BlockStateModelExtension.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Collects all the data used by the model to produce renderable geometry.default ChunkSectionLayer
BlockModelPartExtension.getRenderType
(BlockState state) Get the setChunkSectionLayer
to use when drawing this block in the level.default TextureAtlasSprite
BlockStateModelExtension.particleIcon
(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns the particle icon. -
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
IClientBlockExtensions.playHitSound
(BlockState state, Level level, BlockPos pos, Direction face, SoundManager soundManager) Play hit sound(s) when the block is punched.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 TypeMethodDescriptionvoid
DelegateBlockStateModel.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) void
DynamicBlockStateModel.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) DelegateBlockStateModel.particleIcon
(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockState in net.neoforged.neoforge.client.model.ao
Methods in net.neoforged.neoforge.client.model.ao with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
EnhancedAoRenderStorage.calculate
(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) private void
EnhancedAoRenderStorage.calculateAxisAligned
(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) Computes AO for an axis-aligned quad.(package private) AoCalculatedFace
FullFaceCalculator.calculateFace
(BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) private void
FullFaceCalculator.calculateFaceUncached
(AoCalculatedFace out, BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) Computes the AO for a full face.private void
EnhancedAoRenderStorage.calculateIrregular
(BlockAndTintGetter level, BlockState state, BlockPos pos, boolean shade) Computes AO for a general quad. -
Uses of BlockState in net.neoforged.neoforge.client.model.block
Methods in net.neoforged.neoforge.client.model.block that return types with arguments of type BlockStateModifier and TypeMethodDescriptionCustomBlockModelDefinition.instantiate
(StateDefinition<Block, BlockState> states, Supplier<String> sourceSupplier) Instantiate this definition.Methods in net.neoforged.neoforge.client.model.block with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
CompositeBlockModel.collectParts
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockModelPart> parts) @Nullable Object
CompositeBlockModel.createGeometryKey
(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Method parameters in net.neoforged.neoforge.client.model.block with type arguments of type BlockStateModifier and TypeMethodDescriptionCustomBlockModelDefinition.instantiate
(StateDefinition<Block, BlockState> states, Supplier<String> sourceSupplier) Instantiate this definition. -
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
(ServerLevel level, BlockPos pos, BlockState state, double 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 (seeinvalid reference
Camera#getBlockAtCamera()
default BlockState
IBlockStateExtension.getStateAtViewpoint
(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeinvalid reference
Camera#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
(ServerLevel level, BlockState state, BlockPos pos, double 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
(LevelReader level, BlockPos pos, BlockState state, boolean includeData, 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 (seeinvalid reference
Camera#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, ServerLevel 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 boolean
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 void
IBlockExtension.playFallSound
(BlockState state, Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inLivingEntity.playBlockFallSound()
.default void
IBlockExtension.playStepSound
(BlockState state, Level level, BlockPos pos, Entity entity, float volumeMultiplier, float pitchMultiplier) Allows a block to override the standard step sound played in:Entity.playCombinationStepSounds(BlockState, BlockState, BlockPos, BlockPos)
(primary step sound only)Entity.playMuffledStepSound(BlockState, BlockPos)
(usually the secondary sound in a call to the above method)Entity.playStepSound(BlockPos, BlockState)
(simple step sound) The volume and pitch of any sound played in this method should be multiplied with the provided multipliers to replicate the behaviour of the callers.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.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
(ServerLevel 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, double 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
(ServerLevel 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.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()