Uses of Class
net.minecraft.block.BlockState
Package
Description
The base package for all Minecraft classes.
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
Modifier and TypeMethodDescriptionvoid
class_9794.method_60755
(WorldAccess worldAccess, @Nullable BlockState blockState) void
class_9794.method_60760
(WorldAccess worldAccess, @Nullable BlockState blockState) -
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
(CandleBlock 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) HeavyCoreBlock.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) VaultBlock.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.protected BlockState
AbstractBlock.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
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
HeavyCoreBlock.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
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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) protected BlockState
AbstractBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
AbstractFurnaceBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
AmethystClusterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
AttachedStemBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
BannerBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
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
.protected BlockState
CampfireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
ChestBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ChiseledBookshelfBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
CommandBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
CrafterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DeadCoralWallFanBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DecoratedPotBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DetectorRailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DispenserBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DoorBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
EnderChestBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
EndPortalFrameBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.FlowerbedBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
GrindstoneBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
HangingSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
HopperBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
HorizontalConnectingBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
HorizontalFacingBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
JigsawBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
LadderBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
LecternBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.private BlockState
MultifaceGrowthBlock.mirror
(BlockState state, Function<Direction, Direction> mirror) protected BlockState
MultifaceGrowthBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
MushroomBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
ObserverBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
PistonBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
PistonExtensionBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
PistonHeadBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
PoweredRailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
RailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
RedstoneWireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
RodBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
ShulkerBoxBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
SignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
SkullBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
SmallDripleafBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
StairsBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
StonecutterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
TripwireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
TripwireHookBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.VaultBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
VineBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallBannerBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallHangingSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallRedstoneTorchBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallSkullBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
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) protected BlockState
AbstractBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AbstractFurnaceBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AmethystClusterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AnvilBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AttachedStemBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
BannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
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
.protected BlockState
CampfireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ChiseledBookshelfBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
CommandBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
CrafterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DeadCoralWallFanBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DecoratedPotBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DetectorRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DispenserBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DoorBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
EnderChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
EndPortalFrameBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.FlowerbedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
GrindstoneBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HopperBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HorizontalConnectingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HorizontalFacingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
JigsawBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
LadderBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
LecternBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
MultifaceGrowthBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
MushroomBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
NetherPortalBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ObserverBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PillarBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonExtensionBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonHeadBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PoweredRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RedstoneWireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RodBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RotatedInfestedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ShulkerBoxBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SmallDripleafBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
StairsBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
StonecutterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
TripwireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
TripwireHookBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.VaultBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
VineBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallBannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallHangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallRedstoneTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallSkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
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.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) private static Function
<BlockState, MapColor> Blocks.createMapColorFromWaterloggedBlockState
(MapColor mapColor) 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) protected float
AbstractBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) protected float
BambooBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) protected 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) protected boolean
AbstractBlock.canBucketPlace
(BlockState state, Fluid fluid) Returns whether a bucket can replace the block with the fluid.protected boolean
EndGatewayBlock.canBucketPlace
(BlockState state, Fluid fluid) Returns whether a bucket can replace the block with the fluid.protected 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) protected boolean
AbstractBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
AbstractCauldronBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
AbstractSkullBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
AnvilBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
BambooBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
BedBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
BellBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
BrewingStandBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
CactusBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
CakeBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
CampfireBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
CandleCakeBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
ChainBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
ChestBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
ChorusPlantBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
CocoaBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
ComposterBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
ConduitBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
DecoratedPotBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
DirtPathBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
DoorBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
DragonEggBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
EnchantingTableBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
EnderChestBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
EndPortalFrameBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
FarmlandBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
FenceBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
FenceGateBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
FlowerPotBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
FluidBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
GrindstoneBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
HeavyCoreBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
HopperBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
HorizontalConnectingBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
LanternBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
LecternBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
MudBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
PistonBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
PistonExtensionBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
PistonHeadBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
PlantBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
PointedDripstoneBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
PowderSnowBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
RespawnAnchorBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
RodBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
SculkSensorBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
SeaPickleBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
SlabBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.boolean
SnifferEggBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
SnowBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
SoulSandBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
StairsBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
StonecutterBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
TrapdoorBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
WallBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
WallHangingSignBlock.canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
AbstractRedstoneGateBlock.canPlaceAbove
(WorldView world, BlockPos pos, BlockState state) protected boolean
AbstractBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractPlantPartBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractPressurePlateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractRailBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractRedstoneGateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AmethystClusterBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BambooBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BambooShootBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BellBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BigDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BigDripleafStemBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BubbleColumnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CactusBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CandleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CandleCakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CarpetBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ChorusFlowerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ChorusPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CocoaBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CoralParentBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DeadCoralWallFanBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DirtPathBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DoorBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FarmlandBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FrogspawnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
GrindstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
HangingRootsBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
HangingSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
LadderBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
LanternBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
MultifaceGrowthBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
MushroomPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected 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
.protected boolean
PlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
PointedDripstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
PropaguleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
RedstoneWireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ScaffoldingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SeaPickleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SmallDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SnowBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SoulFireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SporeBlossomBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SugarCaneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TallPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TallSeagrassBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TripwireHookBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
VineBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallBannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallMountedBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallRedstoneTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected 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) protected boolean
AbstractBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
AbstractPlantBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected 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.protected boolean
GlowLichenBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected 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.protected boolean
ScaffoldingBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
SculkVeinBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
SeaPickleBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
SlabBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
SnowBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected boolean
TurtleEggBlock.canReplace
(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.protected 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.VaultBlock.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) protected @Nullable NamedScreenHandlerFactory
AbstractBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
AnvilBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
BlockWithEntity.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
CartographyTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
ChestBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
CraftingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
EnchantingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
GrindstoneBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
LecternBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
LoomBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
SmithingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
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) protected boolean
AbstractBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
AbstractPressurePlateBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
AbstractRedstoneGateBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
ButtonBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
DaylightDetectorBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected 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.protected boolean
LecternBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
LeverBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
LightningRodBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
ObserverBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
RedstoneBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
RedstoneTorchBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
RedstoneWireBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
SculkSensorBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
TargetBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected boolean
TrappedChestBlock.emitsRedstonePower
(BlockState state) Returns whether the block is capable of emitting redstone power.protected 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) protected float
AbstractBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
BarrierBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
LightBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
MudBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
SnowBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
SoulSandBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
StructureVoidBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected 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) protected VoxelShape
AbstractBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FenceBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MudBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PaneBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PowderSnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SoulSandBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TransparentBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractSignBlock.getCenter
(BlockState state) WallSignBlock.getCenter
(BlockState state) protected VoxelShape
AbstractBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BellBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CactusBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ComposterBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FenceGateBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FluidBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
GrindstoneBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HoneyBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HorizontalConnectingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LecternBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MudBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonExtensionBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PowderSnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ScaffoldingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SculkShriekerBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SoulSandBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
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) protected int
AbstractBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
AbstractFurnaceBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BarrelBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BeehiveBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BrewingStandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BulbBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CandleCakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ChestBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ChiseledBookshelfBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CommandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ComposterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CrafterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DecoratedPotBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DetectorRailBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DispenserBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
EndPortalFrameBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
HopperBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
JukeboxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LavaCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LecternBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LeveledCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
RespawnAnchorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
SculkSensorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ShulkerBoxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ConnectingBlock.getConnectionMask
(BlockState state) protected VoxelShape
AbstractBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
FenceBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
FenceGateBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
LecternBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
PointedDripstoneBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
PowderSnowBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SculkShriekerBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
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) Returns the block's dropped item stacks.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.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) protected FluidState
AbstractBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
AbstractRailBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
AbstractSignBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
AmethystClusterBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
BarrierBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
BigDripleafBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
BigDripleafStemBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
BubbleColumnBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
CampfireBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
CandleBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
ChainBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
ChestBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
ConduitBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
CoralParentBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
DecoratedPotBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
EnderChestBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
FluidBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
GlowLichenBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
GrateBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
HangingRootsBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
HeavyCoreBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
HorizontalConnectingBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
KelpBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
KelpPlantBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
LadderBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
LanternBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
LeavesBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
LightBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
LightningRodBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
MangroveRootsBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
PointedDripstoneBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
PropaguleBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
ScaffoldingBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
SculkSensorBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
SculkShriekerBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
SculkVeinBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
SeagrassBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
SeaPickleBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
SlabBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
SmallDripleafBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
StairsBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
TallSeagrassBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
TrapdoorBlock.getFluidState
(BlockState state) Returns the state's associated fluid state.protected FluidState
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) protected int
AbstractBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) protected int
LeavesBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) protected int
TintedGlassBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) static Direction
BedBlock.getOppositePartDirection
(BlockState state) static OptionalInt
LeavesBlock.getOptionalDistanceFromLog
(BlockState state) protected VoxelShape
AbstractBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractCauldronBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractFireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractPlantPartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractPressurePlateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractRailBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractRedstoneGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AirBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AmethystClusterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AnvilBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AttachedStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AzaleaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooShootBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BeetrootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BellBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BrewingStandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BubbleColumnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ButtonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CactusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CampfireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CandleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CandleCakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CarpetBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CarrotsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ChainBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CocoaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ComposterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ConduitBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CoralParentBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DaylightDetectorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralWallFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DecoratedPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DirtPathBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DragonEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EnchantingTableBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EnderChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EndPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EndPortalFrameBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FarmlandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FenceGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerbedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FlowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FlowerPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FluidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FrogspawnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FungusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
GrindstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HangingRootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HangingSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HeavyCoreBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HopperBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HorizontalConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LadderBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LanternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LecternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LeverBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LightBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LilyPadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MultifaceGrowthBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MushroomPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
NetherPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
NetherWartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonExtensionBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PointedDripstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PotatoesBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PropaguleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RedstoneWireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RodBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SaplingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ScaffoldingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SculkSensorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SeaPickleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ShortPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ShulkerBoxBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SlabBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SmallDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnifferEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SnowBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SporeBlossomBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SproutsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StairsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StonecutterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StructureVoidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SugarCaneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SweetBerryBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TallSeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TorchflowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TrapdoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TripwireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TripwireHookBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TurtleEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
VineBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallHangingSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallPiglinHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallRedstoneTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallSkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
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) protected VoxelShape
AbstractBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
AbstractCauldronBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
ComposterBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
HopperBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
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) protected long
AbstractBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.protected long
BedBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.protected long
DoorBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.protected long
TallPlantBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.protected BlockRenderType
AbstractBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
AbstractFurnaceBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
AirBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
BarrelBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
BarrierBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
BeaconBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
BedBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
BeehiveBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
BellBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
BlockWithEntity.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
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).protected BlockRenderType
BubbleColumnBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
CampfireBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
ChestBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
ChiseledBookshelfBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
CommandBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
ConduitBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
CrafterBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
DaylightDetectorBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
DispenserBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
EnchantingTableBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
EnderChestBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
FluidBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
GrindstoneBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
HopperBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
JukeboxBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
LecternBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
LightBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
SculkCatalystBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
SculkSensorBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
SculkShriekerBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
ShulkerBoxBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
SpawnerBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
StonecutterBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
StructureBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
StructureVoidBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).protected BlockRenderType
TrialSpawnerBlock.getRenderType
(BlockState state) Returns the block's render type (invisible, animated, model).VaultBlock.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) protected VoxelShape
AbstractBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) ChorusFlowerBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
FenceGateBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
HangingSignBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
LeavesBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
MudBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
ShulkerBoxBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SnowBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SoulSandBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
WallHangingSignBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) private OptionalInt
ChiseledBookshelfBlock.getSlotForHitPos
(BlockHitResult hit, BlockState state) protected BlockSoundGroup
AbstractBlock.getSoundGroup
(BlockState state) protected BlockSoundGroup
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.protected BlockState
AbstractBlock.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
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
HeavyCoreBlock.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
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected BlockState
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.protected int
AbstractBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
AbstractPressurePlateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
AbstractRedstoneGateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
ButtonBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
DetectorRailBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LecternBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LeverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LightningRodBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
ObserverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
RedstoneTorchBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected 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.protected int
TrappedChestBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected 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> VaultBlock.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) protected int
AbstractBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
AbstractPressurePlateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
AbstractRedstoneGateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected 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.protected int
DaylightDetectorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected 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.protected int
LecternBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
LeverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
LightningRodBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
ObserverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneWireBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
SculkSensorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TargetBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TrappedChestBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TripwireHookBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected 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) protected boolean
AbstractBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
AbstractCauldronBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
AbstractFurnaceBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
BarrelBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
BeehiveBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
BrewingStandBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
BulbBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
CakeBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
CandleCakeBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
ChestBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
ChiseledBookshelfBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
CommandBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
ComposterBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
CrafterBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
DecoratedPotBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
DetectorRailBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
DispenserBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
EndPortalFrameBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
HopperBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
JukeboxBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
LecternBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
RespawnAnchorBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected boolean
SculkSensorBlock.hasComparatorOutput
(BlockState state) Returns whether the block can have a comparator output.protected 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) protected boolean
AbstractBlock.hasRandomTicks
(BlockState state) protected boolean
AbstractPlantStemBlock.hasRandomTicks
(BlockState state) protected boolean
BambooBlock.hasRandomTicks
(BlockState state) protected boolean
ChorusFlowerBlock.hasRandomTicks
(BlockState state) protected boolean
CocoaBlock.hasRandomTicks
(BlockState state) protected boolean
CropBlock.hasRandomTicks
(BlockState state) protected boolean
FluidBlock.hasRandomTicks
(BlockState state) protected boolean
LeavesBlock.hasRandomTicks
(BlockState state) protected boolean
NetherWartBlock.hasRandomTicks
(BlockState state) protected boolean
OxidizableBlock.hasRandomTicks
(BlockState state) protected boolean
OxidizableBulbBlock.hasRandomTicks
(BlockState state) protected boolean
OxidizableDoorBlock.hasRandomTicks
(BlockState state) protected boolean
OxidizableGrateBlock.hasRandomTicks
(BlockState state) protected boolean
OxidizableSlabBlock.hasRandomTicks
(BlockState state) protected boolean
OxidizableStairsBlock.hasRandomTicks
(BlockState state) protected boolean
OxidizableTrapdoorBlock.hasRandomTicks
(BlockState state) boolean
PitcherCropBlock.hasRandomTicks
(BlockState state) protected boolean
RedstoneOreBlock.hasRandomTicks
(BlockState state) protected boolean
SweetBerryBushBlock.hasRandomTicks
(BlockState state) protected boolean
AbstractBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
DaylightDetectorBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
DirtPathBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
EnchantingTableBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
EndPortalFrameBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
FarmlandBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
LecternBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
PistonBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
PistonHeadBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
SculkSensorBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
SculkShriekerBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
SlabBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
SnowBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected boolean
StairsBlock.hasSidedTransparency
(BlockState state) Returns whether the block's transparency depends on the side of the block, like slabs.protected 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) protected boolean
AbstractBlock.isCullingShapeFullCube
(BlockState state, BlockView world, BlockPos pos) 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) protected boolean
AbstractBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) protected boolean
BambooBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) protected boolean
PointedDripstoneBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.isSideInvisible
(BlockState state, Direction direction) protected boolean
AbstractBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) protected boolean
FluidBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) protected boolean
MangroveRootsBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) protected boolean
PaneBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) protected boolean
PowderSnowBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) protected 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) protected boolean
AbstractBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
BambooBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
BarrierBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
ConnectingBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
FluidBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
GlowLichenBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
HorizontalConnectingBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
LightBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
PlantBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
ShulkerBoxBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
TintedGlassBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
TransparentBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected boolean
VineBlock.isTransparent
(BlockState state, BlockView world, BlockPos pos) protected 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) protected BlockState
AbstractBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
AbstractFurnaceBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
AmethystClusterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
AttachedStemBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
BannerBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
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
.protected BlockState
CampfireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
ChestBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.ChiseledBookshelfBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
CommandBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
CrafterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DeadCoralWallFanBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DecoratedPotBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DetectorRailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DispenserBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
DoorBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
EnderChestBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
EndPortalFrameBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.FlowerbedBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
GrindstoneBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
HangingSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
HopperBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
HorizontalConnectingBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
HorizontalFacingBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
JigsawBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
LadderBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
LecternBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.private BlockState
MultifaceGrowthBlock.mirror
(BlockState state, Function<Direction, Direction> mirror) protected BlockState
MultifaceGrowthBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
MushroomBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
ObserverBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
PistonBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
PistonExtensionBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
PistonHeadBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
PoweredRailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
RailBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
RedstoneWireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
RodBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
ShulkerBoxBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
SignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
SkullBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
SmallDripleafBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
StairsBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
StonecutterBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
TripwireBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
TripwireHookBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.VaultBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
VineBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallBannerBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallHangingSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallRedstoneTorchBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallSignBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallSkullBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected BlockState
WallTorchBlock.mirror
(BlockState state, BlockMirror mirror) Returnsstate
mirrored bymirror
.protected void
AbstractBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
AbstractRailBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
AbstractRedstoneGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
AbstractSkullBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
BellBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
BigDripleafBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
BulbBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
CommandBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
CrafterBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
DispenserBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
DoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
FenceGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
FluidBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
FrostedIceBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
HopperBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
NoteBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
PistonBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
PistonHeadBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
RedstoneLampBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
RedstoneTorchBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
RedstoneWireBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
SpongeBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
StructureBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
TntBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected 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) protected void
AbstractBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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
FrostedIceBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected void
AbstractBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected void
DragonEggBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected void
NoteBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected 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.protected void
AbstractBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
AbstractFireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
AbstractPressurePlateBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
BigDripleafBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
BubbleColumnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
ButtonBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CactusBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CampfireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CobwebBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
DetectorRailBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
EndGatewayBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
EndPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
FrogspawnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
HoneyBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
HopperBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LavaCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LeveledCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LilyPadBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected 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.protected void
PowderSnowBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
SweetBerryBushBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
TripwireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
WitherRoseBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
AbstractBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractCandleBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
BellBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
ButtonBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
DoorBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
FenceGateBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
LeverBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected 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
AbstractRedstoneGateBlock.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
CommandBlock.onPlaced
(World world, BlockPos pos, BlockState state, 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
DoorBlock.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
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
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) protected void
AbstractBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
AbstractCandleBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
AmethystBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
BellBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
BigDripleafBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
CampfireBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
ChorusFlowerBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
DecoratedPotBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
PointedDripstoneBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
TargetBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
TntBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
AbstractBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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) protected void
AbstractBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected boolean
AbstractBlock.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.protected 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.protected 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.protected 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.protected 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.protected ActionResult
AbstractBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractFurnaceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AnvilBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BarrelBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BeaconBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BedBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BellBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BrewingStandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ButtonBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CandleCakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CartographyTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CaveVinesBodyBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CaveVinesHeadBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ChiseledBookshelfBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CommandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ComparatorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ComposterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CrafterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CraftingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DaylightDetectorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DecoratedPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DispenserBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DragonEggBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
EnchantingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
EnderChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FenceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FenceGateBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FletchingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FlowerPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
GrindstoneBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
HopperBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
JigsawBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
JukeboxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LecternBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LeverBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LightBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LoomBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
NoteBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
PistonExtensionBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RedstoneWireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RepeaterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RespawnAnchorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ShulkerBoxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
SmithingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
StonecutterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
StructureBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
SweetBerryBushBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
TrapdoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ItemActionResult
AbstractBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
AbstractCauldronBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
AbstractSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
BeehiveBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
CakeBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
CampfireBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
CandleBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
CandleCakeBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
ChiseledBookshelfBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
ComposterBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
DecoratedPotBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
FenceBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
FlowerPotBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
HangingSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
JukeboxBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
LecternBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
NoteBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
PumpkinBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
RedstoneOreBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
RespawnAnchorBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
SweetBerryBushBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
TntBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) VaultBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
WallHangingSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) 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) protected static void
LeverBlock.playClickSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) private void
static BlockState
Block.postProcessState
(BlockState state, WorldAccess world, BlockPos pos) void
ButtonBlock.powerOn
(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) 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.protected void
AbstractBlock.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.protected 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 LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack) static boolean
LecternBlock.putBookIfAbsent
(@Nullable LivingEntity 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.protected void
AbstractBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
AbstractPlantStemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
BambooBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
BambooShootBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
BeetrootsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
BuddingAmethystBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
CactusBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
ChorusFlowerBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
CocoaBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
CropBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
FarmlandBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
FluidBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
IceBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
LeavesBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
MushroomPlantBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
NetherPortalBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
NetherWartBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
NyliumBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableBulbBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableDoorBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableGrateBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableSlabBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableStairsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected 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.protected void
PointedDripstoneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
PropaguleBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
RedstoneOreBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SaplingBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SnowBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SpreadableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
StemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SugarCaneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected 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.protected void
TurtleEggBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected 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) protected BlockState
AbstractBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AbstractFurnaceBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AmethystClusterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AnvilBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AttachedStemBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
BannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
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
.protected BlockState
CampfireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ChiseledBookshelfBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
CommandBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
CrafterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DeadCoralWallFanBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DecoratedPotBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DetectorRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DispenserBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DoorBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
EnderChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
EndPortalFrameBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.FlowerbedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
GrindstoneBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HopperBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HorizontalConnectingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HorizontalFacingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
JigsawBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
LadderBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
LecternBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
MultifaceGrowthBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
MushroomBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
NetherPortalBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ObserverBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PillarBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonExtensionBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonHeadBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PoweredRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RedstoneWireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RodBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RotatedInfestedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ShulkerBoxBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SmallDripleafBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
StairsBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
StonecutterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
TripwireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
TripwireHookBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.VaultBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
VineBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallBannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallHangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallRedstoneTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallSkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected void
AbstractBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
AbstractCauldronBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
AbstractPlantPartBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
AbstractPressurePlateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
AbstractRedstoneGateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
BambooBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
BarrelBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
BigDripleafBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected 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.protected void
BubbleColumnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ButtonBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CactusBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ChorusFlowerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ChorusPlantBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CommandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ComparatorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ComposterBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CoralBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CoralBlockBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CoralFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CoralWallFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CrafterBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
DetectorRailBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
DirtPathBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
DispenserBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
EnderChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FallingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FarmlandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FrogspawnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FrostedIceBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
LeavesBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
LecternBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
LightningRodBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
MagmaBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ObserverBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
PointedDripstoneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
RedstoneLampBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
RedstoneTorchBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ScaffoldingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
SculkCatalystBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
SculkSensorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected 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.protected void
SoulSandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
SugarCaneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
TargetBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
TripwireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected 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) void
LeverBlock.togglePower
(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) 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
(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeEntry<CraftingRecipe> recipe) 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
HeavyCoreBlock.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
VaultBlock.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, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) BlockState
(Block block, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) -
Uses of BlockState in net.minecraft.block.cauldron
Modifier and TypeMethodDescriptionstatic ItemActionResult
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 ItemActionResult
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 ItemActionResult
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) (package private) static void
VaultBlockEntity.Server.changeVaultState
(ServerWorld world, BlockPos pos, BlockState oldState, BlockState newState, VaultConfig config, VaultSharedData sharedData) 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, RegistryWrapper.WrapperLookup registryLookup) Returns the new block entity loaded fromnbt
, ornull
if it fails.HopperBlockEntity.getBlockInventoryAt
(World world, BlockPos pos, BlockState state) ShulkerBoxBlockEntity.getBoundingBox
(BlockState state) private int
CalibratedSculkSensorBlockEntity.Callback.getCalibrationFrequency
(World world, BlockPos pos, BlockState state) static int
BeehiveBlockEntity.getHoneyLevel
(BlockState state) HopperBlockEntity.getInputInventory
(World world, Hopper hopper, BlockPos pos, BlockState state) HopperBlockEntity.getInventoryAt
(World world, BlockPos pos, BlockState state, double x, double y, double z) private static SculkSpreadable
SculkSpreadManager.Cursor.getSpreadable
(BlockState state) 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.BeeData 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.void
HopperBlockEntity.setCachedState
(BlockState state) (package private) void
BarrelBlockEntity.setOpen
(BlockState state, boolean open) static void
VaultBlockEntity.Client.spawnActivateParticles
(World world, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleEffect particle) private static void
VaultBlockEntity.Client.spawnConnectedParticles
(World world, BlockPos pos, BlockState state, VaultSharedData sharedData) 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) 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) static void
VaultBlockEntity.Client.tick
(World world, BlockPos pos, BlockState state, VaultClientData clientData, VaultSharedData sharedData) static void
VaultBlockEntity.Server.tick
(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) 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
VaultBlockEntity.Server.tryUnlock
(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, PlayerEntity player, ItemStack stack) static void
CampfireBlockEntity.unlitServerTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private static void
VaultBlockEntity.Server.unlock
(ServerWorld world, BlockState state, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, List<ItemStack> itemsToEject) 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) VaultBlockEntity
(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.component.type
Modifier and TypeMethodDescriptionBlockStateComponent.applyToState
(BlockState state) private static <T extends Comparable<T>>
BlockStateBlockStateComponent.applyToState
(BlockState state, Property<T> property, String value) Modifier and TypeMethodDescriptionBlockStateComponent.applyToState
(BlockState state) private static <T extends Comparable<T>>
BlockStateBlockStateComponent.applyToState
(BlockState state, Property<T> property, String value) float
ToolComponent.getSpeed
(BlockState state) boolean
ToolComponent.isCorrectForDrops
(BlockState state) <T extends Comparable<T>>
BlockStateComponentBlockStateComponent.with
(Property<T> property, BlockState fromState) -
Uses of BlockState in net.minecraft.enchantment
Modifier and TypeMethodDescriptionprivate static LootContext
Enchantment.method_60768
(ServerWorld serverWorld, int int2, Entity entity, Vec3d vec3d, BlockState blockState) void
Enchantment.onHitBlock
(ServerWorld world, int level, EnchantmentEffectContext context, Entity enchantedEntity, Vec3d pos, BlockState blockState) static void
EnchantmentHelper.onHitBlock
(ServerWorld world, ItemStack stack, @Nullable LivingEntity user, Entity enchantedEntity, @Nullable EquipmentSlot slot, Vec3d pos, BlockState blockState, Consumer<Item> consumer) -
Uses of BlockState in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate BlockState
FallingBlockEntity.block
private @Nullable BlockState
Entity.stateAtPos
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) 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
-
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
private static final PacketCodec
<ByteBuf, Optional<BlockState>> TrackedDataHandlerRegistry.OPTIONAL_BLOCK_STATE_CODEC
-
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
ArmadilloEntity.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) 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) 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
MaceItem.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.getMiningSpeed
(ItemStack stack, BlockState state) float
ItemStack.getMiningSpeedMultiplier
(BlockState state) 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.isCorrectForDrops
(ItemStack stack, BlockState state) boolean
ItemStack.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
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.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) -
Uses of BlockState in net.minecraft.loot.context
Modifier and TypeFieldDescriptionstatic final LootContextParameter
<BlockState> LootContextParameters.BLOCK_STATE
-
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
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<BlockState> BlockStateParticleEffect.BLOCK_STATE_CODEC
ModifierConstructorDescriptionBlockStateParticleEffect
(ParticleType<BlockStateParticleEffect> type, BlockState blockState) -
Uses of BlockState in net.minecraft.predicate
Modifier and TypeMethodDescriptionboolean
StatePredicate.test
(BlockState state) private boolean
BlockPredicate.testState
(BlockState state) -
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
Modifier and TypeFieldDescriptionprivate final BlockState
CloneCommand.BlockInfo.state
The field for thestate
record component.Modifier and TypeMethodDescriptionCloneCommand.BlockInfo.state()
Returns the value of thestate
record component.ModifierConstructorDescription(package private)
BlockInfo
(BlockPos pos, BlockState state, @Nullable CloneCommand.BlockEntityInfo blockEntityInfo) Creates an instance of aBlockInfo
record class. -
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, RegistryKey<LootTable> lootTable, @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
AdvancedExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
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) AdvancedExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) 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 @Nullable 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)