Uses of Class
net.minecraft.block.BlockState
Package
Description
Provides the cauldron behavior system,
which determines what happens when a player interacts with a cauldron.
The basic AI system for Minecraft living entities.
The Named Binary Tag (NBT) data format.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of BlockState in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionboolean
EnterBlockCriterion.Conditions.matches
(BlockState state) boolean
BeeNestDestroyedCriterion.Conditions.test
(BlockState state, ItemStack stack, int count) boolean
SlideDownBlockCriterion.Conditions.test
(BlockState state) void
BeeNestDestroyedCriterion.trigger
(ServerPlayerEntity player, BlockState state, ItemStack stack, int beeCount) void
EnterBlockCriterion.trigger
(ServerPlayerEntity player, BlockState state) void
SlideDownBlockCriterion.trigger
(ServerPlayerEntity player, BlockState state) -
Uses of BlockState in net.minecraft.block
Modifier and TypeFieldDescriptionprotected final BlockState
StairsBlock.baseBlockState
private BlockState
Block.defaultState
private final BlockState
RedstoneWireBlock.dotState
private final BlockState
Block.NeighborGroup.other
private final BlockState
Block.NeighborGroup.self
private final BlockState
PointedDripstoneBlock.DrippingFluid.sourceState
The field for thesourceState
record component.private final BlockState
ComposterBlock.ComposterInventory.state
private final BlockState
ComposterBlock.FullComposterInventory.state
private final BlockState
PitcherCropBlock.LowerHalfContext.state
The field for thestate
record component.private BlockState
RailPlacementHelper.state
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockState>
BlockState.CODEC
private final Map<BlockState,
VoxelShape> WallBlock.collisionShapeMap
private static final Map<BlockState,
BlockState> InfestedBlock.INFESTED_TO_REGULAR_STATE
private static final Map<BlockState,
BlockState> InfestedBlock.INFESTED_TO_REGULAR_STATE
private static final Predicate<BlockState>
CarvedPumpkinBlock.IS_GOLEM_HEAD_PREDICATE
(package private) ToIntFunction<BlockState>
AbstractBlock.Settings.luminance
(package private) Function<BlockState,
MapColor> AbstractBlock.Settings.mapColorProvider
private static final Map<BlockState,
BlockState> InfestedBlock.REGULAR_TO_INFESTED_STATE
private static final Map<BlockState,
BlockState> InfestedBlock.REGULAR_TO_INFESTED_STATE
private final Object2IntMap<BlockState>
HorizontalConnectingBlock.SHAPE_INDEX_CACHE
private final Map<BlockState,
VoxelShape> WallBlock.shapeMap
private final Map<BlockState,
VoxelShape> BigDripleafBlock.shapes
private final ImmutableMap<BlockState,
VoxelShape> MultifaceGrowthBlock.SHAPES
private static final Map<BlockState,
VoxelShape> RedstoneWireBlock.SHAPES
private final Map<BlockState,
VoxelShape> FireBlock.shapesByState
private final Map<BlockState,
VoxelShape> VineBlock.shapesByState
static final IdList<BlockState>
Block.STATE_IDS
static final ToIntFunction<BlockState>
CandleBlock.STATE_TO_LUMINANCE
static final ToIntFunction<BlockState>
LightBlock.STATE_TO_LUMINANCE
protected final StateManager<Block,
BlockState> Block.stateManager
Modifier and TypeMethodDescription(package private) static BlockState
ComposterBlock.addToComposter
(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos, ItemStack stack) protected BlockState
AbstractPlantStemBlock.age
(BlockState state, Random random) protected BlockState
CaveVinesHeadBlock.age
(BlockState state, Random random) protected abstract BlockState
AbstractBlock.AbstractBlockState.asBlockState()
protected BlockState
BlockState.asBlockState()
static BlockState
PillarBlock.changeRotation
(BlockState state, BlockRotation rotation) static BlockState
ComposterBlock.compost
(Entity user, BlockState state, ServerWorld world, ItemStack stack, BlockPos pos) private static BlockState
InfestedBlock.copyProperties
(Map<BlockState, BlockState> stateMap, BlockState fromState, Supplier<BlockState> toStateSupplier) private static <T extends Comparable<T>>
BlockStateBlock.copyProperty
(BlockState source, BlockState target, Property<T> property) protected BlockState
AbstractPlantBlock.copyState
(BlockState from, BlockState to) protected BlockState
AbstractPlantStemBlock.copyState
(BlockState from, BlockState to) protected BlockState
CaveVinesBodyBlock.copyState
(BlockState from, BlockState to) protected BlockState
CaveVinesHeadBlock.copyState
(BlockState from, BlockState to) private static BlockState
MultifaceGrowthBlock.disableDirection
(BlockState state, BooleanProperty direction) (package private) static BlockState
ComposterBlock.emptyComposter
(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos) static BlockState
ComposterBlock.emptyFullComposter
(Entity user, BlockState state, World world, BlockPos pos) static BlockState
InfestedBlock.fromRegularState
(BlockState regularState) RailPlacementHelper.getBlockState()
private static BlockState
BubbleColumnBlock.getBubbleState
(BlockState state) static BlockState
CandleCakeBlock.getCandleCakeFromCandle
(Block candle) static BlockState
PropaguleBlock.getDefaultHangingState()
final BlockState
Block.getDefaultState()
private BlockState
RedstoneWireBlock.getDefaultWireState
(BlockView world, BlockState state, BlockPos pos) private BlockState
SculkBlock.getExtraBlockState
(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) private BlockState
VineBlock.getGrownState
(BlockState above, BlockState state, Random random) static BlockState
PropaguleBlock.getHangingState
(int age) static @Nullable BlockState
AnvilBlock.getLandingState
(BlockState fallingState) static BlockState
IceBlock.getMeltedState()
private BlockState
VineBlock.getPlacementShape
(BlockState state, BlockView world, BlockPos pos) AbstractFireBlock.getPlacementState
(ItemPlacementContext ctx) AbstractFurnaceBlock.getPlacementState
(ItemPlacementContext ctx) AbstractPlantPartBlock.getPlacementState
(ItemPlacementContext ctx) AbstractRailBlock.getPlacementState
(ItemPlacementContext ctx) AbstractRedstoneGateBlock.getPlacementState
(ItemPlacementContext ctx) AbstractSkullBlock.getPlacementState
(ItemPlacementContext ctx) AmethystClusterBlock.getPlacementState
(ItemPlacementContext ctx) AnvilBlock.getPlacementState
(ItemPlacementContext ctx) BambooBlock.getPlacementState
(ItemPlacementContext ctx) BannerBlock.getPlacementState
(ItemPlacementContext ctx) BarrelBlock.getPlacementState
(ItemPlacementContext ctx) BarrierBlock.getPlacementState
(ItemPlacementContext ctx) BedBlock.getPlacementState
(ItemPlacementContext ctx) BeehiveBlock.getPlacementState
(ItemPlacementContext ctx) BellBlock.getPlacementState
(ItemPlacementContext ctx) BigDripleafBlock.getPlacementState
(ItemPlacementContext ctx) Block.getPlacementState
(ItemPlacementContext ctx) CalibratedSculkSensorBlock.getPlacementState
(ItemPlacementContext ctx) CampfireBlock.getPlacementState
(ItemPlacementContext ctx) CandleBlock.getPlacementState
(ItemPlacementContext ctx) CarvedPumpkinBlock.getPlacementState
(ItemPlacementContext ctx) ChainBlock.getPlacementState
(ItemPlacementContext ctx) ChestBlock.getPlacementState
(ItemPlacementContext ctx) ChiseledBookshelfBlock.getPlacementState
(ItemPlacementContext ctx) ChorusPlantBlock.getPlacementState
(ItemPlacementContext ctx) CocoaBlock.getPlacementState
(ItemPlacementContext ctx) CommandBlock.getPlacementState
(ItemPlacementContext ctx) ConcretePowderBlock.getPlacementState
(ItemPlacementContext ctx) ConduitBlock.getPlacementState
(ItemPlacementContext ctx) CoralBlockBlock.getPlacementState
(ItemPlacementContext ctx) CoralParentBlock.getPlacementState
(ItemPlacementContext ctx) CrafterBlock.getPlacementState
(ItemPlacementContext ctx) DeadCoralWallFanBlock.getPlacementState
(ItemPlacementContext ctx) DecoratedPotBlock.getPlacementState
(ItemPlacementContext ctx) DirtPathBlock.getPlacementState
(ItemPlacementContext ctx) DispenserBlock.getPlacementState
(ItemPlacementContext ctx) DoorBlock.getPlacementState
(ItemPlacementContext ctx) EnderChestBlock.getPlacementState
(ItemPlacementContext ctx) EndPortalFrameBlock.getPlacementState
(ItemPlacementContext ctx) EndRodBlock.getPlacementState
(ItemPlacementContext ctx) FarmlandBlock.getPlacementState
(ItemPlacementContext ctx) FenceBlock.getPlacementState
(ItemPlacementContext ctx) FenceGateBlock.getPlacementState
(ItemPlacementContext ctx) FireBlock.getPlacementState
(ItemPlacementContext ctx) FlowerbedBlock.getPlacementState
(ItemPlacementContext ctx) GlazedTerracottaBlock.getPlacementState
(ItemPlacementContext ctx) GrateBlock.getPlacementState
(ItemPlacementContext ctx) HangingRootsBlock.getPlacementState
(ItemPlacementContext ctx) HangingSignBlock.getPlacementState
(ItemPlacementContext ctx) HopperBlock.getPlacementState
(ItemPlacementContext ctx) JigsawBlock.getPlacementState
(ItemPlacementContext ctx) KelpBlock.getPlacementState
(ItemPlacementContext ctx) LadderBlock.getPlacementState
(ItemPlacementContext ctx) LanternBlock.getPlacementState
(ItemPlacementContext ctx) LeavesBlock.getPlacementState
(ItemPlacementContext ctx) LecternBlock.getPlacementState
(ItemPlacementContext ctx) LightningRodBlock.getPlacementState
(ItemPlacementContext ctx) LoomBlock.getPlacementState
(ItemPlacementContext ctx) MangroveRootsBlock.getPlacementState
(ItemPlacementContext ctx) MultifaceGrowthBlock.getPlacementState
(ItemPlacementContext ctx) MushroomBlock.getPlacementState
(ItemPlacementContext ctx) NoteBlock.getPlacementState
(ItemPlacementContext ctx) ObserverBlock.getPlacementState
(ItemPlacementContext ctx) PaneBlock.getPlacementState
(ItemPlacementContext ctx) PillarBlock.getPlacementState
(ItemPlacementContext ctx) PistonBlock.getPlacementState
(ItemPlacementContext ctx) PitcherCropBlock.getPlacementState
(ItemPlacementContext ctx) PointedDripstoneBlock.getPlacementState
(ItemPlacementContext ctx) PropaguleBlock.getPlacementState
(ItemPlacementContext ctx) RedstoneLampBlock.getPlacementState
(ItemPlacementContext ctx) RedstoneWireBlock.getPlacementState
(ItemPlacementContext ctx) private BlockState
RedstoneWireBlock.getPlacementState
(BlockView world, BlockState state, BlockPos pos) RepeaterBlock.getPlacementState
(ItemPlacementContext ctx) RotatedInfestedBlock.getPlacementState
(ItemPlacementContext ctx) ScaffoldingBlock.getPlacementState
(ItemPlacementContext ctx) SculkSensorBlock.getPlacementState
(ItemPlacementContext ctx) SculkShriekerBlock.getPlacementState
(ItemPlacementContext ctx) SeagrassBlock.getPlacementState
(ItemPlacementContext ctx) SeaPickleBlock.getPlacementState
(ItemPlacementContext ctx) ShulkerBoxBlock.getPlacementState
(ItemPlacementContext ctx) SignBlock.getPlacementState
(ItemPlacementContext ctx) SkullBlock.getPlacementState
(ItemPlacementContext ctx) SlabBlock.getPlacementState
(ItemPlacementContext ctx) SmallDripleafBlock.getPlacementState
(ItemPlacementContext ctx) SnowBlock.getPlacementState
(ItemPlacementContext ctx) SnowyBlock.getPlacementState
(ItemPlacementContext ctx) StairsBlock.getPlacementState
(ItemPlacementContext ctx) StonecutterBlock.getPlacementState
(ItemPlacementContext ctx) TallPlantBlock.getPlacementState
(ItemPlacementContext ctx) TallSeagrassBlock.getPlacementState
(ItemPlacementContext ctx) TrapdoorBlock.getPlacementState
(ItemPlacementContext ctx) TripwireBlock.getPlacementState
(ItemPlacementContext ctx) TripwireHookBlock.getPlacementState
(ItemPlacementContext ctx) TurtleEggBlock.getPlacementState
(ItemPlacementContext ctx) VineBlock.getPlacementState
(ItemPlacementContext ctx) WallBannerBlock.getPlacementState
(ItemPlacementContext ctx) WallBlock.getPlacementState
(ItemPlacementContext ctx) WallHangingSignBlock.getPlacementState
(ItemPlacementContext ctx) WallMountedBlock.getPlacementState
(ItemPlacementContext ctx) WallRedstoneTorchBlock.getPlacementState
(ItemPlacementContext ctx) WallSignBlock.getPlacementState
(ItemPlacementContext ctx) WallSkullBlock.getPlacementState
(ItemPlacementContext ctx) WallTorchBlock.getPlacementState
(ItemPlacementContext ctx) AbstractPlantPartBlock.getRandomGrowthState
(WorldAccess world) AbstractPlantStemBlock.getRandomGrowthState
(WorldAccess world) static BlockState
private BlockState
WallBlock.getStateAt
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate
(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Deprecated.AbstractPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractPlantStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractPressurePlateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractRailBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AmethystClusterBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AttachedStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BambooBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BambooShootBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BannerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BarrierBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BedBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BeehiveBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BellBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BigDripleafBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BigDripleafStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BrushableBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BubbleColumnBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CactusBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CakeBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CampfireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CandleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CandleCakeBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CarpetBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ChainBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ChestBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ChorusFlowerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ChorusPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CocoaBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ComparatorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ConcretePowderBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ConduitBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralBlockBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralParentBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.DeadCoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.DecoratedPotBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.DirtPathBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.DoorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.EnderChestBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FallingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FarmlandBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FenceBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FenceGateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FlowerPotBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FluidBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FrogspawnBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.GlowLichenBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.GrateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.HangingRootsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.HangingSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LadderBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LanternBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LeavesBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LightBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LightningRodBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.MagmaBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.MangroveRootsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.MultifaceGrowthBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.MushroomBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.NetherPortalBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.NoteBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ObserverBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PaneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PistonHeadBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PitcherCropBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PointedDripstoneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PropaguleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.RedstoneWireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.RepeaterBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ScaffoldingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SculkSensorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SculkShriekerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SculkVeinBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SeagrassBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SeaPickleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SlabBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SmallDripleafBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SnowBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SnowyBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SoulFireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SoulSandBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SporeBlossomBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.StairsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SugarCaneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.TallPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.TrapdoorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.TripwireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.TripwireHookBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.VineBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallBannerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallHangingSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallMountedBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallRedstoneTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FireBlock.getStateForPosition
(BlockView world, BlockPos pos) static BlockState
Block.getStateFromRawId
(int stateId) private BlockState
WallBlock.getStateWith
(BlockState state, boolean north, boolean east, boolean south, boolean west, VoxelShape aboveShape) private BlockState
WallBlock.getStateWith
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState, boolean north, boolean east, boolean south, boolean west) private BlockState
FireBlock.getStateWithAge
(WorldAccess world, BlockPos pos, int age) LichenGrower.GrowChecker.getStateWithDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) LichenGrower.LichenGrowChecker.getStateWithDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) private BlockState
NoteBlock.getStateWithInstrument
(WorldAccess world, BlockPos pos, BlockState state) private BlockState
WallBlock.getStateWithNeighbor
(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) final BlockState
Block.getStateWithProperties
(BlockState state) Gets a block state with all properties that both this block and the source block state have.static BlockState
Oxidizable.getUnaffectedOxidationState
(BlockState state) AbstractBlock.AbstractBlockState.mirror
(BlockMirror mirror) AbstractBlock.mirror
(BlockState state, BlockMirror mirror) Deprecated.Consider callingAbstractBlock.AbstractBlockState.mirror(net.minecraft.util.BlockMirror)
instead.AbstractFurnaceBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.AmethystClusterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.AttachedStemBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.BannerBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.BarrelBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.BeehiveBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.BellBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.CalibratedSculkSensorBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.CampfireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ChestBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ChiseledBookshelfBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.CommandBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.CrafterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.DeadCoralWallFanBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.DetectorRailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.DispenserBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.DoorBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.EnderChestBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.EndPortalFrameBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.FlowerbedBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.GrindstoneBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.HangingSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.HopperBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.HorizontalConnectingBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.HorizontalFacingBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.JigsawBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.LadderBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.LecternBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.private BlockState
MultifaceGrowthBlock.mirror
(BlockState state, Function<Direction, Direction> mirror) MultifaceGrowthBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.MushroomBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ObserverBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.PistonBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.PistonExtensionBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.PistonHeadBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.PoweredRailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.RailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.RedstoneWireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.RodBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ShulkerBoxBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.SignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.SkullBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.SmallDripleafBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.StairsBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.StonecutterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.TripwireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.TripwireHookBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.VineBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallBannerBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallHangingSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallRedstoneTorchBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallSkullBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallTorchBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.AbstractFireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BedBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BeehiveBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.Block.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DecoratedPotBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DoorBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.PistonHeadBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.ShulkerBoxBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TallPlantBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TntBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TripwireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.static BlockState
Block.postProcessState
(BlockState state, WorldAccess world, BlockPos pos) static BlockState
Block.pushEntitiesUpBeforeBlockChange
(BlockState from, BlockState to, WorldAccess world, BlockPos pos) Pushes entities standing on a block up before changing the block to taller ones.AbstractBlock.AbstractBlockState.rotate
(BlockRotation rotation) AbstractBlock.rotate
(BlockState state, BlockRotation rotation) Deprecated.Consider callingAbstractBlock.AbstractBlockState.rotate(net.minecraft.util.BlockRotation)
instead.AbstractFurnaceBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.AmethystClusterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.AnvilBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.AttachedStemBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BarrelBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BeehiveBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BellBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CalibratedSculkSensorBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CampfireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ChiseledBookshelfBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CommandBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CrafterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.DeadCoralWallFanBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.DetectorRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.DispenserBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.DoorBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.EnderChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.EndPortalFrameBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.FlowerbedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.GrindstoneBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.HangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.HopperBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.HorizontalConnectingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.HorizontalFacingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.JigsawBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.LadderBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.LecternBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.MultifaceGrowthBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.MushroomBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.NetherPortalBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ObserverBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PillarBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PistonBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PistonExtensionBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PistonHeadBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PoweredRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.RailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.RedstoneWireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.RodBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.RotatedInfestedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ShulkerBoxBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.SignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.SkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.SmallDripleafBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.StairsBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.StonecutterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.TripwireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.TripwireHookBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.VineBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallBannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallHangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallRedstoneTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallSkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected abstract BlockState
AbstractPressurePlateBlock.setRedstoneOutput
(BlockState state, int rsOut) protected BlockState
PressurePlateBlock.setRedstoneOutput
(BlockState state, int rsOut) protected BlockState
WeightedPressurePlateBlock.setRedstoneOutput
(BlockState state, int rsOut) PointedDripstoneBlock.DrippingFluid.sourceState()
Returns the value of thesourceState
record component.PitcherCropBlock.LowerHalfContext.state()
Returns the value of thestate
record component.LeverBlock.togglePower
(BlockState state, World world, BlockPos pos) InfestedBlock.toRegularState
(BlockState infestedState) protected BlockState
AbstractRailBlock.updateBlockState
(World world, BlockPos pos, BlockState state, boolean forceUpdate) protected BlockState
AbstractRailBlock.updateCurves
(BlockState state, World world, BlockPos pos, boolean notify) private static BlockState
LeavesBlock.updateDistanceFromLogs
(BlockState state, WorldAccess world, BlockPos pos) CropBlock.withAge
(int age) TorchflowerBlock.withAge
(int age) private static BlockState
MultifaceGrowthBlock.withAllDirections
(StateManager<Block, BlockState> stateManager) static BlockState
ChorusPlantBlock.withConnectionProperties
(BlockView world, BlockPos pos, BlockState state) MultifaceGrowthBlock.withDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) AbstractPlantStemBlock.withMaxAge
(BlockState state) static BlockState
TallPlantBlock.withWaterloggedState
(WorldView world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionprivate static ToIntFunction<BlockState>
Blocks.createLightLevelFromLitBlockState
(int litLevel) static Optional<BlockState>
Oxidizable.getDecreasedOxidationState
(BlockState state) Degradable.getDegradationResult
(BlockState state) default Optional<BlockState>
Oxidizable.getDegradationResult
(BlockState state) static ToIntFunction<BlockState>
CaveVines.getLuminanceSupplier
(int luminance) Returns a function that receives aBlockState
and returns the luminance for the state.static ToIntFunction<BlockState>
GlowLichenBlock.getLuminanceSupplier
(int luminance) Returns a function that receives aBlockState
and returns the luminance for the state.private Map<BlockState,
VoxelShape> WallBlock.getShapeMap
(float float2, float float3, float float4, float float5, float float6, float float7) protected ImmutableMap<BlockState,
VoxelShape> Block.getShapesForStates
(Function<BlockState, VoxelShape> stateToShape) Block.getStateManager()
default Optional<BlockState>
Degradable.tryDegrade
(BlockState state, ServerWorld world, BlockPos pos, Random random) Modifier and TypeMethodDescription(package private) static BlockState
ComposterBlock.addToComposter
(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos, ItemStack stack) void
BeehiveBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.void
Block.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.void
IceBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.void
TallPlantBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.void
TurtleEggBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.protected BlockState
AbstractPlantStemBlock.age
(BlockState state, Random random) protected BlockState
CaveVinesHeadBlock.age
(BlockState state, Random random) private static boolean
Blocks.always
(BlockState state, BlockView world, BlockPos pos) A shortcut to always returntrue
a context predicate, used assettings.solidBlock(Blocks::always)
.private static Boolean
Blocks.always
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returntrue
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::always)
.void
CropBlock.applyGrowth
(World world, BlockPos pos, BlockState state) protected static Direction
LanternBlock.attachedDirection
(BlockState state) private void
TurtleEggBlock.breakEgg
(World world, BlockPos pos, BlockState state) float
AbstractBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) float
BambooBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) float
BambooShootBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) private int
ComparatorBlock.calculateOutputSignal
(World world, BlockPos pos, BlockState state) boolean
WallHangingSignBlock.canAttachAt
(BlockState state, WorldView world, BlockPos pos) protected boolean
AbstractPlantPartBlock.canAttachTo
(BlockState state) protected boolean
KelpBlock.canAttachTo
(BlockState state) protected boolean
KelpPlantBlock.canAttachTo
(BlockState state) boolean
WallHangingSignBlock.canAttachTo
(WorldView world, BlockState state, BlockPos toPos, Direction direction) static boolean
CampfireBlock.canBeLit
(BlockState state) static boolean
CandleBlock.canBeLit
(BlockState state) static boolean
CandleCakeBlock.canBeLit
(BlockState state) boolean
AbstractBlock.canBucketPlace
(BlockState state, Fluid fluid) Deprecated.Consider callingAbstractBlock.AbstractBlockState.canBucketPlace(net.minecraft.fluid.Fluid)
instead.boolean
EndGatewayBlock.canBucketPlace
(BlockState state, Fluid fluid) Returns whether a bucket can replace the block with the fluid.boolean
EndPortalBlock.canBucketPlace
(BlockState state, Fluid fluid) Returns whether a bucket can replace the block with the fluid.private static boolean
RespawnAnchorBlock.canCharge
(BlockState state) boolean
FenceBlock.canConnect
(BlockState state, boolean neighborIsFullSquare, Direction dir) private boolean
FenceBlock.canConnectToFence
(BlockState state) static boolean
PointedDripstoneBlock.canDrip
(BlockState state) private static boolean
PointedDripstoneBlock.canDripThrough
(BlockView world, BlockPos pos, BlockState state) Returns whether it can drip through the blockblock
atpos
.static boolean
FallingBlock.canFallThrough
(BlockState state) boolean
BarrierBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
FluidFillable.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpPlantBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SeagrassBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SlabBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
TallSeagrassBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) default boolean
Waterloggable.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) private static boolean
SaplingGenerator.canGenerateLargeTree
(BlockState state, BlockView world, BlockPos pos, int x, int z) boolean
AbstractPlantBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
AzaleaBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BambooBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BambooShootBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BigDripleafBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CaveVinesBodyBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CaveVinesHeadBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CocoaBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CropBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
Fertilizable.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
FlowerbedBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
FungusBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
GlowLichenBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
GrassBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
LichenGrower.canGrow
(BlockState state, BlockView world, BlockPos pos, Direction direction) default boolean
LichenGrower.GrowChecker.canGrow
(BlockState state) default boolean
LichenGrower.GrowChecker.canGrow
(BlockState state, Direction direction) protected boolean
LichenGrower.LichenGrowChecker.canGrow
(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) boolean
MangroveLeavesBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
MossBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
MushroomPlantBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
NetherrackBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
NyliumBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
PitcherCropBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) private boolean
PitcherCropBlock.canGrow
(WorldView world, BlockPos pos, BlockState state, int age) private static boolean
PointedDripstoneBlock.canGrow
(BlockState dripstoneBlockState, BlockState waterState) private static boolean
PointedDripstoneBlock.canGrow
(BlockState state, ServerWorld world, BlockPos pos) boolean
PropaguleBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
RootedDirtBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SaplingBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SculkVeinBlock.SculkVeinGrowChecker.canGrow
(BlockState state) boolean
SculkVeinBlock.SculkVeinGrowChecker.canGrow
(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) boolean
SeagrassBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SeaPickleBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
ShortPlantBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
StemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
TallFlowerBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) static boolean
BuddingAmethystBlock.canGrowIn
(BlockState state) private static boolean
BigDripleafBlock.canGrowInto
(BlockState state) protected static boolean
BigDripleafBlock.canGrowInto
(HeightLimitView world, BlockPos pos, BlockState state) static boolean
MultifaceGrowthBlock.canGrowOn
(BlockView world, Direction direction, BlockPos pos, BlockState state) boolean
MultifaceGrowthBlock.canGrowWithDirection
(BlockView world, BlockState state, BlockPos pos, Direction direction) boolean
AbstractBannerBlock.canMobSpawnInside
(BlockState state) boolean
AbstractPressurePlateBlock.canMobSpawnInside
(BlockState state) boolean
AbstractSignBlock.canMobSpawnInside
(BlockState state) boolean
Block.canMobSpawnInside
(BlockState state) static boolean
Block.cannotConnect
(BlockState state) private static boolean
ShulkerBoxBlock.canOpen
(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) static boolean
DoorBlock.canOpenByHand
(BlockState state) boolean
AbstractBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
AbstractCauldronBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
AbstractSkullBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
AnvilBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
BambooBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
BedBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
BellBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
BrewingStandBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
CactusBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
CakeBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
CampfireBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
CandleCakeBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
ChainBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
ChestBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
ChorusPlantBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
CocoaBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
ComposterBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
ConduitBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
DecoratedPotBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
DirtPathBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
DoorBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
DragonEggBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
EnchantingTableBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
EnderChestBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
EndPortalFrameBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
FarmlandBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
FenceBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
FenceGateBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
FlowerPotBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
FluidBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
GrindstoneBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
HopperBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
HorizontalConnectingBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
LanternBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
LecternBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
MudBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
PistonBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
PistonExtensionBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
PistonHeadBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
PlantBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
PointedDripstoneBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
PowderSnowBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
RespawnAnchorBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
RodBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
SculkSensorBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
SeaPickleBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
SlabBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
SnifferEggBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
SnowBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
SoulSandBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
StairsBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
StonecutterBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
TrapdoorBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
WallBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
WallHangingSignBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
AbstractRedstoneGateBlock.canPlaceAbove
(WorldView world, BlockPos pos, BlockState state) boolean
AbstractBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Deprecated.boolean
AbstractPlantPartBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AbstractPressurePlateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AbstractRailBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AbstractRedstoneGateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AbstractTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AmethystClusterBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BambooBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BambooShootBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BellBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BigDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BigDripleafStemBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BubbleColumnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CactusBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CandleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CandleCakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CarpetBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
ChorusFlowerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
ChorusPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CocoaBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CoralParentBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
DeadCoralWallFanBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
DirtPathBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
DoorBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
FarmlandBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
FireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
FrogspawnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
GrindstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
HangingRootsBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
HangingSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
LadderBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
LanternBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
MultifaceGrowthBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
MushroomPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PistonHeadBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PitcherCropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PointedDripstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PropaguleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
RedstoneWireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
ScaffoldingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SeaPickleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SmallDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SnowBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SoulFireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SporeBlossomBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SugarCaneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
TallPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
TallSeagrassBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
TripwireHookBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
VineBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallBannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallMountedBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallRedstoneTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AttachedStemBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
AzaleaBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
CropBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
DeadBushBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
FungusBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
LilyPadBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
MushroomPlantBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
NetherWartBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PitcherCropBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PlantBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PropaguleBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
RootsBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SeagrassBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SeaPickleBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SmallDripleafBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SproutsBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
StemBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
TallSeagrassBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
WitherRoseBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) boolean
AbstractBlock.canReplace
(BlockState state, ItemPlacementContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.canReplace(net.minecraft.item.ItemPlacementContext)
instead.boolean
AbstractPlantBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
CandleBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
FlowerbedBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
GlowLichenBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
MultifaceGrowthBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
PitcherCropBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
ScaffoldingBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
SculkVeinBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
SeaPickleBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
SlabBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
SnowBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
TurtleEggBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.boolean
VineBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.private boolean
RedstoneWireBlock.canRunOnTop
(BlockView world, BlockPos pos, BlockState floor) private static Boolean
Blocks.canSpawnOnLeaves
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) private static boolean
SpreadableBlock.canSpread
(BlockState state, WorldView world, BlockPos pos) private static boolean
SpreadableBlock.canSurvive
(BlockState state, WorldView world, BlockPos pos) static boolean
FenceGateBlock.canWallConnect
(BlockState state, Direction side) static BlockState
PillarBlock.changeRotation
(BlockState state, BlockRotation rotation) private static void
BigDripleafBlock.changeTilt
(BlockState state, World world, BlockPos pos, Tilt tilt) private void
BigDripleafBlock.changeTilt
(BlockState state, World world, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound) static void
protected void
CoralParentBlock.checkLivingConditions
(BlockState state, WorldAccess world, BlockPos pos) protected abstract boolean
AbstractPlantStemBlock.chooseStemState
(BlockState state) protected boolean
CaveVinesHeadBlock.chooseStemState
(BlockState state) protected boolean
KelpBlock.chooseStemState
(BlockState state) protected boolean
TwistingVinesBlock.chooseStemState
(BlockState state) protected boolean
WeepingVinesBlock.chooseStemState
(BlockState state) MultifaceGrowthBlock.collectDirections
(BlockState state) static BlockState
ComposterBlock.compost
(Entity user, BlockState state, ServerWorld world, ItemStack stack, BlockPos pos) final boolean
PaneBlock.connectsTo
(BlockState state, boolean sideSolidFullSquare) protected static boolean
RedstoneWireBlock.connectsTo
(BlockState state) protected static boolean
RedstoneWireBlock.connectsTo
(BlockState state, @Nullable Direction dir) private static BlockState
InfestedBlock.copyProperties
(Map<BlockState, BlockState> stateMap, BlockState fromState, Supplier<BlockState> toStateSupplier) private static <T extends Comparable<T>>
BlockStateBlock.copyProperty
(BlockState source, BlockState target, Property<T> property) protected BlockState
AbstractPlantBlock.copyState
(BlockState from, BlockState to) protected BlockState
AbstractPlantStemBlock.copyState
(BlockState from, BlockState to) protected BlockState
CaveVinesBodyBlock.copyState
(BlockState from, BlockState to) protected BlockState
CaveVinesHeadBlock.copyState
(BlockState from, BlockState to) protected void
CrafterBlock.craft
(BlockState state, ServerWorld world, BlockPos pos) AbstractBannerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.AbstractSignBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.AbstractSkullBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BarrelBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BeaconBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BedBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BeehiveBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BellBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BlastFurnaceBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BlockEntityProvider.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BrewingStandBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BrushableBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CalibratedSculkSensorBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CampfireBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ChestBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ChiseledBookshelfBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CommandBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ComparatorBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ConduitBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CrafterBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.DaylightDetectorBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.DecoratedPotBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.DispenserBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.DropperBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.EnchantingTableBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.EnderChestBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.EndGatewayBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.EndPortalBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.FurnaceBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.HangingSignBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.HopperBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.JigsawBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.JukeboxBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.LecternBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.PistonExtensionBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SculkCatalystBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SculkSensorBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SculkShriekerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ShulkerBoxBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SmokerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SpawnerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.StructureBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.TrappedChestBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.TrialSpawnerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.WallHangingSignBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.static BlockEntity
PistonExtensionBlock.createBlockEntityPiston
(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state, Fluid fluid) AbstractBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Deprecated.AnvilBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.BlockWithEntity.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.CartographyTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.ChestBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.CraftingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.EnchantingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.GrindstoneBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.LecternBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.LoomBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.SmithingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.StonecutterBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.static void
LeveledCauldronBlock.decrementFluidLevel
(BlockState state, World world, BlockPos pos) private static BlockState
MultifaceGrowthBlock.disableDirection
(BlockState state, BooleanProperty direction) protected void
DispenserBlock.dispense
(ServerWorld world, BlockState state, BlockPos pos) protected void
DropperBlock.dispense
(ServerWorld world, BlockState state, BlockPos pos) static void
PointedDripstoneBlock.dripTick
(BlockState state, ServerWorld world, BlockPos pos, float dripChance) private void
LecternBlock.dropBook
(BlockState state, World world, BlockPos pos) static void
Block.dropStacks
(BlockState state, WorldAccess world, BlockPos pos, @Nullable BlockEntity blockEntity) static void
Block.dropStacks
(BlockState state, World world, BlockPos pos) static void
Block.dropStacks
(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity entity, ItemStack tool) boolean
AbstractBlock.emitsRedstonePower
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.emitsRedstonePower()
instead.boolean
AbstractPressurePlateBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
AbstractRedstoneGateBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
ButtonBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
DaylightDetectorBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
DetectorRailBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
JukeboxBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
LecternBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
LeverBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
LightningRodBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
ObserverBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
RedstoneBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
RedstoneTorchBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
RedstoneWireBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
SculkSensorBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
TargetBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
TrappedChestBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.boolean
TripwireHookBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.(package private) static BlockState
ComposterBlock.emptyComposter
(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos) static BlockState
ComposterBlock.emptyFullComposter
(Entity user, BlockState state, World world, BlockPos pos) AbstractBlock.Offsetter.evaluate
(BlockState state, BlockView world, BlockPos pos) private void
CommandBlock.execute
(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand) private void
RespawnAnchorBlock.explode
(BlockState state, World world, BlockPos explodedPos) static void
AbstractCandleBlock.extinguish
(@Nullable PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos) static void
CampfireBlock.extinguish
(@Nullable Entity entity, WorldAccess world, BlockPos pos, BlockState state) protected void
AbstractCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected void
CauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected void
LeveledCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.private void
TrapdoorBlock.flip
(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) static BlockState
InfestedBlock.fromRegularState
(BlockState regularState) void
SaplingBlock.generate
(ServerWorld world, BlockPos pos, BlockState state, Random random) boolean
SaplingGenerator.generate
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) private int
VineBlock.getAdjacentBlockCount
(BlockState state) int
CropBlock.getAge
(BlockState state) float
AbstractBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) Deprecated.float
BarrierBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
LightBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
MudBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
SnowBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
SoulSandBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
StructureVoidBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
TransparentBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) static DoubleBlockProperties.Type
BedBlock.getBedPart
(BlockState state) abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>
AbstractChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) EnderChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) static VoxelShape
WallTorchBlock.getBoundingShape
(BlockState state) private static BlockState
BubbleColumnBlock.getBubbleState
(BlockState state) private int
FireBlock.getBurnChance
(BlockState state) AbstractBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MudBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PaneBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PowderSnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SoulSandBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TransparentBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractSignBlock.getCenter
(BlockState state) WallSignBlock.getCenter
(BlockState state) AbstractBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getCollisionShape(BlockView, BlockPos, ShapeContext)
instead.BambooBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BellBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CactusBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ComposterBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceGateBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FluidBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) GrindstoneBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HoneyBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HorizontalConnectingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LecternBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MudBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonExtensionBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PowderSnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ScaffoldingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SculkShriekerBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SoulSandBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallHangingSignBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) int
AnvilBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
ColoredFallingBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
ConcretePowderBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
FallingBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
AbstractBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Deprecated.int
AbstractFurnaceBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
BarrelBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
BeehiveBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
BrewingStandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
BulbBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
CakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
CandleCakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
ChestBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
ChiseledBookshelfBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
CommandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
ComposterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
CrafterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
DecoratedPotBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
DetectorRailBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
DispenserBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
EndPortalFrameBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
HopperBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
JukeboxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
LavaCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
LecternBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
LeveledCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
RespawnAnchorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
SculkSensorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
ShulkerBoxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ConnectingBlock.getConnectionMask
(BlockState state) AbstractBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.FenceBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) FenceGateBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) LecternBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) PointedDripstoneBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) PowderSnowBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) SculkShriekerBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) SkullBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) static Optional<BlockState>
Oxidizable.getDecreasedOxidationState
(BlockState state) private BlockState
RedstoneWireBlock.getDefaultWireState
(BlockView world, BlockState state, BlockPos pos) Degradable.getDegradationResult
(BlockState state) default Optional<BlockState>
Oxidizable.getDegradationResult
(BlockState state) protected static Direction
WallMountedBlock.getDirection
(BlockState state) private static int
LeavesBlock.getDistanceFromLog
(BlockState state) static DoubleBlockProperties.Type
ChestBlock.getDoubleBlockType
(BlockState state) AbstractBlock.getDroppedStacks
(BlockState state, LootContextParameterSet.Builder builder) Deprecated.BeehiveBlock.getDroppedStacks
(BlockState state, LootContextParameterSet.Builder builder) Returns the block's dropped item stacks.Block.getDroppedStacks
(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity) Block.getDroppedStacks
(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity entity, ItemStack stack) DecoratedPotBlock.getDroppedStacks
(BlockState state, LootContextParameterSet.Builder builder) Returns the block's dropped item stacks.FluidBlock.getDroppedStacks
(BlockState state, LootContextParameterSet.Builder builder) Returns the block's dropped item stacks.PistonExtensionBlock.getDroppedStacks
(BlockState state, LootContextParameterSet.Builder builder) Returns the block's dropped item stacks.ShulkerBoxBlock.getDroppedStacks
(BlockState state, LootContextParameterSet.Builder builder) Returns the block's dropped item stacks.WallPlayerSkullBlock.getDroppedStacks
(BlockState state, LootContextParameterSet.Builder builder) Returns the block's dropped item stacks.static Direction
ChestBlock.getFacing
(BlockState state) static Direction
JigsawBlock.getFacing
(BlockState state) private static Optional<PointedDripstoneBlock.DrippingFluid>
PointedDripstoneBlock.getFluid
(World world, BlockPos pos, BlockState state) protected double
AbstractCauldronBlock.getFluidHeight
(BlockState state) protected double
LavaCauldronBlock.getFluidHeight
(BlockState state) protected double
LeveledCauldronBlock.getFluidHeight
(BlockState state) AbstractBlock.getFluidState
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getFluidState()
instead.AbstractRailBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.AbstractSignBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.AmethystClusterBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.BarrierBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.BigDripleafBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.BigDripleafStemBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.BubbleColumnBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.CampfireBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.CandleBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.ChainBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.ChestBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.ConduitBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.CoralParentBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.DecoratedPotBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.EnderChestBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.FluidBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.GlowLichenBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.GrateBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.HangingRootsBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.HorizontalConnectingBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.KelpBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.KelpPlantBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.LadderBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.LanternBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.LeavesBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.LightBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.LightningRodBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.MangroveRootsBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.PointedDripstoneBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.PropaguleBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.ScaffoldingBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.SculkSensorBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.SculkShriekerBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.SculkVeinBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.SeagrassBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.SeaPickleBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.SlabBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.SmallDripleafBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.StairsBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.TallSeagrassBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.TrapdoorBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.WallBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.private BlockState
VineBlock.getGrownState
(BlockState above, BlockState state, Random random) LichenGrower.getGrowPos
(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, LichenGrower.GrowPosPredicate predicate) int
SnifferEggBlock.getHatchStage
(BlockState state) ChestBlock.getInventory
(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ComposterBlock.getInventory
(BlockState state, WorldAccess world, BlockPos pos) InventoryProvider.getInventory
(BlockState state, WorldAccess world, BlockPos pos) static @Nullable BlockState
AnvilBlock.getLandingState
(BlockState fallingState) static int
RespawnAnchorBlock.getLightLevel
(BlockState state, int maxLevel) PitcherCropBlock.getLowerHalfContext
(WorldView world, BlockPos pos, BlockState state) protected int
AbstractRedstoneGateBlock.getMaxInputLevelSides
(RedstoneView world, BlockPos pos, BlockState state) int
AbstractBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) Deprecated.int
LeavesBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) int
TintedGlassBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) static Direction
BedBlock.getOppositePartDirection
(BlockState state) static OptionalInt
LeavesBlock.getOptionalDistanceFromLog
(BlockState state) AbstractBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getOutlineShape(BlockView, BlockPos, ShapeContext)
instead.AbstractCauldronBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractFireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractPlantPartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractPressurePlateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractRailBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractRedstoneGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AirBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AmethystClusterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AnvilBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AttachedStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AzaleaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BambooBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BambooShootBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BeetrootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BellBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BrewingStandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BubbleColumnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ButtonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CactusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CampfireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CandleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CandleCakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CarpetBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CarrotsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ChainBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CocoaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ComposterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ConduitBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CoralParentBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DaylightDetectorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralWallFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DecoratedPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DirtPathBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DragonEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EnchantingTableBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EnderChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EndPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EndPortalFrameBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FarmlandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerbedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FluidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FrogspawnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FungusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) GrindstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HangingRootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HangingSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HopperBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HorizontalConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LadderBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LanternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LecternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LeverBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LightBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LilyPadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MultifaceGrowthBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MushroomPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) NetherPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) NetherWartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonExtensionBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PointedDripstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PotatoesBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PropaguleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RedstoneWireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RodBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SaplingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ScaffoldingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SculkSensorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SeaPickleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ShortPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ShulkerBoxBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SlabBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SmallDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnifferEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SporeBlossomBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SproutsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StairsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StonecutterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StructureVoidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SugarCaneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SweetBerryBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TallSeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TorchflowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TrapdoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TripwireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TripwireHookBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TurtleEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) VineBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallHangingSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallPiglinHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallRedstoneTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallSkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected int
AbstractRedstoneGateBlock.getOutputLevel
(BlockView world, BlockPos pos, BlockState state) protected int
ComparatorBlock.getOutputLevel
(BlockView world, BlockPos pos, BlockState state) AbstractCandleBlock.getParticleOffsets
(BlockState state) CandleBlock.getParticleOffsets
(BlockState state) CandleCakeBlock.getParticleOffsets
(BlockState state) static SculkSensorPhase
SculkSensorBlock.getPhase
(BlockState state) AbstractBannerBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.AbstractPlantBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.AttachedStemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.BambooShootBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.BigDripleafStemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.Block.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CandleCakeBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CaveVinesBodyBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CaveVinesHeadBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CropBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.DecoratedPotBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.EndGatewayBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.EndPortalBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.FlowerPotBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.FrostedIceBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.LightBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.NetherPortalBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.NetherWartBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.PistonExtensionBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.PistonHeadBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.ShulkerBoxBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.StemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.SweetBerryBushBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.TallSeagrassBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.private BlockState
VineBlock.getPlacementShape
(BlockState state, BlockView world, BlockPos pos) private static Direction
BellBlock.getPlacementSide
(BlockState state) private BlockState
RedstoneWireBlock.getPlacementState
(BlockView world, BlockState state, BlockPos pos) protected int
AbstractRedstoneGateBlock.getPower
(World world, BlockPos pos, BlockState state) protected int
ComparatorBlock.getPower
(World world, BlockPos pos, BlockState state) static int
Block.getRawIdFromState
(@Nullable BlockState state) AbstractBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.AbstractCauldronBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) ComposterBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) HopperBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) ScaffoldingBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected abstract int
AbstractPressurePlateBlock.getRedstoneOutput
(BlockState state) protected int
PressurePlateBlock.getRedstoneOutput
(BlockState state) protected int
WeightedPressurePlateBlock.getRedstoneOutput
(BlockState state) long
AbstractBlock.getRenderingSeed
(BlockState state, BlockPos pos) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getRenderingSeed(net.minecraft.util.math.BlockPos)
instead.long
BedBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.long
DoorBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.long
TallPlantBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.AbstractBlock.getRenderType
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getRenderType()
instead.AbstractFurnaceBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).AirBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BarrelBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BarrierBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BeaconBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BedBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BeehiveBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BellBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BlockWithEntity.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BrewingStandBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BrushableBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).BubbleColumnBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).CampfireBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).ChestBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).ChiseledBookshelfBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).CommandBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).ConduitBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).CrafterBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).DaylightDetectorBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).DispenserBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).EnchantingTableBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).EnderChestBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).FlowerPotBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).FluidBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).GrindstoneBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).HopperBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).JukeboxBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).LecternBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).LightBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).SculkCatalystBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).SculkSensorBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).SculkShriekerBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).ShulkerBoxBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).SpawnerBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).StonecutterBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).StructureBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).StructureVoidBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).TrialSpawnerBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).static Direction
JigsawBlock.getRotation
(BlockState state) abstract float
AbstractSignBlock.getRotationDegrees
(BlockState state) float
HangingSignBlock.getRotationDegrees
(BlockState state) float
SignBlock.getRotationDegrees
(BlockState state) float
WallHangingSignBlock.getRotationDegrees
(BlockState state) float
WallSignBlock.getRotationDegrees
(BlockState state) private VoxelShape
BellBlock.getShape
(BlockState state) private VoxelShape
GrindstoneBlock.getShape
(BlockState state) private static VoxelShape
BigDripleafBlock.getShapeForState
(BlockState state) private static VoxelShape
FireBlock.getShapeForState
(BlockState state) private static VoxelShape
MultifaceGrowthBlock.getShapeForState
(BlockState state) private VoxelShape
RedstoneWireBlock.getShapeForState
(BlockState state) private static VoxelShape
VineBlock.getShapeForState
(BlockState state) protected int
HorizontalConnectingBlock.getShapeIndex
(BlockState state) private int
StairsBlock.getShapeIndexIndex
(BlockState state) AbstractBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.ChorusFlowerBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) FenceGateBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) HangingSignBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) LeavesBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) MudBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) ShulkerBoxBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) SnowBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) SoulSandBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) WallHangingSignBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) Block.getSoundGroup
(BlockState state) DecoratedPotBlock.getSoundGroup
(BlockState state) private int
FireBlock.getSpreadChance
(BlockState state) private static StairShape
StairsBlock.getStairShape
(BlockState state, BlockView world, BlockPos pos) private BlockState
WallBlock.getStateAt
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate
(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) AbstractPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractPlantStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractPressurePlateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractRailBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AbstractTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AmethystClusterBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.AttachedStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BambooBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BambooShootBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BannerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BarrierBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BedBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BeehiveBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BellBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BigDripleafBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BigDripleafStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BrushableBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BubbleColumnBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CactusBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CakeBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CampfireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CandleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CandleCakeBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CarpetBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ChainBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ChestBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ChorusFlowerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ChorusPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CocoaBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ComparatorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ConcretePowderBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ConduitBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralBlockBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralParentBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.CoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.DeadCoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.DecoratedPotBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.DirtPathBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.DoorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.EnderChestBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FallingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FarmlandBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FenceBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FenceGateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FlowerPotBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FluidBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.FrogspawnBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.GlowLichenBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.GrateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.HangingRootsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.HangingSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LadderBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LanternBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LeavesBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LightBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.LightningRodBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.MagmaBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.MangroveRootsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.MultifaceGrowthBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.MushroomBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.NetherPortalBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.NoteBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ObserverBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PaneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PistonHeadBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PitcherCropBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PointedDripstoneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PropaguleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.RedstoneWireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.RepeaterBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ScaffoldingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SculkSensorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SculkShriekerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SculkVeinBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SeagrassBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SeaPickleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SlabBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SmallDripleafBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SnowBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SnowyBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SoulFireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SoulSandBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SporeBlossomBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.StairsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.SugarCaneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.TallPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.TrapdoorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.TripwireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.TripwireHookBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.VineBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallBannerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallHangingSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallMountedBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallRedstoneTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.WallTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.private BlockState
WallBlock.getStateWith
(BlockState state, boolean north, boolean east, boolean south, boolean west, VoxelShape aboveShape) private BlockState
WallBlock.getStateWith
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState, boolean north, boolean east, boolean south, boolean west) LichenGrower.GrowChecker.getStateWithDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) LichenGrower.LichenGrowChecker.getStateWithDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) private BlockState
NoteBlock.getStateWithInstrument
(WorldAccess world, BlockPos pos, BlockState state) private BlockState
WallBlock.getStateWithNeighbor
(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) final BlockState
Block.getStateWithProperties
(BlockState state) Gets a block state with all properties that both this block and the source block state have.int
AbstractBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
AbstractPressurePlateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
AbstractRedstoneGateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
ButtonBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
DetectorRailBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
LecternBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
LeverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
LightningRodBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
ObserverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
RedstoneTorchBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
RedstoneWireBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
SculkSensorBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
TrappedChestBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
TripwireHookBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.PointedDripstoneBlock.getSupportingPos
(World world, BlockPos pos, BlockState state, int range) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractSignBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractSkullBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeaconBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeehiveBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BellBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlastFurnaceBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.default <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlockEntityProvider.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BrewingStandBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>CalibratedSculkSensorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>CampfireBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ChestBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ConduitBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>CrafterBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>DaylightDetectorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnchantingTableBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnderChestBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EndGatewayBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>FurnaceBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>HangingSignBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>HopperBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>JukeboxBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>PistonExtensionBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkCatalystBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkSensorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkShriekerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ShulkerBoxBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SmokerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SpawnerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>TrialSpawnerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>WallHangingSignBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.PointedDripstoneBlock.getTipPos
(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) static BlockState
Oxidizable.getUnaffectedOxidationState
(BlockState state) protected abstract int
AbstractRedstoneGateBlock.getUpdateDelayInternal
(BlockState state) protected int
ComparatorBlock.getUpdateDelayInternal
(BlockState state) protected int
RepeaterBlock.getUpdateDelayInternal
(BlockState state) int
AbstractBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
AbstractPressurePlateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
AbstractRedstoneGateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
ButtonBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
CalibratedSculkSensorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
DaylightDetectorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
DetectorRailBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
JukeboxBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
LecternBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
LeverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
LightningRodBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
ObserverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
RedstoneBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
RedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
RedstoneWireBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
SculkSensorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
TargetBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
TrappedChestBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
TripwireHookBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
WallRedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.void
AbstractPlantBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
AbstractPlantStemBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
AzaleaBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
BambooBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
BambooShootBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
BigDripleafBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
BigDripleafStemBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
CaveVinesBodyBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
CaveVinesHeadBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
CocoaBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
CropBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
Fertilizable.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
FlowerbedBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
FungusBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
GlowLichenBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
GrassBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) long
LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, boolean markForPostProcessing) private long
LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Direction direction, boolean markForPostProcessing) LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Direction oldDirection, Direction newDirection, boolean markForPostProcessing) LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Direction direction, Random random, boolean markForPostProcessing) LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Random random) void
MangroveLeavesBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
MossBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
MushroomPlantBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
NetherrackBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
NyliumBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
PitcherCropBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
PropaguleBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
RootedDirtBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SaplingBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SeagrassBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SeaPickleBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
ShortPlantBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SmallDripleafBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
StemBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SweetBerryBushBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
TallFlowerBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.growMerged
(BlockState state, WorldAccess world, BlockPos pos) private static boolean
ConcretePowderBlock.hardensIn
(BlockState state) private boolean
VineBlock.hasAdjacentBlocks
(BlockState state) protected static boolean
MultifaceGrowthBlock.hasAnyDirection
(BlockState state) static boolean
CaveVines.hasBerries
(BlockState state) boolean
AbstractBlock.hasComparatorOutput
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.hasComparatorOutput()
instead.boolean
AbstractCauldronBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
AbstractFurnaceBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
BarrelBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
BeehiveBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
BrewingStandBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
BulbBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
CakeBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
CandleCakeBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
ChestBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
ChiseledBookshelfBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
CommandBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
ComposterBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
CrafterBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
DecoratedPotBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
DetectorRailBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
DispenserBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
EndPortalFrameBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
HopperBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
JukeboxBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
LecternBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
RespawnAnchorBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
SculkSensorBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.boolean
ShulkerBoxBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.default boolean
LichenGrower.GrowChecker.hasDirection
(BlockState state, Direction direction) static boolean
MultifaceGrowthBlock.hasDirection
(BlockState state, Direction direction) private boolean
VineBlock.hasHorizontalSide
(BlockState state) boolean
AbstractPlantStemBlock.hasMaxAge
(BlockState state) protected boolean
AbstractRedstoneGateBlock.hasPower
(World world, BlockPos pos, BlockState state) protected boolean
ComparatorBlock.hasPower
(World world, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.hasRandomTicks
(BlockState state) boolean
BambooBlock.hasRandomTicks
(BlockState state) boolean
Block.hasRandomTicks
(BlockState state) boolean
ChorusFlowerBlock.hasRandomTicks
(BlockState state) boolean
CocoaBlock.hasRandomTicks
(BlockState state) boolean
CropBlock.hasRandomTicks
(BlockState state) boolean
FluidBlock.hasRandomTicks
(BlockState state) boolean
LeavesBlock.hasRandomTicks
(BlockState state) boolean
NetherWartBlock.hasRandomTicks
(BlockState state) boolean
OxidizableBlock.hasRandomTicks
(BlockState state) boolean
OxidizableBulbBlock.hasRandomTicks
(BlockState state) boolean
OxidizableDoorBlock.hasRandomTicks
(BlockState state) boolean
OxidizableGrateBlock.hasRandomTicks
(BlockState state) boolean
OxidizableSlabBlock.hasRandomTicks
(BlockState state) boolean
OxidizableStairsBlock.hasRandomTicks
(BlockState state) boolean
OxidizableTrapdoorBlock.hasRandomTicks
(BlockState state) boolean
PitcherCropBlock.hasRandomTicks
(BlockState state) boolean
RedstoneOreBlock.hasRandomTicks
(BlockState state) boolean
SweetBerryBushBlock.hasRandomTicks
(BlockState state) boolean
AbstractBlock.hasSidedTransparency
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.hasSidedTransparency
instead.boolean
DaylightDetectorBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
DirtPathBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
EnchantingTableBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
EndPortalFrameBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
FarmlandBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
LecternBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
PistonBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
PistonHeadBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
SculkSensorBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
SculkShriekerBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
SlabBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
SnowBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
StairsBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.boolean
StonecutterBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.private boolean
FrostedIceBlock.increaseAge
(BlockState state, World world, BlockPos pos) private int
RedstoneWireBlock.increasePower
(BlockState state) private boolean
PistonHeadBlock.isAttached
(BlockState headState, BlockState pistonState) private static boolean
WallBlock.isConnected
(BlockState state, Property<WallShape> property) boolean
AbstractBlock.isCullingShapeFullCube
(BlockState state, BlockView world, BlockPos pos) Deprecated.private static boolean
StairsBlock.isDifferentOrientation
(BlockState state, BlockView world, BlockPos pos, Direction dir) static boolean
SeaPickleBlock.isDry
(BlockState state) protected boolean
AbstractCauldronBlock.isEntityTouchingFluid
(BlockState state, BlockPos pos, Entity entity) boolean
AbstractPlantBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
AzaleaBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BambooBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BambooShootBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BigDripleafBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CaveVinesBodyBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CaveVinesHeadBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CocoaBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CropBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
Fertilizable.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
FlowerbedBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
FungusBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
GlowLichenBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
GrassBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MangroveLeavesBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MossBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MushroomPlantBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
NetherrackBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
NyliumBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
PitcherCropBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
PropaguleBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
RootedDirtBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SaplingBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SeagrassBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SeaPickleBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
ShortPlantBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
StemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
TallFlowerBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) protected abstract boolean
AbstractFireBlock.isFlammable
(BlockState state) protected boolean
FireBlock.isFlammable
(BlockState state) protected boolean
SoulFireBlock.isFlammable
(BlockState state) abstract boolean
AbstractCauldronBlock.isFull
(BlockState state) Returnstrue
if the specified cauldron state is completely full,false
otherwise.boolean
CauldronBlock.isFull
(BlockState state) Returnstrue
if the specified cauldron state is completely full,false
otherwise.boolean
LavaCauldronBlock.isFull
(BlockState state) Returnstrue
if the specified cauldron state is completely full,false
otherwise.boolean
LeveledCauldronBlock.isFull
(BlockState state) Returnstrue
if the specified cauldron state is completely full,false
otherwise.private static boolean
RedstoneWireBlock.isFullyConnected
(BlockState state) private boolean
PitcherCropBlock.isFullyGrown
(BlockState state) private static boolean
PropaguleBlock.isFullyGrown
(BlockState state) private static boolean
PropaguleBlock.isHanging
(BlockState state) private static boolean
PointedDripstoneBlock.isHeldByPointedDripstone
(BlockState state, WorldView world, BlockPos pos) private boolean
WallHangingSignBlock.isHitOnFacingAxis
(BlockHitResult hitResult, BlockState state) static boolean
SculkSensorBlock.isInactive
(BlockState state) static boolean
InfestedBlock.isInfestable
(BlockState block) protected static boolean
CoralParentBlock.isInWater
(BlockState state, BlockView world, BlockPos pos) static boolean
CampfireBlock.isLitCampfire
(BlockState state) static boolean
AbstractCandleBlock.isLitCandle
(BlockState state) boolean
AbstractRedstoneGateBlock.isLocked
(WorldView world, BlockPos pos, BlockState state) boolean
RepeaterBlock.isLocked
(WorldView world, BlockPos pos, BlockState state) private static boolean
PitcherCropBlock.isLowerHalf
(BlockState state) final boolean
CropBlock.isMature
(BlockState state) static boolean
PistonBlock.isMovable
(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir) private static boolean
RedstoneWireBlock.isNotConnected
(BlockState state) private static boolean
MultifaceGrowthBlock.isNotFullBlock
(BlockState state) protected boolean
AbstractCandleBlock.isNotLit
(BlockState state) protected boolean
CandleBlock.isNotLit
(BlockState state) boolean
DoorBlock.isOpen
(BlockState state) private static boolean
PointedDripstoneBlock.isPointedDripstoneFacingDirection
(BlockState state, Direction direction) private static boolean
PointedDripstoneBlock.isPointingDown
(BlockState state) private static boolean
PointedDripstoneBlock.isPointingUp
(BlockState state) private boolean
BellBlock.isPointOnBell
(BlockState state, Direction side, double y) protected boolean
PoweredRailBlock.isPoweredByOtherRails
(World world, BlockPos pos, BlockState state, boolean bool, int distance) static boolean
AbstractRailBlock.isRail
(BlockState state) private boolean
SnifferEggBlock.isReadyToHatch
(BlockState state) static boolean
AbstractRedstoneGateBlock.isRedstoneGate
(BlockState state) boolean
AbstractBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) Deprecated.boolean
BambooBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) boolean
PointedDripstoneBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.isSideInvisible
(BlockState state, Direction direction) boolean
AbstractBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) Deprecated.boolean
FluidBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) boolean
MangroveRootsBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) boolean
PaneBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) boolean
PowderSnowBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) boolean
TranslucentBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) private boolean
CampfireBlock.isSignalFireBaseBlock
(BlockState state) private static boolean
SnowyBlock.isSnow
(BlockState state) static boolean
SoulFireBlock.isSoulBase
(BlockState state) static boolean
StairsBlock.isStairs
(BlockState state) private static boolean
BubbleColumnBlock.isStillWater
(BlockState state) boolean
AbstractRedstoneGateBlock.isTargetNotAligned
(BlockView world, BlockPos pos, BlockState state) private static boolean
PointedDripstoneBlock.isTip
(BlockState state, boolean allowMerged) private static boolean
PointedDripstoneBlock.isTip
(BlockState state, Direction direction) boolean
BambooBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
BarrierBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
Block.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
ConnectingBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
FluidBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
GlowLichenBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
HorizontalConnectingBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
LightBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
PlantBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
TintedGlassBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
TransparentBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
VineBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) boolean
WallBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) static boolean
VineLogic.isValidForWeepingStem
(BlockState state) private boolean
FenceGateBlock.isWall
(BlockState state) private static void
RedstoneOreBlock.light
(BlockState state, World world, BlockPos pos) abstract boolean
SideShapeType.matches
(BlockState state, BlockView world, BlockPos pos, Direction direction) protected void
IceBlock.melt
(BlockState state, World world, BlockPos pos) AbstractBlock.mirror
(BlockState state, BlockMirror mirror) Deprecated.Consider callingAbstractBlock.AbstractBlockState.mirror(net.minecraft.util.BlockMirror)
instead.AbstractFurnaceBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.AmethystClusterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.AttachedStemBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.BannerBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.BarrelBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.BeehiveBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.BellBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.CalibratedSculkSensorBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.CampfireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ChestBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ChiseledBookshelfBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.CommandBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.CrafterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.DeadCoralWallFanBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.DetectorRailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.DispenserBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.DoorBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.EnderChestBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.EndPortalFrameBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.FlowerbedBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.GrindstoneBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.HangingSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.HopperBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.HorizontalConnectingBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.HorizontalFacingBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.JigsawBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.LadderBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.LecternBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.private BlockState
MultifaceGrowthBlock.mirror
(BlockState state, Function<Direction, Direction> mirror) MultifaceGrowthBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.MushroomBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ObserverBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.PistonBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.PistonExtensionBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.PistonHeadBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.PoweredRailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.RailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.RedstoneWireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.RodBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ShulkerBoxBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.SignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.SkullBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.SmallDripleafBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.StairsBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.StonecutterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.TripwireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.TripwireHookBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.VineBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallBannerBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallHangingSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallRedstoneTorchBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallSkullBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.WallTorchBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.void
AbstractBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
AbstractRailBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
AbstractRedstoneGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
AbstractSkullBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
BellBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
BigDripleafBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
BulbBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
CommandBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
CrafterBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
DispenserBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
DoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
FenceGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
FluidBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
FrostedIceBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
HopperBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
NoteBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
PistonBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
PistonHeadBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
RedstoneLampBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
RedstoneTorchBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
RedstoneWireBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
SpongeBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
StructureBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
TntBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
TrapdoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.private static boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos) A shortcut to always returnfalse
a context predicate, used assettings.solidBlock(Blocks::never)
.private static Boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returnfalse
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::never)
.void
AbstractBlock.AbstractBlockState.onBlockAdded
(World world, BlockPos pos, BlockState state, boolean notify) void
AbstractBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.void
AbstractFireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
AbstractRailBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
AbstractRedstoneGateBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
BrushableBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
BulbBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
CarvedPumpkinBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
ComposterBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
CoralBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
CoralFanBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
CoralWallFanBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
DetectorRailBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FallingBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FluidBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FrogspawnBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
HopperBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
LightningRodBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
MagmaBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
ObserverBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
PistonBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
RedstoneTorchBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
RedstoneWireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
ScaffoldingBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
SculkSensorBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
SnifferEggBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
SoulSandBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
SpongeBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
TargetBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
TntBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
TripwireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
TurtleEggBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
WetSpongeBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
AbstractBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) void
DragonEggBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).void
NoteBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).void
RedstoneOreBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).AbstractFireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BedBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BeehiveBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.Block.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DecoratedPotBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DoorBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.PistonHeadBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.ShulkerBoxBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TallPlantBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TntBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TripwireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.protected static void
TallPlantBlock.onBreakInCreative
(World world, BlockPos pos, BlockState state, PlayerEntity player) Destroys a bottom half of a tall double block (such as a plant or a door) without dropping an item when broken in creative.void
Block.onBroken
(WorldAccess world, BlockPos pos, BlockState state) Called after a player breaks a block and the block is removed from the world.void
PistonExtensionBlock.onBroken
(WorldAccess world, BlockPos pos, BlockState state) Called after a player breaks a block and the block is removed from the world.void
AbstractBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.void
AbstractFireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
AbstractPressurePlateBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
BigDripleafBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
BubbleColumnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
ButtonBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
CactusBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
CampfireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
CobwebBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
CropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
DetectorRailBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
EndPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
FrogspawnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
HoneyBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
HopperBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
LavaCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
LeveledCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
LilyPadBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
NetherPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
PitcherCropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
PowderSnowBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
SweetBerryBushBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
TripwireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
WitherRoseBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
AbstractBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) Deprecated.void
AbstractCandleBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
BellBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
ButtonBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
DoorBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
FenceGateBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
LeverBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
TrapdoorBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) private void
LeveledCauldronBlock.onFireCollision
(BlockState state, World world, BlockPos pos) void
BedBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
Block.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
FarmlandBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
HayBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
HoneyBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
PointedDripstoneBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
PowderSnowBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
SlimeBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
TurtleEggBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
AnvilBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) void
ConcretePowderBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) default void
LandingBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) void
AbstractBannerBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
AbstractFurnaceBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
AbstractRedstoneGateBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BarrelBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BeaconBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BedBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
Block.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BrewingStandBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
ChestBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
CommandBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
ConduitBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
CrafterBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
DecoratedPotBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
DispenserBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
DoorBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
EnchantingTableBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
HopperBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
JukeboxBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
PistonBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
PitcherCropBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
PlayerSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
ShulkerBoxBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
SmallDripleafBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
StructureBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
TallPlantBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
TripwireHookBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
WallPlayerSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
WallWitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
WitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
AbstractBlock.AbstractBlockState.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AbstractBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AbstractCandleBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
AmethystBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
BellBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
BigDripleafBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
CampfireBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
ChorusFlowerBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
DecoratedPotBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
LightningRodBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
PointedDripstoneBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
TargetBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
TntBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
AbstractBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) void
ExperienceDroppingBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.void
InfestedBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.void
RedstoneOreBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.void
SculkCatalystBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.void
SculkSensorBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.void
SculkShriekerBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.void
SpawnerBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.void
AbstractBlock.AbstractBlockState.onStateReplaced
(World world, BlockPos pos, BlockState state, boolean moved) void
AbstractBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Deprecated.void
AbstractFurnaceBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
AbstractPressurePlateBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
AbstractRailBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
AbstractRedstoneGateBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
BarrelBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
BrewingStandBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ButtonBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
CampfireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ChestBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ChiseledBookshelfBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
CrafterBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
DecoratedPotBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
DispenserBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
HopperBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
JukeboxBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
LecternBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
LeverBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
LightningRodBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ObserverBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
PistonExtensionBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
PistonHeadBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
RedstoneTorchBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
RedstoneWireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
SculkSensorBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
SculkShriekerBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ShulkerBoxBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
TripwireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
TripwireHookBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
Block.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
MagmaBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
RedstoneOreBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SculkSensorBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SculkShriekerBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SlimeBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
TurtleEggBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.boolean
AbstractBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Deprecated.boolean
BlockWithEntity.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.boolean
ComparatorBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.boolean
NoteBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.boolean
PistonBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.AbstractBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractCauldronBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractFurnaceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AnvilBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BarrelBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeaconBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BedBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeehiveBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BellBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BrewingStandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ButtonBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CampfireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleCakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CartographyTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesBodyBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesHeadBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChiseledBookshelfBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CommandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComparatorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComposterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CrafterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CraftingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DaylightDetectorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DecoratedPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DispenserBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DragonEggBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnchantingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnderChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceGateBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FletchingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FlowerPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.GrindstoneBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HangingSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HopperBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JigsawBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JukeboxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LecternBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LeverBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LightBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LoomBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.NoteBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PistonExtensionBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PumpkinBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneOreBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneWireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RepeaterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RespawnAnchorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ShulkerBoxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SmithingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StonecutterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StructureBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SweetBerryBushBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TntBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TrapdoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.WallHangingSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.static ActionResult
CaveVines.pickBerries
(@Nullable Entity picker, BlockState state, World world, BlockPos pos) default boolean
LichenGrower.GrowChecker.place
(WorldAccess world, LichenGrower.GrowPos growPos, BlockState state, boolean markForPostProcessing) static boolean
SculkVeinBlock.place
(WorldAccess world, BlockPos pos, BlockState state, Collection<Direction> directions) static void
TallPlantBlock.placeAt
(WorldAccess world, BlockState state, BlockPos pos, int flags) private void
static BlockState
Block.postProcessState
(BlockState state, WorldAccess world, BlockPos pos) void
ButtonBlock.powerOn
(BlockState state, World world, BlockPos pos) void
Block.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
CauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
LeveledCauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
AbstractBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Deprecated.Consider callingAbstractBlock.AbstractBlockState.prepare(WorldAccess, BlockPos, int, int)
instead.void
RedstoneWireBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Called when the block state changes, before the neighbor-triggered state update on the original block, and after the neighbor-triggered state update on the replaced block.static BlockState
Block.pushEntitiesUpBeforeBlockChange
(BlockState from, BlockState to, WorldAccess world, BlockPos pos) Pushes entities standing on a block up before changing the block to taller ones.private static void
LecternBlock.putBook
(@Nullable Entity user, World world, BlockPos pos, BlockState state, ItemStack stack) static boolean
LecternBlock.putBookIfAbsent
(@Nullable Entity user, World world, BlockPos pos, BlockState state, ItemStack stack) void
AbstractCandleBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
AbstractFireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BeehiveBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BlastFurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
Block.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BrewingStandBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BrushableBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BubbleColumnBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CampfireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CherryLeavesBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CryingObsidianBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EnchantingTableBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EnderChestBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndGatewayBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
FallingBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
FurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LeavesBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LeverBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LightningRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
MyceliumBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
NetherPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
PointedDripstoneBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneOreBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneWireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RepeaterBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RespawnAnchorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SculkSensorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SmokerBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SporeBlossomBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
TorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WallRedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WallTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WetSpongeBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WitherRoseBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
AbstractBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
AbstractPlantStemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
BambooBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
BambooShootBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
BeetrootsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
BuddingAmethystBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
CactusBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
ChorusFlowerBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
CocoaBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
CropBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
FarmlandBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
FluidBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
FrostedIceBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
IceBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
LeavesBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
MushroomPlantBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
NetherPortalBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
NetherWartBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
NyliumBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
OxidizableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
OxidizableBulbBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
OxidizableDoorBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
OxidizableGrateBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
OxidizableSlabBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
OxidizableStairsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
OxidizableTrapdoorBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
PitcherCropBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
PointedDripstoneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
PropaguleBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
RedstoneOreBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
SaplingBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
SnowBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
SpreadableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
StemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
SugarCaneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
SweetBerryBushBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
TorchflowerBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
TurtleEggBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
VineBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.private boolean
FluidBlock.receiveNeighborFluids
(World world, BlockPos pos, BlockState state) static void
Block.replace
(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags) Replaces thestate
with thenewState
at thepos
.static void
Block.replace
(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Replaces thestate
with thenewState
at thepos
.private static void
BigDripleafBlock.resetTilt
(BlockState state, World world, BlockPos pos) boolean
BellBlock.ring
(World world, BlockState state, BlockHitResult hitResult, @Nullable PlayerEntity player, boolean checkHitPos) AbstractBlock.rotate
(BlockState state, BlockRotation rotation) Deprecated.Consider callingAbstractBlock.AbstractBlockState.rotate(net.minecraft.util.BlockRotation)
instead.AbstractFurnaceBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.AmethystClusterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.AnvilBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.AttachedStemBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BarrelBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BeehiveBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BellBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CalibratedSculkSensorBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CampfireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ChiseledBookshelfBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CommandBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CrafterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.DeadCoralWallFanBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.DetectorRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.DispenserBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.DoorBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.EnderChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.EndPortalFrameBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.FlowerbedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.GrindstoneBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.HangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.HopperBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.HorizontalConnectingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.HorizontalFacingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.JigsawBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.LadderBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.LecternBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.MultifaceGrowthBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.MushroomBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.NetherPortalBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ObserverBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PillarBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PistonBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PistonExtensionBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PistonHeadBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.PoweredRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.RailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.RedstoneWireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.RodBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.RotatedInfestedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ShulkerBoxBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.SignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.SkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.SmallDripleafBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.StairsBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.StonecutterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.TripwireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.TripwireHookBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.VineBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallBannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallHangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallRedstoneTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallSkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.WallTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.void
AbstractBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
AbstractCauldronBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
AbstractPlantPartBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
AbstractPressurePlateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
AbstractRedstoneGateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
BambooBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
BarrelBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
BigDripleafBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
BigDripleafStemBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
BrushableBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
BubbleColumnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
ButtonBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
CactusBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
ChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
ChorusFlowerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
ChorusPlantBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
CommandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
ComparatorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
ComposterBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
CoralBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
CoralBlockBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
CoralFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
CoralWallFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
CrafterBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
DetectorRailBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
DirtPathBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
DispenserBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
EnderChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
FallingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
FarmlandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
FireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
FrogspawnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
FrostedIceBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
LeavesBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
LecternBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
LightningRodBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
MagmaBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
ObserverBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
PointedDripstoneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
RedstoneLampBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
RedstoneTorchBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
ScaffoldingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
SculkCatalystBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
SculkSensorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
SculkShriekerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
SnifferEggBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
SoulSandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
SugarCaneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
TargetBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
TripwireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
TripwireHookBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
SculkSensorBlock.setActive
(@Nullable Entity sourceEntity, World world, BlockPos pos, BlockState state, int power, int frequency) static void
SculkSensorBlock.setCooldown
(World world, BlockPos pos, BlockState state) protected final void
Block.setDefaultState
(BlockState state) Sets the default state of the block.static void
LecternBlock.setHasBook
(@Nullable Entity user, World world, BlockPos pos, BlockState state, boolean hasBook) private static void
AbstractCandleBlock.setLit
(WorldAccess world, BlockState state, BlockPos pos, boolean lit) void
DoorBlock.setOpen
(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open) private static void
TargetBlock.setPower
(WorldAccess world, BlockState state, int power, BlockPos pos, int delay) static void
LecternBlock.setPowered
(World world, BlockPos pos, BlockState state) private static void
LecternBlock.setPowered
(World world, BlockPos pos, BlockState state, boolean powered) void
LightningRodBlock.setPowered
(BlockState state, World world, BlockPos pos) protected abstract BlockState
AbstractPressurePlateBlock.setRedstoneOutput
(BlockState state, int rsOut) protected BlockState
PressurePlateBlock.setRedstoneOutput
(BlockState state, int rsOut) protected BlockState
WeightedPressurePlateBlock.setRedstoneOutput
(BlockState state, int rsOut) static void
boolean
TripwireBlock.shouldConnectTo
(BlockState state, Direction facing) private boolean
WallBlock.shouldConnectTo
(BlockState state, boolean faceFullSquare, Direction side) protected boolean
LeavesBlock.shouldDecay
(BlockState state) static boolean
Block.shouldDrawSide
(BlockState state, BlockView world, BlockPos pos, Direction side, BlockPos otherPos) private static boolean
ConcretePowderBlock.shouldHarden
(BlockView world, BlockPos pos, BlockState state) private boolean
WallBlock.shouldHavePost
(BlockState state, BlockState aboveState, VoxelShape aboveShape) private boolean
WallHangingSignBlock.shouldTryAttaching
(BlockState state, PlayerEntity player, BlockHitResult hitResult, SignBlockEntity sign, ItemStack stack) protected boolean
RedstoneTorchBlock.shouldUnpower
(World world, BlockPos pos, BlockState state) protected boolean
WallRedstoneTorchBlock.shouldUnpower
(World world, BlockPos pos, BlockState state) protected void
AbstractFireBlock.spawnBreakParticles
(World world, PlayerEntity player, BlockPos pos, BlockState state) protected void
Block.spawnBreakParticles
(World world, PlayerEntity player, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.spawnFallingBlock
(BlockState state, ServerWorld world, BlockPos pos) private void
BeehiveBlock.spawnHoneyParticles
(World world, BlockPos pos, BlockState state) private static void
LeverBlock.spawnParticles
(BlockState state, WorldAccess world, BlockPos pos, float alpha) default boolean
SculkSpreadable.spread
(WorldAccess world, BlockPos pos, BlockState state, @Nullable Collection<Direction> directions, boolean markForPostProcessing) default void
SculkSpreadable.spreadAtSamePosition
(WorldAccess world, BlockState state, BlockPos pos, Random random) void
SculkVeinBlock.spreadAtSamePosition
(WorldAccess world, BlockState state, BlockPos pos, Random random) private static boolean
NyliumBlock.stayAlive
(BlockState state, WorldView world, BlockPos pos) void
BeehiveBlock.takeHoney
(World world, BlockState state, BlockPos pos) void
BeehiveBlock.takeHoney
(World world, BlockState state, BlockPos pos, @Nullable PlayerEntity player, BeehiveBlockEntity.BeeState beeState) private void
DragonEggBlock.teleport
(BlockState state, World world, BlockPos pos) boolean
AbstractBlock.ContextPredicate.test
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.TypedContextPredicate.test
(BlockState state, BlockView world, BlockPos pos, A type) private static void
DaylightDetectorBlock.tick
(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) default void
Degradable.tickDegradation
(BlockState state, ServerWorld world, BlockPos pos, Random random) LeverBlock.togglePower
(BlockState state, World world, BlockPos pos) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) InfestedBlock.toRegularState
(BlockState infestedState) private void
CrafterBlock.transferOrSpawnStack
(World world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state) private static int
TargetBlock.trigger
(WorldAccess world, BlockState state, BlockHitResult hitResult, Entity entity) private void
TurtleEggBlock.tryBreakEgg
(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance) default Optional<BlockState>
Degradable.tryDegrade
(BlockState state, ServerWorld world, BlockPos pos, Random random) BarrierBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) BubbleColumnBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) FluidBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) FluidDrainable.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) PowderSnowBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) default ItemStack
Waterloggable.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) protected static ActionResult
CakeBlock.tryEat
(WorldAccess world, BlockPos pos, BlockState state, PlayerEntity player) boolean
CampfireBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
CandleBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
FluidFillable.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpPlantBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
SeagrassBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
SlabBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
TallSeagrassBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) default boolean
Waterloggable.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) private void
PitcherCropBlock.tryGrow
(ServerWorld world, BlockState state, BlockPos pos, int amount) static void
PointedDripstoneBlock.tryGrow
(BlockState state, ServerWorld world, BlockPos pos, Random random) private void
PistonBlock.tryMove
(World world, BlockPos pos, BlockState state) protected void
ButtonBlock.tryPowerWithProjectiles
(BlockState state, World world, BlockPos pos) boolean
MushroomPlantBlock.trySpawningBigMushroom
(ServerWorld world, BlockPos pos, BlockState state, Random random) static void
BubbleColumnBlock.update
(WorldAccess world, BlockPos pos, BlockState state) static void
BubbleColumnBlock.update
(WorldAccess world, BlockPos pos, BlockState water, BlockState bubbleSource) void
BulbBlock.update
(BlockState state, ServerWorld world, BlockPos pos) private void
ComparatorBlock.update
(World world, BlockPos pos, BlockState state) private void
RedstoneWireBlock.update
(World world, BlockPos pos, BlockState state) private void
TripwireBlock.update
(World world, BlockPos pos, BlockState state) static void
TripwireHookBlock.update
(World world, BlockPos pos, BlockState state, boolean bool, boolean bool2, int int2, @Nullable BlockState blockState) protected void
AbstractRailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockState
AbstractRailBlock.updateBlockState
(World world, BlockPos pos, BlockState state, boolean forceUpdate) protected void
PoweredRailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected void
RailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockState
AbstractRailBlock.updateCurves
(BlockState state, World world, BlockPos pos, boolean notify) private static BlockState
LeavesBlock.updateDistanceFromLogs
(BlockState state, WorldAccess world, BlockPos pos) private void
HopperBlock.updateEnabled
(World world, BlockPos pos, BlockState state) private void
RedstoneWireBlock.updateForNewState
(World world, BlockPos pos, BlockState oldState, BlockState newState) protected void
BambooBlock.updateLeaves
(BlockState state, World world, BlockPos pos, Random random, int height) protected void
DetectorRailBlock.updateNearbyRails
(World world, BlockPos pos, BlockState state, boolean unpowering) private static void
LecternBlock.updateNeighborAlways
(World world, BlockPos pos, BlockState state) private void
ButtonBlock.updateNeighbors
(BlockState state, World world, BlockPos pos) private void
LeverBlock.updateNeighbors
(BlockState state, World world, BlockPos pos) private void
LightningRodBlock.updateNeighbors
(BlockState state, World world, BlockPos pos) protected void
ObserverBlock.updateNeighbors
(World world, BlockPos pos, BlockState state) private static void
SculkSensorBlock.updateNeighbors
(World world, BlockPos pos, BlockState state) private void
AbstractPressurePlateBlock.updatePlateState
(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output) protected void
AbstractRedstoneGateBlock.updatePowered
(World world, BlockPos pos, BlockState state) protected void
ComparatorBlock.updatePowered
(World world, BlockPos pos, BlockState state) private void
DetectorRailBlock.updatePoweredStatus
(World world, BlockPos pos, BlockState state) private static void
DaylightDetectorBlock.updateState
(BlockState state, World world, BlockPos pos) protected void
AbstractRedstoneGateBlock.updateTarget
(World world, BlockPos pos, BlockState state) static boolean
SculkVeinBlock.veinCoversSculkReplaceable
(WorldAccess world, BlockState state, BlockPos pos) static BlockState
ChorusPlantBlock.withConnectionProperties
(BlockView world, BlockPos pos, BlockState state) MultifaceGrowthBlock.withDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) AbstractPlantStemBlock.withMaxAge
(BlockState state) static BlockState
TallPlantBlock.withWaterloggedState
(WorldView world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionprotected void
AbstractFurnaceBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
AbstractPlantStemBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
AbstractSkullBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
AmethystClusterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
AnvilBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
AttachedStemBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BambooBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BannerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BarrelBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BarrierBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BedBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BeehiveBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BeetrootsBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BellBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BigDripleafBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BigDripleafStemBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
Block.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BrewingStandBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BrushableBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BubbleColumnBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
BulbBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ButtonBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CactusBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CakeBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CalibratedSculkSensorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CampfireBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CandleBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CandleCakeBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CarvedPumpkinBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CaveVinesBodyBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CaveVinesHeadBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ChainBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ChestBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ChiseledBookshelfBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ChorusFlowerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ChorusPlantBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CocoaBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CommandBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ComparatorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ComposterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ConduitBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CoralParentBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CrafterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
CropBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
DaylightDetectorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
DeadCoralWallFanBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
DecoratedPotBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
DetectorRailBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
DispenserBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
DoorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
EnderChestBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
EndPortalFrameBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
EndRodBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
FarmlandBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
FenceBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
FenceGateBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
FireBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
FlowerbedBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
FluidBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
FrostedIceBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
GlazedTerracottaBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
GlowLichenBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
GrateBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
GrindstoneBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
HangingRootsBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
HangingSignBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
HopperBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
JigsawBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
JukeboxBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LadderBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LanternBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LeavesBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LecternBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LeveledCauldronBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LeverBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LightBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LightningRodBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
LoomBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
MangroveRootsBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
MultifaceGrowthBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
MushroomBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
NetherPortalBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
NetherWartBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
NoteBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ObserverBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PaneBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PillarBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PistonBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PistonExtensionBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PistonHeadBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PitcherCropBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PointedDripstoneBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PoweredRailBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PressurePlateBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
PropaguleBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
RailBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
RedstoneLampBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
RedstoneOreBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
RedstoneTorchBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
RedstoneWireBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
RepeaterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
RespawnAnchorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
RotatedInfestedBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SaplingBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ScaffoldingBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SculkCatalystBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SculkSensorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SculkShriekerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SculkVeinBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SeaPickleBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
ShulkerBoxBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SignBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SkullBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SlabBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SmallDripleafBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SnifferEggBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SnowBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SnowyBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
StairsBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
StemBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
StonecutterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
StructureBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SugarCaneBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
SweetBerryBushBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TallPlantBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TargetBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TntBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TorchflowerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TrapdoorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TrialSpawnerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TripwireBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TripwireHookBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
TurtleEggBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
VineBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
WallBannerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
WallBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
WallHangingSignBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
WallRedstoneTorchBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
WallSignBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
WallSkullBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
WallTorchBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected void
WeightedPressurePlateBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.private static BlockState
InfestedBlock.copyProperties
(Map<BlockState, BlockState> stateMap, BlockState fromState, Supplier<BlockState> toStateSupplier) private static BlockState
InfestedBlock.copyProperties
(Map<BlockState, BlockState> stateMap, BlockState fromState, Supplier<BlockState> toStateSupplier) private static BlockState
InfestedBlock.copyProperties
(Map<BlockState, BlockState> stateMap, BlockState fromState, Supplier<BlockState> toStateSupplier) protected ImmutableMap<BlockState,
VoxelShape> Block.getShapesForStates
(Function<BlockState, VoxelShape> stateToShape) AbstractBlock.Settings.luminance
(ToIntFunction<BlockState> luminance) Specifies the light level emitted by a block.AbstractBlock.Settings.mapColor
(Function<BlockState, MapColor> mapColorProvider) PointedDripstoneBlock.searchInDirection
(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) PointedDripstoneBlock.searchInDirection
(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) private static BlockState
MultifaceGrowthBlock.withAllDirections
(StateManager<Block, BlockState> stateManager) ModifierConstructorDescriptionComposterInventory
(BlockState state, WorldAccess world, BlockPos pos) (package private)
DrippingFluid
(BlockPos blockPos, Fluid fluid, BlockState blockState) FullComposterInventory
(BlockState state, WorldAccess world, BlockPos pos, ItemStack outputItem) (package private)
LowerHalfContext
(BlockPos blockPos, BlockState blockState) NeighborGroup
(BlockState self, BlockState other, Direction facing) OxidizableStairsBlock
(Oxidizable.OxidationLevel oxidationLevel, BlockState baseBlockState, AbstractBlock.Settings settings) RailPlacementHelper
(World world, BlockPos pos, BlockState state) (package private)
ShapeCache
(BlockState state) protected
StairsBlock
(BlockState baseBlockState, AbstractBlock.Settings settings) ModifierConstructorDescriptionprotected
AbstractBlockState
(Block block, ImmutableMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) BlockState
(Block block, ImmutableMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) -
Uses of BlockState in net.minecraft.block.cauldron
Modifier and TypeMethodDescriptionstatic ActionResult
CauldronBehavior.emptyCauldron
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> fullPredicate, SoundEvent soundEvent) Empties a cauldron if it's full.static ActionResult
CauldronBehavior.fillCauldron
(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) Fills a cauldron from a bucket stack.CauldronBehavior.interact
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) Called when a player interacts with a cauldron.Modifier and TypeMethodDescriptionstatic ActionResult
CauldronBehavior.emptyCauldron
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> fullPredicate, SoundEvent soundEvent) Empties a cauldron if it's full. -
Uses of BlockState in net.minecraft.block.entity
Modifier and TypeFieldDescriptionprivate BlockState
BlockEntity.cachedState
private BlockState
PistonBlockEntity.pushedBlock
private final BlockState
SculkCatalystBlockEntity.Listener.state
Modifier and TypeMethodDescriptionBlockEntity.getCachedState()
Returns the cached block state at the block entity's position.private BlockState
PistonBlockEntity.getHeadBlockState()
PistonBlockEntity.getPushedBlock()
Modifier and TypeMethodDescriptionvoid
BeehiveBlockEntity.angerBees
(@Nullable PlayerEntity player, BlockState state, BeehiveBlockEntity.BeeState beeState) private static void
ConduitBlockEntity.attackHostileEntity
(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) private void
SculkCatalystBlockEntity.Listener.bloom
(ServerWorld world, BlockPos pos, BlockState state, Random random) static void
BellBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static void
CampfireBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) static void
ChestBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity) static void
ConduitBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static void
EnderChestBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) static void
EndGatewayBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static void
MobSpawnerBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) void
ViewerCountManager.closeContainer
(PlayerEntity player, World world, BlockPos pos, BlockState state) BlockEntityType.BlockEntityFactory.create
(BlockPos pos, BlockState state) static @Nullable BlockEntity
BlockEntity.createFromNbt
(BlockPos pos, BlockState state, NbtCompound nbt) Returns the new block entity loaded fromnbt
, ornull
if it fails.ShulkerBoxBlockEntity.getBoundingBox
(BlockState state) private int
CalibratedSculkSensorBlockEntity.Callback.getCalibrationFrequency
(World world, BlockPos pos, BlockState state) static int
BeehiveBlockEntity.getHoneyLevel
(BlockState state) HopperBlockEntity.getOutputInventory
(World world, BlockPos pos, BlockState state) private static SculkSpreadable
SculkSpreadManager.Cursor.getSpreadable
(BlockState state) private static boolean
HopperBlockEntity.insert
(World world, BlockPos pos, BlockState state, Inventory inventory) private static boolean
HopperBlockEntity.insertAndExtract
(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) BlockEntityType.instantiate
(BlockPos pos, BlockState state) Returns a new instance of the block entity.static void
CampfireBlockEntity.litServerTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) protected static void
BlockEntity.markDirty
(World world, BlockPos pos, BlockState state) protected abstract void
ViewerCountManager.onContainerClose
(World world, BlockPos pos, BlockState state) Run when this container closes (when the viewer count reaches zero).protected abstract void
ViewerCountManager.onContainerOpen
(World world, BlockPos pos, BlockState state) Run when this container is opened (when the viewer count becomes nonzero).static void
HopperBlockEntity.onEntityCollided
(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) protected void
ChestBlockEntity.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected void
TrappedChestBlockEntity.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected abstract void
ViewerCountManager.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) Called when the viewer count updates, such as when a player interact with this container or when distance-based checks are run.void
ViewerCountManager.openContainer
(PlayerEntity player, World world, BlockPos pos, BlockState state) (package private) void
BarrelBlockEntity.playSound
(BlockState state, SoundEvent soundEvent) (package private) static void
ChestBlockEntity.playSound
(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) private void
ShulkerBoxBlockEntity.pushEntities
(World world, BlockPos pos, BlockState state) private static boolean
BeehiveBlockEntity.releaseBee
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) private static void
ViewerCountManager.scheduleBlockTick
(World world, BlockPos pos, BlockState state) static void
BeehiveBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static void
BellBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static void
ConduitBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static void
EndGatewayBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static void
HopperBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity) static void
MobSpawnerBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) void
BlockEntity.setCachedState
(BlockState state) Deprecated.(package private) void
BarrelBlockEntity.setOpen
(BlockState state, boolean open) private static void
EndGatewayBlockEntity.startTeleportCooldown
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) boolean
BlockEntityType.supports
(BlockState state) Returns whether the block entity type supportsstate
.static void
AbstractFurnaceBlockEntity.tick
(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) static void
BeaconBlockEntity.tick
(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity) private static void
BellBlockEntity.tick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.Effect bellEffect) void
BlockEntityTicker.tick
(World world, BlockPos pos, BlockState state, T blockEntity) Ticks the block entity.static void
BrewingStandBlockEntity.tick
(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity) static void
EnchantingTableBlockEntity.tick
(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity) private void
JukeboxBlockEntity.tick
(World world, BlockPos pos, BlockState state) static void
JukeboxBlockEntity.tick
(World world, BlockPos pos, BlockState state, JukeboxBlockEntity blockEntity) static void
PistonBlockEntity.tick
(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity) static void
SculkCatalystBlockEntity.tick
(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) static void
ShulkerBoxBlockEntity.tick
(World world, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity) static void
SignBlockEntity.tick
(World world, BlockPos pos, BlockState state, SignBlockEntity blockEntity) static void
SkullBlockEntity.tick
(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) private static void
BeehiveBlockEntity.tickBees
(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) static void
CrafterBlockEntity.tickCrafting
(World world, BlockPos pos, BlockState state, CrafterBlockEntity blockEntity) BeehiveBlockEntity.tryReleaseBee
(BlockState state, BeehiveBlockEntity.BeeState beeState) static void
EndGatewayBlockEntity.tryTeleportingEntity
(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity) static void
CampfireBlockEntity.unlitServerTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private void
ShulkerBoxBlockEntity.updateAnimation
(World world, BlockPos pos, BlockState state) private static void
ShulkerBoxBlockEntity.updateNeighborStates
(World world, BlockPos pos, BlockState state) void
ViewerCountManager.updateViewerCount
(World world, BlockPos pos, BlockState state) ModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) BannerBlockEntity
(BlockPos pos, BlockState state) BannerBlockEntity
(BlockPos pos, BlockState state, DyeColor baseColor) BarrelBlockEntity
(BlockPos pos, BlockState state) BeaconBlockEntity
(BlockPos pos, BlockState state) BedBlockEntity
(BlockPos pos, BlockState state) BedBlockEntity
(BlockPos pos, BlockState state, DyeColor color) BeehiveBlockEntity
(BlockPos pos, BlockState state) BellBlockEntity
(BlockPos pos, BlockState state) BlastFurnaceBlockEntity
(BlockPos pos, BlockState state) BlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) BrewingStandBlockEntity
(BlockPos pos, BlockState state) BrushableBlockEntity
(BlockPos pos, BlockState state) CalibratedSculkSensorBlockEntity
(BlockPos pos, BlockState state) CampfireBlockEntity
(BlockPos pos, BlockState state) protected
ChestBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) ChestBlockEntity
(BlockPos pos, BlockState state) ChiseledBookshelfBlockEntity
(BlockPos pos, BlockState state) CommandBlockBlockEntity
(BlockPos pos, BlockState state) ComparatorBlockEntity
(BlockPos pos, BlockState state) ConduitBlockEntity
(BlockPos pos, BlockState state) CrafterBlockEntity
(BlockPos pos, BlockState state) DaylightDetectorBlockEntity
(BlockPos pos, BlockState state) DecoratedPotBlockEntity
(BlockPos pos, BlockState state) protected
DispenserBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) DispenserBlockEntity
(BlockPos pos, BlockState state) DropperBlockEntity
(BlockPos pos, BlockState state) EnchantingTableBlockEntity
(BlockPos pos, BlockState state) EnderChestBlockEntity
(BlockPos pos, BlockState state) EndGatewayBlockEntity
(BlockPos pos, BlockState state) protected
EndPortalBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) EndPortalBlockEntity
(BlockPos pos, BlockState state) FurnaceBlockEntity
(BlockPos pos, BlockState state) HangingSignBlockEntity
(BlockPos pos, BlockState state) HopperBlockEntity
(BlockPos pos, BlockState state) JigsawBlockEntity
(BlockPos pos, BlockState state) JukeboxBlockEntity
(BlockPos pos, BlockState state) LecternBlockEntity
(BlockPos pos, BlockState state) Listener
(BlockState state, PositionSource positionSource) protected
LockableContainerBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) protected
LootableContainerBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) MobSpawnerBlockEntity
(BlockPos pos, BlockState state) PistonBlockEntity
(BlockPos pos, BlockState state) PistonBlockEntity
(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) SculkCatalystBlockEntity
(BlockPos pos, BlockState state) protected
SculkSensorBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) SculkSensorBlockEntity
(BlockPos pos, BlockState state) SculkShriekerBlockEntity
(BlockPos pos, BlockState state) ShulkerBoxBlockEntity
(@Nullable DyeColor color, BlockPos pos, BlockState state) ShulkerBoxBlockEntity
(BlockPos pos, BlockState state) SignBlockEntity
(BlockEntityType type, BlockPos pos, BlockState state) SignBlockEntity
(BlockPos pos, BlockState state) SkullBlockEntity
(BlockPos pos, BlockState state) SmokerBlockEntity
(BlockPos pos, BlockState state) StructureBlockBlockEntity
(BlockPos pos, BlockState state) TrappedChestBlockEntity
(BlockPos pos, BlockState state) TrialSpawnerBlockEntity
(BlockPos pos, BlockState state) -
Uses of BlockState in net.minecraft.block.pattern
Modifier and TypeMethodDescriptionstatic Predicate<CachedBlockPosition>
CachedBlockPosition.matchesBlockState
(Predicate<BlockState> state) -
Uses of BlockState in net.minecraft.block.piston
Modifier and TypeMethodDescriptionprivate static boolean
PistonHandler.isAdjacentBlockStuck
(BlockState state, BlockState adjacentState) private static boolean
PistonHandler.isBlockSticky
(BlockState state) -
Uses of BlockState in net.minecraft.client
Modifier and TypeMethodDescriptionprivate void
Keyboard.copyBlock
(BlockState state, BlockPos pos, @Nullable NbtCompound nbt) -
Uses of BlockState in net.minecraft.client.color.block
Modifier and TypeMethodDescriptionint
BlockColorProvider.getColor
(BlockState state, @Nullable BlockRenderView world, @Nullable BlockPos pos, int tintIndex) Returns the color of the block state for the specified tint index, or -1 if not tinted.int
BlockColors.getColor
(BlockState state, @Nullable BlockRenderView world, @Nullable BlockPos pos, int tintIndex) int
BlockColors.getParticleColor
(BlockState state, World world, BlockPos pos) Returns the particle color of the block state. -
Uses of BlockState in net.minecraft.client.gui.hud
Modifier and TypeMethodDescriptionprivate static @Nullable BlockState
InGameOverlayRenderer.getInWallBlockState
(PlayerEntity player) -
Uses of BlockState in net.minecraft.client.gui.screen.ingame
Modifier and TypeMethodDescriptionprotected abstract void
AbstractSignEditScreen.renderSignBackground
(DrawContext context, BlockState state) protected void
HangingSignEditScreen.renderSignBackground
(DrawContext context, BlockState state) protected void
SignEditScreen.renderSignBackground
(DrawContext context, BlockState state) protected void
AbstractSignEditScreen.translateForRender
(DrawContext context, BlockState state) protected void
HangingSignEditScreen.translateForRender
(DrawContext context, BlockState state) protected void
SignEditScreen.translateForRender
(DrawContext context, BlockState state) -
Uses of BlockState in net.minecraft.client.gui.screen.world
Modifier and TypeMethodDescriptionprivate ItemStack
CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.createItemStackFor
(BlockState state) -
Uses of BlockState in net.minecraft.client.network
Modifier and TypeFieldDescription(package private) BlockState
PendingUpdateManager.PendingUpdate.blockState
Modifier and TypeMethodDescriptionvoid
PendingUpdateManager.addPendingUpdate
(BlockPos pos, BlockState state, ClientPlayerEntity player) boolean
PendingUpdateManager.hasPendingUpdate
(BlockPos pos, BlockState state) (package private) void
PendingUpdateManager.PendingUpdate.setBlockState
(BlockState state) ModifierConstructorDescription(package private)
PendingUpdate
(int sequence, BlockState blockState, Vec3d playerPos) -
Uses of BlockState in net.minecraft.client.particle
Modifier and TypeMethodDescriptionvoid
ParticleManager.addBlockBreakParticles
(BlockPos pos, BlockState state) ModifierConstructorDescriptionBlockDustParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state) BlockDustParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state, BlockPos blockPos) (package private)
BlockMarkerParticle
(ClientWorld world, double x, double y, double z, BlockState state) -
Uses of BlockState in net.minecraft.client.render
Modifier and TypeMethodDescriptionprivate void
WorldRenderer.drawBlockOutline
(MatrixStack matrices, VertexConsumer vertexConsumer, Entity entity, double cameraX, double cameraY, double cameraZ, BlockPos pos, BlockState state) static RenderLayer
RenderLayers.getBlockLayer
(BlockState state) static RenderLayer
RenderLayers.getEntityBlockLayer
(BlockState state, boolean direct) static int
WorldRenderer.getLightmapCoordinates
(BlockRenderView world, BlockState state, BlockPos pos) static RenderLayer
RenderLayers.getMovingBlockLayer
(BlockState state) void
WorldRenderer.scheduleBlockRerenderIfNeeded
(BlockPos pos, BlockState old, BlockState updated) void
WorldRenderer.updateBlock
(BlockView world, BlockPos pos, BlockState oldState, BlockState newState, int flags) -
Uses of BlockState in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionvoid
BlockModelRenderer.AmbientOcclusionCalculator.apply
(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] box, BitSet flags, boolean shaded) float
BlockModelRenderer.BrightnessCache.getFloat
(BlockState state, BlockRenderView blockView, BlockPos pos) private float
FluidRenderer.getFluidHeight
(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) int
BlockModelRenderer.BrightnessCache.getInt
(BlockState state, BlockRenderView world, BlockPos pos) BlockModels.getModel
(BlockState state) BlockRenderManager.getModel
(BlockState state) static ModelIdentifier
BlockModels.getModelId
(BlockState state) static ModelIdentifier
BlockModels.getModelId
(Identifier id, BlockState state) BlockModels.getModelParticleSprite
(BlockState state) private void
BlockModelRenderer.getQuadDimensions
(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, @org.jetbrains.annotations.Nullable float[] box, BitSet flags) private static boolean
FluidRenderer.isOppositeSideCovered
(BlockView world, BlockPos pos, BlockState state, Direction direction) private static boolean
FluidRenderer.isSideCovered
(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state) private static boolean
FluidRenderer.isSideCovered
(BlockView world, Direction direction, float height, BlockPos pos, BlockState state) void
BlockModelRenderer.render
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, @Nullable BlockState state, BakedModel bakedModel, float red, float green, float blue, int light, int overlay) void
BlockModelRenderer.render
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) void
FluidRenderer.render
(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) void
BlockRenderManager.renderBlock
(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random) void
BlockRenderManager.renderBlockAsEntity
(BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) void
BlockRenderManager.renderDamage
(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer) void
BlockModelRenderer.renderFlat
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) void
BlockRenderManager.renderFluid
(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) private void
BlockModelRenderer.renderQuad
(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack.Entry matrixEntry, BakedQuad quad, float brightness0, float brightness1, float brightness2, float brightness3, int light0, int light1, int light2, int light3, int overlay) private void
BlockModelRenderer.renderQuadsFlat
(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BitSet flags) private void
BlockModelRenderer.renderQuadsSmooth
(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, float[] box, BitSet flags, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay) void
BlockModelRenderer.renderSmooth
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) static boolean
FluidRenderer.shouldRenderSide
(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState) -
Uses of BlockState in net.minecraft.client.render.block.entity
Modifier and TypeMethodDescription(package private) void
SignBlockEntityRenderer.render
(SignBlockEntity entity, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BlockState state, AbstractSignBlock block, WoodType woodType, Model model) private void
PistonBlockEntityRenderer.renderModel
(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay) (package private) void
HangingSignBlockEntityRenderer.setAngles
(MatrixStack matrices, float rotationDegrees, BlockState state) (package private) void
SignBlockEntityRenderer.setAngles
(MatrixStack matrices, float rotationDegrees, BlockState state) void
HangingSignBlockEntityRenderer.HangingSignModel.updateVisibleParts
(BlockState state) -
Uses of BlockState in net.minecraft.client.render.chunk
Modifier and TypeFieldDescriptionprivate final @Nullable List<PalettedContainer<BlockState>>
RenderedChunk.blockStateContainers
Modifier and TypeMethodDescriptionChunkRendererRegion.getBlockState
(BlockPos pos) Returns the block state atpos
.RenderedChunk.getBlockState
(BlockPos pos) -
Uses of BlockState in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprotected void
MinecartEntityRenderer.renderBlock
(T entity, float delta, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) protected void
TntMinecartEntityRenderer.renderBlock
(TntMinecartEntity tntMinecartEntity, float float2, BlockState blockState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) static void
TntMinecartEntityRenderer.renderFlashingBlock
(BlockRenderManager blockRenderManager, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, boolean drawFlash) Renders a given block state into the given buffers either normally or with a bright white overlay. -
Uses of BlockState in net.minecraft.client.render.entity.feature
Modifier and TypeMethodDescriptionprivate void
MooshroomMushroomFeatureRenderer.renderMushroom
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, boolean renderAsModel, BlockState mushroomState, int overlay, BakedModel mushroomModel) -
Uses of BlockState in net.minecraft.client.render.model
Modifier and TypeFieldDescriptionprivate final List<Pair<Predicate<BlockState>,
BakedModel>> MultipartBakedModel.Builder.components
private final List<Pair<Predicate<BlockState>,
BakedModel>> MultipartBakedModel.components
private static final StateManager<Block,
BlockState> ModelLoader.ITEM_FRAME_STATE_FACTORY
private final Map<BlockState,
BakedModel> BakedModelManager.BakingResult.modelCache
The field for themodelCache
record component.private final Map<BlockState,
BitSet> MultipartBakedModel.stateCache
private final StateManager<Block,
BlockState> MultipartUnbakedModel.stateFactory
private Object2IntMap<BlockState>
BakedModelManager.stateLookup
private final Object2IntMap<BlockState>
ModelLoader.stateLookup
private static final Map<Identifier,
StateManager<Block, BlockState>> ModelLoader.STATIC_DEFINITIONS
Modifier and TypeMethodDescriptionModelLoader.getStateLookup()
BakedModelManager.BakingResult.modelCache()
Returns the value of themodelCache
record component.private static Predicate<BlockState>
ModelLoader.stateKeyToPredicate
(StateManager<Block, BlockState> stateFactory, String key) Modifier and TypeMethodDescriptionstatic ModelLoader.ModelDefinition
ModelLoader.ModelDefinition.create
(BlockState state, MultipartUnbakedModel rawModel, Collection<Property<?>> properties) static ModelLoader.ModelDefinition
ModelLoader.ModelDefinition.create
(BlockState state, UnbakedModel rawModel, Collection<Property<?>> properties) ModelLoader.ModelDefinition.getStateValues
(BlockState state, Collection<Property<?>> properties) boolean
BakedModelManager.shouldRerender
(BlockState from, BlockState to) Modifier and TypeMethodDescriptionvoid
MultipartBakedModel.Builder.addComponent
(Predicate<BlockState> predicate, BakedModel model) private void
ModelLoader.addStates
(Iterable<BlockState> states) private static Predicate<BlockState>
ModelLoader.stateKeyToPredicate
(StateManager<Block, BlockState> stateFactory, String key) ModifierConstructorDescription(package private)
BakingResult
(ModelLoader modelLoader, BakedModel bakedModel, Map<BlockState, BakedModel> map, Map<Identifier, SpriteAtlasManager.AtlasPreparation> map2, CompletableFuture<Void> completableFuture) MultipartBakedModel
(List<Pair<Predicate<BlockState>, BakedModel>> components) MultipartUnbakedModel
(StateManager<Block, BlockState> stateFactory, List<MultipartModelComponent> components) -
Uses of BlockState in net.minecraft.client.render.model.json
Modifier and TypeFieldDescriptionprivate StateManager<Block,
BlockState> ModelVariantMap.DeserializationContext.stateFactory
Modifier and TypeMethodDescriptionprivate Predicate<BlockState>
SimpleMultipartModelSelector.createPredicate
(StateManager<Block, BlockState> stateFactory, Property<?> property, String valueString) AndMultipartModelSelector.getPredicate
(StateManager<Block, BlockState> stateFactory) MultipartModelComponent.getPredicate
(StateManager<Block, BlockState> stateFactory) MultipartModelSelector.getPredicate
(StateManager<Block, BlockState> stateFactory) OrMultipartModelSelector.getPredicate
(StateManager<Block, BlockState> stateFactory) SimpleMultipartModelSelector.getPredicate
(StateManager<Block, BlockState> stateFactory) ModelVariantMap.DeserializationContext.getStateFactory()
Modifier and TypeMethodDescriptionprivate Predicate<BlockState>
SimpleMultipartModelSelector.createPredicate
(StateManager<Block, BlockState> stateFactory, Property<?> property, String valueString) AndMultipartModelSelector.getPredicate
(StateManager<Block, BlockState> stateFactory) MultipartModelComponent.getPredicate
(StateManager<Block, BlockState> stateFactory) MultipartModelSelector.getPredicate
(StateManager<Block, BlockState> stateFactory) OrMultipartModelSelector.getPredicate
(StateManager<Block, BlockState> stateFactory) SimpleMultipartModelSelector.getPredicate
(StateManager<Block, BlockState> stateFactory) void
ModelVariantMap.DeserializationContext.setStateFactory
(StateManager<Block, BlockState> stateFactory) -
Uses of BlockState in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionvoid
PunchTreeTutorialStepHandler.onBlockBreaking
(ClientWorld client, BlockPos pos, BlockState state, float progress) void
TutorialManager.onBlockBreaking
(ClientWorld world, BlockPos pos, BlockState state, float progress) default void
TutorialStepHandler.onBlockBreaking
(ClientWorld client, BlockPos pos, BlockState state, float progress) -
Uses of BlockState in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.addBlockBreakParticles
(BlockPos pos, BlockState state) private void
ClientWorld.addParticle
(BlockPos pos, BlockState state, ParticleEffect parameters, boolean solidBelow) void
ClientWorld.handleBlockUpdate
(BlockPos pos, BlockState state, int flags) void
ClientWorld.processPendingUpdate
(BlockPos pos, BlockState state, Vec3d playerPos) void
ClientWorld.scheduleBlockRerenderIfNeeded
(BlockPos pos, BlockState old, BlockState updated) boolean
ClientWorld.setBlockState
(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.void
ClientWorld.updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) -
Uses of BlockState in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final BlockState
BlockArgumentParser.BlockResult.blockState
The field for theblockState
record component.private @Nullable BlockState
BlockArgumentParser.blockState
private final BlockState
BlockPredicateArgumentType.StatePredicate.state
private final BlockState
BlockStateArgument.state
Modifier and TypeFieldDescriptionprivate @Nullable StateManager<Block,
BlockState> BlockArgumentParser.stateFactory
Modifier and TypeMethodDescriptionBlockArgumentParser.BlockResult.blockState()
Returns the value of theblockState
record component.BlockStateArgument.getBlockState()
Modifier and TypeMethodDescriptionstatic String
BlockArgumentParser.stringifyBlockState
(BlockState state) ModifierConstructorDescriptionBlockResult
(BlockState blockState, Map<Property<?>, Comparable<?>> map, @Nullable NbtCompound nbtCompound) BlockStateArgument
(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound data) StatePredicate
(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound nbt) -
Uses of BlockState in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate BlockState
FallingBlockEntity.block
private @Nullable BlockState
Entity.blockStateAtPos
Modifier and TypeFieldDescriptionprivate static final TrackedData<BlockState>
TntEntity.BLOCK_STATE
Modifier and TypeMethodDescriptionFallingBlockEntity.getBlockState()
TntEntity.getBlockState()
Entity.getBlockStateAtPos()
Returns the block state at the entity's position.protected BlockState
Entity.getLandingBlockState()
Deprecated.Entity.getSteppingBlockState()
Returns the block state at the stepping position.Modifier and TypeMethodDescriptionprivate boolean
Entity.canClimb
(BlockState state) private boolean
LivingEntity.canEnterTrapdoor
(BlockPos pos, BlockState state) boolean
Entity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosion
from this entity can destroystate
.boolean
LargeEntitySpawnHelper.Requirements.canSpawnOn
(ServerWorld world, BlockPos pos, BlockState state, BlockPos abovePos, BlockState aboveState) boolean
Entity.collidesWithStateAtPos
(BlockPos pos, BlockState state) Returns whether the entity collides with the blockstate
atpos
.protected void
Entity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
LivingEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.float
Entity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity.boolean
EntityType.isInvalidSpawn
(BlockState state) Returns whether the EntityType can spawn inside the given block.protected void
Entity.onBlockCollision
(BlockState state) Called when this entity's collision box intersectsstate
.protected void
Entity.playCombinationStepSounds
(BlockState primaryState, BlockState secondaryState) protected void
Entity.playSecondaryStepSound
(BlockState state) protected void
Entity.playStepSound
(BlockPos pos, BlockState state) private void
Entity.playStepSounds
(BlockPos pos, BlockState state) void
TntEntity.setBlockState
(BlockState state) private boolean
Entity.shouldPlayAmethystChimeSound
(BlockState state) protected boolean
LivingEntity.shouldRemoveSoulSpeedBoost
(BlockState landingState) void
Entity.slowMovement
(BlockState state, Vec3d multiplier) CallsEntity.onLanding()
and slows this entity.static FallingBlockEntity
FallingBlockEntity.spawnFromBlock
(World world, BlockPos pos, BlockState state) Spawns a falling block entity atpos
from the blockstate
.private boolean
Entity.stepOnBlock
(BlockPos pos, BlockState state, boolean playSound, boolean emitEvent, Vec3d movement) ModifierConstructorDescriptionprivate
FallingBlockEntity
(World world, double x, double y, double z, BlockState block) -
Uses of BlockState in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionprivate void
FarmerWorkTask.compostSeeds
(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState) private void
FarmerWorkTask.syncComposterEvent
(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState) -
Uses of BlockState in net.minecraft.entity.ai.goal
Modifier and TypeFieldDescriptionprivate static final Predicate<BlockState>
EatGrassGoal.SHORT_GRASS_PREDICATE
-
Uses of BlockState in net.minecraft.entity.ai.pathing
Modifier and TypeMethodDescriptionstatic boolean
LandPathNodeMaker.inflictsFireDamage
(BlockState state) -
Uses of BlockState in net.minecraft.entity.boss
Modifier and TypeMethodDescriptionstatic boolean
WitherEntity.canDestroy
(BlockState block) void
WitherEntity.slowMovement
(BlockState state, Vec3d multiplier) CallsEntity.onLanding()
and slows this entity. -
Uses of BlockState in net.minecraft.entity.damage
Modifier and TypeMethodDescriptionstatic FallLocation
FallLocation.fromBlockState
(BlockState state) -
Uses of BlockState in net.minecraft.entity.data
Modifier and TypeFieldDescriptionstatic final TrackedDataHandler<BlockState>
TrackedDataHandlerRegistry.BLOCK_STATE
static final TrackedDataHandler<Optional<BlockState>>
TrackedDataHandlerRegistry.OPTIONAL_BLOCK_STATE
-
Uses of BlockState in net.minecraft.entity.decoration
Modifier and TypeFieldDescriptionprivate final BlockState
DisplayEntity.BlockDisplayEntity.Data.blockState
The field for theblockState
record component.Modifier and TypeFieldDescriptionprivate static final TrackedData<BlockState>
DisplayEntity.BlockDisplayEntity.BLOCK_STATE
Modifier and TypeMethodDescriptionDisplayEntity.BlockDisplayEntity.Data.blockState()
Returns the value of theblockState
record component.private BlockState
DisplayEntity.BlockDisplayEntity.getBlockState()
Modifier and TypeMethodDescriptionprivate void
DisplayEntity.BlockDisplayEntity.setBlockState
(BlockState state) ModifierConstructorDescriptionData
(BlockState blockState) Creates an instance of aData
record class. -
Uses of BlockState in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionprivate static final TrackedData<Optional<BlockState>>
EndermanEntity.CARRIED_BLOCK
Modifier and TypeMethodDescriptionprivate boolean
EndermanEntity.PlaceBlockGoal.canPlaceOn
(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos) protected void
FlyingEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
AbstractSkeletonEntity.playStepSound
(BlockPos pos, BlockState state) protected void
EndermiteEntity.playStepSound
(BlockPos pos, BlockState state) protected void
HoglinEntity.playStepSound
(BlockPos pos, BlockState state) protected void
PiglinBruteEntity.playStepSound
(BlockPos pos, BlockState state) protected void
PiglinEntity.playStepSound
(BlockPos pos, BlockState state) protected void
RavagerEntity.playStepSound
(BlockPos pos, BlockState state) protected void
SilverfishEntity.playStepSound
(BlockPos pos, BlockState state) protected void
SpiderEntity.playStepSound
(BlockPos pos, BlockState state) protected void
WardenEntity.playStepSound
(BlockPos pos, BlockState state) protected void
ZoglinEntity.playStepSound
(BlockPos pos, BlockState state) protected void
ZombieEntity.playStepSound
(BlockPos pos, BlockState state) void
EndermanEntity.setCarriedBlock
(@Nullable BlockState state) void
SpiderEntity.slowMovement
(BlockState state, Vec3d multiplier) CallsEntity.onLanding()
and slows this entity. -
Uses of BlockState in net.minecraft.entity.passive
Modifier and TypeFieldDescription(package private) final BlockState
MooshroomEntity.Type.mushroom
Modifier and TypeFieldDescriptionprivate final Predicate<BlockState>
BeeEntity.PollinateGoal.flowerPredicate
Modifier and TypeMethodDescriptionprotected void
AllayEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
BatEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
BeeEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
ParrotEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
StriderEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private void
FoxEntity.EatBerriesGoal.pickGlowBerries
(BlockState state) private void
FoxEntity.EatBerriesGoal.pickSweetBerries
(BlockState state) protected void
AbstractHorseEntity.playStepSound
(BlockPos pos, BlockState state) protected void
AllayEntity.playStepSound
(BlockPos pos, BlockState state) protected void
BeeEntity.playStepSound
(BlockPos pos, BlockState state) protected void
CamelEntity.playStepSound
(BlockPos pos, BlockState state) protected void
ChickenEntity.playStepSound
(BlockPos pos, BlockState state) protected void
CowEntity.playStepSound
(BlockPos pos, BlockState state) protected void
FishEntity.playStepSound
(BlockPos pos, BlockState state) protected void
FrogEntity.playStepSound
(BlockPos pos, BlockState state) protected void
GoatEntity.playStepSound
(BlockPos pos, BlockState state) protected void
IronGolemEntity.playStepSound
(BlockPos pos, BlockState state) protected void
LlamaEntity.playStepSound
(BlockPos pos, BlockState state) protected void
PandaEntity.playStepSound
(BlockPos pos, BlockState state) protected void
ParrotEntity.playStepSound
(BlockPos pos, BlockState state) protected void
PigEntity.playStepSound
(BlockPos pos, BlockState state) protected void
PolarBearEntity.playStepSound
(BlockPos pos, BlockState state) protected void
SheepEntity.playStepSound
(BlockPos pos, BlockState state) protected void
SnifferEntity.playStepSound
(BlockPos pos, BlockState state) protected void
StriderEntity.playStepSound
(BlockPos pos, BlockState state) protected void
TurtleEntity.playStepSound
(BlockPos pos, BlockState state) protected void
WolfEntity.playStepSound
(BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionBeeEntity.PollinateGoal.findFlower
(Predicate<BlockState> predicate, double searchDistance) -
Uses of BlockState in net.minecraft.entity.player
Modifier and TypeMethodDescriptionboolean
PlayerEntity.canHarvest
(BlockState state) Determines whether the player is able to harvest drops from the specified block state.float
PlayerEntity.getBlockBreakingSpeed
(BlockState block) float
PlayerInventory.getBlockBreakingSpeed
(BlockState block) protected void
PlayerEntity.playStepSound
(BlockPos pos, BlockState state) protected boolean
PlayerEntity.shouldRemoveSoulSpeedBoost
(BlockState landingState) void
PlayerEntity.slowMovement
(BlockState state, Vec3d multiplier) CallsEntity.onLanding()
and slows this entity. -
Uses of BlockState in net.minecraft.entity.projectile
Modifier and TypeFieldDescriptionprivate @Nullable BlockState
PersistentProjectileEntity.inBlockState
Modifier and TypeMethodDescriptionfloat
WitherSkullEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity. -
Uses of BlockState in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionAbstractMinecartEntity.getContainedBlock()
AbstractMinecartEntity.getDefaultContainedBlock()
ChestMinecartEntity.getDefaultContainedBlock()
CommandBlockMinecartEntity.getDefaultContainedBlock()
FurnaceMinecartEntity.getDefaultContainedBlock()
HopperMinecartEntity.getDefaultContainedBlock()
SpawnerMinecartEntity.getDefaultContainedBlock()
TntMinecartEntity.getDefaultContainedBlock()
Modifier and TypeMethodDescriptionboolean
TntMinecartEntity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosion
from this entity can destroystate
.protected void
BoatEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.float
TntMinecartEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity.protected void
AbstractMinecartEntity.moveOnRail
(BlockPos pos, BlockState state) protected void
FurnaceMinecartEntity.moveOnRail
(BlockPos pos, BlockState state) void
AbstractMinecartEntity.setCustomBlock
(BlockState state) -
Uses of BlockState in net.minecraft.fluid
Modifier and TypeMethodDescriptionFluidState.getBlockState()
protected BlockState
EmptyFluid.toBlockState
(FluidState state) protected abstract BlockState
Fluid.toBlockState
(FluidState state) LavaFluid.toBlockState
(FluidState state) WaterFluid.toBlockState
(FluidState state) Modifier and TypeMethodDescriptionprotected abstract void
FlowableFluid.beforeBreakingBlock
(WorldAccess world, BlockPos pos, BlockState state) protected void
LavaFluid.beforeBreakingBlock
(WorldAccess world, BlockPos pos, BlockState state) protected void
WaterFluid.beforeBreakingBlock
(WorldAccess world, BlockPos pos, BlockState state) private boolean
FlowableFluid.canFill
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) protected boolean
FlowableFluid.canFlow
(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid) private boolean
FlowableFluid.canFlowDownTo
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) private boolean
FlowableFluid.canFlowThrough
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) protected void
FlowableFluid.flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected void
LavaFluid.flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) private void
FlowableFluid.flowToSides
(World world, BlockPos pos, FluidState fluidState, BlockState blockState) protected int
FlowableFluid.getFlowSpeedBetween
(WorldView world, BlockPos pos, int int2, Direction direction, BlockState state, BlockPos fromPos, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, Short2BooleanMap flowDownCache) protected Map<Direction,
FluidState> FlowableFluid.getSpread
(World world, BlockPos pos, BlockState state) protected FluidState
FlowableFluid.getUpdatedState
(World world, BlockPos pos, BlockState state) private boolean
FlowableFluid.receivesFlow
(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) Modifier and TypeMethodDescriptionprotected int
FlowableFluid.getFlowSpeedBetween
(WorldView world, BlockPos pos, int int2, Direction direction, BlockState state, BlockPos fromPos, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, Short2BooleanMap flowDownCache) -
Uses of BlockState in net.minecraft.item
Modifier and TypeFieldDescriptionprotected static final Map<Block,
BlockState> ShovelItem.PATH_STATES
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateDebugStickItem.cycle
(BlockState state, Property<T> property, boolean inverse) private BlockState
FilledMapItem.getFluidStateIfVisible
(World world, BlockState state, BlockPos pos) protected @Nullable BlockState
BlockItem.getPlacementState
(ItemPlacementContext context) protected @Nullable BlockState
OperatorOnlyBlockItem.getPlacementState
(ItemPlacementContext context) protected @Nullable BlockState
VerticallyAttachableBlockItem.getPlacementState
(ItemPlacementContext context) private BlockState
BlockItem.placeFromNbt
(BlockPos pos, World world, ItemStack stack, BlockState state) private static <T extends Comparable<T>>
BlockStateBlockItem.with
(BlockState state, Property<T> property, String name) Modifier and TypeMethodDescriptionprivate Optional<BlockState>
AxeItem.getStrippedState
(BlockState state) static Optional<BlockState>
HoneycombItem.getWaxedState
(BlockState state) private Optional<BlockState>
AxeItem.tryStrip
(World world, BlockPos pos, @Nullable PlayerEntity player, BlockState state) Modifier and TypeMethodDescriptionprivate void
BrushItem.addDustParticles
(World world, BlockHitResult hitResult, BlockState state, Vec3d userRotation, Arm arm) boolean
DebugStickItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
Item.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
SwordItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
TridentItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.protected boolean
BlockItem.canPlace
(ItemPlacementContext context, BlockState state) protected boolean
HangingSignItem.canPlaceAt
(WorldView world, BlockState state, BlockPos pos) protected boolean
VerticallyAttachableBlockItem.canPlaceAt
(WorldView world, BlockState state, BlockPos pos) static Consumer<ItemUsageContext>
HoeItem.createTillAction
(BlockState result) Returns a tilling action that sets a block state.static Consumer<ItemUsageContext>
HoeItem.createTillAndDropAction
(BlockState result, ItemConvertible droppedItem) Returns a tilling action that sets a block state and drops an item.private static <T extends Comparable<T>>
BlockStateDebugStickItem.cycle
(BlockState state, Property<T> property, boolean inverse) private BlockState
FilledMapItem.getFluidStateIfVisible
(World world, BlockState state, BlockPos pos) float
Item.getMiningSpeedMultiplier
(ItemStack stack, BlockState state) Returns the multiplier applied to the mining speed ofstack
when miningstate
.float
ItemStack.getMiningSpeedMultiplier
(BlockState state) float
MiningToolItem.getMiningSpeedMultiplier
(ItemStack stack, BlockState state) Returns the multiplier applied to the mining speed ofstack
when miningstate
.float
ShearsItem.getMiningSpeedMultiplier
(ItemStack stack, BlockState state) Returns the multiplier applied to the mining speed ofstack
when miningstate
.float
SwordItem.getMiningSpeedMultiplier
(ItemStack stack, BlockState state) Returns the multiplier applied to the mining speed ofstack
when miningstate
.protected SoundEvent
BlockItem.getPlaceSound
(BlockState state) protected SoundEvent
PowderSnowBucketItem.getPlaceSound
(BlockState state) private Optional<BlockState>
AxeItem.getStrippedState
(BlockState state) private static <T extends Comparable<T>>
StringDebugStickItem.getValueString
(BlockState state, Property<T> property) static Optional<BlockState>
HoneycombItem.getWaxedState
(BlockState state) boolean
Item.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.boolean
ItemStack.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.boolean
MiningToolItem.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.boolean
ShearsItem.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.boolean
SwordItem.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.protected boolean
BedItem.place
(ItemPlacementContext context, BlockState state) protected boolean
BlockItem.place
(ItemPlacementContext context, BlockState state) protected boolean
TallBlockItem.place
(ItemPlacementContext context, BlockState state) private BlockState
BlockItem.placeFromNbt
(BlockPos pos, World world, ItemStack stack, BlockState state) boolean
Item.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.void
ItemStack.postMine
(World world, BlockState state, BlockPos pos, PlayerEntity miner) boolean
MiningToolItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.boolean
ShearsItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.boolean
SwordItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.boolean
TridentItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.protected boolean
BlockItem.postPlacement
(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) protected boolean
SignItem.postPlacement
(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) private Optional<BlockState>
AxeItem.tryStrip
(World world, BlockPos pos, @Nullable PlayerEntity player, BlockState state) private boolean
DebugStickItem.use
(PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos, boolean update, ItemStack stack) private static <T extends Comparable<T>>
BlockStateBlockItem.with
(BlockState state, Property<T> property, String name) -
Uses of BlockState in net.minecraft.loot.context
Modifier and TypeFieldDescriptionstatic final LootContextParameter<BlockState>
LootContextParameters.BLOCK_STATE
-
Uses of BlockState in net.minecraft.loot.function
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringCopyStateFunction.getPropertyName
(BlockState state, Property<T> property) -
Uses of BlockState in net.minecraft.nbt
Modifier and TypeMethodDescriptionstatic BlockState
NbtHelper.toBlockState
(RegistryEntryLookup<Block> blockLookup, NbtCompound nbt) Returns the block state from thenbt
.Modifier and TypeMethodDescriptionstatic NbtCompound
NbtHelper.fromBlockState
(BlockState state) Returns the serialized block state. -
Uses of BlockState in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final BlockState[]
ChunkDeltaUpdateS2CPacket.blockStates
private final BlockState
BlockUpdateS2CPacket.state
Modifier and TypeMethodDescriptionvoid
ChunkDeltaUpdateS2CPacket.visitUpdates
(BiConsumer<BlockPos, BlockState> visitor) Calls the given consumer for each pair of block position and block state contained in this packet. -
Uses of BlockState in net.minecraft.particle
ModifierConstructorDescriptionBlockStateParticleEffect
(ParticleType<BlockStateParticleEffect> type, BlockState blockState) -
Uses of BlockState in net.minecraft.predicate
-
Uses of BlockState in net.minecraft.predicate.block
Modifier and TypeFieldDescriptionstatic final Predicate<BlockState>
BlockStatePredicate.ANY
private final StateManager<Block,
BlockState> BlockStatePredicate.manager
Modifier and TypeMethodDescriptionboolean
BlockPredicate.test
(@Nullable BlockState blockState) boolean
BlockStatePredicate.test
(@Nullable BlockState blockState) protected <T extends Comparable<T>>
booleanBlockStatePredicate.testProperty
(BlockState blockState, Property<T> property, Predicate<Object> predicate) ModifierConstructorDescriptionprivate
BlockStatePredicate
(StateManager<Block, BlockState> manager) -
Uses of BlockState in net.minecraft.screen
Modifier and TypeMethodDescriptionprotected boolean
AnvilScreenHandler.canUse
(BlockState state) protected abstract boolean
ForgingScreenHandler.canUse
(BlockState state) protected boolean
SmithingScreenHandler.canUse
(BlockState state) -
Uses of BlockState in net.minecraft.server.command
ModifierConstructorDescriptionBlockInfo
(BlockPos pos, BlockState state, @Nullable NbtCompound blockEntityNbt) -
Uses of BlockState in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate float
ServerPlayerInteractionManager.continueMining
(BlockState state, BlockPos pos, int failedStartMiningTime) protected void
ServerPlayerEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
ServerPlayerEntity.onBlockCollision
(BlockState state) Called when this entity's collision box intersectsstate
.static void
DebugInfoSender.sendBeehiveDebugData
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) -
Uses of BlockState in net.minecraft.server.world
Modifier and TypeMethodDescriptionvoid
ServerWorld.onBlockChanged
(BlockPos pos, BlockState oldBlock, BlockState newBlock) Called when a block state changed.private void
ChunkHolder.tryUpdateBlockEntityAt
(List<ServerPlayerEntity> players, World world, BlockPos pos, BlockState state) void
ServerWorld.updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) void
ServerWorld.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) -
Uses of BlockState in net.minecraft.structure
Modifier and TypeFieldDescriptionprotected static final BlockState
StructurePiece.AIR
static final BlockState
StructureTemplate.Palette.AIR
protected static final BlockState
OceanMonumentGenerator.Piece.ALSO_PRISMARINE_BRICKS
protected BlockState
StructurePiece.BlockRandomizer.block
protected static final BlockState
OceanMonumentGenerator.Piece.DARK_PRISMARINE
protected static final BlockState
OceanMonumentGenerator.Piece.PRISMARINE
protected static final BlockState
OceanMonumentGenerator.Piece.PRISMARINE_BRICKS
protected static final BlockState
OceanMonumentGenerator.Piece.SEA_LANTERN
private final BlockState
StructureTemplate.StructureBlockInfo.state
The field for thestate
record component.protected static final BlockState
OceanMonumentGenerator.Piece.WATER
Modifier and TypeMethodDescriptionStructurePiece.BlockRandomizer.getBlock()
protected BlockState
StructurePiece.getBlockAt
(BlockView world, int x, int y, int z, BlockBox box) StructureTemplate.Palette.getState
(int id) static BlockState
StructurePiece.orientateChest
(BlockView world, BlockPos pos, BlockState state) StructureTemplate.StructureBlockInfo.state()
Returns the value of thestate
record component.Modifier and TypeMethodDescriptionprotected void
StructurePiece.addBlock
(StructureWorldAccess world, BlockState block, int x, int y, int z, BlockBox box) protected void
StructurePiece.addBlockWithRandomThreshold
(StructureWorldAccess world, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState state) protected boolean
StructurePiece.addChest
(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, @Nullable BlockState block) protected boolean
StructurePiece.canReplace
(BlockState state) protected void
OceanMonumentGenerator.Piece.fillArea
(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth, BlockState state) private static void
MineshaftGenerator.MineshaftCorridor.fillColumn
(StructureWorldAccess world, BlockState state, BlockPos.Mutable pos, int startY, int endY) protected void
MineshaftGenerator.MineshaftCorridor.fillDownwards
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected void
StructurePiece.fillDownwards
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected void
StructurePiece.fillHalfEllipsoid
(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState block, boolean cantReplaceAir) protected void
MineshaftGenerator.MineshaftCorridor.fillSupportBeam
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, BlockBox fillBox, BlockState outline, BlockState inside, boolean cantReplaceAir) protected void
StructurePiece.fillWithOutlineUnderSeaLevel
(StructureWorldAccess world, BlockBox box, Random random, float blockChance, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir, boolean stayBelowSeaLevel) int
StructureTemplate.Palette.getId
(BlockState state) private boolean
BuriedTreasureGenerator.Piece.isLiquid
(BlockState state) private boolean
MineshaftGenerator.MineshaftCorridor.isUpsideSolidFullSquare
(WorldView world, BlockPos pos, BlockState state) static BlockState
StructurePiece.orientateChest
(BlockView world, BlockPos pos, BlockState state) void
StructureTemplate.Palette.set
(BlockState state, int id) private boolean
MineshaftGenerator.MineshaftCorridor.sideCoversSmallSquare
(WorldView world, BlockPos pos, BlockState state) protected void
MineshaftGenerator.MineshaftPart.tryPlaceFloor
(StructureWorldAccess world, BlockBox box, BlockState state, int x, int y, int z) ModifierConstructorDescriptionStructureBlockInfo
(BlockPos pos, BlockState state, @Nullable NbtCompound nbt) Creates an instance of aStructureBlockInfo
record class. -
Uses of BlockState in net.minecraft.structure.processor
Modifier and TypeFieldDescriptionprivate static final BlockState[]
BlockAgeStructureProcessor.AGEABLE_SLABS
private final BlockState
StructureProcessorRule.outputState
Modifier and TypeMethodDescriptionStructureProcessorRule.getOutputState()
private BlockState
BlockAgeStructureProcessor.process
(Random random, BlockState[] regularStates, BlockState[] mossyStates) private @Nullable BlockState
BlockAgeStructureProcessor.processBlocks
(Random random) private @Nullable BlockState
BlockAgeStructureProcessor.processObsidian
(Random random) private @Nullable BlockState
BlockAgeStructureProcessor.processSlabs
(Random random) private @Nullable BlockState
BlockAgeStructureProcessor.processStairs
(Random random, BlockState state) private @Nullable BlockState
BlockAgeStructureProcessor.processWalls
(Random random) private static BlockState
BlockAgeStructureProcessor.randomStairProperties
(Random random, Block stairs) private static BlockState
BlockAgeStructureProcessor.randomState
(Random random, BlockState[] states) Modifier and TypeMethodDescriptionprivate BlockState
BlockAgeStructureProcessor.process
(Random random, BlockState[] regularStates, BlockState[] mossyStates) private @Nullable BlockState
BlockAgeStructureProcessor.processStairs
(Random random, BlockState state) private static BlockState
BlockAgeStructureProcessor.randomState
(Random random, BlockState[] states) boolean
StructureProcessorRule.test
(BlockState input, BlockState currentState, BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random) ModifierConstructorDescriptionStructureProcessorRule
(RuleTest inputPredicate, RuleTest locationPredicate, BlockState state) StructureProcessorRule
(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState state) StructureProcessorRule
(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState outputState, RuleBlockEntityModifier blockEntityModifier) -
Uses of BlockState in net.minecraft.structure.rule
Modifier and TypeFieldDescriptionprivate final BlockState
BlockStateMatchRuleTest.blockState
private final BlockState
RandomBlockStateMatchRuleTest.blockState
Modifier and TypeMethodDescriptionboolean
AlwaysTrueRuleTest.test
(BlockState state, Random random) boolean
BlockMatchRuleTest.test
(BlockState state, Random random) boolean
BlockStateMatchRuleTest.test
(BlockState state, Random random) boolean
RandomBlockMatchRuleTest.test
(BlockState state, Random random) boolean
RandomBlockStateMatchRuleTest.test
(BlockState state, Random random) abstract boolean
RuleTest.test
(BlockState state, Random random) boolean
TagMatchRuleTest.test
(BlockState state, Random random) ModifierConstructorDescriptionBlockStateMatchRuleTest
(BlockState blockState) RandomBlockStateMatchRuleTest
(BlockState blockState, float probability) -
Uses of BlockState in net.minecraft.test
Modifier and TypeMethodDescriptionvoid
TestContext.setBlockState
(int x, int y, int z, BlockState state) void
TestContext.setBlockState
(BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionvoid
TestContext.checkBlockState
(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> errorMessageSupplier) -
Uses of BlockState in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
ItemScatterer.onStateReplaced
(BlockState state, BlockState newState, World world, BlockPos pos) -
Uses of BlockState in net.minecraft.util.crash
Modifier and TypeMethodDescriptionstatic void
CrashReportSection.addBlockInfo
(CrashReportSection element, HeightLimitView world, BlockPos pos, @Nullable BlockState state) -
Uses of BlockState in net.minecraft.util.math
Modifier and TypeFieldDescriptionprivate final BlockState
BlockPointer.state
The field for thestate
record component.Modifier and TypeMethodDescriptionBlockPointer.state()
Returns the value of thestate
record component.ModifierConstructorDescriptionBlockPointer
(ServerWorld serverWorld, BlockPos blockPos, BlockState blockState, DispenserBlockEntity dispenserBlockEntity) -
Uses of BlockState in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final Predicate<BlockState>
Heightmap.blockPredicate
private final Predicate<BlockState>
Heightmap.Type.blockPredicate
private static final com.mojang.serialization.Codec<PalettedContainer<BlockState>>
ChunkSerializer.CODEC
(package private) static final Predicate<BlockState>
Heightmap.NOT_AIR
private final Predicate<BlockState>
BlockStateRaycastContext.statePredicate
(package private) static final Predicate<BlockState>
Heightmap.SUFFOCATES
Modifier and TypeMethodDescriptionBlockView.getBlockState
(BlockPos pos) Returns the block state atpos
.ChunkRegion.getBlockState
(BlockPos pos) Returns the block state atpos
.ChunkSectionCache.getBlockState
(BlockPos pos) EmptyBlockView.getBlockState
(BlockPos pos) Returns the block state atpos
.World.getBlockState
(BlockPos pos) Returns the block state atpos
.Modifier and TypeMethodDescriptionHeightmap.Type.getBlockPredicate()
BlockStateRaycastContext.getStatePredicate()
default Stream<BlockState>
BlockView.getStatesInBox
(Box box) default Stream<BlockState>
WorldView.getStatesInBoxIfLoaded
(Box box) Modifier and TypeMethodDescriptionvoid
World.addBlockBreakParticles
(BlockPos pos, BlockState state) default boolean
CollisionView.canPlace
(BlockState state, BlockPos pos, ShapeContext context) RaycastContext.ShapeProvider.get
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RaycastContext.ShapeType.get
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RaycastContext.getBlockShape
(BlockState state, BlockView world, BlockPos pos) static boolean
SpawnHelper.isClearForSpawn
(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType) void
World.onBlockChanged
(BlockPos pos, BlockState oldBlock, BlockState newBlock) Called when a block state changed.default @Nullable BlockHitResult
BlockView.raycastBlock
(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state) void
World.replaceWithStateForNeighborUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) default void
WorldAccess.replaceWithStateForNeighborUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) void
World.scheduleBlockRerenderIfNeeded
(BlockPos pos, BlockState old, BlockState updated) boolean
ChunkRegion.setBlockState
(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.default boolean
ModifiableWorld.setBlockState
(BlockPos pos, BlockState state, int flags) Updates the block state at a position, calling appropriate callbacks.boolean
ModifiableWorld.setBlockState
(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.boolean
World.setBlockState
(BlockPos pos, BlockState state) boolean
World.setBlockState
(BlockPos pos, BlockState state, int flags) Updates the block state at a position, calling appropriate callbacks.boolean
World.setBlockState
(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.boolean
Heightmap.trackUpdate
(int x, int y, int z, BlockState state) abstract void
World.updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) void
World.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Modifier and TypeMethodDescriptionboolean
ChunkRegion.testBlockState
(BlockPos pos, Predicate<BlockState> state) boolean
TestableWorld.testBlockState
(BlockPos pos, Predicate<BlockState> state) boolean
World.testBlockState
(BlockPos pos, Predicate<BlockState> state) ModifierConstructorDescriptionBlockStateRaycastContext
(Vec3d start, Vec3d end, Predicate<BlockState> statePredicate) private
Type
(String name, Heightmap.Purpose purpose, Predicate<BlockState> blockPredicate) -
Uses of BlockState in net.minecraft.world.block
Modifier and TypeFieldDescriptionprivate final BlockState
ChainRestrictedNeighborUpdater.StateReplacementEntry.neighborState
The field for theneighborState
record component.private final BlockState
ChainRestrictedNeighborUpdater.StatefulEntry.state
The field for thestate
record component.Modifier and TypeMethodDescriptionChainRestrictedNeighborUpdater.StateReplacementEntry.neighborState()
Returns the value of theneighborState
record component.ChainRestrictedNeighborUpdater.StatefulEntry.state()
Returns the value of thestate
record component.Modifier and TypeMethodDescriptionvoid
ChainRestrictedNeighborUpdater.replaceWithStateForNeighborUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) void
NeighborUpdater.replaceWithStateForNeighborUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) static void
NeighborUpdater.replaceWithStateForNeighborUpdate
(WorldAccess world, Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) void
SimpleNeighborUpdater.replaceWithStateForNeighborUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) static void
NeighborUpdater.tryNeighborUpdate
(World world, BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
ChainRestrictedNeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
NeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
SimpleNeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) ModifierConstructorDescription(package private)
StatefulEntry
(BlockState blockState, BlockPos blockPos, Block block, BlockPos blockPos2, boolean bool) (package private)
StateReplacementEntry
(Direction direction, BlockState blockState, BlockPos blockPos, BlockPos blockPos2, int int2, int int3) -
Uses of BlockState in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate final PalettedContainer<BlockState>
ChunkSection.blockStateContainer
Modifier and TypeMethodDescriptionprivate static BlockState
UpgradeData.applyAdjacentBlock
(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos) ChunkCache.getBlockState
(BlockPos pos) Returns the block state atpos
.ChunkSection.getBlockState
(int x, int y, int z) EmptyChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.ProtoChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.WorldChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.WrapperProtoChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.UpgradeData.Logic.getUpdatedState
(BlockState oldState, Direction direction, BlockState otherState, WorldAccess world, BlockPos currentPos, BlockPos otherPos) abstract @Nullable BlockState
Chunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) ChunkSection.setBlockState
(int x, int y, int z, BlockState state) ChunkSection.setBlockState
(int x, int y, int z, BlockState state, boolean lock) EmptyChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) ProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) WorldChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) WrapperProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) Modifier and TypeMethodDescriptionprivate static BlockState
UpgradeData.applyAdjacentBlock
(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos) UpgradeData.Logic.getUpdatedState
(BlockState oldState, Direction direction, BlockState otherState, WorldAccess world, BlockPos currentPos, BlockPos otherPos) abstract @Nullable BlockState
Chunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) ChunkSection.setBlockState
(int x, int y, int z, BlockState state) ChunkSection.setBlockState
(int x, int y, int z, BlockState state, boolean lock) EmptyChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) ProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) WorldChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) WrapperProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) Modifier and TypeMethodDescriptionvoid
Chunk.forEachBlockMatchingPredicate
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) void
Chunk.forEachBlockMatchingPredicate
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) void
WrapperProtoChunk.forEachBlockMatchingPredicate
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) void
WrapperProtoChunk.forEachBlockMatchingPredicate
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) final void
Chunk.forEachLightSource
(BiConsumer<BlockPos, BlockState> callback) boolean
ChunkSection.hasAny
(Predicate<BlockState> predicate) ModifierConstructorDescriptionChunkSection
(PalettedContainer<BlockState> blockStateContainer, ReadableContainer<RegistryEntry<Biome>> biomeContainer) -
Uses of BlockState in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionprotected BlockState
ChunkLightProvider.getStateForLighting
(BlockPos pos) Modifier and TypeMethodDescriptionprivate static boolean
ChunkSkyLight.faceBlocksLight
(BlockView blockView, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) private int
ChunkBlockLightProvider.getLightSourceLuminance
(long blockPos, BlockState blockState) protected int
ChunkLightProvider.getOpacity
(BlockState state, BlockPos pos) protected VoxelShape
ChunkLightProvider.getOpaqueShape
(BlockState blockState, long pos, Direction direction) static VoxelShape
ChunkLightProvider.getOpaqueShape
(BlockView blockView, BlockPos pos, BlockState blockState, Direction direction) static int
ChunkLightProvider.getRealisticOpacity
(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2) private boolean
ChunkSkyLight.isSkyLightAccessible
(BlockView blockView, int packedIndex, int value, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) protected static boolean
ChunkLightProvider.isTrivialForLighting
(BlockState blockState) private int
ChunkSkyLight.locateLightBlockingBlockBelow
(BlockView blockView, BlockPos pos, BlockState blockState) static boolean
ChunkLightProvider.needsLightUpdate
(BlockView blockView, BlockPos pos, BlockState oldState, BlockState newState) protected boolean
ChunkLightProvider.shapesCoverFullCube
(long sourceId, BlockState sourceState, long targetId, BlockState targetState, Direction direction) Modifier and TypeMethodDescriptionvoid
LightSourceView.forEachLightSource
(BiConsumer<BlockPos, BlockState> callback) -
Uses of BlockState in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionprivate static boolean
NetherPortal.validStateInsidePortal
(BlockState state) -
Uses of BlockState in net.minecraft.world.event
Modifier and TypeFieldDescriptionprivate final @Nullable BlockState
GameEvent.Emitter.affectedState
The field for theaffectedState
record component.Modifier and TypeMethodDescriptionGameEvent.Emitter.affectedState()
Returns the value of theaffectedState
record component.Modifier and TypeMethodDescriptionstatic GameEvent.Emitter
GameEvent.Emitter.of
(@Nullable BlockState affectedState) static GameEvent.Emitter
GameEvent.Emitter.of
(@Nullable Entity sourceEntity, @Nullable BlockState affectedState) -
Uses of BlockState in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionboolean
EntityExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
ExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) EntityExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) -
Uses of BlockState in net.minecraft.world.gen
Modifier and TypeFieldDescription(package private) final BlockState
OreVeinSampler.VeinType.ore
(package private) final BlockState
OreVeinSampler.VeinType.rawOreBlock
(package private) final BlockState
OreVeinSampler.VeinType.stone
Modifier and TypeMethodDescriptionBlockSource.apply
(ChunkNoiseSampler sampler, int x, int y, int z) ChainedBlockSource.sample
(DensityFunction.NoisePos pos) ModifierConstructorDescriptionprivate
VeinType
(BlockState ore, BlockState rawOreBlock, BlockState stone, int minY, int maxY) -
Uses of BlockState in net.minecraft.world.gen.blockpredicate
Modifier and TypeMethodDescriptionprotected boolean
MatchingBlocksBlockPredicate.test
(BlockState state) protected boolean
MatchingBlockTagPredicate.test
(BlockState state) protected boolean
MatchingFluidsBlockPredicate.test
(BlockState state) protected abstract boolean
OffsetPredicate.test
(BlockState state) protected boolean
ReplaceableBlockPredicate.test
(BlockState state) protected boolean
SolidBlockPredicate.test
(BlockState state) Deprecated.static BlockPredicate
BlockPredicate.wouldSurvive
(BlockState state, Vec3i offset) ModifierConstructorDescriptionprotected
WouldSurviveBlockPredicate
(Vec3i offset, BlockState state) -
Uses of BlockState in net.minecraft.world.gen.carver
Modifier and TypeFieldDescriptionprotected static final BlockState
Carver.AIR
private final BlockState
CarverDebugConfig.airState
private final BlockState
CarverDebugConfig.barrierState
protected static final BlockState
Carver.CAVE_AIR
private final BlockState
CarverDebugConfig.lavaState
private final BlockState
CarverDebugConfig.waterState
Modifier and TypeMethodDescriptionCarverDebugConfig.getAirState()
CarverDebugConfig.getBarrierState()
private static BlockState
Carver.getDebugState
(CarverConfig config, BlockState state) CarverDebugConfig.getLavaState()
private @Nullable BlockState
Carver.getState
(CarverContext context, C config, BlockPos pos, AquiferSampler sampler) CarverDebugConfig.getWaterState()
Modifier and TypeMethodDescriptionCarverContext.applyMaterialRule
(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.Modifier and TypeMethodDescriptionprotected boolean
Carver.canAlwaysCarveBlock
(C config, BlockState state) static CarverDebugConfig
CarverDebugConfig.create
(boolean debugMode, BlockState debugState) static CarverDebugConfig
CarverDebugConfig.create
(boolean debugMode, BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) static CarverDebugConfig
CarverDebugConfig.create
(BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) private static BlockState
Carver.getDebugState
(CarverConfig config, BlockState state) ModifierConstructorDescriptionprivate
CarverDebugConfig
(boolean debugMode, BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) -
Uses of BlockState in net.minecraft.world.gen.chunk
Modifier and TypeFieldDescriptionprotected static final BlockState
DebugChunkGenerator.AIR
private static final BlockState
NoiseChunkGenerator.AIR
protected static final BlockState
DebugChunkGenerator.BARRIER
private final BlockState
ChunkGeneratorSettings.defaultBlock
The field for thedefaultBlock
record component.private final BlockState
ChunkGeneratorSettings.defaultFluid
The field for thedefaultFluid
record component.(package private) final BlockState
AquiferSampler.FluidLevel.state
private final BlockState[]
VerticalBlockSample.states
Modifier and TypeFieldDescriptionprivate static final List<BlockState>
DebugChunkGenerator.BLOCK_STATES
private final List<BlockState>
FlatChunkGeneratorConfig.layerBlocks
Modifier and TypeMethodDescriptionAquiferSampler.apply
(DensityFunction.NoisePos pos, double density) AquiferSampler.Impl.apply
(DensityFunction.NoisePos pos, double density) ChunkGeneratorSettings.defaultBlock()
Returns the value of thedefaultBlock
record component.ChunkGeneratorSettings.defaultFluid()
Returns the value of thedefaultFluid
record component.AquiferSampler.FluidLevel.getBlockState
(int y) static BlockState
DebugChunkGenerator.getBlockState
(int x, int z) FlatChunkGeneratorLayer.getBlockState()
private BlockState
NoiseChunkGenerator.getBlockState
(ChunkNoiseSampler chunkNoiseSampler, int x, int y, int z, BlockState state) private BlockState
AquiferSampler.Impl.getFluidBlockState
(int blockX, int blockY, int blockZ, AquiferSampler.FluidLevel defaultFluidLevel, int fluidLevel) BlockColumn.getState
(int y) VerticalBlockSample.getState
(int y) ChunkNoiseSampler.BlockStateSampler.sample
(DensityFunction.NoisePos pos) protected @Nullable BlockState
ChunkNoiseSampler.sampleBlockState()
Modifier and TypeMethodDescriptionprivate BlockState
NoiseChunkGenerator.getBlockState
(ChunkNoiseSampler chunkNoiseSampler, int x, int y, int z, BlockState state) void
BlockColumn.setState
(int y, BlockState state) void
VerticalBlockSample.setState
(int y, BlockState state) Modifier and TypeMethodDescriptionprivate OptionalInt
NoiseChunkGenerator.sampleHeightmap
(HeightLimitView world, NoiseConfig noiseConfig, int x, int z, @Nullable MutableObject<VerticalBlockSample> columnSample, @Nullable Predicate<BlockState> stopPredicate) ModifierConstructorDescriptionChunkGeneratorSettings
(GenerationShapeConfig generationShapeConfig, BlockState blockState, BlockState blockState2, NoiseRouter noiseRouter, MaterialRules.MaterialRule surfaceRule, List<MultiNoiseUtil.NoiseHypercube> list, int int2, boolean bool, boolean bool2, boolean bool3, boolean bool4) FluidLevel
(int y, BlockState state) VerticalBlockSample
(int startY, BlockState[] states) -
Uses of BlockState in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionprivate static final BlockState
DungeonFeature.AIR
private static final BlockState
BambooFeature.BAMBOO
private static final BlockState
BambooFeature.BAMBOO_TOP_1
private static final BlockState
BambooFeature.BAMBOO_TOP_2
private static final BlockState
BambooFeature.BAMBOO_TOP_3
private static final BlockState
LakeFeature.CAVE_AIR
Deprecated.private final BlockState
DeltaFeatureConfig.contents
final BlockState
HugeFungusFeatureConfig.decorationState
private final BlockState
DesertWellFeature.fluidInside
final BlockState
HugeFungusFeatureConfig.hatState
private final BlockState
DeltaFeatureConfig.rim
private final BlockState
DesertWellFeature.sand
private final BlockState
DesertWellFeature.slab
final BlockState
FillLayerFeatureConfig.state
final BlockState
OreFeatureConfig.Target.state
final BlockState
ReplaceBlobsFeatureConfig.state
final BlockState
SingleStateFeatureConfig.state
final BlockState
HugeFungusFeatureConfig.stemState
final BlockState
ReplaceBlobsFeatureConfig.target
final BlockState
HugeFungusFeatureConfig.validBaseBlock
private final BlockState
DesertWellFeature.wall
Modifier and TypeMethodDescriptionFeaturePlacementContext.getBlockState
(BlockPos pos) DeltaFeatureConfig.getContents()
DeltaFeatureConfig.getRim()
Modifier and TypeMethodDescriptionstatic Predicate<BlockState>
Feature.notInBlockTagPredicate
(TagKey<Block> tag) Modifier and TypeMethodDescriptionprivate boolean
LakeFeature.canReplace
(BlockState state) Deprecated.static OreFeatureConfig.Target
OreFeatureConfig.createTarget
(RuleTest test, BlockState state) static boolean
MultifaceGrowthFeature.generate
(StructureWorldAccess world, BlockPos pos, BlockState state, MultifaceGrowthFeatureConfig config, Random random, List<Direction> directions) protected boolean
CoralClawFeature.generateCoral
(WorldAccess world, Random random, BlockPos pos, BlockState state) protected abstract boolean
CoralFeature.generateCoral
(WorldAccess world, Random random, BlockPos pos, BlockState state) protected boolean
CoralMushroomFeature.generateCoral
(WorldAccess world, Random random, BlockPos pos, BlockState state) protected boolean
CoralTreeFeature.generateCoral
(WorldAccess world, Random random, BlockPos pos, BlockState state) protected boolean
CoralFeature.generateCoralPiece
(WorldAccess world, Random random, BlockPos pos, BlockState state) private static boolean
MultifaceGrowthFeature.isAirOrWater
(BlockState state) private static boolean
RootSystemFeature.isAirOrWater
(BlockState state, int height, int allowedVerticalWaterForTree) private static boolean
IcebergFeature.isSnowOrIce
(BlockState state) static boolean
Feature.isSoil
(BlockState state) protected static boolean
Feature.isStone
(BlockState state) private void
IcebergFeature.placeAt
(WorldAccess world, Random random, BlockPos pos, int height, int offsetX, int offsetY, int offsetZ, int int2, int int3, boolean bool, int int4, double randomSine, boolean placeSnow, BlockState state) private void
IcebergFeature.placeBlockOrSnow
(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state) private void
HugeFungusFeature.placeWithOptionalVines
(WorldAccess world, Random random, BlockPos pos, BlockState state, boolean vines) protected void
Feature.setBlockState
(ModifiableWorld world, BlockPos pos, BlockState state) protected void
TreeFeature.setBlockState
(ModifiableWorld world, BlockPos pos, BlockState state) protected void
Feature.setBlockStateIf
(StructureWorldAccess world, BlockPos pos, BlockState state, Predicate<BlockState> predicate) private static void
TreeFeature.setBlockStateWithoutUpdatingNeighbors
(ModifiableWorld world, BlockPos pos, BlockState state) static boolean
OreFeature.shouldPlace
(BlockState state, Function<BlockPos, BlockState> posToState, Random random, OreFeatureConfig config, OreFeatureConfig.Target target, BlockPos.Mutable pos) Modifier and TypeMethodDescriptionprivate boolean
TreeFeature.generate
(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, FoliagePlacer.BlockPlacer blockPlacer, TreeFeatureConfig config) static boolean
Feature.isExposedToAir
(Function<BlockPos, BlockState> posToState, BlockPos pos) protected boolean
VegetationPatchFeature.placeGround
(StructureWorldAccess world, VegetationPatchFeatureConfig config, Predicate<BlockState> replaceable, Random random, BlockPos.Mutable pos, int depth) VegetationPatchFeature.placeGroundAndGetPositions
(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) WaterloggedVegetationPatchFeature.placeGroundAndGetPositions
(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) protected void
Feature.setBlockStateIf
(StructureWorldAccess world, BlockPos pos, BlockState state, Predicate<BlockState> predicate) static boolean
OreFeature.shouldPlace
(BlockState state, Function<BlockPos, BlockState> posToState, Random random, OreFeatureConfig config, OreFeatureConfig.Target target, BlockPos.Mutable pos) static boolean
Feature.testAdjacentStates
(Function<BlockPos, BlockState> posToState, BlockPos pos, Predicate<BlockState> predicate) static boolean
Feature.testAdjacentStates
(Function<BlockPos, BlockState> posToState, BlockPos pos, Predicate<BlockState> predicate) ModifierConstructorDescriptionDeltaFeatureConfig
(BlockState contents, BlockState rim, IntProvider size, IntProvider rimSize) EmeraldOreFeatureConfig
(BlockState target, BlockState state) FillLayerFeatureConfig
(int height, BlockState state) HugeFungusFeatureConfig
(BlockState validBaseBlock, BlockState stemState, BlockState hatState, BlockState decorationState, BlockPredicate replaceableBlocks, boolean planted) OreFeatureConfig
(RuleTest test, BlockState state, int size) OreFeatureConfig
(RuleTest test, BlockState state, int size, float discardOnAirChance) ReplaceBlobsFeatureConfig
(BlockState target, BlockState state, IntProvider radius) (package private)
Target
(RuleTest target, BlockState state) ModifierConstructorDescriptionGeodeLayerConfig
(BlockStateProvider fillingProvider, BlockStateProvider innerLayerProvider, BlockStateProvider alternateInnerLayerProvider, BlockStateProvider middleLayerProvider, BlockStateProvider outerLayerProvider, List<BlockState> innerBlocks, TagKey<Block> cannotReplace, TagKey<Block> invalidBlocks) -
Uses of BlockState in net.minecraft.world.gen.feature.util
Modifier and TypeMethodDescriptionstatic boolean
DripstoneHelper.canGenerate
(BlockState state) static boolean
DripstoneHelper.canGenerateOrLava
(BlockState state) static boolean
DripstoneHelper.cannotGenerate
(BlockState state) static boolean
DripstoneHelper.canReplace
(BlockState state) static boolean
DripstoneHelper.canReplaceOrLava
(BlockState state) Modifier and TypeMethodDescriptionstatic Optional<CaveSurface>
CaveSurface.create
(TestableWorld world, BlockPos pos, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace) private static OptionalInt
CaveSurface.getCaveSurface
(TestableWorld world, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace, BlockPos.Mutable mutablePos, int y, Direction direction) protected static void
DripstoneHelper.getDripstoneThickness
(Direction direction, int height, boolean merge, Consumer<BlockState> callback) -
Uses of BlockState in net.minecraft.world.gen.foliage
Modifier and TypeMethodDescriptionvoid
FoliagePlacer.BlockPlacer.placeBlock
(BlockPos pos, BlockState state) -
Uses of BlockState in net.minecraft.world.gen.placementmodifier
Modifier and TypeMethodDescriptionprivate static boolean
CountMultilayerPlacementModifier.blocksSpawn
(BlockState state) Deprecated. -
Uses of BlockState in net.minecraft.world.gen.root
Modifier and TypeMethodDescriptionprotected BlockState
RootPlacer.applyWaterlogging
(TestableWorld world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionprotected BlockState
RootPlacer.applyWaterlogging
(TestableWorld world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionboolean
MangroveRootPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) abstract boolean
RootPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) protected void
MangroveRootPlacer.placeRoots
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected void
RootPlacer.placeRoots
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) -
Uses of BlockState in net.minecraft.world.gen.stateprovider
Modifier and TypeFieldDescriptionprivate final BlockState
NoiseThresholdBlockStateProvider.defaultState
private final BlockState
SimpleBlockStateProvider.state
Modifier and TypeFieldDescriptionprivate final List<BlockState>
NoiseThresholdBlockStateProvider.highStates
private final List<BlockState>
NoiseThresholdBlockStateProvider.lowStates
protected final List<BlockState>
NoiseBlockStateProvider.states
private final DataPool<BlockState>
WeightedBlockStateProvider.states
Modifier and TypeMethodDescriptionabstract BlockState
Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.PredicatedStateProvider.getBlockState
(StructureWorldAccess world, Random random, BlockPos pos) protected BlockState
NoiseBlockStateProvider.getStateAtValue
(List<BlockState> states, double value) protected BlockState
NoiseBlockStateProvider.getStateFromList
(List<BlockState> states, BlockPos pos, double scale) Modifier and TypeMethodDescriptionprotected static <P extends NoiseBlockStateProvider>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Long, DoublePerlinNoiseSampler.NoiseParameters, Float, List<BlockState>> NoiseBlockStateProvider.fillNoiseCodecFields
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) Modifier and TypeMethodDescriptionprivate static IntProperty
RandomizedIntBlockStateProvider.getIntPropertyByName
(BlockState state, String propertyName) static SimpleBlockStateProvider
BlockStateProvider.of
(BlockState state) Returns a block state provider that always returns the given state.Modifier and TypeMethodDescriptionprotected BlockState
NoiseBlockStateProvider.getStateAtValue
(List<BlockState> states, double value) protected BlockState
NoiseBlockStateProvider.getStateFromList
(List<BlockState> states, BlockPos pos, double scale) private static com.mojang.serialization.DataResult<WeightedBlockStateProvider>
WeightedBlockStateProvider.wrap
(DataPool<BlockState> states) ModifierConstructorDescriptionNoiseThresholdBlockStateProvider
(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates) protected
ModifierConstructorDescriptionDualNoiseBlockStateProvider
(Range<Integer> variety, DoublePerlinNoiseSampler.NoiseParameters slowNoiseParameters, float slowScale, long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states) NoiseBlockStateProvider
(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states) NoiseThresholdBlockStateProvider
(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates) WeightedBlockStateProvider
(DataPool<BlockState> states) -
Uses of BlockState in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionprivate final BlockState
MineshaftStructure.Type.fence
private final BlockState
MineshaftStructure.Type.log
private final BlockState
MineshaftStructure.Type.planks
-
Uses of BlockState in net.minecraft.world.gen.surfacebuilder
Modifier and TypeFieldDescriptionprivate static final BlockState
SurfaceBuilder.BROWN_TERRACOTTA
private final BlockState
SurfaceBuilder.defaultState
private static final BlockState
SurfaceBuilder.LIGHT_GRAY_TERRACOTTA
private static final BlockState
SurfaceBuilder.ORANGE_TERRACOTTA
private static final BlockState
SurfaceBuilder.PACKED_ICE
private static final BlockState
SurfaceBuilder.RED_TERRACOTTA
private final BlockState
MaterialRules.BlockMaterialRule.resultState
The field for theresultState
record component.private static final BlockState
SurfaceBuilder.SNOW_BLOCK
private final BlockState
MaterialRules.SimpleBlockStateRule.state
The field for thestate
record component.private static final BlockState
SurfaceBuilder.TERRACOTTA
private final BlockState[]
SurfaceBuilder.terracottaBands
private static final BlockState
SurfaceBuilder.WHITE_TERRACOTTA
private static final BlockState
SurfaceBuilder.YELLOW_TERRACOTTA
Modifier and TypeMethodDescriptionprivate static BlockState[]
SurfaceBuilder.createTerracottaBands
(Random random) protected BlockState
SurfaceBuilder.getTerracottaBlock
(int x, int y, int z) MaterialRules.BlockMaterialRule.resultState()
Returns the value of theresultState
record component.MaterialRules.SimpleBlockStateRule.state()
Returns the value of thestate
record component.MaterialRules.BlockStateRule.tryApply
(int x, int y, int z) MaterialRules.ConditionalBlockStateRule.tryApply
(int x, int y, int z) MaterialRules.SequenceBlockStateRule.tryApply
(int x, int y, int z) MaterialRules.SimpleBlockStateRule.tryApply
(int x, int y, int z) Modifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.Modifier and TypeMethodDescriptionprivate static void
SurfaceBuilder.addTerracottaBands
(Random random, BlockState[] terracottaBands, int minBandSize, BlockState state) static MaterialRules.MaterialRule
MaterialRules.block
(BlockState state) private boolean
SurfaceBuilder.isDefaultBlock
(BlockState state) ModifierConstructorDescription(package private)
BlockMaterialRule
(BlockState resultState) private
BlockMaterialRule
(BlockState blockState, MaterialRules.SimpleBlockStateRule simpleBlockStateRule) (package private)
SimpleBlockStateRule
(BlockState blockState) SurfaceBuilder
(NoiseConfig noiseConfig, BlockState defaultState, int seaLevel, RandomSplitter randomDeriver) -
Uses of BlockState in net.minecraft.world.gen.treedecorator
Modifier and TypeFieldDescriptionprivate final BiConsumer<BlockPos,
BlockState> TreeDecorator.Generator.replacer
Modifier and TypeMethodDescriptionvoid
TreeDecorator.Generator.replace
(BlockPos pos, BlockState state) ModifierConstructorDescriptionGenerator
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Uses of BlockState in net.minecraft.world.gen.trunk
Modifier and TypeMethodDescriptionBendingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundCherryTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>
TrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate FoliagePlacer.TreeNode
CherryTrunkPlacer.generateBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) private FoliagePlacer.TreeNode
CherryTrunkPlacer.generateBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) private FoliagePlacer.TreeNode
CherryTrunkPlacer.generateBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) private void
UpwardsBranchingTrunkPlacer.generateExtraBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) private void
LargeOakTrunkPlacer.makeBranches
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private boolean
LargeOakTrunkPlacer.makeOrCheckBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private void
GiantTrunkPlacer.setLog
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable tmpPos, TreeFeatureConfig config, BlockPos startPos, int dx, int dy, int dz) protected static void
TrunkPlacer.setToDirt
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected void
TrunkPlacer.trySetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config) -
Uses of BlockState in net.minecraft.world.poi
Modifier and TypeFieldDescriptionprivate static final Set<BlockState>
PointOfInterestTypes.BED_HEADS
private final Set<BlockState>
PointOfInterestType.blockStates
The field for theblockStates
record component.private static final Set<BlockState>
PointOfInterestTypes.CAULDRONS
private static final Map<BlockState,
RegistryEntry<PointOfInterestType>> PointOfInterestTypes.POI_STATES_TO_TYPE
Modifier and TypeMethodDescriptionPointOfInterestType.blockStates()
Returns the value of theblockStates
record component.private static Set<BlockState>
PointOfInterestTypes.getStatesOfBlock
(Block block) Modifier and TypeMethodDescriptionboolean
PointOfInterestType.contains
(BlockState state) static Optional<RegistryEntry<PointOfInterestType>>
PointOfInterestTypes.getTypeForState
(BlockState state) static boolean
PointOfInterestTypes.isPointOfInterest
(BlockState state) Modifier and TypeMethodDescriptionprivate static PointOfInterestType
PointOfInterestTypes.register
(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance) private static void
PointOfInterestTypes.registerStates
(RegistryEntry<PointOfInterestType> poiTypeEntry, Set<BlockState> states)
AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(net.minecraft.util.math.Direction, net.minecraft.block.BlockState, net.minecraft.world.WorldAccess, net.minecraft.util.math.BlockPos, net.minecraft.util.math.BlockPos)
instead.