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 category, LevelHeightAccessor levelHeightAccessor, BlockPos pos, BlockState state) -
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 state, ItemStack stack, int numBees) boolean
EnterBlockTrigger.TriggerInstance.matches
(BlockState state) boolean
SlideDownBlockTrigger.TriggerInstance.matches
(BlockState state) boolean
StatePropertiesPredicate.matches
(BlockState state) private boolean
BlockPredicate.matchesState
(BlockState state) void
BeeNestDestroyedTrigger.trigger
(ServerPlayer player, BlockState state, ItemStack stack, int numBees) void
EnterBlockTrigger.trigger
(ServerPlayer player, BlockState state) void
SlideDownBlockTrigger.trigger
(ServerPlayer player, BlockState state) -
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 state, BlockPos pos, CompoundTag compound) -
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 state, BlockAndTintGetter level, BlockPos pos, int tintIndex) int
BlockColors.getColor
(BlockState state, BlockAndTintGetter level, BlockPos pos, int tintIndex) int
BlockColors.getColor
(BlockState state, Level level, BlockPos pos) -
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 state) -
Uses of BlockState in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
AbstractSignEditScreen.offsetSign
(GuiGraphics guiGraphics, BlockState state) protected void
HangingSignEditScreen.offsetSign
(GuiGraphics p_282472_, BlockState p_282359_) protected void
SignEditScreen.offsetSign
(GuiGraphics p_282503_, BlockState p_282571_) protected abstract void
AbstractSignEditScreen.renderSignBackground
(GuiGraphics guiGraphics, BlockState state) protected void
HangingSignEditScreen.renderSignBackground
(GuiGraphics p_282580_, BlockState p_283648_) protected void
SignEditScreen.renderSignBackground
(GuiGraphics p_281440_, BlockState p_282401_) -
Uses of BlockState in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
ClientLevel.addDestroyBlockEffect
(BlockPos pos, BlockState state) void
ClientLevel.sendBlockUpdated
(BlockPos pos, BlockState oldState, BlockState newState, int flags) Flags are as in setBlockStateboolean
ClientLevel.setBlock
(BlockPos pos, BlockState state, int flags, int recursionLeft) void
ClientLevel.setBlocksDirty
(BlockPos blockPos, BlockState oldState, BlockState newState) void
ClientLevel.setServerVerifiedBlockState
(BlockPos pos, BlockState state, int flags) void
ClientLevel.syncBlockState
(BlockPos pos, BlockState state, Vec3 playerPos) private void
ClientLevel.trySpawnDripParticles
(BlockPos blockPos, BlockState blockState, ParticleOptions particleData, boolean shapeDownSolid) -
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 pos, BlockState state, LocalPlayer player) (package private) void
BlockStatePredictionHandler.ServerVerifiedState.setBlockState
(BlockState blockState) boolean
BlockStatePredictionHandler.updateKnownServerState
(BlockPos pos, BlockState state) Constructors in net.minecraft.client.multiplayer.prediction with parameters of type BlockStateModifierConstructorDescription(package private)
ServerVerifiedState
(int sequence, BlockState blockState, Vec3 playerPos) -
Uses of BlockState in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
ParticleEngine.destroy
(BlockPos pos, BlockState state) TerrainParticle.updateSprite
(BlockState state, BlockPos pos) Constructors in net.minecraft.client.particle with parameters of type BlockStateModifierConstructorDescriptionprotected
BlockMarker
(ClientLevel level, double x, double y, double z, BlockState state) TerrainParticle
(ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed, BlockState state) TerrainParticle
(ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed, BlockState state, BlockPos pos) -
Uses of BlockState in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer that return BlockStateModifier and TypeMethodDescriptionprivate static BlockState
ScreenEffectRenderer.getViewBlockingState
(Player player) 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 level, BlockPos pos, BlockState oldState, BlockState newState, int flags) static RenderType
ItemBlockRenderTypes.getChunkRenderType
(BlockState state) Deprecated.static int
LevelRenderer.getLightColor
(BlockAndTintGetter level, BlockState state, BlockPos pos) static RenderType
ItemBlockRenderTypes.getMovingBlockRenderType
(BlockState state) Deprecated.Forge: Useinvalid @link
{@link net.neoforged.neoforge.client.RenderTypeHelper#
static ChunkRenderTypeSet
ItemBlockRenderTypes.getRenderLayers
(BlockState state) static RenderType
ItemBlockRenderTypes.getRenderType
(BlockState state, boolean cull) Deprecated.Forge: Useinvalid @link
{@link net.neoforged.neoforge.client.RenderTypeHelper#
private void
LevelRenderer.renderHitOutline
(PoseStack poseStack, VertexConsumer consumer, Entity entity, double camX, double camY, double camZ, BlockPos pos, BlockState state) void
LevelRenderer.setBlockDirty
(BlockPos pos, BlockState oldState, BlockState newState) -
Uses of BlockState in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate Map
<BlockState, BakedModel> BlockModelShaper.modelByStateCache
Methods in net.minecraft.client.renderer.block with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
ModelBlockRenderer.AmbientOcclusionFace.calculate
(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, float[] shape, BitSet shapeFlags, boolean shade) private void
ModelBlockRenderer.calculateShape
(BlockAndTintGetter level, BlockState state, BlockPos pos, int[] vertices, Direction direction, float[] shape, BitSet shapeFlags) Calculates the shape and corresponding flags for the specifieddirection
andvertices
, storing the resulting shape in the specifiedshape
array and the shape flags inshapeFlags
.BlockModelShaper.getBlockModel
(BlockState state) BlockRenderDispatcher.getBlockModel
(BlockState state) private float
LiquidBlockRenderer.getHeight
(BlockAndTintGetter level, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) int
ModelBlockRenderer.Cache.getLightColor
(BlockState state, BlockAndTintGetter level, BlockPos pos) BlockModelShaper.getParticleIcon
(BlockState state) Deprecated.float
ModelBlockRenderer.Cache.getShadeBrightness
(BlockState state, BlockAndTintGetter level, BlockPos pos) BlockModelShaper.getTexture
(BlockState p_110883_, Level level, BlockPos pos) private static boolean
LiquidBlockRenderer.isFaceOccludedByNeighbor
(BlockGetter level, BlockPos pos, Direction side, float height, BlockState blockState) private static boolean
LiquidBlockRenderer.isFaceOccludedBySelf
(BlockGetter level, BlockPos pos, BlockState state, Direction face) private static boolean
LiquidBlockRenderer.isFaceOccludedByState
(BlockGetter level, Direction face, float height, BlockPos pos, BlockState state) private static boolean
LiquidBlockRenderer.isNeighborStateHidingOverlay
(FluidState selfState, BlockState otherState, Direction neighborFace) private void
ModelBlockRenderer.putQuadData
(BlockAndTintGetter level, BlockState state, BlockPos pos, VertexConsumer consumer, PoseStack.Pose pose, BakedQuad quad, float brightness0, float brightness1, float brightness2, float brightness3, int lightmap0, int lightmap1, int lightmap2, int lightmap3, int packedOverlay) void
BlockRenderDispatcher.renderBatched
(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random) void
BlockRenderDispatcher.renderBatched
(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, ModelData modelData, RenderType renderType) void
BlockRenderDispatcher.renderBreakingTexture
(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer) Deprecated.void
BlockRenderDispatcher.renderBreakingTexture
(BlockState state, BlockPos pos, BlockAndTintGetter level, PoseStack poseStack, VertexConsumer consumer, ModelData modelData) void
BlockRenderDispatcher.renderLiquid
(BlockPos pos, BlockAndTintGetter level, VertexConsumer consumer, BlockState blockState, FluidState fluidState) void
ModelBlockRenderer.renderModel
(PoseStack.Pose pose, VertexConsumer consumer, BlockState state, BakedModel model, float red, float green, float blue, int packedLight, int packedOverlay) Deprecated.void
ModelBlockRenderer.renderModel
(PoseStack.Pose pose, VertexConsumer consumer, BlockState state, BakedModel model, float red, float green, float blue, int packedLight, int packedOverlay, ModelData modelData, RenderType renderType) private void
ModelBlockRenderer.renderModelFaceAO
(BlockAndTintGetter level, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, List<BakedQuad> quads, float[] shape, BitSet shapeFlags, ModelBlockRenderer.AmbientOcclusionFace aoFace, int packedOverlay) private void
ModelBlockRenderer.renderModelFaceFlat
(BlockAndTintGetter level, BlockState state, BlockPos pos, int packedLight, int packedOverlay, boolean repackLight, PoseStack poseStack, VertexConsumer consumer, List<BakedQuad> quads, BitSet shapeFlags) void
BlockRenderDispatcher.renderSingleBlock
(BlockState state, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay) Deprecated.void
BlockRenderDispatcher.renderSingleBlock
(BlockState state, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, ModelData modelData, RenderType renderType) static boolean
LiquidBlockRenderer.shouldRenderFace
(BlockAndTintGetter level, BlockPos pos, FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static boolean
LiquidBlockRenderer.shouldRenderFace
(BlockAndTintGetter level, BlockPos pos, FluidState fluidState, BlockState blockState, Direction side, FluidState neighborFluid) Deprecated.Neo: use overload that accepts BlockStatestatic ModelResourceLocation
BlockModelShaper.stateToModelLocation
(ResourceLocation location, BlockState state) static ModelResourceLocation
BlockModelShaper.stateToModelLocation
(BlockState state) void
LiquidBlockRenderer.tesselate
(BlockAndTintGetter level, BlockPos pos, VertexConsumer buffer, BlockState blockState, FluidState fluidState) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay) Deprecated.void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer consumer, boolean checkSides, RandomSource random, long seed, int packedOverlay, ModelData modelData, RenderType renderType) Method parameters in net.minecraft.client.renderer.block with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
BlockModelShaper.replaceCache
(Map<BlockState, BakedModel> modelByStateCache) -
Uses of BlockState in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate StateDefinition
<Block, BlockState> BlockModelDefinition.Context.definition
Methods in net.minecraft.client.renderer.block.model that return types with arguments of type BlockStateMethod parameters in net.minecraft.client.renderer.block.model with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
BlockModelDefinition.Context.setDefinition
(StateDefinition<Block, BlockState> stateContainer) -
Uses of BlockState in net.minecraft.client.renderer.block.model.multipart
Fields in net.minecraft.client.renderer.block.model.multipart with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final StateDefinition
<Block, BlockState> MultiPart.definition
Methods in net.minecraft.client.renderer.block.model.multipart that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate Predicate
<BlockState> KeyValueCondition.getBlockStatePredicate
(StateDefinition<Block, BlockState> definition, Property<?> property, String value) AndCondition.getPredicate
(StateDefinition<Block, BlockState> definition) Condition.getPredicate
(StateDefinition<Block, BlockState> definition) KeyValueCondition.getPredicate
(StateDefinition<Block, BlockState> definition) OrCondition.getPredicate
(StateDefinition<Block, BlockState> definition) Selector.getPredicate
(StateDefinition<Block, BlockState> definition) Method parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type BlockStateModifier and TypeMethodDescriptionprivate Predicate
<BlockState> KeyValueCondition.getBlockStatePredicate
(StateDefinition<Block, BlockState> definition, Property<?> property, String value) AndCondition.getPredicate
(StateDefinition<Block, BlockState> definition) Condition.getPredicate
(StateDefinition<Block, BlockState> definition) KeyValueCondition.getPredicate
(StateDefinition<Block, BlockState> definition) OrCondition.getPredicate
(StateDefinition<Block, BlockState> definition) Selector.getPredicate
(StateDefinition<Block, BlockState> definition) Constructor parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type BlockStateModifierConstructorDescriptionMultiPart
(StateDefinition<Block, BlockState> definition, List<Selector> selectors) -
Uses of BlockState in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
HangingSignRenderer.HangingSignModel.evaluateVisibleParts
(BlockState state) private void
PistonHeadRenderer.renderBlock
(BlockPos pos, BlockState state, PoseStack poseStack, MultiBufferSource bufferSource, Level level, boolean extended, int packedOverlay) (package private) void
SignRenderer.renderSignWithText
(SignBlockEntity signEntity, PoseStack poseStack, MultiBufferSource buffer, int packedLight, int packedOverlay, BlockState state, SignBlock signBlock, WoodType woodType, Model model) (package private) void
HangingSignRenderer.translateSign
(PoseStack poseStack, float yRot, BlockState state) (package private) void
SignRenderer.translateSign
(PoseStack poseStack, float yRot, BlockState state) -
Uses of BlockState in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final List
<PalettedContainer<BlockState>> RenderChunk.sections
Methods in net.minecraft.client.renderer.chunk that return BlockStateModifier and TypeMethodDescriptionRenderChunk.getBlockState
(BlockPos pos) RenderChunkRegion.getBlockState
(BlockPos pos) -
Uses of BlockState in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
MinecartRenderer.renderMinecartContents
(T entity, float partialTicks, BlockState state, PoseStack poseStack, MultiBufferSource buffer, int packedLight) protected void
TntMinecartRenderer.renderMinecartContents
(MinecartTNT entity, float partialTicks, BlockState state, PoseStack poseStack, MultiBufferSource buffer, int packedLight) static void
TntMinecartRenderer.renderWhiteSolidBlock
(BlockRenderDispatcher blockRenderDispatcher, BlockState state, PoseStack poseStack, MultiBufferSource buffer, int packedLight, boolean whiteOverlay) -
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 poseStack, MultiBufferSource buffer, int packedLight, boolean outlineOnly, BlockState state, int packedOverlay, BakedModel model) -
Uses of BlockState in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final StateDefinition
<Block, BlockState> BlockStateModelLoader.ITEM_FRAME_FAKE_DEFINITION
private final Map
<BlockState, BakedModel> ModelManager.ReloadState.modelCache
The field for themodelCache
record component.private final it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> BlockStateModelLoader.modelGroups
private final it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelBakery.modelGroups
private it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelManager.modelGroups
private final Map
<BlockState, BitSet> MultiPartBakedModel.selectorCache
private final List
<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> MultiPartBakedModel.Builder.selectors
private final List
<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> MultiPartBakedModel.selectors
private static final Map
<ResourceLocation, StateDefinition<Block, BlockState>> BlockStateModelLoader.STATIC_DEFINITIONS
Methods in net.minecraft.client.resources.model that return types with arguments of type BlockStateModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> BlockStateModelLoader.getModelGroups()
it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> ModelBakery.getModelGroups()
ModelManager.ReloadState.modelCache()
Returns the value of themodelCache
record component.private static Predicate
<BlockState> BlockStateModelLoader.predicate
(StateDefinition<Block, BlockState> stateDefentition, String properties) Methods in net.minecraft.client.resources.model with parameters of type BlockStateModifier and TypeMethodDescriptionBlockStateModelLoader.ModelGroupKey.create
(BlockState state, MultiPart model, Collection<Property<?>> properties) BlockStateModelLoader.ModelGroupKey.create
(BlockState state, UnbakedModel model, Collection<Property<?>> properties) BlockStateModelLoader.ModelGroupKey.getColoringValues
(BlockState state, Collection<Property<?>> properties) MultiPartBakedModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) WeightedBakedModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) BakedModel.getQuads
(BlockState state, Direction direction, RandomSource random) BuiltInModel.getQuads
(BlockState state, Direction direction, RandomSource random) MultiPartBakedModel.getQuads
(BlockState state, Direction direction, RandomSource random, ModelData modelData, RenderType renderType) SimpleBakedModel.getQuads
(BlockState state, Direction direction, RandomSource random) WeightedBakedModel.getQuads
(BlockState state, Direction direction, RandomSource random, ModelData modelData, RenderType renderType) MultiPartBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) SimpleBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) WeightedBakedModel.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) MultiPartBakedModel.getSelectors
(BlockState p_235050_) boolean
ModelManager.requiresRender
(BlockState oldState, BlockState newState) MultiPartBakedModel.useAmbientOcclusion
(BlockState state, ModelData modelData, RenderType renderType) WeightedBakedModel.useAmbientOcclusion
(BlockState state, ModelData modelData, RenderType renderType) Method parameters in net.minecraft.client.resources.model with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
MultiPartBakedModel.Builder.add
(Predicate<BlockState> predicate, BakedModel model) private void
BlockStateModelLoader.loadBlockStateDefinitions
(ResourceLocation blockStateId, StateDefinition<Block, BlockState> stateDefenition) private static Predicate
<BlockState> BlockStateModelLoader.predicate
(StateDefinition<Block, BlockState> stateDefentition, String properties) private void
BlockStateModelLoader.registerModelGroup
(Iterable<BlockState> models) Constructor parameters in net.minecraft.client.resources.model with type arguments of type BlockStateModifierConstructorDescriptionMultiPartBakedModel
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> selectors) (package private)
ReloadState
(ModelBakery modelBakery, BakedModel missingModel, Map<BlockState, BakedModel> modelCache, Map<ResourceLocation, AtlasSet.StitchResult> atlasPreparations, CompletableFuture<Void> readyForUpload) Creates an instance of aReloadState
record class. -
Uses of BlockState in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
PunchTreeTutorialStepInstance.onDestroyBlock
(ClientLevel level, BlockPos pos, BlockState state, float diggingStage) Called when a player hits block to destroy it.void
Tutorial.onDestroyBlock
(ClientLevel level, BlockPos pos, BlockState state, float diggingStage) default void
TutorialStepInstance.onDestroyBlock
(ClientLevel level, BlockPos pos, BlockState state, float diggingStage) Called when a player hits block to destroy it. -
Uses of BlockState in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
BlockStateParser.BlockResult.blockState
The field for theblockState
record component.private final BlockState
BlockInput.state
private final BlockState
BlockPredicateArgument.BlockPredicate.state
private BlockState
BlockStateParser.state
Fields in net.minecraft.commands.arguments.blocks with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate StateDefinition
<Block, BlockState> BlockStateParser.definition
Methods in net.minecraft.commands.arguments.blocks that return BlockStateModifier and TypeMethodDescriptionBlockStateParser.BlockResult.blockState()
Returns the value of theblockState
record component.BlockInput.getState()
Methods in net.minecraft.commands.arguments.blocks with parameters of type BlockStateConstructors in net.minecraft.commands.arguments.blocks with parameters of type BlockStateModifierConstructorDescriptionBlockInput
(BlockState state, Set<Property<?>> properties, CompoundTag tag) BlockPredicate
(BlockState state, Set<Property<?>> properties, CompoundTag nbt) BlockResult
(BlockState blockState, Map<Property<?>, Comparable<?>> properties, CompoundTag nbt) Creates an instance of aBlockResult
record class. -
Uses of BlockState in net.minecraft.core.cauldron
Methods in net.minecraft.core.cauldron with parameters of type BlockStateModifier and TypeMethodDescriptionstatic ItemInteractionResult
CauldronInteraction.emptyBucket
(Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack filledStack, BlockState state, SoundEvent emptySound) static ItemInteractionResult
CauldronInteraction.fillBucket
(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack emptyStack, ItemStack filledStack, Predicate<BlockState> statePredicate, SoundEvent fillSound) CauldronInteraction.interact
(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack stack) Method parameters in net.minecraft.core.cauldron with type arguments of type BlockStateModifier and TypeMethodDescriptionstatic ItemInteractionResult
CauldronInteraction.fillBucket
(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, ItemStack emptyStack, ItemStack filledStack, Predicate<BlockState> statePredicate, SoundEvent fillSound) -
Uses of BlockState in net.minecraft.core.dispenser
Fields in net.minecraft.core.dispenser declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
BlockSource.state
The field for thestate
record component.Methods in net.minecraft.core.dispenser that return BlockStateModifier and TypeMethodDescriptionBlockSource.state()
Returns the value of thestate
record component.Constructors in net.minecraft.core.dispenser with parameters of type BlockStateModifierConstructorDescriptionBlockSource
(ServerLevel level, BlockPos pos, BlockState state, DispenserBlockEntity blockEntity) Creates an instance of aBlockSource
record class. -
Uses of BlockState in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as BlockStateFields in net.minecraft.core.particles with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<BlockState> BlockParticleOption.BLOCK_STATE_CODEC
Methods in net.minecraft.core.particles that return BlockStateConstructors in net.minecraft.core.particles with parameters of type BlockStateModifierConstructorDescriptionBlockParticleOption
(ParticleType<BlockParticleOption> type, BlockState state) -
Uses of BlockState in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return BlockStateMethods in net.minecraft.gametest.framework with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
GameTestHelper.setBlock
(int x, int y, int z, BlockState state) void
GameTestHelper.setBlock
(BlockPos pos, BlockState state) Method parameters in net.minecraft.gametest.framework with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
GameTestHelper.assertBlockState
(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> exceptionMessage) -
Uses of BlockState in net.minecraft.nbt
Methods in net.minecraft.nbt that return BlockStateModifier and TypeMethodDescriptionstatic BlockState
NbtUtils.readBlockState
(HolderGetter<Block> blockGetter, CompoundTag tag) 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 level, BlockPos pos, BlockState blockState, BeehiveBlockEntity hiveBlockEntity) Method parameters in net.minecraft.network.protocol.game with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
ClientboundSectionBlocksUpdatePacket.runUpdates
(BiConsumer<BlockPos, BlockState> consumer) Constructors in net.minecraft.network.protocol.game with parameters of type BlockState -
Uses of BlockState in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type BlockStateModifier and TypeFieldDescriptionstatic final EntityDataSerializer
<BlockState> EntityDataSerializers.BLOCK_STATE
static final EntityDataSerializer
<Optional<BlockState>> EntityDataSerializers.OPTIONAL_BLOCK_STATE
private static final StreamCodec
<io.netty.buffer.ByteBuf, Optional<BlockState>> EntityDataSerializers.OPTIONAL_BLOCK_STATE_CODEC
-
Uses of BlockState in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
CloneCommands.CloneBlockInfo.state
The field for thestate
record component.Methods in net.minecraft.server.commands that return BlockStateModifier and TypeMethodDescriptionCloneCommands.CloneBlockInfo.state()
Returns the value of thestate
record component.Constructors in net.minecraft.server.commands with parameters of type BlockStateModifierConstructorDescription(package private)
CloneBlockInfo
(BlockPos pos, BlockState state, CloneCommands.CloneBlockEntityInfo blockEntityInfo) Creates an instance of aCloneBlockInfo
record class. -
Uses of BlockState in net.minecraft.server.level
Methods in net.minecraft.server.level that return BlockStateMethods in net.minecraft.server.level with parameters of type BlockStateModifier and TypeMethodDescriptionprivate void
ChunkHolder.broadcastBlockEntityIfNeeded
(List<ServerPlayer> players, Level level, BlockPos pos, BlockState state) protected void
ServerPlayer.checkFallDamage
(double y, boolean onGround, BlockState state, BlockPos pos) private float
ServerPlayerGameMode.incrementDestroyProgress
(BlockState state, BlockPos pos, int startTick) void
ServerLevel.neighborChanged
(BlockState state, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) void
ServerLevel.onBlockStateChange
(BlockPos pos, BlockState blockState, BlockState newState) void
ServerPlayer.onInsideBlock
(BlockState state) 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 pos, BlockState oldState, BlockState newState, int flags) Flags are as in setBlockStateboolean
WorldGenRegion.setBlock
(BlockPos pos, BlockState state, int flags, int recursionLeft) Method parameters in net.minecraft.server.level with type arguments of type BlockStateModifier and TypeMethodDescriptionboolean
WorldGenRegion.isStateAtPosition
(BlockPos pos, Predicate<BlockState> state) -
Uses of BlockState in net.minecraft.util
Methods in net.minecraft.util with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
SpawnUtil.Strategy.canSpawnOn
(ServerLevel level, BlockPos targetPos, BlockState targetState, BlockPos attemptedPos, BlockState attemptedState) -
Uses of BlockState in net.minecraft.world
Methods in net.minecraft.world with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
Containers.dropContentsOnDestroy
(BlockState state, BlockState newState, Level level, BlockPos pos) WorldlyContainerHolder.getContainer
(BlockState state, LevelAccessor level, BlockPos pos) -
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 state) -
Uses of BlockState in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
Display.BlockDisplay.BlockRenderState.blockState
The field for theblockState
record component.private BlockState
Entity.inBlockState
Fields in net.minecraft.world.entity with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<BlockState> Display.BlockDisplay.DATA_BLOCK_STATE_ID
Methods in net.minecraft.world.entity that return BlockStateModifier and TypeMethodDescriptionDisplay.BlockDisplay.BlockRenderState.blockState()
Returns the value of theblockState
record component.private BlockState
Display.BlockDisplay.getBlockState()
Entity.getBlockStateOn()
protected BlockState
Entity.getBlockStateOnLegacy()
Deprecated.Entity.getInBlockState()
Methods in net.minecraft.world.entity with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
Entity.canTrample
(BlockState state, BlockPos pos, float fallDistance) protected void
Entity.checkFallDamage
(double y, boolean onGround, BlockState state, BlockPos pos) protected void
FlyingMob.checkFallDamage
(double y, boolean onGround, BlockState state, BlockPos pos) protected void
LivingEntity.checkFallDamage
(double y, boolean onGround, BlockState state, BlockPos pos) float
Entity.getBlockExplosionResistance
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entityboolean
EntityType.isBlockDangerous
(BlockState state) boolean
Entity.isColliding
(BlockPos pos, BlockState state) private boolean
Entity.isStateClimbable
(BlockState state) void
Entity.makeStuckInBlock
(BlockState state, Vec3 motionMultiplier) protected void
Entity.onInsideBlock
(BlockState state) protected void
Entity.playCombinationStepSounds
(BlockState primaryState, BlockState secondaryState, BlockPos primaryPos, BlockPos secondaryPos) protected void
Entity.playMuffledStepSound
(BlockState state, BlockPos pos) protected void
Entity.playStepSound
(BlockPos pos, BlockState state) private void
Display.BlockDisplay.setBlockState
(BlockState blockState) boolean
Entity.shouldBlockExplode
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, float explosionPower) private boolean
Entity.shouldPlayAmethystStepSound
(BlockState state) private boolean
LivingEntity.trapdoorUsableAsLadder
(BlockPos pos, BlockState state) private boolean
Entity.vibrationAndSoundEffectsFromBlock
(BlockPos pos, BlockState state, boolean playStepSound, boolean broadcastGameEvent, Vec3 entityPos) private void
Entity.walkingStepSound
(BlockPos pos, BlockState state) 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 level, Villager villager, GlobalPos global, BlockState state) private void
WorkAtComposter.spawnComposterFillEffects
(ServerLevel level, BlockState preState, BlockPos pos, BlockState postState) -
Uses of BlockState in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final Predicate
<BlockState> EatBlockGoal.IS_TALL_GRASS
-
Uses of BlockState in net.minecraft.world.entity.ai.village.poi
Fields in net.minecraft.world.entity.ai.village.poi with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final Set
<BlockState> PoiTypes.BEDS
private static final Set
<BlockState> PoiTypes.CAULDRONS
private final Set
<BlockState> PoiType.matchingStates
The field for thematchingStates
record component.private static final Map
<BlockState, Holder<PoiType>> PoiTypes.TYPE_BY_STATE
Methods in net.minecraft.world.entity.ai.village.poi that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate static Set
<BlockState> PoiTypes.getBlockStates
(Block block) 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 state) static boolean
PoiTypes.hasPoi
(BlockState state) boolean
PoiType.is
(BlockState state) Method parameters in net.minecraft.world.entity.ai.village.poi with type arguments of type BlockStateModifier and TypeMethodDescriptionprivate static PoiType
PoiTypes.register
(Registry<PoiType> key, ResourceKey<PoiType> value, Set<BlockState> matchingStates, int maxTickets, int validRange) private static void
PoiTypes.registerBlockStates
(Holder<PoiType> poi, Set<BlockState> states) 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 y, boolean onGround, BlockState state, BlockPos pos) -
Uses of BlockState in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as BlockStateModifier and TypeFieldDescription(package private) final BlockState
MushroomCow.MushroomType.blockState
Fields in net.minecraft.world.entity.animal with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final Predicate
<BlockState> Bee.BeePollinateGoal.VALID_POLLINATION_BLOCKS
Methods in net.minecraft.world.entity.animal that return BlockStateMethods in net.minecraft.world.entity.animal with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Bee.checkFallDamage
(double y, boolean onGround, BlockState state, BlockPos pos) protected void
Parrot.checkFallDamage
(double y, boolean onGround, BlockState state, BlockPos pos) private void
Fox.FoxEatBerriesGoal.pickGlowBerry
(BlockState state) private void
Fox.FoxEatBerriesGoal.pickSweetBerries
(BlockState state) protected void
AbstractFish.playStepSound
(BlockPos pos, BlockState block) protected void
Bee.playStepSound
(BlockPos pos, BlockState block) protected void
Chicken.playStepSound
(BlockPos pos, BlockState block) protected void
Cow.playStepSound
(BlockPos pos, BlockState block) protected void
IronGolem.playStepSound
(BlockPos pos, BlockState block) protected void
Panda.playStepSound
(BlockPos pos, BlockState block) protected void
Parrot.playStepSound
(BlockPos pos, BlockState block) protected void
Pig.playStepSound
(BlockPos pos, BlockState block) protected void
PolarBear.playStepSound
(BlockPos pos, BlockState block) protected void
Sheep.playStepSound
(BlockPos pos, BlockState block) protected void
Turtle.playStepSound
(BlockPos pos, BlockState block) protected void
Wolf.playStepSound
(BlockPos pos, BlockState block) Method parameters in net.minecraft.world.entity.animal with type arguments of type BlockStateModifier and TypeMethodDescriptionBee.BeePollinateGoal.findNearestBlock
(Predicate<BlockState> predicate, double distance) 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 y, boolean onGround, BlockState state, BlockPos pos) protected void
Allay.playStepSound
(BlockPos pos, BlockState state) -
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 pos, BlockState state) -
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 pos, BlockState block) -
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 pos, BlockState state) -
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 pos, BlockState state) -
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 pos, BlockState block) protected void
Llama.playStepSound
(BlockPos pos, BlockState block) -
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 pos, BlockState state) -
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 state) Deprecated.void
WitherBoss.makeStuckInBlock
(BlockState state, Vec3 motionMultiplier) -
Uses of BlockState in net.minecraft.world.entity.item
Fields in net.minecraft.world.entity.item declared as BlockStateFields in net.minecraft.world.entity.item with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<BlockState> PrimedTnt.DATA_BLOCK_STATE_ID
Methods in net.minecraft.world.entity.item that return BlockStateMethods in net.minecraft.world.entity.item with parameters of type BlockStateModifier and TypeMethodDescriptionstatic FallingBlockEntity
FallingBlockEntity.fall
(Level level, BlockPos pos, BlockState blockState) void
PrimedTnt.setBlockState
(BlockState blockState) Constructors in net.minecraft.world.entity.item with parameters of type BlockStateModifierConstructorDescriptionprivate
FallingBlockEntity
(Level level, double x, double y, double z, BlockState state) -
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 level, BlockPos destinationPos, BlockState carriedState, BlockState destinationState, BlockState belowDestinationState, BlockPos belowDestinationPos) protected void
Strider.checkFallDamage
(double y, boolean onGround, BlockState state, BlockPos pos) void
Spider.makeStuckInBlock
(BlockState state, Vec3 motionMultiplier) protected void
AbstractSkeleton.playStepSound
(BlockPos pos, BlockState block) protected void
Endermite.playStepSound
(BlockPos pos, BlockState block) protected void
Ravager.playStepSound
(BlockPos pos, BlockState block) protected void
Silverfish.playStepSound
(BlockPos pos, BlockState block) protected void
Spider.playStepSound
(BlockPos pos, BlockState block) protected void
Strider.playStepSound
(BlockPos pos, BlockState block) protected void
Zoglin.playStepSound
(BlockPos pos, BlockState block) protected void
Zombie.playStepSound
(BlockPos pos, BlockState block) void
EnderMan.setCarriedBlock
(BlockState state) -
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 pos, BlockState block) -
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 pos, BlockState block) protected void
PiglinBrute.playStepSound
(BlockPos pos, BlockState block) -
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 pos, BlockState state) -
Uses of BlockState in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type BlockStateModifier and TypeMethodDescriptionfloat
Inventory.getDestroySpeed
(BlockState state) float
Player.getDestroySpeed
(BlockState state) Deprecated.float
Player.getDigSpeed
(BlockState p_36282_, BlockPos pos) boolean
Player.hasCorrectToolForDrops
(BlockState state) Deprecated.boolean
Player.hasCorrectToolForDrops
(BlockState p_state, Level level, BlockPos pos) void
Player.makeStuckInBlock
(BlockState state, Vec3 motionMultiplier) protected void
Player.playStepSound
(BlockPos pos, BlockState state) -
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 explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entityprotected void
ThrownEnderpearl.onInsideBlock
(BlockState state) -
Uses of BlockState in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return BlockStateModifier and TypeMethodDescriptionAbstractMinecart.getDefaultDisplayBlockState()
MinecartChest.getDefaultDisplayBlockState()
MinecartCommandBlock.getDefaultDisplayBlockState()
MinecartFurnace.getDefaultDisplayBlockState()
MinecartHopper.getDefaultDisplayBlockState()
MinecartSpawner.getDefaultDisplayBlockState()
MinecartTNT.getDefaultDisplayBlockState()
AbstractMinecart.getDisplayBlockState()
Methods in net.minecraft.world.entity.vehicle with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
Boat.checkFallDamage
(double y, boolean onGround, BlockState state, BlockPos pos) float
MinecartTNT.getBlockExplosionResistance
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, FluidState fluidState, float explosionPower) Explosion resistance of a block relative to this entityprotected void
AbstractMinecart.moveAlongTrack
(BlockPos pos, BlockState state) protected void
MinecartFurnace.moveAlongTrack
(BlockPos pos, BlockState state) void
AbstractMinecart.setDisplayBlockState
(BlockState displayState) boolean
MinecartTNT.shouldBlockExplode
(Explosion explosion, BlockGetter level, BlockPos pos, BlockState blockState, float explosionPower) -
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 state) protected abstract boolean
ItemCombinerMenu.isValidBlock
(BlockState state) protected boolean
SmithingMenu.isValidBlock
(BlockState state) -
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 state, Property<T> property, boolean backwards) static @Nullable BlockState
AxeItem.getAxeStrippingState
(BlockState originalState) private BlockState
MapItem.getCorrectStateForFluidBlock
(Level level, BlockState state, BlockPos pos) protected BlockState
BlockItem.getPlacementState
(BlockPlaceContext context) protected BlockState
GameMasterBlockItem.getPlacementState
(BlockPlaceContext context) protected BlockState
StandingAndWallBlockItem.getPlacementState
(BlockPlaceContext context) static @Nullable BlockState
ShovelItem.getShovelPathingState
(BlockState originalState) private BlockState
BlockItem.updateBlockStateFromTag
(BlockPos pos, Level level, ItemStack stack, BlockState state) Methods in net.minecraft.world.item that return types with arguments of type BlockStateModifier and TypeMethodDescriptionprivate Optional
<BlockState> AxeItem.evaluateNewBlockState
(Level level, BlockPos pos, Player player, BlockState state, UseOnContext p_40529_) private Optional
<BlockState> AxeItem.getStripped
(BlockState unstrippedState) static Optional
<BlockState> HoneycombItem.getWaxed
(BlockState state) Methods in net.minecraft.world.item with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
DebugStickItem.canAttackBlock
(BlockState state, Level level, BlockPos pos, Player player) boolean
Item.canAttackBlock
(BlockState state, Level level, BlockPos pos, Player player) boolean
MaceItem.canAttackBlock
(BlockState state, Level level, BlockPos pos, Player player) boolean
SwordItem.canAttackBlock
(BlockState state, Level level, BlockPos pos, Player player) boolean
TridentItem.canAttackBlock
(BlockState state, Level level, BlockPos pos, Player player) protected boolean
BucketItem.canBlockContainFluid
(Player player, Level worldIn, BlockPos posIn, BlockState blockstate) protected boolean
BlockItem.canPlace
(BlockPlaceContext context, BlockState state) protected boolean
HangingSignItem.canPlace
(LevelReader level, BlockState state, BlockPos pos) protected boolean
StandingAndWallBlockItem.canPlace
(LevelReader level, BlockState state, BlockPos pos) static Consumer
<UseOnContext> HoeItem.changeIntoState
(BlockState state) static Consumer
<UseOnContext> HoeItem.changeIntoStateAndDropItem
(BlockState state, ItemLike itemToDrop) private static <T extends Comparable<T>>
BlockStateDebugStickItem.cycleState
(BlockState state, Property<T> property, boolean backwards) private Optional
<BlockState> AxeItem.evaluateNewBlockState
(Level level, BlockPos pos, Player player, BlockState state, UseOnContext p_40529_) static @Nullable BlockState
AxeItem.getAxeStrippingState
(BlockState originalState) private BlockState
MapItem.getCorrectStateForFluidBlock
(Level level, BlockState state, BlockPos pos) float
Item.getDestroySpeed
(ItemStack stack, BlockState state) float
ItemStack.getDestroySpeed
(BlockState state) private static <T extends Comparable<T>>
StringDebugStickItem.getNameHelper
(BlockState state, Property<T> property) protected SoundEvent
BlockItem.getPlaceSound
(BlockState state) Deprecated.protected SoundEvent
BlockItem.getPlaceSound
(BlockState p_state, Level world, BlockPos pos, Player entity) protected SoundEvent
SolidBucketItem.getPlaceSound
(BlockState state) static @Nullable BlockState
ShovelItem.getShovelPathingState
(BlockState originalState) private Optional
<BlockState> AxeItem.getStripped
(BlockState unstrippedState) static Optional
<BlockState> HoneycombItem.getWaxed
(BlockState state) private boolean
DebugStickItem.handleInteraction
(Player player, BlockState stateClicked, LevelAccessor accessor, BlockPos pos, boolean shouldCycleState, ItemStack debugStack) boolean
Item.isCorrectToolForDrops
(ItemStack stack, BlockState state) boolean
ItemStack.isCorrectToolForDrops
(BlockState state) Check whether the given Block can be harvested using this ItemStack.boolean
Item.mineBlock
(ItemStack stack, Level level, BlockState state, BlockPos pos, LivingEntity miningEntity) Called when aBlock
is destroyed using this Item.void
ItemStack.mineBlock
(Level level, BlockState state, BlockPos pos, Player player) Called when a Block is destroyed using this ItemStackboolean
ShearsItem.mineBlock
(ItemStack stack, Level level, BlockState state, BlockPos pos, LivingEntity entityLiving) Called when aBlock
is destroyed using this Item.protected boolean
BedItem.placeBlock
(BlockPlaceContext context, BlockState state) protected boolean
BlockItem.placeBlock
(BlockPlaceContext context, BlockState state) protected boolean
DoubleHighBlockItem.placeBlock
(BlockPlaceContext context, BlockState state) private void
BrushItem.spawnDustParticles
(Level level, BlockHitResult hitResult, BlockState state, Vec3 pos, HumanoidArm arm) void
JukeboxSongPlayer.stop
(LevelAccessor level, BlockState state) void
JukeboxSongPlayer.tick
(LevelAccessor level, BlockState state) private BlockState
BlockItem.updateBlockStateFromTag
(BlockPos pos, Level level, ItemStack stack, BlockState state) protected boolean
BlockItem.updateCustomBlockEntityTag
(BlockPos pos, Level level, Player player, ItemStack stack, BlockState state) protected boolean
SignItem.updateCustomBlockEntityTag
(BlockPos pos, Level level, Player player, ItemStack stack, BlockState state) -
Uses of BlockState in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component that return BlockStateModifier and TypeMethodDescriptionBlockItemStateProperties.apply
(BlockState state) private static <T extends Comparable<T>>
BlockStateBlockItemStateProperties.updateState
(BlockState state, Property<T> property, String propertyName) Methods in net.minecraft.world.item.component with parameters of type BlockStateModifier and TypeMethodDescriptionBlockItemStateProperties.apply
(BlockState state) float
Tool.getMiningSpeed
(BlockState state) boolean
Tool.isCorrectForDrops
(BlockState state) private static <T extends Comparable<T>>
BlockStateBlockItemStateProperties.updateState
(BlockState state, Property<T> property, String propertyName) <T extends Comparable<T>>
BlockItemStatePropertiesBlockItemStateProperties.with
(Property<T> property, BlockState state) -
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 level, int enchantmentLevel, Entity entity, Vec3 origin, BlockState state) void
Enchantment.onHitBlock
(ServerLevel level, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 pos, BlockState state) static void
EnchantmentHelper.onHitBlock
(ServerLevel level, ItemStack stack, LivingEntity owner, Entity entity, EquipmentSlot slot, Vec3 pos, BlockState state, Consumer<Item> onBreak) -
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 pos) BlockGetter.getBlockState
(BlockPos pos) EmptyBlockGetter.getBlockState
(BlockPos pos) Level.getBlockState
(BlockPos pos) PathNavigationRegion.getBlockState
(BlockPos pos) Methods in net.minecraft.world.level that return types with arguments of type BlockStateModifier and TypeMethodDescriptiondefault Stream
<BlockState> BlockGetter.getBlockStates
(AABB area) default Stream
<BlockState> LevelReader.getBlockStatesIfLoaded
(AABB aabb) ClipBlockStateContext.isTargetBlock()
Methods in net.minecraft.world.level with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
Level.addDestroyBlockEffect
(BlockPos pos, BlockState state) default BlockHitResult
BlockGetter.clipWithInteractionOverride
(Vec3 startVec, Vec3 endVec, BlockPos pos, VoxelShape shape, BlockState state) ClipContext.Block.get
(BlockState state, BlockGetter block, BlockPos pos, CollisionContext collisionContext) ClipContext.ShapeGetter.get
(BlockState state, BlockGetter block, BlockPos pos, CollisionContext collisionContext) EntityBasedExplosionDamageCalculator.getBlockExplosionResistance
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) ExplosionDamageCalculator.getBlockExplosionResistance
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) SimpleExplosionDamageCalculator.getBlockExplosionResistance
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, FluidState fluid) ClipContext.getBlockShape
(BlockState blockState, BlockGetter level, BlockPos pos) default boolean
CollisionGetter.isUnobstructed
(BlockState state, BlockPos pos, CollisionContext context) static boolean
NaturalSpawner.isValidEmptySpawnBlock
(BlockGetter block, BlockPos pos, BlockState blockState, FluidState fluidState, EntityType<?> entityType) void
Level.markAndNotifyBlock
(BlockPos p_46605_, LevelChunk levelchunk, BlockState blockstate, BlockState p_46606_, int p_46607_, int p_46608_) void
Level.neighborChanged
(BlockState state, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) void
Level.neighborShapeChanged
(Direction direction, BlockState queried, BlockPos pos, BlockPos offsetPos, int flags, int recursionLevel) default void
LevelAccessor.neighborShapeChanged
(Direction direction, BlockState queried, BlockPos pos, BlockPos offsetPos, int flags, int recursionLevel) void
Level.onBlockStateChange
(BlockPos pos, BlockState blockState, BlockState newState) abstract void
Level.sendBlockUpdated
(BlockPos pos, BlockState oldState, BlockState newState, int flags) Flags are as in setBlockStateboolean
Level.setBlock
(BlockPos pos, BlockState newState, int flags) Sets a block state into this world.Flags are as follows: 1 will notify neighboring blocks throughinvalid reference
neighborChanged
boolean
Level.setBlock
(BlockPos pos, BlockState state, int flags, int recursionLeft) default boolean
LevelWriter.setBlock
(BlockPos pos, BlockState newState, int flags) Sets a block state into this world.Flags are as follows: 1 will cause a block update.boolean
LevelWriter.setBlock
(BlockPos pos, BlockState state, int flags, int recursionLeft) void
NoiseColumn.setBlock
(int pos, BlockState state) boolean
Level.setBlockAndUpdate
(BlockPos pos, BlockState state) Convenience method to update the block on both the client and servervoid
Level.setBlocksDirty
(BlockPos blockPos, BlockState oldState, BlockState newState) boolean
EntityBasedExplosionDamageCalculator.shouldBlockExplode
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) boolean
ExplosionDamageCalculator.shouldBlockExplode
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) boolean
SimpleExplosionDamageCalculator.shouldBlockExplode
(Explosion explosion, BlockGetter reader, BlockPos pos, BlockState state, float power) Method parameters in net.minecraft.world.level with type arguments of type BlockStateModifier and TypeMethodDescriptionboolean
Level.isStateAtPosition
(BlockPos pos, Predicate<BlockState> state) boolean
LevelSimulatedReader.isStateAtPosition
(BlockPos pos, Predicate<BlockState> state) Constructors in net.minecraft.world.level with parameters of type BlockStateConstructor parameters in net.minecraft.world.level with type arguments of type BlockStateModifierConstructorDescriptionClipBlockStateContext
(Vec3 from, Vec3 to, Predicate<BlockState> block) -
Uses of BlockState in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as BlockStateModifier and TypeFieldDescriptionprotected final BlockState
StairBlock.baseState
private final BlockState
RedStoneWireBlock.crossState
private BlockState
Block.defaultBlockState
private final BlockState
Block.BlockStatePairKey.first
private final BlockState
Block.BlockStatePairKey.second
private final BlockState
PointedDripstoneBlock.FluidInfo.sourceState
The field for thesourceState
record component.private final BlockState
ComposterBlock.InputContainer.state
private final BlockState
ComposterBlock.OutputContainer.state
private final BlockState
PitcherCropBlock.PosAndState.state
The field for thestate
record component.private BlockState
RailState.state
Fields in net.minecraft.world.level.block with type parameters of type BlockStateModifier and TypeFieldDescriptionstatic final IdMapper
<BlockState> Block.BLOCK_STATE_REGISTRY
private final Map
<BlockState, VoxelShape> WallBlock.collisionShapeByIndex
private static final Map
<BlockState, BlockState> InfestedBlock.HOST_TO_INFESTED_STATES
private static final Map
<BlockState, BlockState> InfestedBlock.HOST_TO_INFESTED_STATES
private static final Map
<BlockState, BlockState> InfestedBlock.INFESTED_TO_HOST_STATES
private static final Map
<BlockState, BlockState> InfestedBlock.INFESTED_TO_HOST_STATES
static final ToIntFunction
<BlockState> CandleBlock.LIGHT_EMISSION
static final ToIntFunction
<BlockState> LightBlock.LIGHT_EMISSION
private static final Predicate
<BlockState> CarvedPumpkinBlock.PUMPKINS_PREDICATE
private final Map
<BlockState, VoxelShape> WallBlock.shapeByIndex
private static final Map
<BlockState, VoxelShape> RedStoneWireBlock.SHAPES_CACHE
private final Map
<BlockState, VoxelShape> BigDripleafBlock.shapesCache
private final Map
<BlockState, VoxelShape> FireBlock.shapesCache
private final com.google.common.collect.ImmutableMap
<BlockState, VoxelShape> MultifaceBlock.shapesCache
private final Map
<BlockState, VoxelShape> VineBlock.shapesCache
protected final StateDefinition
<Block, BlockState> Block.stateDefinition
private final it.unimi.dsi.fastutil.objects.Object2IntMap
<BlockState> CrossCollisionBlock.stateToIndex
Methods in net.minecraft.world.level.block that return BlockStateModifier and TypeMethodDescription(package private) static BlockState
ComposterBlock.addItem
(Entity entity, BlockState state, LevelAccessor level, BlockPos pos, ItemStack stack) static BlockState
CandleCakeBlock.byCandle
(CandleBlock candle) private static <T extends Comparable<T>>
BlockStateBlock.copyProperty
(BlockState sourceState, BlockState targetState, Property<T> property) private BlockState
VineBlock.copyRandomFaces
(BlockState sourceState, BlockState spreadState, RandomSource random) static BlockState
DoublePlantBlock.copyWaterloggedFrom
(LevelReader level, BlockPos pos, BlockState state) static BlockState
MangrovePropaguleBlock.createNewHangingPropagule()
static BlockState
MangrovePropaguleBlock.createNewHangingPropagule
(int age) static BlockState
AnvilBlock.damage
(BlockState state) final BlockState
Block.defaultBlockState()
(package private) static BlockState
ComposterBlock.empty
(Entity entity, BlockState state, LevelAccessor level, BlockPos pos) static BlockState
ComposterBlock.extractProduce
(Entity entity, BlockState state, Level level, BlockPos pos) private static BlockState
BubbleColumnBlock.getColumnState
(BlockState blockState) private BlockState
RedStoneWireBlock.getConnectionState
(BlockGetter level, BlockState state, BlockPos pos) private static BlockState
MultifaceBlock.getDefaultMultifaceState
(StateDefinition<Block, BlockState> stateDefinition) static BlockState
WeatheringCopper.getFirst
(BlockState state) protected BlockState
CaveVinesBlock.getGrowIntoState
(BlockState p_220935_, RandomSource p_220936_) protected BlockState
GrowingPlantHeadBlock.getGrowIntoState
(BlockState state, RandomSource random) GrowingPlantHeadBlock.getMaxAgeState
(BlockState state) private BlockState
RedStoneWireBlock.getMissingConnections
(BlockGetter level, BlockState state, BlockPos pos) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> stateMap, BlockState state, Supplier<BlockState> supplier) private BlockState
SculkBlock.getRandomGrowthState
(LevelAccessor level, BlockPos pos, RandomSource random, boolean isWorldGeneration) static BlockState
BaseFireBlock.getState
(BlockGetter reader, BlockPos pos) RailState.getState()
CropBlock.getStateForAge
(int age) TorchflowerCropBlock.getStateForAge
(int p_275698_) AbstractFurnaceBlock.getStateForPlacement
(BlockPlaceContext context) AbstractSkullBlock.getStateForPlacement
(BlockPlaceContext context) AmethystClusterBlock.getStateForPlacement
(BlockPlaceContext context) AnvilBlock.getStateForPlacement
(BlockPlaceContext context) BambooStalkBlock.getStateForPlacement
(BlockPlaceContext context) BannerBlock.getStateForPlacement
(BlockPlaceContext context) BarrelBlock.getStateForPlacement
(BlockPlaceContext context) BarrierBlock.getStateForPlacement
(BlockPlaceContext context) BaseCoralPlantTypeBlock.getStateForPlacement
(BlockPlaceContext context) BaseCoralWallFanBlock.getStateForPlacement
(BlockPlaceContext context) BaseFireBlock.getStateForPlacement
(BlockPlaceContext context) BaseRailBlock.getStateForPlacement
(BlockPlaceContext context) BedBlock.getStateForPlacement
(BlockPlaceContext context) BeehiveBlock.getStateForPlacement
(BlockPlaceContext context) BellBlock.getStateForPlacement
(BlockPlaceContext context) BigDripleafBlock.getStateForPlacement
(BlockPlaceContext context) Block.getStateForPlacement
(BlockPlaceContext context) CalibratedSculkSensorBlock.getStateForPlacement
(BlockPlaceContext p_277423_) CampfireBlock.getStateForPlacement
(BlockPlaceContext context) CandleBlock.getStateForPlacement
(BlockPlaceContext context) CarvedPumpkinBlock.getStateForPlacement
(BlockPlaceContext context) CeilingHangingSignBlock.getStateForPlacement
(BlockPlaceContext context) ChainBlock.getStateForPlacement
(BlockPlaceContext context) ChestBlock.getStateForPlacement
(BlockPlaceContext context) ChiseledBookShelfBlock.getStateForPlacement
(BlockPlaceContext context) ChorusPlantBlock.getStateForPlacement
(BlockPlaceContext context) CocoaBlock.getStateForPlacement
(BlockPlaceContext context) CommandBlock.getStateForPlacement
(BlockPlaceContext context) ConcretePowderBlock.getStateForPlacement
(BlockPlaceContext context) ConduitBlock.getStateForPlacement
(BlockPlaceContext context) CoralBlock.getStateForPlacement
(BlockPlaceContext context) CrafterBlock.getStateForPlacement
(BlockPlaceContext context) DecoratedPotBlock.getStateForPlacement
(BlockPlaceContext p_272711_) DiodeBlock.getStateForPlacement
(BlockPlaceContext context) DirtPathBlock.getStateForPlacement
(BlockPlaceContext p_153131_) DispenserBlock.getStateForPlacement
(BlockPlaceContext context) DoorBlock.getStateForPlacement
(BlockPlaceContext context) DoublePlantBlock.getStateForPlacement
(BlockPlaceContext context) EnderChestBlock.getStateForPlacement
(BlockPlaceContext context) EndPortalFrameBlock.getStateForPlacement
(BlockPlaceContext context) EndRodBlock.getStateForPlacement
(BlockPlaceContext context) FaceAttachedHorizontalDirectionalBlock.getStateForPlacement
(BlockPlaceContext context) FarmBlock.getStateForPlacement
(BlockPlaceContext context) FenceBlock.getStateForPlacement
(BlockPlaceContext context) FenceGateBlock.getStateForPlacement
(BlockPlaceContext context) FireBlock.getStateForPlacement
(BlockPlaceContext context) protected BlockState
FireBlock.getStateForPlacement
(BlockGetter level, BlockPos pos) GlazedTerracottaBlock.getStateForPlacement
(BlockPlaceContext context) GrowingPlantBlock.getStateForPlacement
(BlockPlaceContext context) GrowingPlantBlock.getStateForPlacement
(LevelAccessor level) GrowingPlantHeadBlock.getStateForPlacement
(LevelAccessor level) HangingRootsBlock.getStateForPlacement
(BlockPlaceContext p_153340_) HeavyCoreBlock.getStateForPlacement
(BlockPlaceContext p_338691_) HopperBlock.getStateForPlacement
(BlockPlaceContext context) HugeMushroomBlock.getStateForPlacement
(BlockPlaceContext context) InfestedRotatedPillarBlock.getStateForPlacement
(BlockPlaceContext p_153441_) IronBarsBlock.getStateForPlacement
(BlockPlaceContext context) JigsawBlock.getStateForPlacement
(BlockPlaceContext context) KelpBlock.getStateForPlacement
(BlockPlaceContext context) LadderBlock.getStateForPlacement
(BlockPlaceContext context) LanternBlock.getStateForPlacement
(BlockPlaceContext context) LeavesBlock.getStateForPlacement
(BlockPlaceContext context) LecternBlock.getStateForPlacement
(BlockPlaceContext context) LightningRodBlock.getStateForPlacement
(BlockPlaceContext context) LoomBlock.getStateForPlacement
(BlockPlaceContext context) MangrovePropaguleBlock.getStateForPlacement
(BlockPlaceContext context) MangroveRootsBlock.getStateForPlacement
(BlockPlaceContext p_221508_) MultifaceBlock.getStateForPlacement
(BlockPlaceContext context) MultifaceBlock.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) NoteBlock.getStateForPlacement
(BlockPlaceContext context) ObserverBlock.getStateForPlacement
(BlockPlaceContext context) PinkPetalsBlock.getStateForPlacement
(BlockPlaceContext p_273158_) PitcherCropBlock.getStateForPlacement
(BlockPlaceContext context) PointedDripstoneBlock.getStateForPlacement
(BlockPlaceContext context) RedstoneLampBlock.getStateForPlacement
(BlockPlaceContext context) RedstoneWallTorchBlock.getStateForPlacement
(BlockPlaceContext context) RedStoneWireBlock.getStateForPlacement
(BlockPlaceContext context) RepeaterBlock.getStateForPlacement
(BlockPlaceContext context) RotatedPillarBlock.getStateForPlacement
(BlockPlaceContext context) ScaffoldingBlock.getStateForPlacement
(BlockPlaceContext context) SculkSensorBlock.getStateForPlacement
(BlockPlaceContext context) SculkShriekerBlock.getStateForPlacement
(BlockPlaceContext context) SeagrassBlock.getStateForPlacement
(BlockPlaceContext p_154503_) SeaPickleBlock.getStateForPlacement
(BlockPlaceContext context) ShulkerBoxBlock.getStateForPlacement
(BlockPlaceContext context) SkullBlock.getStateForPlacement
(BlockPlaceContext context) SlabBlock.getStateForPlacement
(BlockPlaceContext context) SmallDripleafBlock.getStateForPlacement
(BlockPlaceContext p_154592_) SnowLayerBlock.getStateForPlacement
(BlockPlaceContext context) SnowyDirtBlock.getStateForPlacement
(BlockPlaceContext context) StairBlock.getStateForPlacement
(BlockPlaceContext context) StandingSignBlock.getStateForPlacement
(BlockPlaceContext context) StonecutterBlock.getStateForPlacement
(BlockPlaceContext context) TallSeagrassBlock.getStateForPlacement
(BlockPlaceContext p_154747_) TrapDoorBlock.getStateForPlacement
(BlockPlaceContext context) TripWireBlock.getStateForPlacement
(BlockPlaceContext context) TripWireHookBlock.getStateForPlacement
(BlockPlaceContext context) TurtleEggBlock.getStateForPlacement
(BlockPlaceContext context) VaultBlock.getStateForPlacement
(BlockPlaceContext p_324576_) VineBlock.getStateForPlacement
(BlockPlaceContext context) WallBannerBlock.getStateForPlacement
(BlockPlaceContext context) WallBlock.getStateForPlacement
(BlockPlaceContext context) WallHangingSignBlock.getStateForPlacement
(BlockPlaceContext context) WallSignBlock.getStateForPlacement
(BlockPlaceContext context) WallSkullBlock.getStateForPlacement
(BlockPlaceContext context) WallTorchBlock.getStateForPlacement
(BlockPlaceContext context) WaterloggedTransparentBlock.getStateForPlacement
(BlockPlaceContext p_313836_) private BlockState
FireBlock.getStateWithAge
(LevelAccessor level, BlockPos pos, int age) static BlockState
ChorusPlantBlock.getStateWithConnections
(BlockGetter level, BlockPos pos, BlockState state) private BlockState
VineBlock.getUpdatedState
(BlockState state, BlockGetter level, BlockPos pos) InfestedBlock.hostStateByInfested
(BlockState infested) static BlockState
InfestedBlock.infestedStateByHost
(BlockState host) static BlockState
ComposterBlock.insertItem
(Entity entity, BlockState state, ServerLevel level, ItemStack stack, BlockPos pos) private BlockState
MultifaceBlock.mapDirections
(BlockState state, Function<Direction, Direction> directionalFunction) static BlockState
IceBlock.meltsInto()
protected BlockState
AbstractFurnaceBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
AmethystClusterBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
AttachedStemBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BannerBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BarrelBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BaseCoralWallFanBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.BeehiveBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.BellBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.CalibratedSculkSensorBlock.mirror
(BlockState p_277615_, Mirror p_277916_) protected BlockState
CampfireBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CeilingHangingSignBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
ChestBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.ChiseledBookShelfBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CommandBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CrafterBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CrossCollisionBlock.mirror
(BlockState state, Mirror mirror) 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 state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DispenserBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DoorBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
EnderChestBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
EndPortalFrameBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
GrindstoneBlock.mirror
(BlockState state, Mirror mirror) protected BlockState
HopperBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
HorizontalDirectionalBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
HugeMushroomBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
JigsawBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
LadderBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
LecternBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
MultifaceBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
ObserverBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.PinkPetalsBlock.mirror
(BlockState p_272961_, Mirror p_273278_) protected BlockState
PoweredRailBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RailBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RedstoneWallTorchBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RedStoneWireBlock.mirror
(BlockState state, Mirror mirror) 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 state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
SkullBlock.mirror
(BlockState state, Mirror mirror) 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 state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
StandingSignBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
StonecutterBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
TripWireBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
TripWireHookBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.VaultBlock.mirror
(BlockState p_323894_, Mirror p_324242_) protected BlockState
VineBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallBannerBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallHangingSignBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallSignBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallSkullBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallTorchBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.BaseFireBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) BedBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) BeehiveBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) Block.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) DecoratedPotBlock.playerWillDestroy
(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) DoublePlantBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) ShulkerBoxBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) TntBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) TripWireBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) static BlockState
Block.pushEntitiesUp
(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos) private static BlockState
MultifaceBlock.removeFace
(BlockState state, BooleanProperty faceProp) protected BlockState
AbstractFurnaceBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AmethystClusterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AnvilBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AttachedStemBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BannerBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BarrelBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BaseCoralWallFanBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.BeehiveBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.BellBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.CalibratedSculkSensorBlock.rotate
(BlockState p_277545_, Rotation p_277482_) protected BlockState
CampfireBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CeilingHangingSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ChestBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.ChiseledBookShelfBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CommandBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrafterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrossCollisionBlock.rotate
(BlockState state, Rotation rot) 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 state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DispenserBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DoorBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EnderChestBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EndPortalFrameBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
GrindstoneBlock.rotate
(BlockState state, Rotation rotation) protected BlockState
HopperBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HorizontalDirectionalBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HugeMushroomBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
InfestedRotatedPillarBlock.rotate
(BlockState p_153443_, Rotation p_153444_) protected BlockState
JigsawBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LadderBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LecternBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
MultifaceBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
NetherPortalBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ObserverBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.PinkPetalsBlock.rotate
(BlockState p_273485_, Rotation p_273021_) protected BlockState
PoweredRailBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RailBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedstoneWallTorchBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedStoneWireBlock.rotate
(BlockState state, Rotation rotation) 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 state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ShulkerBoxBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SkullBlock.rotate
(BlockState state, Rotation rotation) 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 state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StandingSignBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StonecutterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireHookBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.VaultBlock.rotate
(BlockState p_324232_, Rotation p_324443_) protected BlockState
VineBlock.rotate
(BlockState state, Rotation rotate) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBannerBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallHangingSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSkullBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallTorchBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.static BlockState
RotatedPillarBlock.rotatePillar
(BlockState state, Rotation rotation) private BlockState
NoteBlock.setInstrument
(LevelAccessor level, BlockPos pos, BlockState state) protected abstract BlockState
BasePressurePlateBlock.setSignalForState
(BlockState state, int signal) Returns the block state that encodes the given signal.protected BlockState
PressurePlateBlock.setSignalForState
(BlockState state, int strength) Returns the block state that encodes the given signal.protected BlockState
WeightedPressurePlateBlock.setSignalForState
(BlockState state, int strength) Returns the block state that encodes the given signal.private BlockState
WallBlock.sideUpdate
(LevelReader level, BlockPos firstPos, BlockState firstState, BlockPos secondPos, BlockState secondState, Direction dir) PointedDripstoneBlock.FluidInfo.sourceState()
Returns the value of thesourceState
record component.PitcherCropBlock.PosAndState.state()
Returns the value of thestate
record component.static BlockState
Block.stateById
(int id) private BlockState
WallBlock.topUpdate
(LevelReader level, BlockState state, BlockPos pos, BlockState secondState) protected BlockState
CaveVinesBlock.updateBodyAfterConvertedFromHead
(BlockState p_152987_, BlockState p_152988_) protected BlockState
GrowingPlantHeadBlock.updateBodyAfterConvertedFromHead
(BlockState head, BlockState body) protected BlockState
BaseRailBlock.updateDir
(Level level, BlockPos pos, BlockState state, boolean alwaysPlace) private static BlockState
LeavesBlock.updateDistance
(BlockState state, LevelAccessor level, BlockPos pos) static BlockState
Block.updateFromNeighbourShapes
(BlockState currentState, LevelAccessor level, BlockPos pos) 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 head, BlockState body) protected BlockState
AmethystClusterBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
AttachedStemBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockState
BambooSaplingBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BambooStalkBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BannerBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BarrierBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BasePressurePlateBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseRailBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, Direction p_304475_, BlockState p_304669_, LevelAccessor p_304637_, BlockPos p_304633_, BlockPos p_304603_) protected BlockState
BedBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BeehiveBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BellBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BigDripleafBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BigDripleafStemBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BubbleColumnBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BushBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CactusBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CakeBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CampfireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CandleBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CandleCakeBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockState
ChainBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ChestBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockState
ChorusFlowerBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ChorusPlantBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CocoaBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ConcretePowderBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockState
ConduitBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralFanBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralPlantBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralWallFanBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) protected BlockState
DoorBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
DoublePlantBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
EnderChestBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FallingBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FarmBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FenceBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FenceGateBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FlowerPotBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FrogspawnBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GlowLichenBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, Direction p_338189_, BlockState p_338723_, LevelAccessor p_338514_, BlockPos p_338346_, BlockPos p_338401_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
IronBarsBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LadderBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LanternBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LeavesBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LightBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LightningRodBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LiquidBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MagmaBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) protected BlockState
MultifaceBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
NetherPortalBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
NoteBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ObserverBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
PointedDripstoneBlock.updateShape
(BlockState state, Direction p_direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RedStoneWireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RepeaterBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ScaffoldingBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkSensorBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkShriekerBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkVeinBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) protected BlockState
SeaPickleBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SlabBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) protected BlockState
SnowLayerBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SnowyDirtBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SoulFireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SoulSandBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) protected BlockState
StairBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
StandingSignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SugarCaneBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TrapDoorBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TripWireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TripWireHookBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
VineBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallBannerBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.private BlockState
WallBlock.updateShape
(LevelReader level, BlockState state, BlockPos pos, BlockState neighbour, boolean northConnection, boolean eastConnection, boolean southConnection, boolean westConnection) protected BlockState
WallHangingSignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallSignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallTorchBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, Direction p_313739_, BlockState p_313829_, LevelAccessor p_313692_, BlockPos p_313842_, BlockPos p_313843_) private BlockState
WallBlock.updateSides
(BlockState state, boolean northConnection, boolean eastConnection, boolean southConnection, boolean westConnection, VoxelShape wallShape) protected BlockState
BaseRailBlock.updateState
(BlockState state, Level level, BlockPos pos, boolean movedByPiston) final BlockState
Block.withPropertiesOf
(BlockState state) Methods in net.minecraft.world.level.block that return types with arguments of type BlockStateModifier and TypeMethodDescriptionstatic ToIntFunction
<BlockState> CaveVines.emission
(int berries) static ToIntFunction
<BlockState> GlowLichenBlock.emission
(int light) ChangeOverTimeBlock.getNext
(BlockState state) default Optional
<BlockState> WeatheringCopper.getNext
(BlockState state) default Optional
<BlockState> ChangeOverTimeBlock.getNextState
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) static Optional
<BlockState> WeatheringCopper.getPrevious
(BlockState state) protected com.google.common.collect.ImmutableMap
<BlockState, VoxelShape> Block.getShapeForEachState
(Function<BlockState, VoxelShape> shapeGetter) Block.getStateDefinition()
private static ToIntFunction
<BlockState> Blocks.litBlockEmission
(int lightValue) private Map
<BlockState, VoxelShape> WallBlock.makeShapes
(float width, float depth, float wallPostHeight, float wallMinY, float wallLowHeight, float wallTallHeight) private static Function
<BlockState, MapColor> Blocks.waterloggedMapColor
(MapColor unwaterloggedMapColor) Methods in net.minecraft.world.level.block with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
SculkSensorBlock.activate
(Entity entity, Level level, BlockPos pos, BlockState state, int power, int frequency) (package private) static BlockState
ComposterBlock.addItem
(Entity entity, BlockState state, LevelAccessor level, BlockPos pos, ItemStack stack) void
SaplingBlock.advanceTree
(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) private static boolean
Blocks.always
(BlockState state, BlockGetter blockGetter, BlockPos pos) static Boolean
Blocks.always
(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) void
AbstractCandleBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BaseFireBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BeehiveBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BlastFurnaceBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
Block.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BrewingStandBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BrushableBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
BubbleColumnBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
CampfireBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
CherryLeavesBlock.animateTick
(BlockState p_272714_, Level p_272837_, BlockPos p_273218_, RandomSource p_273360_) void
CryingObsidianBlock.animateTick
(BlockState p_221055_, Level p_221056_, BlockPos p_221057_, RandomSource p_221058_) void
EnchantingTableBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EnderChestBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndGatewayBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndPortalBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
EndRodBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
FallingBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
FurnaceBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LeavesBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LeverBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
LightningRodBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) 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 state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
PointedDripstoneBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedStoneOreBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedstoneTorchBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedstoneWallTorchBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RedStoneWireBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RepeaterBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
RespawnAnchorBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SculkSensorBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SmokerBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
SporeBlossomBlock.animateTick
(BlockState p_222503_, Level p_222504_, BlockPos p_222505_, RandomSource p_222506_) void
TorchBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WallTorchBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WetSpongeBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).void
WitherRoseBlock.animateTick
(BlockState state, Level level, BlockPos pos, RandomSource random) Called periodically clientside on blocks near the player to show effects (like furnace fire particles).final boolean
IronBarsBlock.attachsTo
(BlockState state, boolean solidSide) protected void
DragonEggBlock.attack
(BlockState state, Level level, BlockPos pos, Player player) protected void
NoteBlock.attack
(BlockState state, Level level, BlockPos pos, Player player) protected void
RedStoneOreBlock.attack
(BlockState state, Level level, BlockPos pos, Player player) default boolean
SculkBehaviour.attemptSpreadVein
(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions, boolean markForPostprocessing) MultifaceBlock.availableFaces
(BlockState state) private static VoxelShape
MultifaceBlock.calculateMultifaceShape
(BlockState state) private int
ComparatorBlock.calculateOutputSignal
(Level level, BlockPos pos, BlockState state) private static VoxelShape
BigDripleafBlock.calculateShape
(BlockState state) private static VoxelShape
FireBlock.calculateShape
(BlockState state) private VoxelShape
RedStoneWireBlock.calculateShape
(BlockState state) private static VoxelShape
VineBlock.calculateShape
(BlockState state) static void
TripWireHookBlock.calculateState
(Level level, BlockPos pos, BlockState hookState, boolean attaching, boolean shouldNotifyNeighbours, int searchRange, BlockState state) static boolean
SculkSensorBlock.canActivate
(BlockState state) protected boolean
GrowingPlantBlock.canAttachTo
(BlockState state) protected boolean
KelpBlock.canAttachTo
(BlockState state) protected boolean
KelpPlantBlock.canAttachTo
(BlockState state) static boolean
MultifaceBlock.canAttachTo
(BlockGetter level, Direction direction, BlockPos pos, BlockState state) boolean
WallHangingSignBlock.canAttachTo
(LevelReader level, BlockState state, BlockPos pos, Direction direction) private static boolean
RespawnAnchorBlock.canBeCharged
(BlockState state) private static boolean
SpreadingSnowyDirtBlock.canBeGrass
(BlockState state, LevelReader levelReader, BlockPos pos) protected boolean
AbstractCandleBlock.canBeLit
(BlockState state) protected boolean
CandleBlock.canBeLit
(BlockState state) private static boolean
NyliumBlock.canBeNylium
(BlockState state, LevelReader reader, BlockPos pos) protected boolean
CandleBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
EndGatewayBlock.canBeReplaced
(BlockState state, Fluid fluid) protected boolean
EndPortalBlock.canBeReplaced
(BlockState state, Fluid fluid) protected boolean
GlowLichenBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
GrowingPlantBodyBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
MultifaceBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) boolean
PinkPetalsBlock.canBeReplaced
(BlockState p_272922_, BlockPlaceContext p_273534_) boolean
PitcherCropBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
ScaffoldingBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
SculkVeinBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
SeaPickleBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
SlabBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
SnowLayerBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
TurtleEggBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
VineBlock.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected abstract boolean
BaseFireBlock.canBurn
(BlockState state) protected boolean
FireBlock.canBurn
(BlockState state) Deprecated.protected boolean
SoulFireBlock.canBurn
(BlockState state) static boolean
BuddingAmethystBlock.canClusterGrowAtState
(BlockState state) static boolean
PointedDripstoneBlock.canDrip
(BlockState state) private static boolean
PointedDripstoneBlock.canDripThrough
(BlockGetter level, BlockPos pos, BlockState state) private static boolean
BubbleColumnBlock.canExistIn
(BlockState blockState) private boolean
PitcherCropBlock.canGrow
(LevelReader reader, BlockPos pos, BlockState state, int age) private static boolean
PointedDripstoneBlock.canGrow
(BlockState dripstoneState, BlockState state) protected boolean
CaveVinesBlock.canGrowInto
(BlockState p_152998_) protected abstract boolean
GrowingPlantHeadBlock.canGrowInto
(BlockState state) protected boolean
KelpBlock.canGrowInto
(BlockState state) protected boolean
TwistingVinesBlock.canGrowInto
(BlockState p_154869_) protected boolean
WeepingVinesBlock.canGrowInto
(BlockState p_154971_) static boolean
CampfireBlock.canLight
(BlockState state) static boolean
CandleBlock.canLight
(BlockState state) static boolean
CandleCakeBlock.canLight
(BlockState state) private static boolean
ShulkerBoxBlock.canOpen
(BlockState state, Level level, BlockPos pos, ShulkerBoxBlockEntity blockEntity) boolean
WallHangingSignBlock.canPlace
(BlockState state, LevelReader level, BlockPos pos) protected static boolean
BigDripleafBlock.canPlaceAt
(LevelHeightAccessor level, BlockPos pos, BlockState state) boolean
BarrierBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpPlantBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
LiquidBlockContainer.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
SeagrassBlock.canPlaceLiquid
(Player p_296226_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default boolean
SimpleWaterloggedBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
SlabBlock.canPlaceLiquid
(Player player, BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) boolean
TallSeagrassBlock.canPlaceLiquid
(Player p_296027_, BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) private static boolean
SpreadingSnowyDirtBlock.canPropagate
(BlockState state, LevelReader level, BlockPos pos) private static boolean
BigDripleafBlock.canReplace
(BlockState state) private static boolean
ConcretePowderBlock.canSolidify
(BlockState state) default boolean
MultifaceSpreader.SpreadConfig.canSpreadFrom
(BlockState state, Direction direction) boolean
MultifaceSpreader.canSpreadInAnyDirection
(BlockState state, BlockGetter level, BlockPos pos, Direction spreadDirection) protected boolean
AmethystClusterBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BambooSaplingBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BambooStalkBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BannerBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BaseCoralPlantTypeBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BaseCoralWallFanBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BasePressurePlateBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BaseRailBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BaseTorchBlock.canSurvive
(BlockState p_304413_, LevelReader p_304885_, BlockPos p_304808_) protected boolean
BellBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BigDripleafBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BigDripleafStemBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BubbleColumnBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
BushBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
CactusBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
CakeBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
CandleBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
CandleCakeBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
CarpetBlock.canSurvive
(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) protected boolean
CeilingHangingSignBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
ChorusFlowerBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
ChorusPlantBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
CocoaBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
CropBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
DiodeBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
DirtPathBlock.canSurvive
(BlockState p_153148_, LevelReader p_153149_, BlockPos p_153150_) protected boolean
DoorBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
DoublePlantBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
FaceAttachedHorizontalDirectionalBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
FarmBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
FireBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
FrogspawnBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
GrindstoneBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
GrowingPlantBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
HangingRootsBlock.canSurvive
(BlockState p_153347_, LevelReader p_153348_, BlockPos p_153349_) protected boolean
LadderBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
LanternBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
MangrovePropaguleBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
MultifaceBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
MushroomBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) boolean
PitcherCropBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
PointedDripstoneBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
RedstoneWallTorchBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
RedStoneWireBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
ScaffoldingBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
SeaPickleBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
SmallDripleafBlock.canSurvive
(BlockState p_154615_, LevelReader p_154616_, BlockPos p_154617_) protected boolean
SnowLayerBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
SoulFireBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
SporeBlossomBlock.canSurvive
(BlockState p_154709_, LevelReader p_154710_, BlockPos p_154711_) protected boolean
StandingSignBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
SugarCaneBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
TallSeagrassBlock.canSurvive
(BlockState p_154768_, LevelReader p_154769_, BlockPos p_154770_) protected boolean
TripWireHookBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
VineBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
WallBannerBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
WallSignBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
WallTorchBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected boolean
DiodeBlock.canSurviveOn
(LevelReader level, BlockPos pos, BlockState state) private boolean
RedStoneWireBlock.canSurviveOn
(BlockGetter level, BlockPos pos, BlockState state) static boolean
SoulFireBlock.canSurviveOnBlock
(BlockState state) private static boolean
StairBlock.canTakeShape
(BlockState state, BlockGetter level, BlockPos pos, Direction face) private static boolean
PointedDripstoneBlock.canTipGrow
(BlockState state, ServerLevel level, BlockPos pos) default void
ChangeOverTimeBlock.changeOverTime
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private static void
LecternBlock.changePowered
(Level level, BlockPos pos, BlockState state, boolean powered) static void
RespawnAnchorBlock.charge
(Entity entity, Level level, BlockPos pos, BlockState state) void
CopperBulbBlock.checkAndFlip
(BlockState state, ServerLevel level, BlockPos pos) private void
HopperBlock.checkPoweredState
(Level level, BlockPos pos, BlockState state) private void
BasePressurePlateBlock.checkPressed
(Entity entity, Level level, BlockPos pos, BlockState state, int currentSignal) protected void
ButtonBlock.checkPressed
(BlockState state, Level level, BlockPos pos) private void
DetectorRailBlock.checkPressed
(Level level, BlockPos pos, BlockState state) protected void
ComparatorBlock.checkTickOnNeighbor
(Level level, BlockPos pos, BlockState state) Check the output signal of this diode and schedule a new block tick if it should change.protected void
DiodeBlock.checkTickOnNeighbor
(Level level, BlockPos pos, BlockState state) 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 state, Level level, BlockPos pos, boolean override) ChestBlock.combine
(BlockState state, Level level, BlockPos pos, boolean override) EnderChestBlock.combine
(BlockState state, Level level, BlockPos pos, boolean override) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> doubleBlockTypeGetter, Function<BlockState, Direction> directionGetter, DirectionProperty directionProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChestTest) boolean
FenceBlock.connectsTo
(BlockState state, boolean isSideSolid, Direction direction) private boolean
WallBlock.connectsTo
(BlockState state, boolean sideSolid, Direction direction) static boolean
FenceGateBlock.connectsToDirection
(BlockState state, Direction direction) private static <T extends Comparable<T>>
BlockStateBlock.copyProperty
(BlockState sourceState, BlockState targetState, Property<T> property) private BlockState
VineBlock.copyRandomFaces
(BlockState sourceState, BlockState spreadState, RandomSource random) static BlockState
DoublePlantBlock.copyWaterloggedFrom
(LevelReader level, BlockPos pos, BlockState state) private int
VineBlock.countFaces
(BlockState state) private static void
PointedDripstoneBlock.createMergedTips
(BlockState state, LevelAccessor level, BlockPos pos) static BlockState
AnvilBlock.damage
(BlockState state) static void
SculkSensorBlock.deactivate
(Level level, BlockPos pos, BlockState state) protected boolean
LeavesBlock.decaying
(BlockState state) private void
TurtleEggBlock.decreaseEggs
(Level level, BlockPos pos, BlockState state) void
Block.destroy
(LevelAccessor level, BlockPos pos, BlockState state) Called after this block has been removed by a player.private void
TurtleEggBlock.destroyEgg
(Level level, BlockState state, BlockPos pos, Entity entity, int chance) protected void
CrafterBlock.dispenseFrom
(BlockState state, ServerLevel level, BlockPos pos) protected void
DispenserBlock.dispenseFrom
(ServerLevel level, BlockState state, BlockPos pos) protected void
DropperBlock.dispenseFrom
(ServerLevel p_52944_, BlockState p_302455_, BlockPos p_52945_) private void
CrafterBlock.dispenseItem
(ServerLevel level, BlockPos pos, CrafterBlockEntity crafter, ItemStack stack, BlockState state, RecipeHolder<CraftingRecipe> recipe) static void
CampfireBlock.dowse
(Entity entity, LevelAccessor level, BlockPos pos, BlockState state) static void
Block.dropResources
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity) static void
Block.dropResources
(BlockState state, Level level, BlockPos pos) static void
Block.dropResources
(BlockState state, Level level, BlockPos pos, BlockEntity blockEntity, Entity entity, ItemStack tool) protected static InteractionResult
CakeBlock.eat
(LevelAccessor level, BlockPos pos, BlockState state, Player player) (package private) static BlockState
ComposterBlock.empty
(Entity entity, BlockState state, LevelAccessor level, BlockPos pos) protected void
BaseFireBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
BasePressurePlateBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
BigDripleafBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
BubbleColumnBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
ButtonBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
CactusBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
CampfireBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
CropBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
DetectorRailBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
EndGatewayBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
EndPortalBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
FrogspawnBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
HoneyBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
HopperBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
LavaCauldronBlock.entityInside
(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_) protected void
LayeredCauldronBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
NetherPortalBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) void
PitcherCropBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
PowderSnowBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
SweetBerryBushBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
TripWireBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
WaterlilyBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
WebBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) protected void
WitherRoseBlock.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) private void
CommandBlock.execute
(BlockState state, Level level, BlockPos pos, BaseCommandBlock logic, boolean canTrigger) private void
RespawnAnchorBlock.explode
(BlockState state, Level level, BlockPos pos2) static void
AbstractCandleBlock.extinguish
(Player player, BlockState state, LevelAccessor level, BlockPos pos) static BlockState
ComposterBlock.extractProduce
(Entity entity, BlockState state, Level level, BlockPos pos) void
BedBlock.fallOn
(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
Block.fallOn
(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
FarmBlock.fallOn
(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
HayBlock.fallOn
(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, float p_153366_) void
HoneyBlock.fallOn
(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
PointedDripstoneBlock.fallOn
(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
PowderSnowBlock.fallOn
(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
SlimeBlock.fallOn
(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
TurtleEggBlock.fallOn
(Level level, BlockState state, BlockPos pos, Entity entity, float fallDistance) protected boolean
PoweredRailBlock.findPoweredRailSignal
(Level level, BlockPos pos, BlockState state, boolean searchForward, int recursionCount) PointedDripstoneBlock.findRootBlock
(Level level, BlockPos pos, BlockState state, int maxIterations) private static BlockPos
PointedDripstoneBlock.findTip
(BlockState state, LevelAccessor level, BlockPos pos, int maxIterations, boolean isTipMerge) protected int
CrossCollisionBlock.getAABBIndex
(BlockState state) protected int
PipeBlock.getAABBIndex
(BlockState state) int
CropBlock.getAge
(BlockState state) protected int
DiodeBlock.getAlternateSignal
(SignalGetter level, BlockPos pos, BlockState state) protected int
AbstractFurnaceBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
BarrelBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
BeehiveBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
BrewingStandBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
CakeBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
CandleCakeBlock.getAnalogOutputSignal
(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
ChestBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
ChiseledBookShelfBlock.getAnalogOutputSignal
(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
CommandBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
ComposterBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
CopperBulbBlock.getAnalogOutputSignal
(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
CrafterBlock.getAnalogOutputSignal
(BlockState state, Level level, BlockPos pos) 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 blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
DispenserBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
EndPortalFrameBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
HopperBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
JukeboxBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) 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 state, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
LecternBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
RespawnAnchorBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
SculkSensorBlock.getAnalogOutputSignal
(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected int
ShulkerBoxBlock.getAnalogOutputSignal
(BlockState blockState, Level level, BlockPos pos) Returns the analog signal this block emits.private static SculkBehaviour
SculkSpreader.ChargeCursor.getBlockBehaviour
(BlockState state) protected VoxelShape
CeilingHangingSignBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) ChorusFlowerBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
FenceGateBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
LeavesBlock.getBlockSupportShape
(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShape
MudBlock.getBlockSupportShape
(BlockState p_221566_, BlockGetter p_221567_, BlockPos p_221568_) protected VoxelShape
ShulkerBoxBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
SnowLayerBlock.getBlockSupportShape
(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShape
SoulSandBlock.getBlockSupportShape
(BlockState state, BlockGetter reader, BlockPos pos) protected VoxelShape
WallHangingSignBlock.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) BedBlock.getBlockType
(BlockState state) ChestBlock.getBlockType
(BlockState state) int
FireBlock.getBurnOdds
(BlockState state) Deprecated.AbstractBannerBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) AttachedStemBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) BambooSaplingBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) BigDripleafStemBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) Block.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) Deprecated.CandleCakeBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) CaveVinesBlock.getCloneItemStack
(LevelReader p_304590_, BlockPos p_152967_, BlockState p_152968_) CaveVinesPlantBlock.getCloneItemStack
(LevelReader p_304444_, BlockPos p_153008_, BlockState p_153009_) CropBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) DecoratedPotBlock.getCloneItemStack
(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_) EndGatewayBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) EndPortalBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) FlowerPotBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) FrostedIceBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) GrowingPlantBodyBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) LightBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) NetherPortalBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) NetherWartBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) ShulkerBoxBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) StemBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) SweetBerryBushBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) TallSeagrassBlock.getCloneItemStack
(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_) protected VoxelShape
BambooStalkBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BellBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BigDripleafBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CactusBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ComposterBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CrossCollisionBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FenceGateBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
GrindstoneBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
HoneyBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LecternBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LiquidBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
MudBlock.getCollisionShape
(BlockState p_221561_, BlockGetter p_221562_, BlockPos p_221563_, CollisionContext p_221564_) PitcherCropBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PowderSnowBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ScaffoldingBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SculkShriekerBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SnowLayerBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SoulSandBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallHangingSignBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) private static BlockState
BubbleColumnBlock.getColumnState
(BlockState blockState) static Direction
BedBlock.getConnectedDirection
(BlockState state) private static Direction
BellBlock.getConnectedDirection
(BlockState state) static Direction
ChestBlock.getConnectedDirection
(BlockState state) protected static Direction
FaceAttachedHorizontalDirectionalBlock.getConnectedDirection
(BlockState state) protected static Direction
LanternBlock.getConnectedDirection
(BlockState state) private BlockState
RedStoneWireBlock.getConnectionState
(BlockGetter level, BlockState state, BlockPos pos) static Container
ChestBlock.getContainer
(ChestBlock chest, BlockState state, Level level, BlockPos pos, boolean override) ComposterBlock.getContainer
(BlockState state, LevelAccessor level, BlockPos pos) protected double
AbstractCauldronBlock.getContentHeight
(BlockState state) protected double
LavaCauldronBlock.getContentHeight
(BlockState p_153500_) protected double
LayeredCauldronBlock.getContentHeight
(BlockState state) protected int
ComparatorBlock.getDelay
(BlockState state) protected abstract int
DiodeBlock.getDelay
(BlockState state) protected int
RepeaterBlock.getDelay
(BlockState state) protected float
BambooSaplingBlock.getDestroyProgress
(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerprotected float
BambooStalkBlock.getDestroyProgress
(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerprotected int
BasePressurePlateBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
ButtonBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
DetectorRailBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
DiodeBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
LecternBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
LeverBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
LightningRodBlock.getDirectSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.protected int
ObserverBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
RedstoneTorchBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
RedStoneWireBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.int
SculkSensorBlock.getDirectSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.protected int
TrappedChestBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected int
TripWireHookBlock.getDirectSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.private static int
LeavesBlock.getDistanceAt
(BlockState neighbor) BeehiveBlock.getDrops
(BlockState state, LootParams.Builder params) Block.getDrops
(BlockState state, ServerLevel level, BlockPos pos, BlockEntity blockEntity) Block.getDrops
(BlockState state, ServerLevel level, BlockPos pos, BlockEntity blockEntity, Entity entity, ItemStack tool) DecoratedPotBlock.getDrops
(BlockState p_287683_, LootParams.Builder p_287582_) LiquidBlock.getDrops
(BlockState state, LootParams.Builder params) ShulkerBoxBlock.getDrops
(BlockState state, LootParams.Builder params) int
AnvilBlock.getDustColor
(BlockState state, BlockGetter reader, BlockPos pos) int
ColoredFallingBlock.getDustColor
(BlockState state, BlockGetter level, BlockPos pos) int
ConcretePowderBlock.getDustColor
(BlockState state, BlockGetter reader, BlockPos pos) int
FallingBlock.getDustColor
(BlockState state, BlockGetter level, BlockPos pos) 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 state) private static Optional
<PointedDripstoneBlock.FluidInfo> PointedDripstoneBlock.getFluidAboveStalactite
(Level level, BlockPos pos, BlockState state) protected FluidState
AmethystClusterBlock.getFluidState
(BlockState state) protected FluidState
BarrierBlock.getFluidState
(BlockState state) protected FluidState
BaseCoralPlantTypeBlock.getFluidState
(BlockState state) protected FluidState
BaseRailBlock.getFluidState
(BlockState state) protected FluidState
BigDripleafBlock.getFluidState
(BlockState state) protected FluidState
BigDripleafStemBlock.getFluidState
(BlockState state) protected FluidState
BubbleColumnBlock.getFluidState
(BlockState state) protected FluidState
CampfireBlock.getFluidState
(BlockState state) protected FluidState
CandleBlock.getFluidState
(BlockState state) protected FluidState
ChainBlock.getFluidState
(BlockState state) protected FluidState
ChestBlock.getFluidState
(BlockState state) protected FluidState
ConduitBlock.getFluidState
(BlockState state) protected FluidState
CrossCollisionBlock.getFluidState
(BlockState state) protected FluidState
DecoratedPotBlock.getFluidState
(BlockState p_272593_) protected FluidState
EnderChestBlock.getFluidState
(BlockState state) protected FluidState
GlowLichenBlock.getFluidState
(BlockState state) protected FluidState
HangingRootsBlock.getFluidState
(BlockState p_153360_) protected FluidState
HeavyCoreBlock.getFluidState
(BlockState p_335518_) protected FluidState
KelpBlock.getFluidState
(BlockState state) protected FluidState
KelpPlantBlock.getFluidState
(BlockState state) protected FluidState
LadderBlock.getFluidState
(BlockState state) protected FluidState
LanternBlock.getFluidState
(BlockState state) protected FluidState
LeavesBlock.getFluidState
(BlockState state) protected FluidState
LightBlock.getFluidState
(BlockState state) protected FluidState
LightningRodBlock.getFluidState
(BlockState state) protected FluidState
LiquidBlock.getFluidState
(BlockState state) protected FluidState
MangrovePropaguleBlock.getFluidState
(BlockState state) protected FluidState
MangroveRootsBlock.getFluidState
(BlockState p_221523_) protected FluidState
PointedDripstoneBlock.getFluidState
(BlockState state) protected FluidState
ScaffoldingBlock.getFluidState
(BlockState state) protected FluidState
SculkSensorBlock.getFluidState
(BlockState state) protected FluidState
SculkShriekerBlock.getFluidState
(BlockState state) protected FluidState
SculkVeinBlock.getFluidState
(BlockState state) protected FluidState
SeagrassBlock.getFluidState
(BlockState p_154537_) protected FluidState
SeaPickleBlock.getFluidState
(BlockState state) protected FluidState
SignBlock.getFluidState
(BlockState state) protected FluidState
SlabBlock.getFluidState
(BlockState state) protected FluidState
SmallDripleafBlock.getFluidState
(BlockState p_154634_) protected FluidState
StairBlock.getFluidState
(BlockState state) protected FluidState
TallSeagrassBlock.getFluidState
(BlockState p_154772_) protected FluidState
TrapDoorBlock.getFluidState
(BlockState state) protected FluidState
WallBlock.getFluidState
(BlockState state) protected FluidState
WaterloggedTransparentBlock.getFluidState
(BlockState p_313789_) static Direction
JigsawBlock.getFrontFacing
(BlockState state) 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 state, RandomSource random) protected static float
CropBlock.getGrowthSpeed
(BlockState blockState, BlockGetter p_52274_, BlockPos p_52275_) int
SnifferEggBlock.getHatchLevel
(BlockState state) private OptionalInt
ChiseledBookShelfBlock.getHitSlot
(BlockHitResult hitReselt, BlockState state) static int
Block.getId
(BlockState state) int
FireBlock.getIgniteOdds
(BlockState state) Deprecated.protected int
ComparatorBlock.getInputSignal
(Level level, BlockPos pos, BlockState state) protected int
DiodeBlock.getInputSignal
(Level level, BlockPos pos, BlockState state) protected VoxelShape
AbstractCauldronBlock.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
ComposterBlock.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
HopperBlock.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
ScaffoldingBlock.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected int
LeavesBlock.getLightBlock
(BlockState state, BlockGetter level, BlockPos pos) protected int
TintedGlassBlock.getLightBlock
(BlockState p_154828_, BlockGetter p_154829_, BlockPos p_154830_) private PitcherCropBlock.PosAndState
PitcherCropBlock.getLowerHalf
(LevelReader level, BlockPos pos, BlockState state) GrowingPlantHeadBlock.getMaxAgeState
(BlockState state) protected MenuProvider
AnvilBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
BaseEntityBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
CartographyTableBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
ChestBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
CraftingTableBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
EnchantingTableBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
GrindstoneBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
LecternBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
LoomBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
SmithingTableBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected MenuProvider
StonecutterBlock.getMenuProvider
(BlockState state, Level level, BlockPos pos) private BlockState
RedStoneWireBlock.getMissingConnections
(BlockGetter level, BlockState state, BlockPos pos) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> stateMap, BlockState state, Supplier<BlockState> supplier) ChangeOverTimeBlock.getNext
(BlockState state) default Optional
<BlockState> WeatheringCopper.getNext
(BlockState state) default Optional
<BlockState> ChangeOverTimeBlock.getNextState
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected VoxelShape
FenceBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
FenceGateBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
LecternBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
PointedDripstoneBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
PowderSnowBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
SculkShriekerBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
SkullBlock.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) static OptionalInt
LeavesBlock.getOptionalDistanceAt
(BlockState state) protected int
ComparatorBlock.getOutputSignal
(BlockGetter level, BlockPos pos, BlockState state) protected int
DiodeBlock.getOutputSignal
(BlockGetter level, BlockPos pos, BlockState state) AbstractCandleBlock.getParticleOffsets
(BlockState state) CandleBlock.getParticleOffsets
(BlockState state) CandleCakeBlock.getParticleOffsets
(BlockState state) static SculkSensorPhase
SculkSensorBlock.getPhase
(BlockState state) static Optional
<BlockState> WeatheringCopper.getPrevious
(BlockState state) BaseRailBlock.getRailDirection
(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) protected RenderShape
AbstractFurnaceBlock.getRenderShape
(BlockState state) protected RenderShape
AirBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
BarrelBlock.getRenderShape
(BlockState state) protected RenderShape
BarrierBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
BaseEntityBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
BeaconBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
BedBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
BeehiveBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
BellBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
BrewingStandBlock.getRenderShape
(BlockState state) The type of render function called.BrushableBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
BubbleColumnBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
CampfireBlock.getRenderShape
(BlockState state) Deprecated.call viainvalid reference
IBlockState#getRenderType()
protected RenderShape
ChestBlock.getRenderShape
(BlockState state) Deprecated.call viainvalid reference
IBlockState#getRenderType()
protected RenderShape
ChiseledBookShelfBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
CommandBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
ConduitBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
CrafterBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
DaylightDetectorBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
DispenserBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
EnchantingTableBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
EnderChestBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
GrindstoneBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
HopperBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
JukeboxBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
LecternBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
LightBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
LiquidBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
SculkCatalystBlock.getRenderShape
(BlockState p_222120_) protected RenderShape
SculkSensorBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
SculkShriekerBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
ShulkerBoxBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
SpawnerBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
StonecutterBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
StructureBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
StructureVoidBlock.getRenderShape
(BlockState state) The type of render function called.protected RenderShape
TrialSpawnerBlock.getRenderShape
(BlockState p_312710_) VaultBlock.getRenderShape
(BlockState p_324584_) static int
RespawnAnchorBlock.getScaledChargeLevel
(BlockState state, int scale) protected long
BedBlock.getSeed
(BlockState state, BlockPos pos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource)
, used for random model rotationsprotected long
DoorBlock.getSeed
(BlockState state, BlockPos pos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource)
, used for random model rotationsprotected long
DoublePlantBlock.getSeed
(BlockState state, BlockPos pos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource)
, used for random model rotationsprotected float
BarrierBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
LightBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
MudBlock.getShadeBrightness
(BlockState p_221552_, BlockGetter p_221553_, BlockPos p_221554_) protected float
SnowLayerBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
SoulSandBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
StructureVoidBlock.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected float
TransparentBlock.getShadeBrightness
(BlockState p_308911_, BlockGetter p_308952_, BlockPos p_308918_) protected VoxelShape
AbstractCauldronBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AirBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AmethystClusterBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AnvilBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AttachedStemBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
AzaleaBlock.getShape
(BlockState p_152084_, BlockGetter p_152085_, BlockPos p_152086_, CollisionContext p_152087_) protected VoxelShape
BambooSaplingBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BambooStalkBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BannerBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseCoralFanBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseCoralPlantBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseCoralPlantTypeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseCoralWallFanBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseFireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BasePressurePlateBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseRailBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BaseTorchBlock.getShape
(BlockState p_304673_, BlockGetter p_304919_, BlockPos p_304930_, CollisionContext p_304757_) protected VoxelShape
BedBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BeetrootBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BellBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BigDripleafBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BigDripleafStemBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BrewingStandBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
BubbleColumnBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ButtonBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CactusBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CakeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CampfireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CandleBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CandleCakeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CarpetBlock.getShape
(BlockState p_152917_, BlockGetter p_152918_, BlockPos p_152919_, CollisionContext p_152920_) protected VoxelShape
CarrotBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CeilingHangingSignBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ChainBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ChestBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CocoaBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ComposterBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ConduitBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CoralPlantBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CropBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
CrossCollisionBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DaylightDetectorBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DeadBushBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DecoratedPotBlock.getShape
(BlockState p_273112_, BlockGetter p_273055_, BlockPos p_273137_, CollisionContext p_273151_) protected VoxelShape
DiodeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DirtPathBlock.getShape
(BlockState p_153143_, BlockGetter p_153144_, BlockPos p_153145_, CollisionContext p_153146_) protected VoxelShape
DoorBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
DragonEggBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
EnchantingTableBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
EnderChestBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
EndPortalBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
EndPortalFrameBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FarmBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FenceGateBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FlowerBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FlowerPotBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FrogspawnBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
FungusBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
GrindstoneBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
GrowingPlantBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) 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 state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LadderBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LanternBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LecternBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LeverBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LightBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
LiquidBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
MangrovePropaguleBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
MultifaceBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
MushroomBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
NetherPortalBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
NetherSproutsBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
NetherWartBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PiglinWallSkullBlock.getShape
(BlockState p_261765_, BlockGetter p_261604_, BlockPos p_261948_, CollisionContext p_261889_) PinkPetalsBlock.getShape
(BlockState p_273399_, BlockGetter p_273568_, BlockPos p_273314_, CollisionContext p_273274_) protected VoxelShape
PipeBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) PitcherCropBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PointedDripstoneBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PotatoBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
RedstoneWallTorchBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
RedStoneWireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
RodBlock.getShape
(BlockState p_154346_, BlockGetter p_154347_, BlockPos p_154348_, CollisionContext p_154349_) protected VoxelShape
RootsBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SaplingBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ScaffoldingBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SculkSensorBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SeagrassBlock.getShape
(BlockState p_154525_, BlockGetter p_154526_, BlockPos p_154527_, CollisionContext p_154528_) protected VoxelShape
SeaPickleBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
ShulkerBoxBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SignBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SkullBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SlabBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SmallDripleafBlock.getShape
(BlockState p_154610_, BlockGetter p_154611_, BlockPos p_154612_, CollisionContext p_154613_) SnifferEggBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SnowLayerBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SporeBlossomBlock.getShape
(BlockState p_154699_, BlockGetter p_154700_, BlockPos p_154701_, CollisionContext p_154702_) protected VoxelShape
StairBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
StemBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
StonecutterBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
StructureVoidBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SugarCaneBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SweetBerryBushBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TallGrassBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) 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 state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TripWireBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TripWireHookBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
TurtleEggBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
VineBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallBannerBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallHangingSignBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallSignBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WallSkullBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) static VoxelShape
WallTorchBlock.getShape
(BlockState state) protected VoxelShape
WallTorchBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
WaterlilyBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) private int
StairBlock.getShapeIndex
(BlockState state) protected int
BasePressurePlateBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
ButtonBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) 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 blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
DetectorRailBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
DiodeBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.int
JukeboxBlock.getSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected int
LecternBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
LeverBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
LightningRodBlock.getSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected int
ObserverBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
PoweredBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
RedstoneTorchBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
RedstoneWallTorchBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
RedStoneWireBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
SculkSensorBlock.getSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected int
TargetBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
TrappedChestBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected int
TripWireHookBlock.getSignal
(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected abstract int
BasePressurePlateBlock.getSignalForState
(BlockState state) Returns the signal encoded in the given block state.protected int
PressurePlateBlock.getSignalForState
(BlockState state) Returns the signal encoded in the given block state.protected int
WeightedPressurePlateBlock.getSignalForState
(BlockState state) Returns the signal encoded in the given block state.SignBlock.getSignHitboxCenterPosition
(BlockState state) WallSignBlock.getSignHitboxCenterPosition
(BlockState state) protected SoundType
DecoratedPotBlock.getSoundType
(BlockState p_277561_) MultifaceSpreader.getSpreadFromFaceTowardDirection
(BlockState state, BlockGetter level, BlockPos pos, Direction spreadDirection, Direction face, MultifaceSpreader.SpreadPredicate predicate) private static StairsShape
StairBlock.getStairsShape
(BlockState state, BlockGetter level, BlockPos pos) Returns a stair shape property based on the surrounding stairs from the given blockstate and positionMultifaceBlock.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement
(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) static BlockState
ChorusPlantBlock.getStateWithConnections
(BlockGetter level, BlockPos pos, BlockState state) <T extends BlockEntity>
BlockEntityTicker<T> AbstractSkullBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BeaconBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BeehiveBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BellBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BlastFurnaceBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> BrewingStandBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <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 level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> CeilingHangingSignBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> ChestBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> ConduitBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> CrafterBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> DaylightDetectorBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> EnchantingTableBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> EnderChestBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> EndGatewayBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) default <T extends BlockEntity>
BlockEntityTicker<T> EntityBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> FurnaceBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> HopperBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> JukeboxBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <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 level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SculkShriekerBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> ShulkerBoxBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SignBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SmokerBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <T extends BlockEntity>
BlockEntityTicker<T> SpawnerBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) <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 level, BlockState state, BlockEntityType<T> blockEntityType) static Direction
JigsawBlock.getTopFacing
(BlockState state) This represents the face that the line connector is on.private BlockState
VineBlock.getUpdatedState
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
FenceBlock.getVisualShape
(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShape
IronBarsBlock.getVisualShape
(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShape
MudBlock.getVisualShape
(BlockState p_221556_, BlockGetter p_221557_, BlockPos p_221558_, CollisionContext p_221559_) protected VoxelShape
PowderSnowBlock.getVisualShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
SnowLayerBlock.getVisualShape
(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShape
SoulSandBlock.getVisualShape
(BlockState state, BlockGetter reader, BlockPos pos, CollisionContext context) protected VoxelShape
TransparentBlock.getVisualShape
(BlockState p_309057_, BlockGetter p_308936_, BlockPos p_308956_, CollisionContext p_309006_) private VoxelShape
BellBlock.getVoxelShape
(BlockState state) private VoxelShape
GrindstoneBlock.getVoxelShape
(BlockState state) boolean
ComparatorBlock.getWeakChanges
(BlockState state, LevelReader world, BlockPos pos) private int
RedStoneWireBlock.getWireSignal
(BlockState state) float
CeilingHangingSignBlock.getYRotationDegrees
(BlockState state) abstract float
SignBlock.getYRotationDegrees
(BlockState state) float
StandingSignBlock.getYRotationDegrees
(BlockState state) float
WallHangingSignBlock.getYRotationDegrees
(BlockState state) float
WallSignBlock.getYRotationDegrees
(BlockState state) private void
PitcherCropBlock.grow
(ServerLevel level, BlockState state, BlockPos pos, int ageIncrement) protected void
BambooStalkBlock.growBamboo
(BlockState state, Level level, BlockPos pos, RandomSource random, int age) void
CropBlock.growCrops
(Level level, BlockPos pos, BlockState state) boolean
MushroomBlock.growMushroom
(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) static void
PointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private void
LayeredCauldronBlock.handleEntityOnFireInside
(BlockState state, Level level, BlockPos pos) void
Block.handlePrecipitation
(BlockState state, Level level, BlockPos pos, Biome.Precipitation precipitation) void
CauldronBlock.handlePrecipitation
(BlockState state, Level level, BlockPos pos, Biome.Precipitation precipitation) void
LayeredCauldronBlock.handlePrecipitation
(BlockState state, Level level, BlockPos pos, Biome.Precipitation precipitation) protected boolean
AbstractCauldronBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
AbstractFurnaceBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
BarrelBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
BeehiveBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
BrewingStandBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
CakeBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
CandleCakeBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
ChestBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
ChiseledBookShelfBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
CommandBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
ComposterBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
CopperBulbBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
CrafterBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
DecoratedPotBlock.hasAnalogOutputSignal
(BlockState p_305995_) protected boolean
DetectorRailBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
DispenserBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
EndPortalFrameBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
HopperBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
JukeboxBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
LecternBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
RespawnAnchorBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
SculkSensorBlock.hasAnalogOutputSignal
(BlockState state) protected boolean
ShulkerBoxBlock.hasAnalogOutputSignal
(BlockState state) protected static boolean
MultifaceBlock.hasAnyFace
(BlockState state) private static boolean
MultifaceBlock.hasAnyVacantFace
(BlockState state) static boolean
MultifaceBlock.hasFace
(BlockState state, Direction direction) default boolean
MultifaceSpreader.SpreadConfig.hasFace
(BlockState state, Direction direction) private boolean
VineBlock.hasFaces
(BlockState state) static boolean
CaveVines.hasGlowBerries
(BlockState state) private boolean
VineBlock.hasHorizontalConnection
(BlockState state) protected boolean
RedstoneTorchBlock.hasNeighborSignal
(Level level, BlockPos pos, BlockState state) protected boolean
RedstoneWallTorchBlock.hasNeighborSignal
(Level level, BlockPos pos, BlockState state) static boolean
SculkVeinBlock.hasSubstrateAccess
(LevelAccessor level, BlockState state, BlockPos pos) InfestedBlock.hostStateByInfested
(BlockState infested) static BlockState
InfestedBlock.infestedStateByHost
(BlockState host) static BlockState
ComposterBlock.insertItem
(Entity entity, BlockState state, ServerLevel level, ItemStack stack, BlockPos pos) private static void
RedStoneOreBlock.interact
(BlockState state, Level level, BlockPos pos) boolean
AzaleaBlock.isBonemealSuccess
(Level p_220712_, RandomSource p_220713_, BlockPos p_220714_, BlockState p_220715_) boolean
BambooSaplingBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
BambooStalkBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
BigDripleafBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
BonemealableBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) 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 level, RandomSource random, BlockPos pos, BlockState state) boolean
CropBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
FungusBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
GlowLichenBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
GrassBlock.isBonemealSuccess
(Level p_221275_, RandomSource p_221276_, BlockPos p_221277_, BlockState p_221278_) boolean
GrowingPlantBodyBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
GrowingPlantHeadBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
MangroveLeavesBlock.isBonemealSuccess
(Level p_221437_, RandomSource p_221438_, BlockPos p_221439_, BlockState p_221440_) boolean
MangrovePropaguleBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
MossBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
MushroomBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
NetherrackBlock.isBonemealSuccess
(Level p_221816_, RandomSource p_221817_, BlockPos p_221818_, BlockState p_221819_) boolean
NyliumBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
PinkPetalsBlock.isBonemealSuccess
(Level p_272604_, RandomSource p_273609_, BlockPos p_272988_, BlockState p_273231_) boolean
PitcherCropBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
RootedDirtBlock.isBonemealSuccess
(Level p_221979_, RandomSource p_221980_, BlockPos p_221981_, BlockState p_221982_) boolean
SaplingBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
SeagrassBlock.isBonemealSuccess
(Level p_222428_, RandomSource p_222429_, BlockPos p_222430_, BlockState p_222431_) boolean
SeaPickleBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.isBonemealSuccess
(Level p_222438_, RandomSource p_222439_, BlockPos p_222440_, BlockState p_222441_) boolean
StemBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) boolean
TallFlowerBlock.isBonemealSuccess
(Level p_222573_, RandomSource p_222574_, BlockPos p_222575_, BlockState p_222576_) boolean
TallGrassBlock.isBonemealSuccess
(Level level, RandomSource random, BlockPos pos, BlockState state) protected boolean
BambooStalkBlock.isCollisionShapeFullBlock
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
PointedDripstoneBlock.isCollisionShapeFullBlock
(BlockState state, BlockGetter level, BlockPos pos) static boolean
InfestedBlock.isCompatibleHostBlock
(BlockState state) private static boolean
WallBlock.isConnected
(BlockState state, Property<WallSide> heightProperty) private static boolean
RedStoneWireBlock.isCross
(BlockState state) static boolean
SeaPickleBlock.isDead
(BlockState state) static boolean
DiodeBlock.isDiode
(BlockState state) private static boolean
RedStoneWireBlock.isDot
(BlockState state) protected boolean
AbstractCauldronBlock.isEntityInsideContent
(BlockState state, BlockPos pos, Entity entity) static boolean
Block.isExceptionForConnection
(BlockState state) boolean
BaseRailBlock.isFlexibleRail
(BlockState state, BlockGetter world, BlockPos pos) static boolean
FallingBlock.isFree
(BlockState state) abstract boolean
AbstractCauldronBlock.isFull
(BlockState state) boolean
CauldronBlock.isFull
(BlockState state) boolean
LavaCauldronBlock.isFull
(BlockState p_153511_) boolean
LayeredCauldronBlock.isFull
(BlockState state) private static boolean
MangrovePropaguleBlock.isFullyGrown
(BlockState state) private static boolean
MangrovePropaguleBlock.isHanging
(BlockState state) private boolean
WallHangingSignBlock.isHittingEditableSide
(BlockHitResult hitResult, BlockState state) boolean
TrapDoorBlock.isLadder
(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) static boolean
AbstractCandleBlock.isLit
(BlockState state) static boolean
CampfireBlock.isLitCampfire
(BlockState state) boolean
DiodeBlock.isLocked
(LevelReader level, BlockPos pos, BlockState state) Check if neighboring blocks are locking this diode.boolean
RepeaterBlock.isLocked
(LevelReader level, BlockPos pos, BlockState state) Check if neighboring blocks are locking this diode.private static boolean
PitcherCropBlock.isLower
(BlockState state) final boolean
CropBlock.isMaxAge
(BlockState state) boolean
GrowingPlantHeadBlock.isMaxAge
(BlockState state) private boolean
PitcherCropBlock.isMaxAge
(BlockState state) boolean
DoorBlock.isOpen
(BlockState state) default boolean
MultifaceSpreader.SpreadConfig.isOtherBlockValidAsSource
(BlockState otherBlock) boolean
SculkVeinBlock.SculkVeinSpreaderConfig.isOtherBlockValidAsSource
(BlockState otherBlock) protected boolean
AbstractCauldronBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
AbstractSkullBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
AnvilBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
BambooStalkBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
BedBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
BellBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
BrewingStandBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
BushBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
CactusBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
CakeBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
CampfireBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
CandleCakeBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
ChainBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
ChestBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
ChorusPlantBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
CocoaBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
ComposterBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
ConduitBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
CrossCollisionBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) 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 state, PathComputationType pathComputationType) protected boolean
DragonEggBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
EnchantingTableBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
EnderChestBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
EndPortalFrameBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
FarmBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
FenceBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
FenceGateBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
FlowerPotBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
GrindstoneBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
HeavyCoreBlock.isPathfindable
(BlockState p_333758_, PathComputationType p_333728_) protected boolean
HopperBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
LanternBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
LecternBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
LiquidBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
MudBlock.isPathfindable
(BlockState p_221547_, PathComputationType p_221550_) protected boolean
PointedDripstoneBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
PowderSnowBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
RespawnAnchorBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
RodBlock.isPathfindable
(BlockState p_154341_, PathComputationType p_154344_) protected boolean
SculkSensorBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
SeaPickleBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
SlabBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) boolean
SnifferEggBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
SnowLayerBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
SoulSandBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
StairBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
StonecutterBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
TrapDoorBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
WallBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
WallHangingSignBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) private static boolean
PointedDripstoneBlock.isPointedDripstoneWithDirection
(BlockState state, Direction dir) boolean
AbstractBannerBlock.isPossibleToRespawnInThis
(BlockState state) boolean
BasePressurePlateBlock.isPossibleToRespawnInThis
(BlockState state) boolean
Block.isPossibleToRespawnInThis
(BlockState state) boolean
SignBlock.isPossibleToRespawnInThis
(BlockState state) private boolean
BellBlock.isProperHit
(BlockState pos, Direction p_direction, double distanceY) static boolean
BaseRailBlock.isRail
(BlockState state) protected boolean
BambooStalkBlock.isRandomlyTicking
(BlockState state) protected boolean
ChorusFlowerBlock.isRandomlyTicking
(BlockState state) Returns whether this block is of a type that needs random ticking.protected boolean
CocoaBlock.isRandomlyTicking
(BlockState state) protected boolean
CropBlock.isRandomlyTicking
(BlockState state) protected boolean
GrowingPlantHeadBlock.isRandomlyTicking
(BlockState state) protected boolean
LeavesBlock.isRandomlyTicking
(BlockState state) protected boolean
LiquidBlock.isRandomlyTicking
(BlockState state) protected boolean
NetherWartBlock.isRandomlyTicking
(BlockState state) boolean
PitcherCropBlock.isRandomlyTicking
(BlockState state) protected boolean
RedStoneOreBlock.isRandomlyTicking
(BlockState state) protected boolean
SweetBerryBushBlock.isRandomlyTicking
(BlockState state) protected boolean
WeatheringCopperBulbBlock.isRandomlyTicking
(BlockState state) protected boolean
WeatheringCopperDoorBlock.isRandomlyTicking
(BlockState state) protected boolean
WeatheringCopperFullBlock.isRandomlyTicking
(BlockState state) protected boolean
WeatheringCopperGrateBlock.isRandomlyTicking
(BlockState state) protected boolean
WeatheringCopperSlabBlock.isRandomlyTicking
(BlockState state) protected boolean
WeatheringCopperStairBlock.isRandomlyTicking
(BlockState state) protected boolean
WeatheringCopperTrapDoorBlock.isRandomlyTicking
(BlockState state) private boolean
SnifferEggBlock.isReadyToHatch
(BlockState state) private boolean
FenceBlock.isSameFence
(BlockState state) protected boolean
BasePressurePlateBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
ButtonBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
DaylightDetectorBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
DetectorRailBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
DiodeBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.boolean
JukeboxBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
LecternBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
LeverBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
LightningRodBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
ObserverBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
PoweredBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
RedstoneTorchBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
RedStoneWireBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
SculkSensorBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
TargetBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
TrappedChestBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected boolean
TripWireHookBlock.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.private boolean
CampfireBlock.isSmokeSource
(BlockState state) private static boolean
SnowyDirtBlock.isSnowySetting
(BlockState state) static boolean
StairBlock.isStairs
(BlockState state) private static boolean
PointedDripstoneBlock.isStalactite
(BlockState state) private static boolean
PointedDripstoneBlock.isStalactiteStartPos
(BlockState state, LevelReader level, BlockPos pos) private static boolean
PointedDripstoneBlock.isStalagmite
(BlockState state) abstract boolean
SupportType.isSupporting
(BlockState state, BlockGetter level, BlockPos pos, Direction face) private static boolean
PointedDripstoneBlock.isTip
(BlockState state, boolean isTipMerge) private static boolean
PointedDripstoneBlock.isUnmergedTipWithDirection
(BlockState state, Direction dir) boolean
AzaleaBlock.isValidBonemealTarget
(LevelReader p_256329_, BlockPos p_256107_, BlockState p_255771_) boolean
BambooSaplingBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
BambooStalkBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
BigDripleafBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
BonemealableBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) 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 level, BlockPos pos, BlockState state) boolean
CropBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
FungusBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
GlowLichenBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
GrassBlock.isValidBonemealTarget
(LevelReader p_256229_, BlockPos p_256432_, BlockState p_255677_) boolean
GrowingPlantBodyBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
GrowingPlantHeadBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
MangroveLeavesBlock.isValidBonemealTarget
(LevelReader p_256534_, BlockPos p_256299_, BlockState p_255926_) boolean
MangrovePropaguleBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
MossBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
MushroomBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
NetherrackBlock.isValidBonemealTarget
(LevelReader p_256620_, BlockPos p_55003_, BlockState p_55004_) boolean
NyliumBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
PinkPetalsBlock.isValidBonemealTarget
(LevelReader p_272968_, BlockPos p_273762_, BlockState p_273662_) boolean
PitcherCropBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
RootedDirtBlock.isValidBonemealTarget
(LevelReader p_256100_, BlockPos p_255943_, BlockState p_255655_) boolean
SaplingBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
SeagrassBlock.isValidBonemealTarget
(LevelReader p_295512_, BlockPos p_154506_, BlockState p_154507_) boolean
SeaPickleBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.isValidBonemealTarget
(LevelReader p_255772_, BlockPos p_154595_, BlockState p_154596_) boolean
StemBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) boolean
TallFlowerBlock.isValidBonemealTarget
(LevelReader p_256234_, BlockPos p_57304_, BlockState p_57305_) boolean
TallGrassBlock.isValidBonemealTarget
(LevelReader level, BlockPos pos, BlockState state) static boolean
NetherVines.isValidGrowthState
(BlockState state) boolean
MultifaceBlock.isValidStateForPlacement
(BlockGetter level, BlockState state, BlockPos pos, Direction direction) private boolean
FenceGateBlock.isWall
(BlockState state) static boolean
DoorBlock.isWoodenDoor
(BlockState state) static void
LayeredCauldronBlock.lowerFillLevel
(BlockState state, Level level, BlockPos pos) private static void
LeverBlock.makeParticle
(BlockState state, LevelAccessor level, BlockPos pos, float alpha) private BlockState
MultifaceBlock.mapDirections
(BlockState state, Function<Direction, Direction> directionalFunction) static void
PointedDripstoneBlock.maybeTransferFluid
(BlockState state, ServerLevel level, BlockPos pos, float randChance) protected boolean
AttachedStemBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
AzaleaBlock.mayPlaceOn
(BlockState p_152089_, BlockGetter p_152090_, BlockPos p_152091_) protected boolean
BushBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
CropBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
DeadBushBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
FungusBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
MangrovePropaguleBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
MushroomBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
NetherSproutsBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
NetherWartBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
PitcherCropBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
RootsBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
SeagrassBlock.mayPlaceOn
(BlockState p_154539_, BlockGetter p_154540_, BlockPos p_154541_) protected boolean
SeaPickleBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
SmallDripleafBlock.mayPlaceOn
(BlockState p_154636_, BlockGetter p_154637_, BlockPos p_154638_) protected boolean
StemBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
TallSeagrassBlock.mayPlaceOn
(BlockState p_154774_, BlockGetter p_154775_, BlockPos p_154776_) protected boolean
WaterlilyBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
WitherRoseBlock.mayPlaceOn
(BlockState state, BlockGetter level, BlockPos pos) protected void
IceBlock.melt
(BlockState state, Level level, BlockPos pos) protected BlockState
AbstractFurnaceBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
AmethystClusterBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
AttachedStemBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BannerBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BarrelBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
BaseCoralWallFanBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.BeehiveBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.BellBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.CalibratedSculkSensorBlock.mirror
(BlockState p_277615_, Mirror p_277916_) protected BlockState
CampfireBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CeilingHangingSignBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
ChestBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.ChiseledBookShelfBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CommandBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CrafterBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
CrossCollisionBlock.mirror
(BlockState state, Mirror mirror) 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 state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DispenserBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
DoorBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
EnderChestBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
EndPortalFrameBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
GrindstoneBlock.mirror
(BlockState state, Mirror mirror) protected BlockState
HopperBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
HorizontalDirectionalBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
HugeMushroomBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
JigsawBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
LadderBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
LecternBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
MultifaceBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
ObserverBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.PinkPetalsBlock.mirror
(BlockState p_272961_, Mirror p_273278_) protected BlockState
PoweredRailBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RailBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RedstoneWallTorchBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
RedStoneWireBlock.mirror
(BlockState state, Mirror mirror) 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 state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
SkullBlock.mirror
(BlockState state, Mirror mirror) 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 state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
StandingSignBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
StonecutterBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
TripWireBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
TripWireHookBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.VaultBlock.mirror
(BlockState p_323894_, Mirror p_324242_) protected BlockState
VineBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallBannerBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallHangingSignBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallSignBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallSkullBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
WallTorchBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected void
AbstractSkullBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected void
BaseRailBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
BellBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
BigDripleafBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected void
CommandBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
CopperBulbBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected void
CrafterBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected void
DiodeBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
DispenserBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
DoorBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
FenceGateBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
FrostedIceBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
HopperBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
LiquidBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
NoteBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
RedstoneLampBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
RedstoneTorchBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
RedStoneWireBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
SpongeBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
StructureBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
TntBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
TrapDoorBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) private static boolean
Blocks.never
(BlockState state, BlockGetter blockGetter, BlockPos pos) static Boolean
Blocks.never
(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) AbstractBannerBlock.newBlockEntity
(BlockPos pos, BlockState state) AbstractSkullBlock.newBlockEntity
(BlockPos pos, BlockState state) BarrelBlock.newBlockEntity
(BlockPos pos, BlockState state) BeaconBlock.newBlockEntity
(BlockPos pos, BlockState state) BedBlock.newBlockEntity
(BlockPos pos, BlockState state) BeehiveBlock.newBlockEntity
(BlockPos pos, BlockState state) BellBlock.newBlockEntity
(BlockPos pos, BlockState state) BlastFurnaceBlock.newBlockEntity
(BlockPos pos, BlockState state) BrewingStandBlock.newBlockEntity
(BlockPos pos, BlockState state) BrushableBlock.newBlockEntity
(BlockPos pos, BlockState state) CalibratedSculkSensorBlock.newBlockEntity
(BlockPos p_277925_, BlockState p_277938_) CampfireBlock.newBlockEntity
(BlockPos pos, BlockState state) CeilingHangingSignBlock.newBlockEntity
(BlockPos pos, BlockState state) ChestBlock.newBlockEntity
(BlockPos pos, BlockState state) ChiseledBookShelfBlock.newBlockEntity
(BlockPos pos, BlockState state) CommandBlock.newBlockEntity
(BlockPos pos, BlockState state) ComparatorBlock.newBlockEntity
(BlockPos pos, BlockState state) ConduitBlock.newBlockEntity
(BlockPos pos, BlockState state) CrafterBlock.newBlockEntity
(BlockPos pos, BlockState state) DaylightDetectorBlock.newBlockEntity
(BlockPos pos, BlockState state) DecoratedPotBlock.newBlockEntity
(BlockPos p_273396_, BlockState p_272674_) DispenserBlock.newBlockEntity
(BlockPos pos, BlockState state) DropperBlock.newBlockEntity
(BlockPos p_153179_, BlockState p_153180_) EnchantingTableBlock.newBlockEntity
(BlockPos pos, BlockState state) EnderChestBlock.newBlockEntity
(BlockPos pos, BlockState state) EndGatewayBlock.newBlockEntity
(BlockPos pos, BlockState state) EndPortalBlock.newBlockEntity
(BlockPos pos, BlockState state) EntityBlock.newBlockEntity
(BlockPos pos, BlockState state) FurnaceBlock.newBlockEntity
(BlockPos pos, BlockState state) HopperBlock.newBlockEntity
(BlockPos pos, BlockState state) JigsawBlock.newBlockEntity
(BlockPos pos, BlockState state) JukeboxBlock.newBlockEntity
(BlockPos pos, BlockState state) LecternBlock.newBlockEntity
(BlockPos pos, BlockState state) SculkCatalystBlock.newBlockEntity
(BlockPos p_222117_, BlockState p_222118_) SculkSensorBlock.newBlockEntity
(BlockPos pos, BlockState state) SculkShriekerBlock.newBlockEntity
(BlockPos pos, BlockState state) ShulkerBoxBlock.newBlockEntity
(BlockPos pos, BlockState state) SignBlock.newBlockEntity
(BlockPos pos, BlockState state) SmokerBlock.newBlockEntity
(BlockPos pos, BlockState state) SpawnerBlock.newBlockEntity
(BlockPos pos, BlockState state) StructureBlock.newBlockEntity
(BlockPos pos, BlockState state) TrappedChestBlock.newBlockEntity
(BlockPos pos, BlockState state) TrialSpawnerBlock.newBlockEntity
(BlockPos p_311941_, BlockState p_312821_) VaultBlock.newBlockEntity
(BlockPos p_324543_, BlockState p_323652_) WallHangingSignBlock.newBlockEntity
(BlockPos pos, BlockState state) static Boolean
Blocks.ocelotOrParrot
(BlockState state, BlockGetter blockGetter, BlockPos pos, EntityType<?> entity) void
TntBlock.onCaughtFire
(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) default void
SculkBehaviour.onDischarged
(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) void
SculkVeinBlock.onDischarged
(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) protected void
AbstractCandleBlock.onExplosionHit
(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected void
BellBlock.onExplosionHit
(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected void
ButtonBlock.onExplosionHit
(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected void
DoorBlock.onExplosionHit
(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected void
FenceGateBlock.onExplosionHit
(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected void
LeverBlock.onExplosionHit
(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) protected void
TrapDoorBlock.onExplosionHit
(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) boolean
BellBlock.onHit
(Level level, BlockState state, BlockHitResult result, Player player, boolean canRingBell) void
AnvilBlock.onLand
(Level level, BlockPos pos, BlockState state, BlockState replaceableState, FallingBlockEntity fallingBlock) void
ConcretePowderBlock.onLand
(Level level, BlockPos pos, BlockState state, BlockState replaceableState, FallingBlockEntity fallingBlock) default void
Fallable.onLand
(Level level, BlockPos pos, BlockState state, BlockState replaceableState, FallingBlockEntity fallingBlock) void
LightningRodBlock.onLightningStrike
(BlockState state, Level level, BlockPos pos) void
ComparatorBlock.onNeighborChange
(BlockState state, LevelReader world, BlockPos pos, BlockPos neighbor) void
AbstractCauldronBlock.onPlace
(BlockState p_51978_, Level p_51979_, BlockPos p_51980_, BlockState p_51981_, boolean p_51982_) protected void
BaseFireBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
BaseRailBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) void
BrushableBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected void
CarvedPumpkinBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
ComposterBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
CopperBulbBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected void
CoralFanBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
CoralPlantBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
CoralWallFanBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
DetectorRailBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
DiodeBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
FallingBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
FireBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
FrogspawnBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) void
FrostedIceBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected void
HopperBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
LightningRodBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected void
LiquidBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
MagmaBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
ObserverBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
RedstoneTorchBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
RedStoneWireBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
ScaffoldingBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
SculkSensorBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) void
SnifferEggBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected void
SoulSandBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
SpongeBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
TargetBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
TntBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
TripWireBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
TurtleEggBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
WetSpongeBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
AbstractCandleBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
AmethystBlock.onProjectileHit
(Level p_152001_, BlockState p_152002_, BlockHitResult p_152003_, Projectile p_152004_) protected void
BellBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
BigDripleafBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
CampfireBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
ChorusFlowerBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
DecoratedPotBlock.onProjectileHit
(Level p_306322_, BlockState p_306005_, BlockHitResult p_306105_, Projectile p_305851_) protected void
PointedDripstoneBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
TargetBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
TntBlock.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) void
AbstractCauldronBlock.onRemove
(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected void
AbstractFurnaceBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
BarrelBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
BasePressurePlateBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
BaseRailBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
BrewingStandBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
ButtonBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
CampfireBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
ChestBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
ChiseledBookShelfBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected void
ComposterBlock.onRemove
(BlockState p_60515_, Level p_60516_, BlockPos p_60517_, BlockState p_60518_, boolean p_60519_) protected void
CrafterBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected void
DecoratedPotBlock.onRemove
(BlockState p_305821_, Level p_306245_, BlockPos p_305894_, BlockState p_306294_, boolean p_306159_) protected void
DiodeBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
DispenserBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
HopperBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
JukeboxBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
LecternBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
LeverBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
LightningRodBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected void
ObserverBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
RedstoneTorchBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
RedStoneWireBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
SculkSensorBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected void
SculkShriekerBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected void
ShulkerBoxBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
TripWireBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
TripWireHookBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) void
AzaleaBlock.performBonemeal
(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) void
BambooSaplingBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
BambooStalkBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
BigDripleafBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
BigDripleafStemBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
BonemealableBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) 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 level, RandomSource random, BlockPos pos, BlockState state) void
CropBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
FungusBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
GlowLichenBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
GrassBlock.performBonemeal
(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) void
GrowingPlantBodyBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
GrowingPlantHeadBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
MangroveLeavesBlock.performBonemeal
(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) void
MangrovePropaguleBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
MossBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
MushroomBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
NetherrackBlock.performBonemeal
(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) void
NyliumBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
PinkPetalsBlock.performBonemeal
(ServerLevel p_273476_, RandomSource p_273093_, BlockPos p_272601_, BlockState p_272683_) void
PitcherCropBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
RootedDirtBlock.performBonemeal
(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) void
SaplingBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
SeagrassBlock.performBonemeal
(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) void
SeaPickleBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
SmallDripleafBlock.performBonemeal
(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) void
StemBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
SweetBerryBushBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) void
TallFlowerBlock.performBonemeal
(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) void
TallGrassBlock.performBonemeal
(ServerLevel level, RandomSource random, BlockPos pos, BlockState state) BarrierBlock.pickupBlock
(Player player, LevelAccessor level, BlockPos pos, BlockState state) BubbleColumnBlock.pickupBlock
(Player player, LevelAccessor level, BlockPos pos, BlockState state) BucketPickup.pickupBlock
(Player player, LevelAccessor level, BlockPos pos, BlockState state) LiquidBlock.pickupBlock
(Player player, LevelAccessor level, BlockPos pos, BlockState state) PowderSnowBlock.pickupBlock
(Player player, LevelAccessor level, BlockPos pos, BlockState state) default ItemStack
SimpleWaterloggedBlock.pickupBlock
(Player player, LevelAccessor level, BlockPos pos, BlockState state) static void
DoublePlantBlock.placeAt
(LevelAccessor level, BlockState state, BlockPos pos, int flags) default boolean
MultifaceSpreader.SpreadConfig.placeBlock
(LevelAccessor level, MultifaceSpreader.SpreadPos pos, BlockState state, boolean markForPostprocessing) private static void
LecternBlock.placeBook
(LivingEntity entity, Level level, BlockPos pos, BlockState state, ItemStack stack) boolean
CampfireBlock.placeLiquid
(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) boolean
CandleBlock.placeLiquid
(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpBlock.placeLiquid
(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpPlantBlock.placeLiquid
(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) boolean
LiquidBlockContainer.placeLiquid
(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) boolean
SeagrassBlock.placeLiquid
(LevelAccessor p_154520_, BlockPos p_154521_, BlockState p_154522_, FluidState p_154523_) default boolean
SimpleWaterloggedBlock.placeLiquid
(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) boolean
SlabBlock.placeLiquid
(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) boolean
TallSeagrassBlock.placeLiquid
(LevelAccessor p_154758_, BlockPos p_154759_, BlockState p_154760_, FluidState p_154761_) void
BeehiveBlock.playerDestroy
(Level level, Player player, BlockPos pos, BlockState state, BlockEntity te, ItemStack stack) Called after a player has successfully harvested this block.void
Block.playerDestroy
(Level level, Player player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack tool) Called after a player has successfully harvested this block.void
DoublePlantBlock.playerDestroy
(Level level, Player player, BlockPos pos, BlockState state, BlockEntity te, ItemStack stack) Called after a player has successfully harvested this block.void
IceBlock.playerDestroy
(Level level, Player player, BlockPos pos, BlockState state, BlockEntity te, ItemStack stack) Called after a player has successfully harvested this block.void
TurtleEggBlock.playerDestroy
(Level level, Player player, BlockPos pos, BlockState state, BlockEntity te, ItemStack stack) Called after a player has successfully harvested this block.BaseFireBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) BedBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) BeehiveBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) Block.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) DecoratedPotBlock.playerWillDestroy
(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) DoorBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) DoublePlantBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) ShulkerBoxBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) TntBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) TripWireBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) private void
NoteBlock.playNote
(Entity entity, BlockState state, Level level, BlockPos pos) protected static void
LeverBlock.playSound
(Player player, LevelAccessor level, BlockPos pos, BlockState state) private void
LecternBlock.popBook
(BlockState state, Level level, BlockPos pos) void
ButtonBlock.press
(BlockState state, Level level, BlockPos pos, Player player) protected static void
DoublePlantBlock.preventDropFromBottomPart
(Level level, BlockPos pos, BlockState state, Player player) protected boolean
BambooStalkBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
BarrierBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
BushBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
CrossCollisionBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
GlowLichenBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
LightBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
LiquidBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
PipeBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) protected boolean
ShulkerBoxBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
TintedGlassBlock.propagatesSkylightDown
(BlockState p_154824_, BlockGetter p_154825_, BlockPos p_154826_) protected boolean
TransparentBlock.propagatesSkylightDown
(BlockState p_309084_, BlockGetter p_309133_, BlockPos p_309097_) protected boolean
VineBlock.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
WallBlock.propagatesSkylightDown
(BlockState state, BlockGetter reader, BlockPos pos) void
LeverBlock.pull
(BlockState state, Level level, BlockPos pos, Player player) static BlockState
Block.pushEntitiesUp
(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos) protected void
BambooSaplingBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
BambooStalkBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
BeetrootBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
BuddingAmethystBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
CactusBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
ChorusFlowerBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
CocoaBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
CropBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
FarmBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
GrowingPlantHeadBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
IceBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
LeavesBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
LiquidBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
MangrovePropaguleBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
MushroomBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
NetherPortalBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
NetherWartBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
NyliumBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.void
PitcherCropBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
PointedDripstoneBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
RedStoneOreBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
SaplingBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
SnowLayerBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
SpreadingSnowyDirtBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
StemBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
SugarCaneBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
SweetBerryBushBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) 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 state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
VineBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
WeatheringCopperBulbBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
WeatheringCopperDoorBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
WeatheringCopperFullBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
WeatheringCopperGrateBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
WeatheringCopperSlabBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
WeatheringCopperStairBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
WeatheringCopperTrapDoorBlock.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected void
AbstractCauldronBlock.receiveStalactiteDrip
(BlockState state, Level level, BlockPos pos, Fluid fluid) protected void
CauldronBlock.receiveStalactiteDrip
(BlockState state, Level level, BlockPos pos, Fluid fluid) protected void
LayeredCauldronBlock.receiveStalactiteDrip
(BlockState state, Level level, BlockPos pos, Fluid fluid) private void
ComparatorBlock.refreshOutputState
(Level level, BlockPos pos, BlockState state) protected final void
Block.registerDefaultState
(BlockState state) static boolean
SculkVeinBlock.regrow
(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions) void
BeehiveBlock.releaseBeesAndResetHoneyLevel
(Level level, BlockState state, BlockPos pos, Player player, BeehiveBlockEntity.BeeReleaseStatus beeReleaseStatus) private static BlockState
MultifaceBlock.removeFace
(BlockState state, BooleanProperty faceProp) static void
LecternBlock.resetBookState
(Entity entity, Level level, BlockPos pos, BlockState state, boolean hasBook) void
BeehiveBlock.resetHoneyLevel
(Level level, BlockState state, BlockPos pos) private static void
BigDripleafBlock.resetTilt
(BlockState state, Level level, BlockPos pos) protected BlockState
AbstractFurnaceBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AmethystClusterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AnvilBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AttachedStemBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BannerBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BarrelBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BaseCoralWallFanBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.BeehiveBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.BellBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.CalibratedSculkSensorBlock.rotate
(BlockState p_277545_, Rotation p_277482_) protected BlockState
CampfireBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CeilingHangingSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ChestBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.ChiseledBookShelfBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CommandBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrafterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrossCollisionBlock.rotate
(BlockState state, Rotation rot) 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 state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DispenserBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DoorBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EnderChestBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EndPortalFrameBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
GrindstoneBlock.rotate
(BlockState state, Rotation rotation) protected BlockState
HopperBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HorizontalDirectionalBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HugeMushroomBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
InfestedRotatedPillarBlock.rotate
(BlockState p_153443_, Rotation p_153444_) protected BlockState
JigsawBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LadderBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LecternBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
MultifaceBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
NetherPortalBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ObserverBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.PinkPetalsBlock.rotate
(BlockState p_273485_, Rotation p_273021_) protected BlockState
PoweredRailBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RailBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedstoneWallTorchBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedStoneWireBlock.rotate
(BlockState state, Rotation rotation) 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 state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ShulkerBoxBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SkullBlock.rotate
(BlockState state, Rotation rotation) 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 state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StandingSignBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StonecutterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireHookBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.VaultBlock.rotate
(BlockState p_324232_, Rotation p_324443_) protected BlockState
VineBlock.rotate
(BlockState state, Rotation rotate) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBannerBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallHangingSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSkullBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallTorchBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.static BlockState
RotatedPillarBlock.rotatePillar
(BlockState state, Rotation rotation) protected static boolean
BaseCoralPlantTypeBlock.scanForWater
(BlockState state, BlockGetter level, BlockPos pos) private BlockState
NoteBlock.setInstrument
(LevelAccessor level, BlockPos pos, BlockState state) private static void
AbstractCandleBlock.setLit
(LevelAccessor level, BlockState state, BlockPos pos, boolean lit) void
DoorBlock.setOpen
(Entity entity, Level level, BlockState state, BlockPos pos, boolean open) private static void
TargetBlock.setOutputPower
(LevelAccessor level, BlockState state, int power, BlockPos pos, int waitTime) void
BedBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
Block.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
CommandBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
CrafterBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
DiodeBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
DoorBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
DoublePlantBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
JukeboxBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
PitcherCropBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) 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 level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
TripWireHookBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
WitherSkullBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.void
WitherWallSkullBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by ItemBlocks after a block is set in the world, to allow post-place logicprotected abstract BlockState
BasePressurePlateBlock.setSignalForState
(BlockState state, int signal) Returns the block state that encodes the given signal.protected BlockState
PressurePlateBlock.setSignalForState
(BlockState state, int strength) Returns the block state that encodes the given signal.protected BlockState
WeightedPressurePlateBlock.setSignalForState
(BlockState state, int strength) Returns the block state that encodes the given signal.private static void
BigDripleafBlock.setTilt
(BlockState state, Level level, BlockPos pos, Tilt p_tilt) private void
BigDripleafBlock.setTiltAndScheduleTick
(BlockState state, Level level, BlockPos pos, Tilt tilt, SoundEvent sound) protected static boolean
RedStoneWireBlock.shouldConnectTo
(BlockState state) protected static boolean
RedStoneWireBlock.shouldConnectTo
(BlockState state, Direction p_direction) boolean
TripWireBlock.shouldConnectTo
(BlockState state, Direction direction) boolean
DiodeBlock.shouldPrioritize
(BlockGetter level, BlockPos pos, BlockState state) Check if this diode should have a higher tick priority than default.private boolean
WallBlock.shouldRaisePost
(BlockState state, BlockState neighbour, VoxelShape shape) static boolean
Block.shouldRenderFace
(BlockState state, BlockGetter level, BlockPos offset, Direction face, BlockPos pos) private static boolean
ConcretePowderBlock.shouldSolidify
(BlockGetter level, BlockPos pos, BlockState state) private static boolean
ConcretePowderBlock.shouldSolidify
(BlockGetter level, BlockPos pos, BlockState state, FluidState fluidState) private boolean
LiquidBlock.shouldSpreadLiquid
(Level level, BlockPos pos, BlockState state) Deprecated.private boolean
WallHangingSignBlock.shouldTryToChainAnotherHangingSign
(BlockState state, Player player, BlockHitResult hitResult, SignBlockEntity sign, ItemStack stack) protected boolean
ComparatorBlock.shouldTurnOn
(Level level, BlockPos pos, BlockState state) protected boolean
DiodeBlock.shouldTurnOn
(Level level, BlockPos pos, BlockState state) private BlockState
WallBlock.sideUpdate
(LevelReader level, BlockPos firstPos, BlockState firstState, BlockPos secondPos, BlockState secondState, Direction dir) static void
LecternBlock.signalPageChange
(Level level, BlockPos pos, BlockState state) protected boolean
HalfTransparentBlock.skipRendering
(BlockState state, BlockState adjacentBlockState, Direction side) protected boolean
IronBarsBlock.skipRendering
(BlockState state, BlockState adjacentBlockState, Direction side) protected boolean
LiquidBlock.skipRendering
(BlockState state, BlockState adjacentBlockState, Direction side) protected boolean
MangroveRootsBlock.skipRendering
(BlockState p_221510_, BlockState p_221511_, Direction p_221512_) protected boolean
PowderSnowBlock.skipRendering
(BlockState state, BlockState adjacentState, Direction direction) private boolean
FrostedIceBlock.slightlyMelt
(BlockState state, Level level, BlockPos pos) protected void
DropExperienceBlock.spawnAfterBreak
(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
InfestedBlock.spawnAfterBreak
(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
RedStoneOreBlock.spawnAfterBreak
(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) 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 state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
SculkShriekerBlock.spawnAfterBreak
(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
SpawnerBlock.spawnAfterBreak
(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishprotected void
BaseFireBlock.spawnDestroyParticles
(Level level, Player player, BlockPos pos, BlockState state) protected void
Block.spawnDestroyParticles
(Level level, Player player, BlockPos pos, BlockState state) static void
PointedDripstoneBlock.spawnDripParticle
(Level level, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.spawnDripParticle
(Level level, BlockPos pos, BlockState state, Fluid p_fluid) private static void
PointedDripstoneBlock.spawnFallingStalactite
(BlockState state, ServerLevel level, BlockPos pos) long
MultifaceSpreader.spreadAll
(BlockState state, LevelAccessor level, BlockPos pos, boolean markForPostprocessing) private long
MultifaceSpreader.spreadFromFaceTowardAllDirections
(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, boolean markForPostprocessing) MultifaceSpreader.spreadFromFaceTowardDirection
(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, Direction face, boolean markForPostprocessing) MultifaceSpreader.spreadFromFaceTowardRandomDirection
(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, RandomSource random, boolean markForPostprocessing) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection
(BlockState state, LevelAccessor level, BlockPos pos, RandomSource random) protected boolean
MultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced
(BlockGetter level, BlockPos pos, BlockPos spreadPos, Direction direction, BlockState state) boolean
SculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced
(BlockGetter level, BlockPos pos, BlockPos spreadPos, Direction direction, BlockState state) void
Block.stepOn
(Level level, BlockPos pos, BlockState state, Entity entity) void
MagmaBlock.stepOn
(Level level, BlockPos pos, BlockState state, Entity entity) void
RedStoneOreBlock.stepOn
(Level level, BlockPos pos, BlockState state, Entity entity) void
SculkSensorBlock.stepOn
(Level level, BlockPos pos, BlockState state, Entity entity) void
SculkShriekerBlock.stepOn
(Level level, BlockPos pos, BlockState state, Entity entity) void
SlimeBlock.stepOn
(Level level, BlockPos pos, BlockState state, Entity entity) void
TurtleEggBlock.stepOn
(Level level, BlockPos pos, BlockState state, Entity entity) private void
DragonEggBlock.teleport
(BlockState state, Level level, BlockPos pos) protected void
AbstractCauldronBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
BambooStalkBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
BarrelBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
BasePressurePlateBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
BigDripleafBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
BigDripleafStemBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) void
BrushableBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
BubbleColumnBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
ButtonBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
CactusBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
ChestBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
ChorusFlowerBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
ChorusPlantBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
CommandBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
ComparatorBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
ComposterBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
CoralBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
CoralFanBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
CoralPlantBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
CoralWallFanBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
CrafterBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
DetectorRailBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
DiodeBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
DirtPathBlock.tick
(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) protected void
DispenserBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
EnderChestBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
FallingBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
FarmBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
FireBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
FrogspawnBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
FrostedIceBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
GrowingPlantBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
LeavesBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
LecternBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
LightningRodBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
MagmaBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
ObserverBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
PointedDripstoneBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
RedstoneLampBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
RedstoneTorchBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
ScaffoldingBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
SculkCatalystBlock.tick
(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) protected void
SculkSensorBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
SculkShriekerBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) void
SnifferEggBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
SoulSandBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
SugarCaneBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
TargetBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
TripWireBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected void
TripWireHookBlock.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) private static void
DaylightDetectorBlock.tickEntity
(Level level, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) private void
TrapDoorBlock.toggle
(BlockState state, Level level, BlockPos pos, Player player) private BlockState
WallBlock.topUpdate
(LevelReader level, BlockState state, BlockPos pos, BlockState secondState) private static boolean
ConcretePowderBlock.touchesLiquid
(BlockGetter level, BlockPos pos, BlockState state) protected boolean
BaseEntityBlock.triggerEvent
(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected boolean
ComparatorBlock.triggerEvent
(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected boolean
NoteBlock.triggerEvent
(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.static boolean
LecternBlock.tryPlaceBook
(LivingEntity entity, Level level, BlockPos pos, BlockState state, ItemStack stack) protected void
BaseCoralPlantTypeBlock.tryScheduleDieTick
(BlockState state, LevelAccessor level, BlockPos pos) private void
BeehiveBlock.trySpawnDripParticles
(Level level, BlockPos pos, BlockState state) static void
FarmBlock.turnToDirt
(Entity entity, BlockState state, Level level, BlockPos pos) private static void
LecternBlock.updateBelow
(Level level, BlockPos pos, BlockState state) protected BlockState
CaveVinesBlock.updateBodyAfterConvertedFromHead
(BlockState p_152987_, BlockState p_152988_) protected BlockState
GrowingPlantHeadBlock.updateBodyAfterConvertedFromHead
(BlockState head, BlockState body) static void
BubbleColumnBlock.updateColumn
(LevelAccessor level, BlockPos pos, BlockState state) static void
BubbleColumnBlock.updateColumn
(LevelAccessor level, BlockPos pos, BlockState fluid, BlockState state) protected BlockState
BaseRailBlock.updateDir
(Level level, BlockPos pos, BlockState state, boolean alwaysPlace) private static BlockState
LeavesBlock.updateDistance
(BlockState state, LevelAccessor level, BlockPos pos) static BlockState
Block.updateFromNeighbourShapes
(BlockState currentState, LevelAccessor level, BlockPos pos) 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 head, BlockState body) protected void
RedStoneWireBlock.updateIndirectNeighbourShapes
(BlockState state, LevelAccessor level, BlockPos pos, int flags, int recursionLeft) Updates the shapes of indirect neighbors of this block.protected void
DiodeBlock.updateNeighborsInFront
(Level level, BlockPos pos, BlockState state) protected void
ObserverBlock.updateNeighborsInFront
(Level level, BlockPos pos, BlockState state) private void
ButtonBlock.updateNeighbours
(BlockState state, Level level, BlockPos pos) private void
LeverBlock.updateNeighbours
(BlockState state, Level level, BlockPos pos) private void
LightningRodBlock.updateNeighbours
(BlockState state, Level level, BlockPos pos) private static void
SculkSensorBlock.updateNeighbours
(Level level, BlockPos pos, BlockState state) static void
Block.updateOrDestroy
(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos, int flags) Replaces oldState with newState, possibly playing effects and creating drops.static void
Block.updateOrDestroy
(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos, int flags, int recursionLeft) private void
RedStoneWireBlock.updatePowerStrength
(Level level, BlockPos pos, BlockState state) protected void
DetectorRailBlock.updatePowerToConnected
(Level level, BlockPos pos, BlockState state, boolean powered) private static int
TargetBlock.updateRedstoneOutput
(LevelAccessor level, BlockState state, BlockHitResult hit, Entity projectile) protected BlockState
AmethystClusterBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
AttachedStemBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockState
BambooSaplingBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BambooStalkBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BannerBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BarrierBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BasePressurePlateBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseRailBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, Direction p_304475_, BlockState p_304669_, LevelAccessor p_304637_, BlockPos p_304633_, BlockPos p_304603_) protected BlockState
BedBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BeehiveBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BellBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BigDripleafBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BigDripleafStemBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BubbleColumnBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
BushBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CactusBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CakeBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CampfireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CandleBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CandleCakeBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockState
ChainBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ChestBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockState
ChorusFlowerBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ChorusPlantBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CocoaBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ConcretePowderBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockState
ConduitBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralFanBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralPlantBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
CoralWallFanBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) protected BlockState
DoorBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
DoublePlantBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
EnderChestBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FallingBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FarmBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FenceBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FenceGateBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FlowerPotBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
FrogspawnBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GlowLichenBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, Direction p_338189_, BlockState p_338723_, LevelAccessor p_338514_, BlockPos p_338346_, BlockPos p_338401_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
IronBarsBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LadderBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LanternBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LeavesBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LightBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LightningRodBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
LiquidBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MagmaBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) protected BlockState
MultifaceBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
NetherPortalBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
NoteBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ObserverBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
PointedDripstoneBlock.updateShape
(BlockState state, Direction p_direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RedStoneWireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
RepeaterBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
ScaffoldingBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkSensorBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkShriekerBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SculkVeinBlock.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) protected BlockState
SeaPickleBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SlabBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) protected BlockState
SnowLayerBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SnowyDirtBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SoulFireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SoulSandBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) protected BlockState
StairBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
StandingSignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
SugarCaneBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TrapDoorBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TripWireBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
TripWireHookBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
VineBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallBannerBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.private BlockState
WallBlock.updateShape
(LevelReader level, BlockState state, BlockPos pos, BlockState neighbour, boolean northConnection, boolean eastConnection, boolean southConnection, boolean westConnection) protected BlockState
WallHangingSignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallSignBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WallTorchBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, Direction p_313739_, BlockState p_313829_, LevelAccessor p_313692_, BlockPos p_313842_, BlockPos p_313843_) private BlockState
WallBlock.updateSides
(BlockState state, boolean northConnection, boolean eastConnection, boolean southConnection, boolean westConnection, VoxelShape wallShape) private static void
DaylightDetectorBlock.updateSignalStrength
(BlockState state, Level level, BlockPos pos) private void
RedStoneWireBlock.updatesOnShapeChange
(Level level, BlockPos pos, BlockState oldState, BlockState newState) private void
TripWireBlock.updateSource
(Level level, BlockPos pos, BlockState state) protected BlockState
BaseRailBlock.updateState
(BlockState state, Level level, BlockPos pos, boolean movedByPiston) protected void
BaseRailBlock.updateState
(BlockState state, Level level, BlockPos pos, Block neighborBlock) protected void
PoweredRailBlock.updateState
(BlockState state, Level level, BlockPos pos, Block block) protected void
RailBlock.updateState
(BlockState state, Level level, BlockPos pos, Block block) static InteractionResult
CaveVines.use
(Entity entity, BlockState state, Level level, BlockPos pos) protected ItemInteractionResult
AbstractCauldronBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
BeehiveBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
CakeBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
CampfireBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
CandleBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
CandleCakeBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
CeilingHangingSignBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
ChiseledBookShelfBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
ComposterBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
DecoratedPotBlock.useItemOn
(ItemStack p_316569_, BlockState p_316562_, Level p_316177_, BlockPos p_316898_, Player p_316632_, InteractionHand p_316424_, BlockHitResult p_316345_) protected ItemInteractionResult
FenceBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
FlowerPotBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
JukeboxBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
LecternBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
NoteBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
PumpkinBlock.useItemOn
(ItemStack p_316383_, BlockState p_316676_, Level p_316272_, BlockPos p_316484_, Player p_316367_, InteractionHand p_316216_, BlockHitResult p_316827_) protected ItemInteractionResult
RedStoneOreBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
RespawnAnchorBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
SignBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
SweetBerryBushBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected ItemInteractionResult
TntBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) VaultBlock.useItemOn
(ItemStack p_324161_, BlockState p_323816_, Level p_324403_, BlockPos p_324623_, Player p_324219_, InteractionHand p_324416_, BlockHitResult p_324261_) protected ItemInteractionResult
WallHangingSignBlock.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected boolean
DaylightDetectorBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
DirtPathBlock.useShapeForLightOcclusion
(BlockState p_153159_) protected boolean
EnchantingTableBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
EndPortalFrameBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
FarmBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
LecternBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
SculkSensorBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
SculkShriekerBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
SlabBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
SnowLayerBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
StairBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
StonecutterBlock.useShapeForLightOcclusion
(BlockState state) protected InteractionResult
AbstractFurnaceBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
AnvilBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
BarrelBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
BeaconBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
BedBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
BellBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
BrewingStandBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
ButtonBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
CakeBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
CandleCakeBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
CartographyTableBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) 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 state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
ChiseledBookShelfBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
CommandBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
ComparatorBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
ComposterBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
CrafterBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
CraftingTableBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
DaylightDetectorBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
DecoratedPotBlock.useWithoutItem
(BlockState p_316866_, Level p_316544_, BlockPos p_316541_, Player p_316732_, BlockHitResult p_316860_) protected InteractionResult
DispenserBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
DoorBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
DragonEggBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
EnchantingTableBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
EnderChestBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
FenceBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
FenceGateBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
FletchingTableBlock.useWithoutItem
(BlockState p_53501_, Level p_53502_, BlockPos p_53503_, Player p_53504_, BlockHitResult p_53506_) protected InteractionResult
FlowerPotBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
GrindstoneBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
HopperBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
JigsawBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
JukeboxBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
LecternBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
LeverBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
LightBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
LoomBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
NoteBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
RedStoneWireBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
RepeaterBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
RespawnAnchorBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
ShulkerBoxBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
SignBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
SmithingTableBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
StonecutterBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
StructureBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
SweetBerryBushBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) protected InteractionResult
TrapDoorBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) final BlockState
Block.withPropertiesOf
(BlockState state) 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> blockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> doubleBlockTypeGetter, Function<BlockState, Direction> directionGetter, DirectionProperty directionProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChestTest) protected void
AbstractFurnaceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
AbstractSkullBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
AmethystClusterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
AnvilBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
AttachedStemBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BambooStalkBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BannerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BarrelBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BarrierBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BaseCoralPlantTypeBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BaseCoralWallFanBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BedBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BeehiveBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BeetrootBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BellBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BigDripleafBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BigDripleafStemBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
Block.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BrewingStandBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BrushableBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
BubbleColumnBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ButtonBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CactusBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CakeBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CalibratedSculkSensorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_277652_) protected void
CampfireBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CandleBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CandleCakeBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CarvedPumpkinBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) 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> builder) protected void
ChainBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ChestBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ChiseledBookShelfBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ChorusFlowerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ChorusPlantBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CocoaBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CommandBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ComparatorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ComposterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ConduitBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CopperBulbBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CrafterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
CropBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
DaylightDetectorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
DecoratedPotBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_273169_) protected void
DetectorRailBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
DispenserBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
DoorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
DoublePlantBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
EnderChestBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
EndPortalFrameBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
EndRodBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
FarmBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
FenceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
FenceGateBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
FireBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
FrostedIceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
GlazedTerracottaBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
GlowLichenBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
GrindstoneBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
GrowingPlantHeadBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) 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> builder) protected void
HugeMushroomBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
InfestedRotatedPillarBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_153446_) protected void
IronBarsBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
JigsawBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
JukeboxBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LadderBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LanternBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LayeredCauldronBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LeavesBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LecternBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LeverBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LightBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LightningRodBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LiquidBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
LoomBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
MangrovePropaguleBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
MangroveRootsBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_221521_) protected void
MultifaceBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
NetherPortalBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
NetherWartBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
NoteBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ObserverBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
PinkPetalsBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_272634_) protected void
PitcherCropBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
PointedDripstoneBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
PoweredRailBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
PressurePlateBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RailBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RedstoneLampBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RedStoneOreBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RedstoneTorchBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RedstoneWallTorchBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RedStoneWireBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RepeaterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RespawnAnchorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
RotatedPillarBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SaplingBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ScaffoldingBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SculkCatalystBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_222115_) protected void
SculkSensorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SculkShriekerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SculkVeinBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SeaPickleBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
ShulkerBoxBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SkullBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SlabBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SmallDripleafBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_154632_) protected void
SnifferEggBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SnowLayerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SnowyDirtBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
StairBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
StandingSignBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
StemBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
StonecutterBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
StructureBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SugarCaneBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
SweetBerryBushBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
TargetBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
TntBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
TorchflowerCropBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_272679_) protected void
TrapDoorBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
TrialSpawnerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_312785_) protected void
TripWireBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
TripWireHookBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
TurtleEggBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
VaultBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_323673_) protected void
VineBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
WallBannerBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
WallBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
WallHangingSignBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
WallSignBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
WallSkullBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
WallTorchBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
WaterloggedTransparentBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> p_313896_) protected void
WeightedPressurePlateBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) PointedDripstoneBlock.findBlockVertical
(LevelAccessor level, BlockPos pos, Direction.AxisDirection axis, BiPredicate<BlockPos, BlockState> positionalStatePredicate, Predicate<BlockState> statePredicate, int maxIterations) PointedDripstoneBlock.findBlockVertical
(LevelAccessor level, BlockPos pos, Direction.AxisDirection axis, BiPredicate<BlockPos, BlockState> positionalStatePredicate, Predicate<BlockState> statePredicate, int maxIterations) private static BlockState
MultifaceBlock.getDefaultMultifaceState
(StateDefinition<Block, BlockState> stateDefinition) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> stateMap, BlockState state, Supplier<BlockState> supplier) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> stateMap, BlockState state, Supplier<BlockState> supplier) private static BlockState
InfestedBlock.getNewStateWithProperties
(Map<BlockState, BlockState> stateMap, BlockState state, Supplier<BlockState> supplier) protected com.google.common.collect.ImmutableMap
<BlockState, VoxelShape> Block.getShapeForEachState
(Function<BlockState, VoxelShape> shapeGetter) Constructors in net.minecraft.world.level.block with parameters of type BlockStateModifierConstructorDescriptionBlockStatePairKey
(BlockState first, BlockState second, Direction direction) (package private)
FluidInfo
(BlockPos pos, Fluid fluid, BlockState sourceState) Creates an instance of aFluidInfo
record class.InputContainer
(BlockState state, LevelAccessor level, BlockPos pos) OutputContainer
(BlockState state, LevelAccessor level, BlockPos pos, ItemStack stack) (package private)
PosAndState
(BlockPos pos, BlockState state) Creates an instance of aPosAndState
record class.RailState
(Level level, BlockPos pos, BlockState p_state) StairBlock
(BlockState baseState, BlockBehaviour.Properties properties) WeatheringCopperStairBlock
(WeatheringCopper.WeatherState weatherState, BlockState baseState, BlockBehaviour.Properties properties) -
Uses of BlockState in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as BlockStateModifier and TypeFieldDescriptionprivate BlockState
BlockEntity.blockState
private final BlockState
SculkCatalystBlockEntity.CatalystListener.blockState
Methods in net.minecraft.world.level.block.entity that return BlockStateMethods in net.minecraft.world.level.block.entity with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
SkullBlockEntity.animation
(Level level, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) static void
TheEndGatewayBlockEntity.beamAnimationTick
(Level level, BlockPos pos, BlockState state, TheEndGatewayBlockEntity blockEntity) private void
SculkCatalystBlockEntity.CatalystListener.bloom
(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) static void
EnchantingTableBlockEntity.bookAnimationTick
(Level level, BlockPos pos, BlockState state, EnchantingTableBlockEntity enchantingTable) static void
BellBlockEntity.clientTick
(Level level, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static void
ConduitBlockEntity.clientTick
(Level level, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static void
SpawnerBlockEntity.clientTick
(Level level, BlockPos pos, BlockState state, SpawnerBlockEntity blockEntity) static void
CampfireBlockEntity.cookTick
(Level level, BlockPos pos, BlockState state, CampfireBlockEntity blockEntity) static void
CampfireBlockEntity.cooldownTick
(Level level, BlockPos pos, BlockState state, CampfireBlockEntity blockEntity) BlockEntityType.BlockEntitySupplier.create
(BlockPos pos, BlockState state) BlockEntityType.create
(BlockPos pos, BlockState state) void
ContainerOpenersCounter.decrementOpeners
(Player player, Level level, BlockPos pos, BlockState state) private static void
ShulkerBoxBlockEntity.doNeighborUpdates
(Level level, BlockPos pos, BlockState state) void
BeehiveBlockEntity.emptyAllLivingFromHive
(Player player, BlockState state, BeehiveBlockEntity.BeeReleaseStatus releaseStatus) static void
HopperBlockEntity.entityInside
(Level level, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) private int
CalibratedSculkSensorBlockEntity.VibrationUser.getBackSignal
(Level level, BlockPos pos, BlockState state) private static Container
HopperBlockEntity.getBlockContainer
(Level level, BlockPos pos, BlockState state) ShulkerBoxBlockEntity.getBoundingBox
(BlockState state) private static Container
HopperBlockEntity.getContainerAt
(Level level, BlockPos pos, BlockState state, double x, double y, double z) static int
BeehiveBlockEntity.getHoneyLevel
(BlockState state) private static Container
HopperBlockEntity.getSourceContainer
(Level level, Hopper hopper, BlockPos pos, BlockState state) void
ContainerOpenersCounter.incrementOpeners
(Player player, Level level, BlockPos pos, BlockState state) boolean
BlockEntityType.isValid
(BlockState state) boolean
BlockEntity.isValidBlockState
(BlockState p_353131_) static void
ChestBlockEntity.lidAnimateTick
(Level level, BlockPos pos, BlockState state, ChestBlockEntity blockEntity) static void
EnderChestBlockEntity.lidAnimateTick
(Level level, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) static BlockEntity
BlockEntity.loadStatic
(BlockPos pos, BlockState state, CompoundTag tag, HolderLookup.Provider registries) private void
ShulkerBoxBlockEntity.moveCollidedEntities
(Level level, BlockPos pos, BlockState state) protected abstract void
ContainerOpenersCounter.onClose
(Level level, BlockPos pos, BlockState state) protected abstract void
ContainerOpenersCounter.onOpen
(Level level, BlockPos pos, BlockState state) protected abstract void
ContainerOpenersCounter.openerCountChanged
(Level level, BlockPos pos, BlockState state, int count, int openCount) static void
CampfireBlockEntity.particleTick
(Level level, BlockPos pos, BlockState state, CampfireBlockEntity blockEntity) (package private) void
BarrelBlockEntity.playSound
(BlockState state, SoundEvent sound) (package private) static void
ChestBlockEntity.playSound
(Level level, BlockPos pos, BlockState state, SoundEvent sound) static void
TheEndGatewayBlockEntity.portalTick
(Level level, BlockPos pos, BlockState state, TheEndGatewayBlockEntity blockEntity) static void
HopperBlockEntity.pushItemsTick
(Level level, BlockPos pos, BlockState state, HopperBlockEntity blockEntity) void
ContainerOpenersCounter.recheckOpeners
(Level level, BlockPos pos, BlockState state) BeehiveBlockEntity.releaseAllOccupants
(BlockState state, BeehiveBlockEntity.BeeReleaseStatus releaseStatus) private static boolean
BeehiveBlockEntity.releaseOccupant
(Level level, BlockPos pos, BlockState state, BeehiveBlockEntity.Occupant occupant, List<Entity> storedInHives, BeehiveBlockEntity.BeeReleaseStatus releaseStatus, BlockPos storedFlowerPos) private static void
ContainerOpenersCounter.scheduleRecheck
(Level level, BlockPos pos, BlockState state) static void
AbstractFurnaceBlockEntity.serverTick
(Level level, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) static void
BeehiveBlockEntity.serverTick
(Level level, BlockPos pos, BlockState state, BeehiveBlockEntity beehive) static void
BellBlockEntity.serverTick
(Level level, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static void
BrewingStandBlockEntity.serverTick
(Level level, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity) static void
ConduitBlockEntity.serverTick
(Level level, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static void
CrafterBlockEntity.serverTick
(Level level, BlockPos pos, BlockState state, CrafterBlockEntity crafter) static void
SculkCatalystBlockEntity.serverTick
(Level level, BlockPos pos, BlockState state, SculkCatalystBlockEntity sculkCatalyst) static void
SpawnerBlockEntity.serverTick
(Level level, BlockPos pos, BlockState state, SpawnerBlockEntity blockEntity) void
BlockEntity.setBlockState
(BlockState blockState) Deprecated.void
ChestBlockEntity.setBlockState
(BlockState p_155251_) void
HopperBlockEntity.setBlockState
(BlockState blockState) protected static void
BlockEntity.setChanged
(Level level, BlockPos pos, BlockState state) protected void
ChestBlockEntity.signalOpenCount
(Level level, BlockPos pos, BlockState state, int eventId, int eventParam) protected void
TrappedChestBlockEntity.signalOpenCount
(Level p_155865_, BlockPos p_155866_, BlockState p_155867_, int p_155868_, int p_155869_) static void
BeaconBlockEntity.tick
(Level level, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity) private static void
BellBlockEntity.tick
(Level level, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.ResonationEndAction resonationEndAction) void
BlockEntityTicker.tick
(Level level, BlockPos pos, BlockState state, T blockEntity) static void
JukeboxBlockEntity.tick
(Level level, BlockPos pos, BlockState state, JukeboxBlockEntity jukebox) static void
ShulkerBoxBlockEntity.tick
(Level level, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity) static void
SignBlockEntity.tick
(Level level, BlockPos pos, BlockState state, SignBlockEntity sign) private static void
BeehiveBlockEntity.tickOccupants
(Level level, BlockPos pos, BlockState state, List<BeehiveBlockEntity.BeeData> data, BlockPos savedFlowerPos) static void
TheEndGatewayBlockEntity.triggerCooldown
(Level level, BlockPos pos, BlockState state, TheEndGatewayBlockEntity blockEntity) private static boolean
HopperBlockEntity.tryMoveItems
(Level level, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier validator) private void
ShulkerBoxBlockEntity.updateAnimation
(Level level, BlockPos pos, BlockState state) (package private) void
BarrelBlockEntity.updateBlockState
(BlockState state, boolean open) private static void
ConduitBlockEntity.updateDestroyTarget
(Level level, BlockPos pos, BlockState state, List<BlockPos> positions, ConduitBlockEntity blockEntity) private void
BlockEntity.validateBlockState
(BlockState p_353132_) Constructors in net.minecraft.world.level.block.entity with parameters of type BlockStateModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState blockState, RecipeType<? extends AbstractCookingRecipe> recipeType) BannerBlockEntity
(BlockPos pos, BlockState blockState) BannerBlockEntity
(BlockPos pos, BlockState blockState, DyeColor baseColor) BarrelBlockEntity
(BlockPos pos, BlockState blockState) protected
BaseContainerBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState blockState) BeaconBlockEntity
(BlockPos pos, BlockState blockState) BedBlockEntity
(BlockPos pos, BlockState blockState) BedBlockEntity
(BlockPos pos, BlockState blockState, DyeColor color) BeehiveBlockEntity
(BlockPos pos, BlockState blockState) BellBlockEntity
(BlockPos pos, BlockState blockState) BlastFurnaceBlockEntity
(BlockPos pos, BlockState blockState) BlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState blockState) BrewingStandBlockEntity
(BlockPos pos, BlockState state) BrushableBlockEntity
(BlockPos pos, BlockState blockState) CalibratedSculkSensorBlockEntity
(BlockPos pos, BlockState blockState) CampfireBlockEntity
(BlockPos pos, BlockState blockState) CatalystListener
(BlockState blockState, PositionSource positionSource) ChestBlockEntity
(BlockPos pos, BlockState blockState) protected
ChestBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState blockState) ChiseledBookShelfBlockEntity
(BlockPos pos, BlockState state) CommandBlockEntity
(BlockPos pos, BlockState blockState) ComparatorBlockEntity
(BlockPos pos, BlockState blockState) ConduitBlockEntity
(BlockPos pos, BlockState blockState) CrafterBlockEntity
(BlockPos pos, BlockState state) DaylightDetectorBlockEntity
(BlockPos pos, BlockState blockState) DecoratedPotBlockEntity
(BlockPos pos, BlockState state) DispenserBlockEntity
(BlockPos pos, BlockState blockState) protected
DispenserBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState blockState) DropperBlockEntity
(BlockPos p_155498_, BlockState p_155499_) EnchantingTableBlockEntity
(BlockPos pos, BlockState state) EnderChestBlockEntity
(BlockPos pos, BlockState blockState) FurnaceBlockEntity
(BlockPos pos, BlockState blockState) HangingSignBlockEntity
(BlockPos p_250603_, BlockState p_251674_) HopperBlockEntity
(BlockPos pos, BlockState blockState) JigsawBlockEntity
(BlockPos pos, BlockState blockState) JukeboxBlockEntity
(BlockPos pos, BlockState blockState) LecternBlockEntity
(BlockPos pos, BlockState blockState) protected
RandomizableContainerBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState blockState) SculkCatalystBlockEntity
(BlockPos pos, BlockState blockState) SculkSensorBlockEntity
(BlockPos pos, BlockState blockState) protected
SculkSensorBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState blockState) SculkShriekerBlockEntity
(BlockPos pos, BlockState blockState) ShulkerBoxBlockEntity
(BlockPos pos, BlockState blockState) ShulkerBoxBlockEntity
(DyeColor color, BlockPos pos, BlockState blockState) SignBlockEntity
(BlockPos pos, BlockState blockState) SignBlockEntity
(BlockEntityType type, BlockPos pos, BlockState blockState) SkullBlockEntity
(BlockPos pos, BlockState blockState) SmokerBlockEntity
(BlockPos pos, BlockState blockState) SpawnerBlockEntity
(BlockPos pos, BlockState blockState) StructureBlockEntity
(BlockPos pos, BlockState blockState) TheEndGatewayBlockEntity
(BlockPos pos, BlockState blockState) TheEndPortalBlockEntity
(BlockPos pos, BlockState blockState) protected
TheEndPortalBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState blockState) TrappedChestBlockEntity
(BlockPos p_155862_, BlockState p_155863_) TrialSpawnerBlockEntity
(BlockPos pos, BlockState state) -
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 level, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleOptions particle) private static void
VaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers
(Level level, BlockPos pos, BlockState state, VaultSharedData sharedData) (package private) static void
VaultBlockEntity.Server.setVaultState
(ServerLevel level, BlockPos pos, BlockState oldState, BlockState newState, VaultConfig config, VaultSharedData sharedData) static void
VaultBlockEntity.Client.tick
(Level level, BlockPos pos, BlockState state, VaultClientData clientData, VaultSharedData sharedData) static void
VaultBlockEntity.Server.tick
(ServerLevel level, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) static void
VaultBlockEntity.Server.tryInsertKey
(ServerLevel level, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, Player player, ItemStack stack) private static void
VaultBlockEntity.Server.unlock
(ServerLevel level, BlockState state, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, List<ItemStack> itemsToEject) 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 level, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, RandomSource random) private static boolean
TreeGrower.isTwoByTwoSapling
(BlockState state, BlockGetter level, BlockPos pos, int xOffset, int yOffset) -
Uses of BlockState in net.minecraft.world.level.block.piston
Fields in net.minecraft.world.level.block.piston declared as BlockStateMethods in net.minecraft.world.level.block.piston that return BlockStateModifier and TypeMethodDescriptionprivate BlockState
PistonMovingBlockEntity.getCollisionRelatedBlockState()
PistonMovingBlockEntity.getMovedState()
PistonBaseBlock.getStateForPlacement
(BlockPlaceContext context) protected BlockState
MovingPistonBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
PistonBaseBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
PistonHeadBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.PistonHeadBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) protected BlockState
MovingPistonBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
PistonBaseBlock.rotate
(BlockState state, Rotation rot) 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 state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
PistonHeadBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.Methods in net.minecraft.world.level.block.piston with parameters of type BlockStateModifier and TypeMethodDescriptionprotected boolean
PistonHeadBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) private void
PistonBaseBlock.checkIfExtend
(Level level, BlockPos pos, BlockState state) void
MovingPistonBlock.destroy
(LevelAccessor level, BlockPos pos, BlockState state) Called after this block has been removed by a player.MovingPistonBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) PistonHeadBlock.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state) protected VoxelShape
MovingPistonBlock.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) MovingPistonBlock.getDrops
(BlockState state, LootParams.Builder params) protected VoxelShape
MovingPistonBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PistonBaseBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected VoxelShape
PistonHeadBlock.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) <T extends BlockEntity>
BlockEntityTicker<T> MovingPistonBlock.getTicker
(Level level, BlockState state, BlockEntityType<T> blockEntityType) private boolean
PistonHeadBlock.isFittingBase
(BlockState baseState, BlockState extendedState) protected boolean
MovingPistonBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
PistonBaseBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
PistonHeadBlock.isPathfindable
(BlockState state, PathComputationType pathComputationType) static boolean
PistonBaseBlock.isPushable
(BlockState state, Level level, BlockPos pos, Direction movementDirection, boolean allowDestroy, Direction pistonFacing) Checks if the piston can push the given BlockState.protected BlockState
MovingPistonBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
PistonBaseBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected BlockState
PistonHeadBlock.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected void
PistonBaseBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) protected void
PistonHeadBlock.neighborChanged
(BlockState state, Level level, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) MovingPistonBlock.newBlockEntity
(BlockPos pos, BlockState state) static BlockEntity
MovingPistonBlock.newMovingBlockEntity
(BlockPos pos, BlockState blockState, BlockState movedState, Direction direction, boolean extending, boolean isSourcePiston) protected void
PistonBaseBlock.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean isMoving) protected void
MovingPistonBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) protected void
PistonHeadBlock.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean isMoving) PistonHeadBlock.playerWillDestroy
(Level level, BlockPos pos, BlockState state, Player player) protected BlockState
MovingPistonBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
PistonBaseBlock.rotate
(BlockState state, Rotation rot) 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 state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.void
PistonBaseBlock.setPlacedBy
(Level level, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) Called by BlockItem after this block has been placed.static void
PistonMovingBlockEntity.tick
(Level level, BlockPos pos, BlockState state, PistonMovingBlockEntity blockEntity) protected boolean
PistonBaseBlock.triggerEvent
(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected BlockState
PistonHeadBlock.updateShape
(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected boolean
PistonBaseBlock.useShapeForLightOcclusion
(BlockState state) protected boolean
PistonHeadBlock.useShapeForLightOcclusion
(BlockState state) protected InteractionResult
MovingPistonBlock.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) Method parameters in net.minecraft.world.level.block.piston with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected void
MovingPistonBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
PistonBaseBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) protected void
PistonHeadBlock.createBlockStateDefinition
(StateDefinition.Builder<Block, BlockState> builder) Constructors in net.minecraft.world.level.block.piston with parameters of type BlockStateModifierConstructorDescriptionPistonMovingBlockEntity
(BlockPos pos, BlockState blockState) PistonMovingBlockEntity
(BlockPos pos, BlockState blockState, BlockState movedState, Direction direction, boolean extending, boolean isSourcePiston) -
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 state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.Deprecated.protected BlockState
BlockBehaviour.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.BlockBehaviour.BlockStateBase.updateShape
(Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) protected BlockState
BlockBehaviour.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.Methods in net.minecraft.world.level.block.state with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
BlockBehaviour.attack
(BlockState state, Level level, BlockPos pos, Player player) protected boolean
BlockBehaviour.canBeReplaced
(BlockState state, BlockPlaceContext useContext) protected boolean
BlockBehaviour.canBeReplaced
(BlockState state, Fluid fluid) protected boolean
BlockBehaviour.canSurvive
(BlockState state, LevelReader level, BlockPos pos) protected void
BlockBehaviour.entityInside
(BlockState state, Level level, BlockPos pos, Entity entity) BlockBehaviour.OffsetFunction.evaluate
(BlockState state, BlockGetter level, BlockPos pos) protected int
BlockBehaviour.getAnalogOutputSignal
(BlockState state, Level level, BlockPos pos) Returns the analog signal this block emits.protected VoxelShape
BlockBehaviour.getBlockSupportShape
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
BlockBehaviour.getCollisionShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected float
BlockBehaviour.getDestroyProgress
(BlockState state, Player player, BlockGetter level, BlockPos pos) Get the hardness of this Block relative to the ability of the given playerprotected int
BlockBehaviour.getDirectSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.BlockBehaviour.getDrops
(BlockState state, LootParams.Builder params) protected FluidState
BlockBehaviour.getFluidState
(BlockState state) protected VoxelShape
BlockBehaviour.getInteractionShape
(BlockState state, BlockGetter level, BlockPos pos) protected int
BlockBehaviour.getLightBlock
(BlockState state, BlockGetter level, BlockPos pos) protected MenuProvider
BlockBehaviour.getMenuProvider
(BlockState state, Level level, BlockPos pos) protected VoxelShape
BlockBehaviour.getOcclusionShape
(BlockState state, BlockGetter level, BlockPos pos) protected RenderShape
BlockBehaviour.getRenderShape
(BlockState state) The type of render function called.protected long
BlockBehaviour.getSeed
(BlockState state, BlockPos pos) Return a random long to be passed toBakedModel.getQuads(net.minecraft.world.level.block.state.BlockState, net.minecraft.core.Direction, net.minecraft.util.RandomSource)
, used for random model rotationsprotected float
BlockBehaviour.getShadeBrightness
(BlockState state, BlockGetter level, BlockPos pos) protected VoxelShape
BlockBehaviour.getShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected int
BlockBehaviour.getSignal
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected SoundType
BlockBehaviour.getSoundType
(BlockState state) Deprecated.protected VoxelShape
BlockBehaviour.getVisualShape
(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) protected boolean
BlockBehaviour.hasAnalogOutputSignal
(BlockState state) protected boolean
BlockBehaviour.isAir
(BlockState state) protected boolean
BlockBehaviour.isCollisionShapeFullBlock
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
BlockBehaviour.isOcclusionShapeFullBlock
(BlockState state, BlockGetter level, BlockPos pos) protected boolean
BlockBehaviour.isPathfindable
(BlockState state, PathComputationType pathComputationType) protected boolean
BlockBehaviour.isRandomlyTicking
(BlockState state) protected boolean
BlockBehaviour.isSignalSource
(BlockState state) Returns whether this block is capable of emitting redstone signals.protected BlockState
BlockBehaviour.mirror
(BlockState state, Mirror mirror) Returns the blockstate with the given mirror of the passed blockstate.protected void
BlockBehaviour.neighborChanged
(BlockState state, Level level, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) protected void
BlockBehaviour.onExplosionHit
(BlockState state, Level level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) void
BlockBehaviour.BlockStateBase.onPlace
(Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) protected void
BlockBehaviour.onPlace
(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston) void
BlockBehaviour.BlockStateBase.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) protected void
BlockBehaviour.onProjectileHit
(Level level, BlockState state, BlockHitResult hit, Projectile projectile) void
BlockBehaviour.BlockStateBase.onRemove
(Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected void
BlockBehaviour.onRemove
(BlockState state, Level level, BlockPos pos, BlockState newState, boolean movedByPiston) protected boolean
BlockBehaviour.propagatesSkylightDown
(BlockState state, BlockGetter level, BlockPos pos) protected void
BlockBehaviour.randomTick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) Performs a random tick on a block.protected BlockState
BlockBehaviour.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.boolean
BlockBehaviour.BlockStateBase.skipRendering
(BlockState state, Direction face) protected boolean
BlockBehaviour.skipRendering
(BlockState state, BlockState adjacentState, Direction direction) protected void
BlockBehaviour.spawnAfterBreak
(BlockState state, ServerLevel level, BlockPos pos, ItemStack stack, boolean dropExperience) Perform side-effects from block dropping, such as creating silverfishboolean
BlockBehaviour.StateArgumentPredicate.test
(BlockState state, BlockGetter level, BlockPos pos, A value) boolean
BlockBehaviour.StatePredicate.test
(BlockState state, BlockGetter level, BlockPos pos) protected void
BlockBehaviour.tick
(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) protected boolean
BlockBehaviour.triggerEvent
(BlockState state, Level level, BlockPos pos, int id, int param) Called on server whenLevel.blockEvent(net.minecraft.core.BlockPos, net.minecraft.world.level.block.Block, int, int)
is called.protected void
BlockBehaviour.updateIndirectNeighbourShapes
(BlockState state, LevelAccessor level, BlockPos pos, int flags, int recursionLeft) Updates the shapes of indirect neighbors of this block.BlockBehaviour.BlockStateBase.updateShape
(Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) protected BlockState
BlockBehaviour.updateShape
(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected ItemInteractionResult
BlockBehaviour.useItemOn
(ItemStack stack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult) protected boolean
BlockBehaviour.useShapeForLightOcclusion
(BlockState state) protected InteractionResult
BlockBehaviour.useWithoutItem
(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) Method parameters in net.minecraft.world.level.block.state with type arguments of type BlockStateModifier and TypeMethodDescriptionBlockBehaviour.Properties.lightLevel
(ToIntFunction<BlockState> lightEmission) BlockBehaviour.Properties.mapColor
(Function<BlockState, MapColor> mapColor) 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 owner, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> values, com.mojang.serialization.MapCodec<BlockState> propertiesCodec) -
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> state) -
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 state, Property<T> property, Predicate<Object> valuePredicate) boolean
BlockPredicate.test
(BlockState state) boolean
BlockStatePredicate.test
(BlockState state) Constructor parameters in net.minecraft.world.level.block.state.predicate with type arguments of type BlockStateModifierConstructorDescriptionprivate
BlockStatePredicate
(StateDefinition<Block, BlockState> definition) -
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 pos) BulkSectionAccess.getBlockState
(BlockPos pos) EmptyLevelChunk.getBlockState
(BlockPos pos) ImposterProtoChunk.getBlockState
(BlockPos pos) LevelChunk.getBlockState
(BlockPos pos) LevelChunkSection.getBlockState
(int x, int y, int z) ProtoChunk.getBlockState
(BlockPos pos) abstract BlockState
ChunkAccess.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) EmptyLevelChunk.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) ImposterProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) LevelChunk.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) LevelChunkSection.setBlockState
(int x, int y, int z, BlockState state) LevelChunkSection.setBlockState
(int x, int y, int z, BlockState state, boolean useLocks) ProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) UpgradeData.BlockFixer.updateShape
(BlockState state, Direction direction, BlockState offsetState, LevelAccessor level, BlockPos pos, BlockPos offsetPos) private static BlockState
UpgradeData.updateState
(BlockState state, Direction direction, LevelAccessor level, BlockPos pos, BlockPos offsetPos) 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 pos, BlockState state) abstract BlockState
ChunkAccess.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) EmptyLevelChunk.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) ImposterProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) LevelChunk.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) LevelChunkSection.setBlockState
(int x, int y, int z, BlockState state) LevelChunkSection.setBlockState
(int x, int y, int z, BlockState state, boolean useLocks) ProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean isMoving) UpgradeData.BlockFixer.updateShape
(BlockState state, Direction direction, BlockState offsetState, LevelAccessor level, BlockPos pos, BlockPos offsetPos) private static BlockState
UpgradeData.updateState
(BlockState state, Direction direction, LevelAccessor level, BlockPos pos, BlockPos offsetPos) Method parameters in net.minecraft.world.level.chunk with type arguments of type BlockStateModifier and TypeMethodDescriptionfinal void
ChunkAccess.findBlockLightSources
(BiConsumer<BlockPos, BlockState> output) void
LightChunk.findBlockLightSources
(BiConsumer<BlockPos, BlockState> output) void
ChunkAccess.findBlocks
(BiPredicate<BlockState, BlockPos> p_285343_, BiConsumer<BlockPos, BlockState> p_285030_) Deprecated, for removal: This API element is subject to removal in a future version.void
ChunkAccess.findBlocks
(BiPredicate<BlockState, BlockPos> p_285343_, BiConsumer<BlockPos, BlockState> p_285030_) Deprecated, for removal: This API element is subject to removal in a future version.void
ChunkAccess.findBlocks
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> output) void
ChunkAccess.findBlocks
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> output) void
ChunkAccess.findBlocks
(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ChunkAccess.findBlocks
(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ChunkAccess.findBlocks
(Predicate<BlockState> p_285343_, BiPredicate<BlockState, BlockPos> fineFilter, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(BiPredicate<BlockState, BlockPos> p_285465_, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(BiPredicate<BlockState, BlockPos> p_285465_, BiConsumer<BlockPos, BlockState> p_285030_) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> output) void
ImposterProtoChunk.findBlocks
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> output) 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> predicate) Constructor parameters in net.minecraft.world.level.chunk with type arguments of type BlockStateModifierConstructorDescriptionLevelChunkSection
(PalettedContainer<BlockState> states, PalettedContainerRO<Holder<Biome>> biomes) -
Uses of BlockState in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<PalettedContainer<BlockState>> ChunkSerializer.BLOCK_STATE_CODEC
-
Uses of BlockState in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
GameEvent.Context.affectedState
The field for theaffectedState
record component.Methods in net.minecraft.world.level.gameevent that return BlockStateModifier and TypeMethodDescriptionGameEvent.Context.affectedState()
Returns the value of theaffectedState
record component.Methods in net.minecraft.world.level.gameevent with parameters of type BlockStateModifier and TypeMethodDescriptionstatic GameEvent.Context
GameEvent.Context.of
(Entity sourceEntity, BlockState affectedState) static GameEvent.Context
GameEvent.Context.of
(BlockState affectedState) Constructors in net.minecraft.world.level.gameevent with parameters of type BlockStateModifierConstructorDescriptionContext
(Entity sourceEntity, BlockState affectedState) Creates an instance of aContext
record class. -
Uses of BlockState in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as BlockStateModifier and TypeFieldDescriptionprotected static final BlockState
DebugLevelSource.AIR
private static final BlockState
NoiseBasedChunkGenerator.AIR
protected static final BlockState
DebugLevelSource.BARRIER
private static final BlockState
SurfaceSystem.BROWN_TERRACOTTA
private final BlockState[]
SurfaceSystem.clayBands
private final BlockState
NoiseGeneratorSettings.defaultBlock
The field for thedefaultBlock
record component.private final BlockState
SurfaceSystem.defaultBlock
private final BlockState
NoiseGeneratorSettings.defaultFluid
The field for thedefaultFluid
record component.(package private) final BlockState
OreVeinifier.VeinType.filler
(package private) final BlockState
Aquifer.FluidStatus.fluidType
The fluid state the aquifer is filled with.private static final BlockState
SurfaceSystem.LIGHT_GRAY_TERRACOTTA
private static final BlockState
SurfaceSystem.ORANGE_TERRACOTTA
(package private) final BlockState
OreVeinifier.VeinType.ore
private static final BlockState
SurfaceSystem.PACKED_ICE
(package private) final BlockState
OreVeinifier.VeinType.rawOreBlock
private static final BlockState
SurfaceSystem.RED_TERRACOTTA
private final BlockState
SurfaceRules.BlockRuleSource.resultState
The field for theresultState
record component.private static final BlockState
SurfaceSystem.SNOW_BLOCK
private final BlockState
SurfaceRules.StateRule.state
The field for thestate
record component.private static final BlockState
SurfaceSystem.TERRACOTTA
private static final BlockState
SurfaceSystem.WHITE_TERRACOTTA
private static final BlockState
SurfaceSystem.YELLOW_TERRACOTTA
Fields in net.minecraft.world.level.levelgen with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate static List
<BlockState> DebugLevelSource.ALL_BLOCKS
A list of all valid block states.final List
<BlockState> GeodeBlockSettings.innerPlacements
private final Predicate
<BlockState> Heightmap.isOpaque
private final Predicate
<BlockState> Heightmap.Types.isOpaque
(package private) static final Predicate
<BlockState> Heightmap.MATERIAL_MOTION_BLOCKING
(package private) static final Predicate
<BlockState> Heightmap.NOT_AIR
Methods in net.minecraft.world.level.levelgen that return BlockStateModifier and TypeMethodDescriptionAquifer.FluidStatus.at
(int y) NoiseChunk.BlockStateFiller.calculate
(DensityFunction.FunctionContext context) private BlockState
Aquifer.NoiseBasedAquifer.computeFluidType
(int x, int y, int z, Aquifer.FluidStatus fluidStatus, int surfaceLevel) Aquifer.computeSubstance
(DensityFunction.FunctionContext context, double substance) Aquifer.NoiseBasedAquifer.computeSubstance
(DensityFunction.FunctionContext context, double substance) private BlockState
NoiseBasedChunkGenerator.debugPreliminarySurfaceLevel
(NoiseChunk chunk, int x, int y, int z, BlockState state) NoiseGeneratorSettings.defaultBlock()
Returns the value of thedefaultBlock
record component.NoiseGeneratorSettings.defaultFluid()
Returns the value of thedefaultFluid
record component.private static BlockState[]
SurfaceSystem.generateBands
(RandomSource random) protected BlockState
SurfaceSystem.getBand
(int x, int y, int z) static BlockState
DebugLevelSource.getBlockStateFor
(int chunkX, int chunkZ) 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 x, int y, int z) 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 rule, CarvingContext context, Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, NoiseChunk noiseChunk, BlockPos pos, boolean hasFluid) Deprecated.Methods in net.minecraft.world.level.levelgen with parameters of type BlockStateModifier and TypeMethodDescriptionprivate BlockState
NoiseBasedChunkGenerator.debugPreliminarySurfaceLevel
(NoiseChunk chunk, int x, int y, int z, BlockState state) private boolean
SurfaceSystem.isStone
(BlockState state) private static void
SurfaceSystem.makeBands
(RandomSource random, BlockState[] output, int minSize, BlockState state) static SurfaceRules.RuleSource
SurfaceRules.state
(BlockState resultState) boolean
Heightmap.update
(int x, int y, int z, BlockState state) Method parameters in net.minecraft.world.level.levelgen with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected OptionalInt
NoiseBasedChunkGenerator.iterateNoiseColumn
(LevelHeightAccessor level, RandomState random, int x, int z, org.apache.commons.lang3.mutable.MutableObject<NoiseColumn> column, Predicate<BlockState> stoppingState) Column.scan
(LevelSimulatedReader level, BlockPos pos, int maxDistance, Predicate<BlockState> columnPredicate, Predicate<BlockState> tipPredicate) 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 level, int maxDistance, Predicate<BlockState> columnPredicate, Predicate<BlockState> tipPredicate, BlockPos.MutableBlockPos mutablePos, int startY, Direction direction) 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) 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 randomState, BlockState defaultBlock, int seaLevel, PositionalRandomFactory noiseRandom) private
VeinType
(BlockState ore, BlockState rawOreBlock, BlockState filler, int minY, int maxY) Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type BlockStateModifierConstructorDescriptionGeodeBlockSettings
(BlockStateProvider fillingProvider, BlockStateProvider innerLayerProvider, BlockStateProvider alternateInnerLayerProvider, BlockStateProvider middleLayerProvider, BlockStateProvider outerLayerProvider, List<BlockState> innerPlacements, TagKey<Block> cannotReplace, TagKey<Block> invalidBlocks) private
Types
(String serializationKey, Heightmap.Usage usage, Predicate<BlockState> isOpaque) -
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 state) protected boolean
MatchingBlockTagPredicate.test
(BlockState state) protected boolean
MatchingFluidsPredicate.test
(BlockState state) protected boolean
ReplaceablePredicate.test
(BlockState p_190527_) protected boolean
SolidPredicate.test
(BlockState p_190536_) Deprecated.protected abstract boolean
StateTestingPredicate.test
(BlockState state) static BlockPredicate
BlockPredicate.wouldSurvive
(BlockState state, Vec3i offset) Constructors in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockState -
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 context, C config, BlockPos pos, Aquifer aquifer) private static BlockState
WorldCarver.getDebugState
(CarverConfiguration config, BlockState state) 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>> biomeMapper, ChunkAccess access, BlockPos pos, boolean hasFluid) Deprecated.Methods in net.minecraft.world.level.levelgen.carver with parameters of type BlockStateModifier and TypeMethodDescriptionprotected boolean
WorldCarver.canReplaceBlock
(C config, BlockState state) private static BlockState
WorldCarver.getDebugState
(CarverConfiguration config, BlockState state) static CarverDebugSettings
CarverDebugSettings.of
(boolean debugMode, BlockState airState) static CarverDebugSettings
CarverDebugSettings.of
(boolean debugMode, BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) static CarverDebugSettings
CarverDebugSettings.of
(BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) Constructors in net.minecraft.world.level.levelgen.carver with parameters of type BlockStateModifierConstructorDescriptionprivate
CarverDebugSettings
(boolean debugMode, BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) -
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 direction, DripstoneThickness dripstoneThickness) Methods in net.minecraft.world.level.levelgen.feature that return types with arguments of type BlockStateModifier and TypeMethodDescriptionstatic Predicate
<BlockState> Feature.isReplaceable
(TagKey<Block> blockTag) Methods in net.minecraft.world.level.levelgen.feature with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
OreFeature.canPlaceOre
(BlockState state, Function<BlockPos, BlockState> adjacentStateAccessor, RandomSource random, OreConfiguration config, OreConfiguration.TargetBlockState targetState, BlockPos.MutableBlockPos mutablePos) private boolean
LakeFeature.canReplaceBlock
(BlockState state) Deprecated.private void
IcebergFeature.generateIcebergBlock
(LevelAccessor level, RandomSource random, BlockPos pos, int height, int localX, int localY, int localZ, int radius, int majorRadius, boolean elliptical, int minorRadius, double angle, boolean placeSnow, BlockState state) private static boolean
MultifaceGrowthFeature.isAirOrWater
(BlockState state) private static boolean
RootSystemFeature.isAllowedTreeSpace
(BlockState state, int y, int allowedVerticalWater) static boolean
Feature.isDirt
(BlockState state) static boolean
DripstoneUtils.isDripstoneBase
(BlockState state) static boolean
DripstoneUtils.isDripstoneBaseOrLava
(BlockState state) static boolean
DripstoneUtils.isEmptyOrWater
(BlockState state) static boolean
DripstoneUtils.isEmptyOrWaterOrLava
(BlockState state) private static boolean
IcebergFeature.isIcebergState
(BlockState state) static boolean
DripstoneUtils.isNeitherEmptyNorWater
(BlockState state) protected static boolean
Feature.isStone
(BlockState state) protected boolean
CoralFeature.placeCoralBlock
(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) protected boolean
CoralClawFeature.placeFeature
(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract boolean
CoralFeature.placeFeature
(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) 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 level, BlockPos pos, BlockState state, MultifaceGrowthConfiguration config, RandomSource random, List<Direction> directions) private void
HugeFungusFeature.placeHatDropBlock
(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state, boolean weepingVines) protected void
Feature.safeSetBlock
(WorldGenLevel level, BlockPos pos, BlockState state, Predicate<BlockState> oldState) protected void
Feature.setBlock
(LevelWriter level, BlockPos pos, BlockState state) protected void
TreeFeature.setBlock
(LevelWriter level, BlockPos pos, BlockState state) private static void
TreeFeature.setBlockKnownShape
(LevelWriter level, BlockPos pos, BlockState state) private void
IcebergFeature.setIcebergBlock
(BlockPos pos, LevelAccessor level, RandomSource random, int heightRemaining, int height, boolean elliptical, boolean placeSnow, BlockState state) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected static void
DripstoneUtils.buildBaseToTipColumn
(Direction direction, int height, boolean mergeTip, Consumer<BlockState> blockSetter) static boolean
OreFeature.canPlaceOre
(BlockState state, Function<BlockPos, BlockState> adjacentStateAccessor, RandomSource random, OreConfiguration config, OreConfiguration.TargetBlockState targetState, BlockPos.MutableBlockPos mutablePos) static boolean
Feature.checkNeighbors
(Function<BlockPos, BlockState> adjacentStateAccessor, BlockPos pos, Predicate<BlockState> filter) static boolean
Feature.checkNeighbors
(Function<BlockPos, BlockState> adjacentStateAccessor, BlockPos pos, Predicate<BlockState> filter) private boolean
TreeFeature.doPlace
(WorldGenLevel level, RandomSource random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootBlockSetter, BiConsumer<BlockPos, BlockState> trunkBlockSetter, FoliagePlacer.FoliageSetter foliageBlockSetter, TreeConfiguration config) static boolean
Feature.isAdjacentToAir
(Function<BlockPos, BlockState> adjacentStateAccessor, BlockPos pos) protected boolean
VegetationPatchFeature.placeGround
(WorldGenLevel level, VegetationPatchConfiguration config, Predicate<BlockState> replaceableblocks, RandomSource random, BlockPos.MutableBlockPos mutablePos, int maxDistance) VegetationPatchFeature.placeGroundPatch
(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos pos, Predicate<BlockState> state, int xRadius, int zRadius) WaterloggedVegetationPatchFeature.placeGroundPatch
(WorldGenLevel level, VegetationPatchConfiguration config, RandomSource random, BlockPos pos, Predicate<BlockState> state, int xRadius, int zRadius) protected void
Feature.safeSetBlock
(WorldGenLevel level, BlockPos pos, BlockState state, Predicate<BlockState> oldState) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type BlockStateModifierConstructorDescriptionHugeFungusConfiguration
(BlockState validBaseState, BlockState stemState, BlockState hatState, BlockState decorState, BlockPredicate replaceableBlocks, boolean planted) -
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 BlockStateModifierConstructorDescriptionDeltaFeatureConfiguration
(BlockState contents, BlockState rim, IntProvider size, IntProvider rimSize) LayerConfiguration
(int height, BlockState state) OreConfiguration
(RuleTest target, BlockState state, int size) OreConfiguration
(RuleTest target, BlockState state, int size, float discardChanceOnAirExposure) ReplaceBlockConfiguration
(BlockState targetState, BlockState state) ReplaceSphereConfiguration
(BlockState targetState, BlockState replaceState, IntProvider radius) (package private)
TargetBlockState
(RuleTest target, BlockState state) -
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 pos, BlockState state) -
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 level, BlockPos pos, BlockState state) Methods in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type BlockStateModifier and TypeMethodDescriptionprotected BlockState
RootPlacer.getPotentiallyWaterloggedState
(LevelSimulatedReader level, BlockPos pos, BlockState state) Method parameters in net.minecraft.world.level.levelgen.feature.rootplacers with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected void
MangroveRootPlacer.placeRoot
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) protected void
RootPlacer.placeRoot
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration treeConfig) boolean
MangroveRootPlacer.placeRoots
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) abstract boolean
RootPlacer.placeRoots
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, BlockPos trunkOrigin, TreeConfiguration treeConfig) -
Uses of BlockState in net.minecraft.world.level.levelgen.feature.stateproviders
Fields in net.minecraft.world.level.levelgen.feature.stateproviders declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
NoiseThresholdProvider.defaultState
private final BlockState
SimpleStateProvider.state
Fields in net.minecraft.world.level.levelgen.feature.stateproviders with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final List
<BlockState> NoiseThresholdProvider.highStates
private final List
<BlockState> NoiseThresholdProvider.lowStates
protected final List
<BlockState> NoiseProvider.states
private final SimpleWeightedRandomList
<BlockState> WeightedStateProvider.weightedList
Methods in net.minecraft.world.level.levelgen.feature.stateproviders that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
NoiseProvider.getRandomState
(List<BlockState> possibleStates, double delta) protected BlockState
NoiseProvider.getRandomState
(List<BlockState> possibleStates, BlockPos pos, double delta) abstract BlockState
BlockStateProvider.getState
(RandomSource random, BlockPos pos) DualNoiseProvider.getState
(RandomSource random, BlockPos pos) NoiseProvider.getState
(RandomSource random, BlockPos pos) NoiseThresholdProvider.getState
(RandomSource random, BlockPos pos) RandomizedIntStateProvider.getState
(RandomSource random, BlockPos pos) RotatedBlockProvider.getState
(RandomSource random, BlockPos pos) RuleBasedBlockStateProvider.getState
(WorldGenLevel level, RandomSource random, BlockPos pos) SimpleStateProvider.getState
(RandomSource random, BlockPos pos) WeightedStateProvider.getState
(RandomSource random, BlockPos pos) 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> instance) Methods in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockStateModifier and TypeMethodDescriptionprivate static IntegerProperty
RandomizedIntStateProvider.findProperty
(BlockState state, String propertyName) static SimpleStateProvider
BlockStateProvider.simple
(BlockState state) Method parameters in net.minecraft.world.level.levelgen.feature.stateproviders with type arguments of type BlockStateModifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<WeightedStateProvider> WeightedStateProvider.create
(SimpleWeightedRandomList<BlockState> weightedList) protected BlockState
NoiseProvider.getRandomState
(List<BlockState> possibleStates, double delta) protected BlockState
NoiseProvider.getRandomState
(List<BlockState> possibleStates, BlockPos pos, double delta) Constructors in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockStateModifierConstructorDescriptionNoiseThresholdProvider
(long seed, NormalNoise.NoiseParameters parameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates) protected
SimpleStateProvider
(BlockState state) Constructor parameters in net.minecraft.world.level.levelgen.feature.stateproviders with type arguments of type BlockStateModifierConstructorDescriptionDualNoiseProvider
(InclusiveRange<Integer> variety, NormalNoise.NoiseParameters slowNoiseParameters, float slowScale, long seed, NormalNoise.NoiseParameters parameters, float scale, List<BlockState> states) NoiseProvider
(long seed, NormalNoise.NoiseParameters parameters, float scale, List<BlockState> states) NoiseThresholdProvider
(long seed, NormalNoise.NoiseParameters parameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates) WeightedStateProvider
(SimpleWeightedRandomList<BlockState> weightedList) -
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 pos, BlockState state) Constructor parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type BlockStateModifierConstructorDescriptionContext
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> decorationSetter, RandomSource random, Set<BlockPos> logs, Set<BlockPos> leaves, Set<BlockPos> roots) -
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 level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction p_direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) private FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction p_direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) private FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction p_direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) private void
FancyTrunkPlacer.makeBranches
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int maxHeight, BlockPos pos, List<FancyTrunkPlacer.FoliageCoords> foliageCoords, TreeConfiguration config) private boolean
FancyTrunkPlacer.makeLimb
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos basePos, BlockPos offsetPos, boolean modifyWorld, TreeConfiguration config) private void
UpwardsBranchingTrunkPlacer.placeBranch
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, TreeConfiguration treeConfig, List<FoliagePlacer.FoliageAttachment> foliageAttachments, BlockPos.MutableBlockPos pos, int y, Direction direction, int extraBranchLength, int extraBranchSteps) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter) protected void
TrunkPlacer.placeLogIfFree
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config) private void
GiantTrunkPlacer.placeLogIfFreeWithOffset
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos.MutableBlockPos pos, TreeConfiguration config, BlockPos offsetPos, int offsetX, int offsetY, int offsetZ) BendingTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) CherryTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) DarkOakTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) FancyTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) ForkingTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) GiantTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) MegaJungleTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) StraightTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) abstract List
<FoliagePlacer.FoliageAttachment> TrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) UpwardsBranchingTrunkPlacer.placeTrunk
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config) protected static void
TrunkPlacer.setDirtAt
(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, BlockPos pos, TreeConfiguration config) -
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 chunk, int x, int y, int z) 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 state) 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 level, int x, int y, int z, BoundingBox box) StructurePiece.BlockSelector.getNext()
static BlockState
StructurePiece.reorient
(BlockGetter level, BlockPos pos, BlockState state) Methods in net.minecraft.world.level.levelgen.structure with parameters of type BlockStateModifier and TypeMethodDescriptionprotected boolean
StructurePiece.createChest
(ServerLevelAccessor level, BoundingBox box, RandomSource random, BlockPos pos, ResourceKey<LootTable> lootTable, BlockState state) protected void
StructurePiece.fillColumnDown
(WorldGenLevel level, BlockState state, int x, int y, int z, BoundingBox box) protected void
StructurePiece.generateBox
(WorldGenLevel level, BoundingBox box, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, BlockState boundaryBlockState, BlockState insideBlockState, boolean existingOnly) Fill the given area with the selected blocksprotected void
StructurePiece.generateBox
(WorldGenLevel level, BoundingBox boundingBox, BoundingBox box, BlockState boundaryBlockState, BlockState insideBlockState, boolean existingOnly) protected void
StructurePiece.generateMaybeBox
(WorldGenLevel level, BoundingBox box, RandomSource random, float chance, int x1, int y1, int z1, int x2, int y2, int z2, BlockState edgeState, BlockState state, boolean requireNonAir, boolean requireSkylight) protected void
StructurePiece.generateUpperHalfSphere
(WorldGenLevel level, BoundingBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState state, boolean excludeAir) protected boolean
StructurePiece.isReplaceableByStructures
(BlockState state) protected void
StructurePiece.maybeGenerateBlock
(WorldGenLevel level, BoundingBox box, RandomSource random, float chance, int x, int y, int z, BlockState state) protected void
StructurePiece.placeBlock
(WorldGenLevel level, BlockState blockstate, int x, int y, int z, BoundingBox boundingbox) static BlockState
StructurePiece.reorient
(BlockGetter level, BlockPos pos, BlockState state) -
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 level, BlockPos pos, BlockState state) private boolean
MineshaftPieces.MineShaftCorridor.canPlaceColumnOnTopOf
(LevelReader level, BlockPos pos, BlockState state) private static void
MineshaftPieces.MineShaftCorridor.fillColumnBetween
(WorldGenLevel level, BlockState state, BlockPos.MutableBlockPos pos, int minY, int maxY) protected void
MineshaftPieces.MineShaftCorridor.fillColumnDown
(WorldGenLevel level, BlockState state, int x, int y, int z, BoundingBox box) protected void
MineshaftPieces.MineShaftCorridor.fillPillarDownOrChainUp
(WorldGenLevel level, BlockState state, int x, int y, int z, BoundingBox box) protected void
OceanMonumentPieces.OceanMonumentPiece.generateBoxOnFillOnly
(WorldGenLevel level, BoundingBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState state) private boolean
BuriedTreasurePieces.BuriedTreasurePiece.isLiquid
(BlockState state) protected void
MineshaftPieces.MineShaftPiece.setPlanksBlock
(WorldGenLevel level, BoundingBox box, BlockState plankState, int x, int y, int z) -
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 random, BlockState[] states) private BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource random, BlockState[] normalStates, BlockState[] mossyStates) private static BlockState
BlockAgeProcessor.getRandomFacingStairs
(RandomSource random, Block stairsBlock) private BlockState
BlockAgeProcessor.maybeReplaceFullStoneBlock
(RandomSource random) private BlockState
BlockAgeProcessor.maybeReplaceObsidian
(RandomSource random) private BlockState
BlockAgeProcessor.maybeReplaceSlab
(RandomSource random) private BlockState
BlockAgeProcessor.maybeReplaceStairs
(RandomSource random, BlockState state) private BlockState
BlockAgeProcessor.maybeReplaceWall
(RandomSource random) StructureTemplate.StructureBlockInfo.state()
Returns the value of thestate
record component.StructureTemplate.SimplePalette.stateFor
(int id) 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 state, int id) private static BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource random, BlockState[] states) private BlockState
BlockAgeProcessor.getRandomBlock
(RandomSource random, BlockState[] normalStates, BlockState[] mossyStates) int
StructureTemplate.SimplePalette.idFor
(BlockState state) private BlockState
BlockAgeProcessor.maybeReplaceStairs
(RandomSource random, BlockState state) boolean
AlwaysTrueTest.test
(BlockState p_230248_, RandomSource p_230249_) boolean
BlockMatchTest.test
(BlockState state, RandomSource random) boolean
BlockStateMatchTest.test
(BlockState state, RandomSource random) boolean
ProcessorRule.test
(BlockState inputState, BlockState existingState, BlockPos localPos, BlockPos relativePos, BlockPos structurePos, RandomSource random) boolean
RandomBlockMatchTest.test
(BlockState state, RandomSource random) boolean
RandomBlockStateMatchTest.test
(BlockState state, RandomSource random) abstract boolean
RuleTest.test
(BlockState state, RandomSource random) boolean
TagMatchTest.test
(BlockState state, RandomSource random) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type BlockStateModifierConstructorDescriptionBlockStateMatchTest
(BlockState blockState) ProcessorRule
(RuleTest inputPredicate, RuleTest locPredicate, BlockState outputState) ProcessorRule
(RuleTest inputPredicate, RuleTest locPredicate, PosRuleTest posPredicate, BlockState outputState) ProcessorRule
(RuleTest inputPredicate, RuleTest locPredicate, PosRuleTest posPredicate, BlockState outputState, RuleBlockEntityModifier blockEntityModifier) RandomBlockStateMatchTest
(BlockState blockState, float probability) 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 level, BlockPos pos, BlockState state) private int
BlockLightEngine.getEmission
(long packedPos, BlockState state) static int
LightEngine.getLightBlockInto
(BlockGetter level, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int defaultReturnValue) protected VoxelShape
LightEngine.getOcclusionShape
(BlockState state, long pos, Direction direction) static VoxelShape
LightEngine.getOcclusionShape
(BlockGetter level, BlockPos pos, BlockState state, Direction direction) protected int
LightEngine.getOpacity
(BlockState state, BlockPos pos) static boolean
LightEngine.hasDifferentLightProperties
(BlockGetter level, BlockPos pos, BlockState state1, BlockState state2) private static boolean
ChunkSkyLightSources.isEdgeOccluded
(BlockGetter level, BlockPos pos1, BlockState state1, BlockPos pos2, BlockState state2) protected static boolean
LightEngine.isEmptyShape
(BlockState state) protected boolean
LightEngine.shapeOccludes
(long packedPos1, BlockState state1, long packedPos2, BlockState state2, Direction direction) private boolean
ChunkSkyLightSources.updateEdge
(BlockGetter level, int index, int minY, BlockPos pos1, BlockState state1, BlockPos pos2, BlockState state2) -
Uses of BlockState in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
EmptyFluid.createLegacyBlock
(FluidState state) protected abstract BlockState
Fluid.createLegacyBlock
(FluidState state) FluidState.createLegacyBlock()
LavaFluid.createLegacyBlock
(FluidState state) WaterFluid.createLegacyBlock
(FluidState state) Methods in net.minecraft.world.level.material with parameters of type BlockStateModifier and TypeMethodDescriptionprotected abstract void
FlowingFluid.beforeDestroyingBlock
(LevelAccessor level, BlockPos pos, BlockState state) protected void
LavaFluid.beforeDestroyingBlock
(LevelAccessor level, BlockPos pos, BlockState state) protected void
WaterFluid.beforeDestroyingBlock
(LevelAccessor level, BlockPos pos, BlockState state) private boolean
FlowingFluid.canHoldFluid
(BlockGetter level, BlockPos pos, BlockState state, Fluid fluid) private boolean
FlowingFluid.canPassThrough
(BlockGetter level, Fluid fluid, BlockPos pos, BlockState state, Direction direction, BlockPos spreadPos, BlockState spreadState, FluidState fluidState) private boolean
FlowingFluid.canPassThroughWall
(Direction direction, BlockGetter level, BlockPos pos, BlockState state, BlockPos spreadPos, BlockState spreadState) protected boolean
FlowingFluid.canSpreadTo
(BlockGetter level, BlockPos fromPos, BlockState fromBlockState, Direction direction, BlockPos toPos, BlockState toBlockState, FluidState toFluidState, Fluid fluid) protected FluidState
FlowingFluid.getNewLiquid
(Level level, BlockPos pos, BlockState blockState) protected int
FlowingFluid.getSlopeDistance
(LevelReader level, BlockPos spreadPos, int distance, Direction p_direction, BlockState currentSpreadState, BlockPos sourcePos, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, it.unimi.dsi.fastutil.shorts.Short2BooleanMap waterHoleCache) protected Map
<Direction, FluidState> FlowingFluid.getSpread
(Level level, BlockPos pos, BlockState state) private boolean
FlowingFluid.isWaterHole
(BlockGetter level, Fluid fluid, BlockPos pos, BlockState state, BlockPos spreadPos, BlockState spreadState) protected void
FlowingFluid.spreadTo
(LevelAccessor level, BlockPos pos, BlockState blockState, Direction direction, FluidState fluidState) protected void
LavaFluid.spreadTo
(LevelAccessor level, BlockPos pos, BlockState blockState, Direction direction, FluidState fluidState) private void
FlowingFluid.spreadToSides
(Level level, BlockPos pos, FluidState fluidState, BlockState blockState) Method parameters in net.minecraft.world.level.material with type arguments of type BlockStateModifier and TypeMethodDescriptionprotected int
FlowingFluid.getSlopeDistance
(LevelReader level, BlockPos spreadPos, int distance, Direction p_direction, BlockState currentSpreadState, BlockPos sourcePos, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, it.unimi.dsi.fastutil.shorts.Short2BooleanMap waterHoleCache) -
Uses of BlockState in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder that return BlockStateMethods in net.minecraft.world.level.pathfinder with parameters of type BlockState -
Uses of BlockState in net.minecraft.world.level.portal
Methods in net.minecraft.world.level.portal with parameters of type BlockState -
Uses of BlockState in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
CollectingNeighborUpdater.FullNeighborUpdate.state
The field for thestate
record component.private final BlockState
CollectingNeighborUpdater.ShapeUpdate.state
The field for thestate
record component.Methods in net.minecraft.world.level.redstone that return BlockStateModifier and TypeMethodDescriptionCollectingNeighborUpdater.FullNeighborUpdate.state()
Returns the value of thestate
record component.CollectingNeighborUpdater.ShapeUpdate.state()
Returns the value of thestate
record component.Methods in net.minecraft.world.level.redstone with parameters of type BlockStateModifier and TypeMethodDescriptionstatic void
NeighborUpdater.executeShapeUpdate
(LevelAccessor level, Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) static void
NeighborUpdater.executeUpdate
(Level level, BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) void
CollectingNeighborUpdater.neighborChanged
(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) void
InstantNeighborUpdater.neighborChanged
(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) void
NeighborUpdater.neighborChanged
(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) void
CollectingNeighborUpdater.shapeUpdate
(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) void
InstantNeighborUpdater.shapeUpdate
(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) void
NeighborUpdater.shapeUpdate
(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) Constructors in net.minecraft.world.level.redstone with parameters of type BlockStateModifierConstructorDescription(package private)
FullNeighborUpdate
(BlockState state, BlockPos pos, Block block, BlockPos neighborPos, boolean movedByPiston) Creates an instance of aFullNeighborUpdate
record class.(package private)
ShapeUpdate
(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdate
record class. -
Uses of BlockState in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters with type parameters of type BlockStateModifier and TypeFieldDescriptionstatic final LootContextParam
<BlockState> LootContextParams.BLOCK_STATE
-
Uses of BlockState in net.neoforged.neoforge.capabilities
Methods in net.neoforged.neoforge.capabilities with parameters of type BlockStateModifier and TypeMethodDescriptionBlockCapability.getCapability
(Level level, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) IBlockCapabilityProvider.getCapability
(Level level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, C context) Returns the capability, ornull
if not available. -
Uses of BlockState in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
ClientHooks.calculateFaceWithoutAO
(BlockAndTintGetter getter, BlockState state, BlockPos pos, BakedQuad quad, boolean isFaceCubic, float[] brightness, int[] lightmap) static boolean
ClientHooks.isBlockInSolidLayer
(BlockState state) static boolean
ClientHooks.renderBlockOverlay
(Player player, PoseStack mat, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos pos) static void
ClientHooks.renderPistonMovedBlocks
(BlockPos pos, BlockState state, PoseStack stack, MultiBufferSource bufferSource, Level level, boolean checkSides, int packedOverlay, BlockRenderDispatcher blockRenderer) -
Uses of BlockState in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
RenderBlockScreenEffectEvent.blockState
Methods in net.neoforged.neoforge.client.event that return BlockStateModifier and TypeMethodDescriptionRenderBlockScreenEffectEvent.getBlockState()
Returns the block which the overlay is gotten from.Constructors in net.neoforged.neoforge.client.event with parameters of type BlockStateModifierConstructorDescriptionRenderBlockScreenEffectEvent
(Player player, PoseStack poseStack, RenderBlockScreenEffectEvent.OverlayType type, BlockState block, BlockPos blockPos) -
Uses of BlockState in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type BlockStateModifier and TypeMethodDescriptiondefault ModelData
IBakedModelExtension.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) IBakedModelExtension.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) A nullRenderType
is used for the breaking overlay as well as non-standard rendering, so models should return all their quads.default ChunkRenderTypeSet
IBakedModelExtension.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) Gets the set ofrender types
to use when drawing this block in the level.default TriState
IBakedModelExtension.useAmbientOcclusion
(BlockState state, ModelData data, RenderType renderType) Controls the AO behavior for all quads of this model. -
Uses of BlockState in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type BlockStateModifier and TypeMethodDescriptiondefault boolean
IClientBlockExtensions.addDestroyEffects
(BlockState state, Level Level, BlockPos pos, ParticleEngine manager) Spawn particles for when the block is destroyed.default boolean
IClientBlockExtensions.addHitEffects
(BlockState state, Level level, HitResult target, ParticleEngine manager) Spawn a digging particle effect in the level, this is a wrapper around EffectRenderer.addBlockHitEffects to allow the block more control over the particles.default boolean
IClientBlockExtensions.areBreakingParticlesTinted
(BlockState state, ClientLevel level, BlockPos pos) Returns true if the breaking particles created from theBlockState
passed should be tinted with biome colors.default org.joml.Vector3d
IClientBlockExtensions.getFogColor
(BlockState state, LevelReader level, BlockPos pos, Entity entity, org.joml.Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTEDstatic IClientBlockExtensions
IClientBlockExtensions.of
(BlockState state) default boolean
IClientBlockExtensions.playBreakSound
(BlockState state, Level level, BlockPos pos) Play breaking sound(s) when the block is destroyed.default boolean
IClientFluidTypeExtensions.renderFluid
(FluidState fluidState, BlockAndTintGetter getter, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState) Called to allow rendering custom quads for a fluid during chunk meshing. -
Uses of BlockState in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type BlockStateModifier and TypeMethodDescriptionBakedModelWrapper.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) CompositeModel.Baked.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData modelData) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) CompositeModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) BakedModelWrapper.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) CompositeModel.Baked.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) SeparateTransformsModel.Baked.getRenderTypes
(BlockState state, RandomSource rand, ModelData data) BakedModelWrapper.useAmbientOcclusion
(BlockState state, ModelData data, RenderType renderType) -
Uses of BlockState in net.neoforged.neoforge.client.model.data
Methods in net.neoforged.neoforge.client.model.data with parameters of type BlockStateModifier and TypeMethodDescriptionstatic ModelData
MultipartModelData.create
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> selectors, BitSet bitset, BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData tileModelData) Method parameters in net.neoforged.neoforge.client.model.data with type arguments of type BlockStateModifier and TypeMethodDescriptionstatic ModelData
MultipartModelData.create
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> selectors, BitSet bitset, BlockAndTintGetter level, BlockPos pos, BlockState state, ModelData tileModelData) -
Uses of BlockState in net.neoforged.neoforge.client.model.generators
Fields in net.neoforged.neoforge.client.model.generators with type parameters of type BlockStateModifier and TypeFieldDescriptionprivate final Set
<BlockState> VariantBlockStateBuilder.coveredStates
Methods in net.neoforged.neoforge.client.model.generators with parameters of type BlockStateModifier and TypeMethodDescriptionboolean
VariantBlockStateBuilder.PartialBlockstate.test
(BlockState blockState) Method parameters in net.neoforged.neoforge.client.model.generators with type arguments of type BlockStateModifier and TypeMethodDescriptionvoid
BlockStateProvider.directionalBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.directionalBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) VariantBlockStateBuilder.forAllStates
(Function<BlockState, ConfiguredModel[]> mapper) VariantBlockStateBuilder.forAllStatesExcept
(Function<BlockState, ConfiguredModel[]> mapper, Property<?>... ignored) void
BlockStateProvider.horizontalBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.horizontalBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) void
BlockStateProvider.horizontalFaceBlock
(Block block, Function<BlockState, ModelFile> modelFunc) void
BlockStateProvider.horizontalFaceBlock
(Block block, Function<BlockState, ModelFile> modelFunc, int angleOffset) -
Uses of BlockState in net.neoforged.neoforge.client.model.lighting
Fields in net.neoforged.neoforge.client.model.lighting declared as BlockStateMethods in net.neoforged.neoforge.client.model.lighting with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
FlatQuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos pos, BlockState state) protected abstract void
QuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos pos, BlockState state) protected void
SmoothQuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos origin, BlockState state) static boolean
LightPipelineAwareModelBlockRenderer.render
(VertexConsumer vertexConsumer, QuadLighter lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) final void
QuadLighter.setup
(BlockAndTintGetter level, BlockPos pos, BlockState state) Set up this lighter to light quads of the given block.void
LightPipelineAwareModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
LightPipelineAwareModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) -
Uses of BlockState in net.neoforged.neoforge.client.model.renderable
Fields in net.neoforged.neoforge.client.model.renderable declared as BlockStateModifier and TypeFieldDescriptionprivate final @Nullable BlockState
BakedModelRenderable.Context.state
The field for thestate
record component.Methods in net.neoforged.neoforge.client.model.renderable that return BlockStateModifier and TypeMethodDescription@Nullable BlockState
BakedModelRenderable.Context.state()
Returns the value of thestate
record component.Constructors in net.neoforged.neoforge.client.model.renderable with parameters of type BlockStateModifierConstructorDescriptionContext
(@Nullable BlockState state, Direction[] faces, RandomSource randomSource, long seed, ModelData data, org.joml.Vector4f tint) Creates an instance of aContext
record class. -
Uses of BlockState in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
CommonHooks.canCropGrow
(Level level, BlockPos pos, BlockState state, boolean def) Checks if a crop can grow by firingCropGrowEvent.Pre
.static BlockEvent.BreakEvent
CommonHooks.fireBlockBreak
(Level level, GameType gameType, ServerPlayer player, BlockPos pos, BlockState state) FiresBlockEvent.BreakEvent
, pre-emptively canceling the event based on the conditions that will cause the block to not be broken anyway.static void
CommonHooks.fireCropGrowPost
(Level level, BlockPos pos, BlockState state) static void
CommonHooks.handleBlockDrops
(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Fires theBlockDropsEvent
when block drops (items and experience) are determined.CommonHooks.isLivingOnLadder
(BlockState state, Level level, BlockPos pos, LivingEntity entity) static boolean
CommonHooks.onFarmlandTrample
(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) static int
CommonHooks.onNoteChange
(Level level, BlockPos pos, BlockState state, int old, int _new) -
Uses of BlockState in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return BlockStateModifier and TypeMethodDescriptiondefault BlockState
IBlockExtension.getAppearance
(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this block reports to look like on the given side, for querying by other mods.default BlockState
IBlockStateExtension.getAppearance
(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this state reports to look like on the given side for querying by other mods.default BlockState
IBlockExtension.getStateAtViewpoint
(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default BlockState
IBlockStateExtension.getStateAtViewpoint
(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default @Nullable BlockState
IBlockExtension.getToolModifiedState
(BlockState state, UseOnContext context, ItemAbility itemAbility, boolean simulate) Returns the state that this block should transform into when right-clicked by a tool.default @Nullable BlockState
IBlockStateExtension.getToolModifiedState
(UseOnContext context, ItemAbility itemAbility, boolean simulate) Returns the state that this block should transform into when right-clicked by a tool.default BlockState
IBlockExtension.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockState
IBlockStateExtension.rotate
(LevelAccessor level, BlockPos pos, Rotation direction) private BlockState
IBlockStateExtension.self()
Methods in net.neoforged.neoforge.common.extensions with parameters of type BlockStateModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.addLandingEffects
(BlockState state1, ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IBlockStateExtension.addLandingEffects
(ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IBlockExtension.addRunningEffects
(BlockState state, Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default boolean
IBlockExtension.canBeHydrated
(BlockState state, BlockGetter getter, BlockPos pos, FluidState fluid, BlockPos fluidPos) Returns whether the block can be hydrated by a fluid.default boolean
IBlockExtension.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault boolean
IBlockExtension.canDropFromExplosion
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default boolean
IBlockExtension.canEntityDestroy
(BlockState state, BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IBlockExtension.canHarvestBlock
(BlockState state, BlockGetter level, BlockPos pos, Player player) Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.default boolean
IFluidExtension.canHydrate
(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default boolean
IFluidStateExtension.canHydrate
(BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.default boolean
IBaseRailBlockExtension.canMakeSlopes
(BlockState state, BlockGetter level, BlockPos pos) Returns true if the rail can make up and down slopes.default boolean
IBlockExtension.canStickTo
(BlockState state, BlockState other) Determines if this block can stick to another block when pushed by a piston.default boolean
IBlockStateExtension.canStickTo
(BlockState other) Determines if this block can stick to another block when pushed by a piston.default TriState
IBlockExtension.canSustainPlant
(BlockState state, BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default TriState
IBlockStateExtension.canSustainPlant
(BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.boolean
IEntityExtension.canTrample
(BlockState state, BlockPos pos, float fallDistance) default boolean
IBlockExtension.collisionExtendsVertically
(BlockState state, BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default @Nullable PathType
IBlockExtension.getAdjacentBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob, PathType originalType) Gets the path type of the adjacent block to a pathfinding entity.default BlockState
IBlockExtension.getAppearance
(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this block reports to look like on the given side, for querying by other mods.default BlockState
IBlockStateExtension.getAppearance
(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this state reports to look like on the given side for querying by other mods.default @Nullable Integer
IBlockExtension.getBeaconColorMultiplier
(BlockState state, LevelReader level, BlockPos pos, BlockPos beaconPos) default Direction
IBlockExtension.getBedDirection
(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default @Nullable PathType
IBlockExtension.getBlockPathType
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Mob mob) Gets the path type of this block when an entity is pathfinding.default BubbleColumnDirection
IBlockExtension.getBubbleColumnDirection
(BlockState state) Determines if this block can spawn Bubble Columns and if so, what direction the column flows.default <T,
C extends @Nullable Object>
TILevelExtension.getCapability
(BlockCapability<T, C> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity, C context) Retrieve a block capability.default <T> T
ILevelExtension.getCapability
(BlockCapability<T, @Nullable Void> cap, BlockPos pos, @Nullable BlockState state, @Nullable BlockEntity blockEntity) Retrieve a block capability with no context.default ItemStack
IBlockExtension.getCloneItemStack
(BlockState state, HitResult target, LevelReader level, BlockPos pos, Player player) Called when A user uses the creative pick block button on this blockdefault float
IBlockExtension.getEnchantPowerBonus
(BlockState state, LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default int
IBlockExtension.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default float
IBlockExtension.getExplosionResistance
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault int
IBlockExtension.getFireSpreadSpeed
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default int
IBlockExtension.getFlammability
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Chance that fire will spread and consume this block.default float
IBlockExtension.getFriction
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default int
IBlockExtension.getLightEmission
(BlockState state, BlockGetter level, BlockPos pos) Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15default MapColor
IBlockExtension.getMapColor
(BlockState state, BlockGetter level, BlockPos pos, MapColor defaultColor) Returns theMapColor
shown on the map.default Optional
<SoundEvent> IBucketPickupExtension.getPickupSound
(BlockState state) State sensitive variant ofBucketPickup.getPickupSound()
.default @Nullable PushReaction
IBlockExtension.getPistonPushReaction
(BlockState state) Returns the reaction of the block when pushed or pulled by a piston.IBaseRailBlockExtension.getRailDirection
(BlockState state, BlockGetter level, BlockPos pos, @Nullable AbstractMinecart cart) Return the rail's direction.default float
IBaseRailBlockExtension.getRailMaxSpeed
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) Returns the max speed of the rail at the specified position.default Optional
<ServerPlayer.RespawnPosAngle> IBlockExtension.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation) Returns the position that the entity is moved to upon respawning at this block.default SoundType
IBlockExtension.getSoundType
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault BlockState
IBlockExtension.getStateAtViewpoint
(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default @Nullable BlockState
IBlockExtension.getToolModifiedState
(BlockState state, UseOnContext context, ItemAbility itemAbility, boolean simulate) Returns the state that this block should transform into when right-clicked by a tool.default boolean
IBlockExtension.getWeakChanges
(BlockState state, LevelReader level, BlockPos pos) If this block should be notified of weak changes.default boolean
IBlockExtension.hasDynamicLightEmission
(BlockState state) Whether this block has dynamic light emission which is not solely based on theBlockState
and instead uses theBlockPos
, theAuxiliaryLightManager
or another external data source to determine its light value inIBlockExtension.getLightEmission(BlockState, BlockGetter, BlockPos)
default boolean
IBlockExtension.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IBlockStateExtension.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IBlockExtension.isBed
(BlockState state, BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlock
checks.default boolean
IBlockExtension.isBurning
(BlockState state, BlockGetter level, BlockPos pos) Determines if this block should set fire and deal fire damage to entities coming into contact with it.default boolean
IBlockExtension.isConduitFrame
(BlockState state, LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IBlockExtension.isEmpty
(BlockState state) Return true if the state is able to be replaced with Blocks.AIR in chunk sections that is entirely made of blocks that return true for isEmptydefault boolean
IBlockExtension.isFertile
(BlockState state, BlockGetter level, BlockPos pos) Checks if this soil is fertile, typically this means that growth rates of plants on this soil will be slightly sped up.default boolean
IBlockExtension.isFireSource
(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default boolean
IBlockExtension.isFlammable
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.boolean
IBaseRailBlockExtension.isFlexibleRail
(BlockState state, BlockGetter level, BlockPos pos) Return true if the rail can make corners.default boolean
IBlockExtension.isLadder
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IBlockExtension.isPortalFrame
(BlockState state, BlockGetter level, BlockPos pos) Determines if this block can be used as part of a frame of a nether portal.default boolean
IBlockExtension.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IBlockExtension.isSlimeBlock
(BlockState state) default boolean
IBlockExtension.isStickyBlock
(BlockState state) default boolean
IBlockExtension.makesOpenTrapdoorAboveClimbable
(BlockState state, LevelReader level, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default void
IBlockExtension.onBlockExploded
(BlockState state, Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IBlockExtension.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState, BlockState newState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IBlockStateExtension.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IBlockExtension.onCaughtFire
(BlockState state, Level level, BlockPos pos, @Nullable Direction direction, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IBlockExtension.onDestroyedByPlayer
(BlockState state, Level level, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) Called when a player removes a block.default void
IBlockExtension.onDestroyedByPushReaction
(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY
.default void
IBaseRailBlockExtension.onMinecartPass
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) This function is called by any minecart that passes over this rail.default void
IBlockExtension.onNeighborChange
(BlockState state, LevelReader level, BlockPos pos, BlockPos neighbor) Called when a block entity on a side of this block changes, is created, or is destroyed.default boolean
IBlockExtension.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default BlockState
IBlockExtension.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default void
IBlockExtension.setBedOccupied
(BlockState state, Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default boolean
IBlockExtension.shouldCheckWeakPower
(BlockState state, SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default boolean
IBlockExtension.shouldDisplayFluidOverlay
(BlockState state, BlockAndTintGetter level, BlockPos pos, FluidState fluidState) Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.default boolean
IBlockExtension.shouldHideAdjacentFluidFace
(BlockState state, Direction selfFace, FluidState adjacentFluid) Determines if a fluid adjacent to the block on the given side should not be rendered.default boolean
IBlockExtension.supportsExternalFaceHiding
(BlockState state) Whether this block allows a neighboring block to hide the face of this block it touches.Method parameters in net.neoforged.neoforge.common.extensions with type arguments of type BlockStateModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default boolean
IBlockStateExtension.onTreeGrow
(LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer. -
Uses of BlockState in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as BlockStateMethods in net.neoforged.neoforge.common.util that return BlockStateModifier and TypeMethodDescriptionBlockSnapshot.getCurrentState()
Returns the current (live) block state at the recorded position, not the snapshot's recorded state.BlockSnapshot.getState()
Returns the snapshot's recorded block state.Constructors in net.neoforged.neoforge.common.util with parameters of type BlockStateModifierConstructorDescriptionprivate
BlockSnapshot
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of BlockState in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event that return BlockStateModifier and TypeMethodDescriptionstatic BlockState
EventHooks.fireFluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) static @Nullable BlockState
EventHooks.onToolUse
(BlockState originalState, UseOnContext context, ItemAbility itemAbility, boolean simulate) Methods in net.neoforged.neoforge.event with parameters of type BlockStateModifier and TypeMethodDescriptionstatic boolean
EventHooks.canCreateFluidSource
(Level level, BlockPos pos, BlockState state) Checks if a fluid is allowed to create a fluid source.static boolean
EventHooks.doPlayerHarvestCheck
(Player player, BlockState state, BlockGetter level, BlockPos pos) static BonemealEvent
EventHooks.fireBonemealEvent
(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) Called when bone meal (or equivalent) is used on a block.static BlockState
EventHooks.fireFluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) static float
EventHooks.getBreakSpeed
(Player player, BlockState state, float original, BlockPos pos) static boolean
EventHooks.onEntityDestroyBlock
(LivingEntity entity, BlockPos pos, BlockState state) EventHooks.onNeighborNotify
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) static @Nullable BlockState
EventHooks.onToolUse
(BlockState originalState, UseOnContext context, ItemAbility itemAbility, boolean simulate) -
Uses of BlockState in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as BlockStateMethods in net.neoforged.neoforge.event.entity.living that return BlockStateConstructors in net.neoforged.neoforge.event.entity.living with parameters of type BlockStateModifierConstructorDescriptionLivingDestroyBlockEvent
(LivingEntity entity, BlockPos pos, BlockState state) -
Uses of BlockState in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as BlockStateModifier and TypeFieldDescriptionprivate final BlockState
BonemealEvent.state
private final BlockState
CanPlayerSleepEvent.state
private final BlockState
PlayerEvent.BreakSpeed.state
private final BlockState
PlayerEvent.HarvestCheck.state
Methods in net.neoforged.neoforge.event.entity.player that return BlockStateModifier and TypeMethodDescriptionBonemealEvent.getState()
Returns the state of the bone mealed block.CanPlayerSleepEvent.getState()
PlayerEvent.BreakSpeed.getState()
PlayerEvent.HarvestCheck.getTargetBlock()
Constructors in net.neoforged.neoforge.event.entity.player with parameters of type BlockStateModifierConstructorDescriptionBonemealEvent
(@Nullable Player player, Level level, BlockPos pos, BlockState state, ItemStack stack) BreakSpeed
(Player player, BlockState state, float original, @Nullable BlockPos pos) HarvestCheck
(Player player, BlockState state, BlockGetter level, BlockPos pos, boolean success) -
Uses of BlockState in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as BlockStateModifier and TypeFieldDescriptionprivate BlockState
BlockEvent.FluidPlaceBlockEvent.newState
private BlockState
BlockEvent.FluidPlaceBlockEvent.origState
private final BlockState
BlockEvent.EntityPlaceEvent.placedAgainst
private final BlockState
BlockEvent.EntityPlaceEvent.placedBlock
private BlockState
BlockEvent.BlockToolModificationEvent.state
private final BlockState
BlockEvent.state
Methods in net.neoforged.neoforge.event.level that return BlockStateModifier and TypeMethodDescriptionBlockEvent.BlockToolModificationEvent.getFinalState()
Returns the state to transform the block into after item ability use.BlockEvent.FluidPlaceBlockEvent.getNewState()
BlockEvent.FluidPlaceBlockEvent.getOriginalState()
BlockEvent.EntityPlaceEvent.getPlacedAgainst()
BlockEvent.EntityPlaceEvent.getPlacedBlock()
AlterGroundEvent.StateProvider.getState
(RandomSource random, BlockPos state) Gets the BlockState that will be placed at the passed position.BlockEvent.getState()
Methods in net.neoforged.neoforge.event.level with parameters of type BlockStateModifier and TypeMethodDescriptionvoid
BlockEvent.BlockToolModificationEvent.setFinalState
(@Nullable BlockState finalState) Sets the state to transform the block into after tool use.void
BlockEvent.FluidPlaceBlockEvent.setNewState
(BlockState state) Constructors in net.neoforged.neoforge.event.level with parameters of type BlockStateModifierConstructorDescriptionBlockDropsEvent
(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Constructs a new BlockDropsEventBlockEvent
(LevelAccessor level, BlockPos pos, BlockState state) BlockToolModificationEvent
(BlockState originalState, UseOnContext context, ItemAbility itemAbility, boolean simulate) BreakEvent
(Level level, BlockPos pos, BlockState state, Player player) Change
(Level world, BlockPos pos, BlockState state, int oldNote, int newNote) EntityMultiPlaceEvent
(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, @Nullable Entity entity) EntityPlaceEvent
(BlockSnapshot blockSnapshot, BlockState placedAgainst, @Nullable Entity entity) FarmlandTrampleEvent
(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) FluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) NeighborNotifyEvent
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) protected
NoteBlockEvent
(Level world, BlockPos pos, BlockState state, int note) Play
(Level world, BlockPos pos, BlockState state, int note, NoteBlockInstrument instrument) PortalSpawnEvent
(LevelAccessor level, BlockPos pos, BlockState state, PortalShape size) -
Uses of BlockState in net.neoforged.neoforge.event.level.block
Fields in net.neoforged.neoforge.event.level.block declared as BlockStateMethods in net.neoforged.neoforge.event.level.block that return BlockStateModifier and TypeMethodDescriptionCropGrowEvent.Post.getOriginalState()
Returns the original state of the crop before growing.CropGrowEvent.Post.getState()
Returns the new state of the crop after growing.Constructors in net.neoforged.neoforge.event.level.block with parameters of type BlockStateModifierConstructorDescriptionCreateFluidSourceEvent
(Level level, BlockPos pos, BlockState state) CropGrowEvent
(Level level, BlockPos pos, BlockState state) Post
(Level level, BlockPos pos, BlockState original, BlockState state) Pre
(Level level, BlockPos pos, BlockState state) -
Uses of BlockState in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids that return BlockStateModifier and TypeMethodDescriptionprotected BlockState
BaseFlowingFluid.createLegacyBlock
(FluidState state) FluidType.getBlockForFluidState
(BlockAndTintGetter getter, BlockPos pos, FluidState state) Returns the associatedBlockState
for aFluidState
.Methods in net.neoforged.neoforge.fluids with parameters of type BlockStateModifier and TypeMethodDescriptionprotected void
BaseFlowingFluid.beforeDestroyingBlock
(LevelAccessor worldIn, BlockPos pos, BlockState state) boolean
FluidType.canHydrate
(FluidState state, BlockGetter getter, BlockPos pos, BlockState source, BlockPos sourcePos) Returns whether the block can be hydrated by a fluid.int
CauldronFluidContent.currentLevel
(BlockState state) Return the current level of the cauldron given its block state, or 0 if it's an empty cauldron.Constructors in net.neoforged.neoforge.fluids with parameters of type BlockStateModifierConstructorDescriptionInteractionInformation
(FluidInteractionRegistry.HasFluidInteraction predicate, BlockState state) Constructor which transforms the source state into a block.InteractionInformation
(FluidType type, BlockState state) Constructor which checks the surroundings fluids for a specific type and then transforms the source state into a block.Constructor parameters in net.neoforged.neoforge.fluids with type arguments of type BlockStateModifierConstructorDescriptionInteractionInformation
(FluidInteractionRegistry.HasFluidInteraction predicate, Function<FluidState, BlockState> getState) Constructor which transforms the source state into a block.InteractionInformation
(FluidType type, Function<FluidState, BlockState> getState) Constructor which checks the surroundings fluids for a specific type and then transforms the source state into a block. -
Uses of BlockState in net.neoforged.neoforge.fluids.capability.wrappers
Fields in net.neoforged.neoforge.fluids.capability.wrappers declared as BlockStateMethods in net.neoforged.neoforge.fluids.capability.wrappers with parameters of type BlockStateModifier and TypeMethodDescriptionprivate FluidStack
CauldronWrapper.drain
(BlockState state, int maxDrain, IFluidHandler.FluidAction action) private CauldronFluidContent
CauldronWrapper.getContent
(BlockState state) Constructors in net.neoforged.neoforge.fluids.capability.wrappers with parameters of type BlockState -
Uses of BlockState in net.neoforged.neoforge.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()
invalid @link