Uses of Class
net.minecraft.block.BlockState
Package
Description
The basic AI system for Minecraft living entities.
The Named Binary Tag (NBT) data format.
-
Uses of BlockState in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionboolean
EnterBlockCriterion.Conditions.matches
(BlockState state) boolean
PlacedBlockCriterion.Conditions.matches
(BlockState state, BlockPos pos, ServerWorld world, ItemStack stack) boolean
BeeNestDestroyedCriterion.Conditions.test
(BlockState state, ItemStack stack, int count) boolean
ItemCriterion.Conditions.test
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack) 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 TypeFieldDescriptionprivate final BlockState
StairsBlock.baseBlockState
private BlockState
Block.defaultState
private final BlockState
RedstoneWireBlock.dotState
private final BlockState
ConcretePowderBlock.hardenedState
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 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
(package private) Function<BlockState,
AbstractBlock.OffsetType> AbstractBlock.Settings.offsetType
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
(BlockState state, WorldAccess world, BlockPos pos, ItemStack item) 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
(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
(BlockState state, WorldAccess world, BlockPos pos) static BlockState
ComposterBlock.emptyFullComposter
(BlockState state, World world, BlockPos pos) static BlockState
InfestedBlock.fromRegularState
(BlockState regularState) RailPlacementHelper.getBlockState()
private static BlockState
BubbleColumnBlock.getBubbleState
(BlockState state) static BlockState
CandleCakeBlock.getCandleCakeFromCandle
(Block candle) static BlockState
PropaguleBlock.getDefaultHangingState()
final BlockState
Block.getDefaultState()
private BlockState
RedstoneWireBlock.getDefaultWireState
(BlockView world, BlockState state, BlockPos pos) private BlockState
SculkBlock.getExtraBlockState
(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) private BlockState
VineBlock.getGrownState
(BlockState above, BlockState state, Random random) static BlockState
PropaguleBlock.getHangingState
(int age) static @Nullable BlockState
AnvilBlock.getLandingState
(BlockState fallingState) 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) AmethystClusterBlock.getPlacementState
(ItemPlacementContext ctx) AnvilBlock.getPlacementState
(ItemPlacementContext ctx) BambooBlock.getPlacementState
(ItemPlacementContext ctx) BannerBlock.getPlacementState
(ItemPlacementContext ctx) BarrelBlock.getPlacementState
(ItemPlacementContext ctx) BedBlock.getPlacementState
(ItemPlacementContext ctx) BeehiveBlock.getPlacementState
(ItemPlacementContext ctx) BellBlock.getPlacementState
(ItemPlacementContext ctx) BigDripleafBlock.getPlacementState
(ItemPlacementContext ctx) Block.getPlacementState
(ItemPlacementContext ctx) CampfireBlock.getPlacementState
(ItemPlacementContext ctx) CandleBlock.getPlacementState
(ItemPlacementContext ctx) CarvedPumpkinBlock.getPlacementState
(ItemPlacementContext ctx) ChainBlock.getPlacementState
(ItemPlacementContext ctx) ChestBlock.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) DeadCoralWallFanBlock.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) GlazedTerracottaBlock.getPlacementState
(ItemPlacementContext ctx) HangingRootsBlock.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) PointedDripstoneBlock.getPlacementState
(ItemPlacementContext ctx) PropaguleBlock.getPlacementState
(ItemPlacementContext ctx) RedstoneLampBlock.getPlacementState
(ItemPlacementContext ctx) RedstoneWireBlock.getPlacementState
(ItemPlacementContext ctx) private BlockState
RedstoneWireBlock.getPlacementState
(BlockView world, BlockState state, BlockPos pos) RepeaterBlock.getPlacementState
(ItemPlacementContext ctx) RotatedInfestedBlock.getPlacementState
(ItemPlacementContext ctx) ScaffoldingBlock.getPlacementState
(ItemPlacementContext ctx) SculkSensorBlock.getPlacementState
(ItemPlacementContext ctx) SculkShriekerBlock.getPlacementState
(ItemPlacementContext ctx) SeagrassBlock.getPlacementState
(ItemPlacementContext ctx) SeaPickleBlock.getPlacementState
(ItemPlacementContext ctx) ShulkerBoxBlock.getPlacementState
(ItemPlacementContext ctx) SignBlock.getPlacementState
(ItemPlacementContext ctx) SkullBlock.getPlacementState
(ItemPlacementContext ctx) SlabBlock.getPlacementState
(ItemPlacementContext ctx) SmallDripleafBlock.getPlacementState
(ItemPlacementContext ctx) SnowBlock.getPlacementState
(ItemPlacementContext ctx) SnowyBlock.getPlacementState
(ItemPlacementContext ctx) StairsBlock.getPlacementState
(ItemPlacementContext ctx) StonecutterBlock.getPlacementState
(ItemPlacementContext ctx) TallPlantBlock.getPlacementState
(ItemPlacementContext ctx) TallSeagrassBlock.getPlacementState
(ItemPlacementContext ctx) TrapdoorBlock.getPlacementState
(ItemPlacementContext ctx) TripwireBlock.getPlacementState
(ItemPlacementContext ctx) TripwireHookBlock.getPlacementState
(ItemPlacementContext ctx) TurtleEggBlock.getPlacementState
(ItemPlacementContext ctx) VineBlock.getPlacementState
(ItemPlacementContext ctx) WallBannerBlock.getPlacementState
(ItemPlacementContext ctx) WallBlock.getPlacementState
(ItemPlacementContext ctx) WallMountedBlock.getPlacementState
(ItemPlacementContext ctx) WallRedstoneTorchBlock.getPlacementState
(ItemPlacementContext ctx) WallSignBlock.getPlacementState
(ItemPlacementContext ctx) WallSkullBlock.getPlacementState
(ItemPlacementContext ctx) WallTorchBlock.getPlacementState
(ItemPlacementContext ctx) AbstractPlantPartBlock.getRandomGrowthState
(WorldAccess world) AbstractPlantStemBlock.getRandomGrowthState
(WorldAccess world) static BlockState
private BlockState
WallBlock.getStateAt
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate
(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Deprecated.AbstractPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPlantStemBlock.getStateForNeighborUpdate
(BlockState state, 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.AbstractPressurePlateBlock.getStateForNeighborUpdate
(BlockState state, 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.AbstractRailBlock.getStateForNeighborUpdate
(BlockState state, 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.AbstractSignBlock.getStateForNeighborUpdate
(BlockState state, 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.AmethystClusterBlock.getStateForNeighborUpdate
(BlockState state, 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.AttachedStemBlock.getStateForNeighborUpdate
(BlockState state, 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.BambooBlock.getStateForNeighborUpdate
(BlockState state, 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.BambooSaplingBlock.getStateForNeighborUpdate
(BlockState state, 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.BannerBlock.getStateForNeighborUpdate
(BlockState state, 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.BedBlock.getStateForNeighborUpdate
(BlockState state, 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.BeehiveBlock.getStateForNeighborUpdate
(BlockState state, 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.BellBlock.getStateForNeighborUpdate
(BlockState state, 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.BigDripleafBlock.getStateForNeighborUpdate
(BlockState state, 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.BigDripleafStemBlock.getStateForNeighborUpdate
(BlockState state, 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.BubbleColumnBlock.getStateForNeighborUpdate
(BlockState state, 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.CactusBlock.getStateForNeighborUpdate
(BlockState state, 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.CakeBlock.getStateForNeighborUpdate
(BlockState state, 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.CampfireBlock.getStateForNeighborUpdate
(BlockState state, 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.CandleBlock.getStateForNeighborUpdate
(BlockState state, 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.CandleCakeBlock.getStateForNeighborUpdate
(BlockState state, 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.CarpetBlock.getStateForNeighborUpdate
(BlockState state, 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.ChainBlock.getStateForNeighborUpdate
(BlockState state, 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.ChestBlock.getStateForNeighborUpdate
(BlockState state, 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.ChorusFlowerBlock.getStateForNeighborUpdate
(BlockState state, 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.ChorusPlantBlock.getStateForNeighborUpdate
(BlockState state, 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.CocoaBlock.getStateForNeighborUpdate
(BlockState state, 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.ConcretePowderBlock.getStateForNeighborUpdate
(BlockState state, 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.ConduitBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralBlockBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralFanBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralParentBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, 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.DeadCoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, 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.DirtPathBlock.getStateForNeighborUpdate
(BlockState state, 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.DoorBlock.getStateForNeighborUpdate
(BlockState state, 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.EnderChestBlock.getStateForNeighborUpdate
(BlockState state, 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.FallingBlock.getStateForNeighborUpdate
(BlockState state, 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.FarmlandBlock.getStateForNeighborUpdate
(BlockState state, 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.FenceBlock.getStateForNeighborUpdate
(BlockState state, 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.FenceGateBlock.getStateForNeighborUpdate
(BlockState state, 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.FireBlock.getStateForNeighborUpdate
(BlockState state, 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.FlowerPotBlock.getStateForNeighborUpdate
(BlockState state, 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.FluidBlock.getStateForNeighborUpdate
(BlockState state, 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.FrogspawnBlock.getStateForNeighborUpdate
(BlockState state, 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.GlowLichenBlock.getStateForNeighborUpdate
(BlockState state, 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.HangingRootsBlock.getStateForNeighborUpdate
(BlockState state, 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.LadderBlock.getStateForNeighborUpdate
(BlockState state, 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.LanternBlock.getStateForNeighborUpdate
(BlockState state, 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.LeavesBlock.getStateForNeighborUpdate
(BlockState state, 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.LightBlock.getStateForNeighborUpdate
(BlockState state, 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.LightningRodBlock.getStateForNeighborUpdate
(BlockState state, 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.MagmaBlock.getStateForNeighborUpdate
(BlockState state, 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.MangroveRootsBlock.getStateForNeighborUpdate
(BlockState state, 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.MultifaceGrowthBlock.getStateForNeighborUpdate
(BlockState state, 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.MushroomBlock.getStateForNeighborUpdate
(BlockState state, 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.NetherPortalBlock.getStateForNeighborUpdate
(BlockState state, 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.NoteBlock.getStateForNeighborUpdate
(BlockState state, 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.ObserverBlock.getStateForNeighborUpdate
(BlockState state, 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.PaneBlock.getStateForNeighborUpdate
(BlockState state, 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.PistonHeadBlock.getStateForNeighborUpdate
(BlockState state, 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.PlantBlock.getStateForNeighborUpdate
(BlockState state, 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.PointedDripstoneBlock.getStateForNeighborUpdate
(BlockState state, 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.PropaguleBlock.getStateForNeighborUpdate
(BlockState state, 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.RedstoneWireBlock.getStateForNeighborUpdate
(BlockState state, 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.RepeaterBlock.getStateForNeighborUpdate
(BlockState state, 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.ScaffoldingBlock.getStateForNeighborUpdate
(BlockState state, 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.SculkSensorBlock.getStateForNeighborUpdate
(BlockState state, 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.SculkShriekerBlock.getStateForNeighborUpdate
(BlockState state, 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.SculkVeinBlock.getStateForNeighborUpdate
(BlockState state, 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.SeagrassBlock.getStateForNeighborUpdate
(BlockState state, 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.SeaPickleBlock.getStateForNeighborUpdate
(BlockState state, 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.SignBlock.getStateForNeighborUpdate
(BlockState state, 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.SlabBlock.getStateForNeighborUpdate
(BlockState state, 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.SmallDripleafBlock.getStateForNeighborUpdate
(BlockState state, 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.SnowBlock.getStateForNeighborUpdate
(BlockState state, 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.SnowyBlock.getStateForNeighborUpdate
(BlockState state, 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.SoulFireBlock.getStateForNeighborUpdate
(BlockState state, 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.SoulSandBlock.getStateForNeighborUpdate
(BlockState state, 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.SporeBlossomBlock.getStateForNeighborUpdate
(BlockState state, 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.StairsBlock.getStateForNeighborUpdate
(BlockState state, 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.SugarCaneBlock.getStateForNeighborUpdate
(BlockState state, 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.TallPlantBlock.getStateForNeighborUpdate
(BlockState state, 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.TorchBlock.getStateForNeighborUpdate
(BlockState state, 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.TrapdoorBlock.getStateForNeighborUpdate
(BlockState state, 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.TripwireBlock.getStateForNeighborUpdate
(BlockState state, 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.TripwireHookBlock.getStateForNeighborUpdate
(BlockState state, 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.VineBlock.getStateForNeighborUpdate
(BlockState state, 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.WallBannerBlock.getStateForNeighborUpdate
(BlockState state, 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.WallBlock.getStateForNeighborUpdate
(BlockState state, 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.WallMountedBlock.getStateForNeighborUpdate
(BlockState state, 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.WallRedstoneTorchBlock.getStateForNeighborUpdate
(BlockState state, 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.WallSignBlock.getStateForNeighborUpdate
(BlockState state, 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.WallTorchBlock.getStateForNeighborUpdate
(BlockState state, 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
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
WallBlock.getStateWithNeighbor
(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) final BlockState
Block.getStateWithProperties
(BlockState state) Gets a block state with all properties that both this block and the source block state have.static BlockState
Oxidizable.getUnaffectedOxidationState
(BlockState state) AbstractBlock.AbstractBlockState.mirror
(BlockMirror mirror) AbstractBlock.mirror
(BlockState state, BlockMirror mirror) Deprecated.Consider callingAbstractBlock.AbstractBlockState.mirror(net.minecraft.util.BlockMirror)
instead.AbstractFurnaceBlock.mirror
(BlockState state, BlockMirror mirror) AmethystClusterBlock.mirror
(BlockState state, BlockMirror mirror) AttachedStemBlock.mirror
(BlockState state, BlockMirror mirror) BannerBlock.mirror
(BlockState state, BlockMirror mirror) BarrelBlock.mirror
(BlockState state, BlockMirror mirror) CampfireBlock.mirror
(BlockState state, BlockMirror mirror) ChestBlock.mirror
(BlockState state, BlockMirror mirror) CommandBlock.mirror
(BlockState state, BlockMirror mirror) DeadCoralWallFanBlock.mirror
(BlockState state, BlockMirror mirror) DetectorRailBlock.mirror
(BlockState state, BlockMirror mirror) DispenserBlock.mirror
(BlockState state, BlockMirror mirror) DoorBlock.mirror
(BlockState state, BlockMirror mirror) EnderChestBlock.mirror
(BlockState state, BlockMirror mirror) EndPortalFrameBlock.mirror
(BlockState state, BlockMirror mirror) GrindstoneBlock.mirror
(BlockState state, BlockMirror mirror) HopperBlock.mirror
(BlockState state, BlockMirror mirror) HorizontalConnectingBlock.mirror
(BlockState state, BlockMirror mirror) HorizontalFacingBlock.mirror
(BlockState state, BlockMirror mirror) JigsawBlock.mirror
(BlockState state, BlockMirror mirror) LadderBlock.mirror
(BlockState state, BlockMirror mirror) LecternBlock.mirror
(BlockState state, BlockMirror mirror) private BlockState
MultifaceGrowthBlock.mirror
(BlockState state, Function<Direction, Direction> mirror) MultifaceGrowthBlock.mirror
(BlockState state, BlockMirror mirror) MushroomBlock.mirror
(BlockState state, BlockMirror mirror) ObserverBlock.mirror
(BlockState state, BlockMirror mirror) PistonBlock.mirror
(BlockState state, BlockMirror mirror) PistonExtensionBlock.mirror
(BlockState state, BlockMirror mirror) PistonHeadBlock.mirror
(BlockState state, BlockMirror mirror) PoweredRailBlock.mirror
(BlockState state, BlockMirror mirror) RailBlock.mirror
(BlockState state, BlockMirror mirror) RedstoneWireBlock.mirror
(BlockState state, BlockMirror mirror) RodBlock.mirror
(BlockState state, BlockMirror mirror) ShulkerBoxBlock.mirror
(BlockState state, BlockMirror mirror) SignBlock.mirror
(BlockState state, BlockMirror mirror) SkullBlock.mirror
(BlockState state, BlockMirror mirror) SmallDripleafBlock.mirror
(BlockState state, BlockMirror mirror) StairsBlock.mirror
(BlockState state, BlockMirror mirror) StonecutterBlock.mirror
(BlockState state, BlockMirror mirror) TripwireBlock.mirror
(BlockState state, BlockMirror mirror) TripwireHookBlock.mirror
(BlockState state, BlockMirror mirror) VineBlock.mirror
(BlockState state, BlockMirror mirror) WallBannerBlock.mirror
(BlockState state, BlockMirror mirror) WallBlock.mirror
(BlockState state, BlockMirror mirror) WallRedstoneTorchBlock.mirror
(BlockState state, BlockMirror mirror) WallSignBlock.mirror
(BlockState state, BlockMirror mirror) WallSkullBlock.mirror
(BlockState state, BlockMirror mirror) WallTorchBlock.mirror
(BlockState state, BlockMirror mirror) static BlockState
Block.postProcessState
(BlockState state, WorldAccess world, BlockPos pos) static BlockState
Block.pushEntitiesUpBeforeBlockChange
(BlockState from, BlockState to, World world, BlockPos pos) AbstractBlock.AbstractBlockState.rotate
(BlockRotation rotation) AbstractBlock.rotate
(BlockState state, BlockRotation rotation) Deprecated.Consider callingAbstractBlock.AbstractBlockState.rotate(net.minecraft.util.BlockRotation)
instead.AbstractFurnaceBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AmethystClusterBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AnvilBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AttachedStemBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.BannerBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.BarrelBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.CampfireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ChestBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.CommandBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DeadCoralWallFanBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DetectorRailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DispenserBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DoorBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.EnderChestBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.EndPortalFrameBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.GrindstoneBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HopperBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HorizontalConnectingBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HorizontalFacingBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.JigsawBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.LadderBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.LecternBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.MultifaceGrowthBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.MushroomBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.NetherPortalBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ObserverBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PillarBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonExtensionBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonHeadBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PoweredRailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RedstoneWireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RodBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RotatedInfestedBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ShulkerBoxBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SignBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SkullBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SmallDripleafBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.StairsBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.StonecutterBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.TripwireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.TripwireHookBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.VineBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallBannerBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallRedstoneTorchBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallSignBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallSkullBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallTorchBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.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.LeverBlock.togglePower
(BlockState state, World world, BlockPos pos) InfestedBlock.toRegularState
(BlockState infestedState) protected BlockState
AbstractRailBlock.updateBlockState
(World world, BlockPos pos, BlockState state, boolean forceUpdate) protected BlockState
AbstractRailBlock.updateCurves
(BlockState state, World world, BlockPos pos, boolean notify) private static BlockState
LeavesBlock.updateDistanceFromLogs
(BlockState state, WorldAccess world, BlockPos pos) CropBlock.withAge
(int age) private static BlockState
MultifaceGrowthBlock.withAllDirections
(StateManager<Block, BlockState> stateManager) ChorusPlantBlock.withConnectionProperties
(BlockView world, BlockPos pos) MultifaceGrowthBlock.withDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) AbstractPlantStemBlock.withMaxAge
(BlockState state) static BlockState
TallPlantBlock.withWaterloggedState
(WorldView world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionprivate static ToIntFunction<BlockState>
Blocks.createLightLevelFromLitBlockState
(int litLevel) static Optional<BlockState>
Oxidizable.getDecreasedOxidationState
(BlockState state) Degradable.getDegradationResult
(BlockState state) default Optional<BlockState>
Oxidizable.getDegradationResult
(BlockState state) static ToIntFunction<BlockState>
CaveVines.getLuminanceSupplier
(int luminance) Returns a function that receives aBlockState
and returns the luminance for the state.static ToIntFunction<BlockState>
GlowLichenBlock.getLuminanceSupplier
(int luminance) Returns a function that receives aBlockState
and returns the luminance for the state.private Map<BlockState,
VoxelShape> WallBlock.getShapeMap
(float float2, float float3, float float4, float float5, float float6, float float7) protected ImmutableMap<BlockState,
VoxelShape> Block.getShapesForStates
(Function<BlockState, VoxelShape> stateToShape) Block.getStateManager()
Modifier and TypeMethodDescription(package private) static BlockState
ComposterBlock.addToComposter
(BlockState state, WorldAccess world, BlockPos pos, ItemStack item) void
BeehiveBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) void
Block.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) void
IceBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) void
TallPlantBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) void
TurtleEggBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) 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) static void
SculkCatalystBlock.bloom
(ServerWorld world, BlockPos pos, BlockState state, Random random) private void
TurtleEggBlock.breakEgg
(World world, BlockPos pos, BlockState state) float
AbstractBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) float
BambooBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) float
BambooSaplingBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) private int
ComparatorBlock.calculateOutputSignal
(World world, BlockPos pos, BlockState state) protected boolean
AbstractPlantPartBlock.canAttachTo
(BlockState state) protected boolean
KelpBlock.canAttachTo
(BlockState state) protected boolean
KelpPlantBlock.canAttachTo
(BlockState state) static boolean
CampfireBlock.canBeLit
(BlockState state) static boolean
CandleBlock.canBeLit
(BlockState state) static boolean
CandleCakeBlock.canBeLit
(BlockState state) boolean
AbstractBlock.canBucketPlace
(BlockState state, Fluid fluid) Deprecated.Consider callingAbstractBlock.AbstractBlockState.canBucketPlace(net.minecraft.fluid.Fluid)
instead.boolean
EndGatewayBlock.canBucketPlace
(BlockState state, Fluid fluid) boolean
EndPortalBlock.canBucketPlace
(BlockState state, Fluid 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
FluidFillable.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpPlantBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SeagrassBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SlabBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
TallSeagrassBlock.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) default boolean
Waterloggable.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) 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
BambooSaplingBlock.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
FernBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
Fertilizable.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) 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
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) static boolean
Block.cannotConnect
(BlockState state) private static boolean
ShulkerBoxBlock.canOpen
(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) boolean
AbstractBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
AbstractCauldronBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
AbstractSkullBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
AnvilBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
BambooBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
BedBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
BellBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
BrewingStandBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
CactusBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
CakeBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
CampfireBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
CandleCakeBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
ChainBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
ChestBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
ChorusPlantBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
CocoaBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
ComposterBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
ConduitBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
DirtPathBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
DoorBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
DragonEggBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
EnchantingTableBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
EnderChestBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
EndPortalFrameBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
FarmlandBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
FenceBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
FenceGateBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
FlowerPotBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
FluidBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
GrindstoneBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
HopperBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
HorizontalConnectingBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
LanternBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
LecternBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
MudBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
PistonBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
PistonExtensionBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
PistonHeadBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
PlantBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
PointedDripstoneBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
PowderSnowBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
RespawnAnchorBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
RodBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
SculkSensorBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
SeaPickleBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
SlabBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
SnowBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
SoulSandBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
StairsBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
StonecutterBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
TrapdoorBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
WallBlock.canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
AbstractBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Deprecated.boolean
AbstractPlantPartBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
AbstractPressurePlateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
AbstractRailBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
AbstractRedstoneGateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
AmethystClusterBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BambooBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BambooSaplingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BellBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BigDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BigDripleafStemBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BubbleColumnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CactusBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CandleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CandleCakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CarpetBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
ChorusFlowerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
ChorusPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CocoaBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CoralParentBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
DeadCoralWallFanBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
DirtPathBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
DoorBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
FarmlandBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
FireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
FrogspawnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
GrindstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
HangingRootsBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
LadderBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
LanternBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
MultifaceGrowthBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
MushroomPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
PistonHeadBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
PlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
PointedDripstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
PropaguleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
RedstoneWireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
ScaffoldingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SeaPickleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SmallDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SnowBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SoulFireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SporeBlossomBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SugarCaneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
TallPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
TallSeagrassBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
TorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
TripwireHookBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
VineBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallBannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallMountedBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallRedstoneTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) 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
PlantBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PropaguleBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
RootsBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SeagrassBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SeaPickleBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SmallDripleafBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SproutsBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
StemBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
TallSeagrassBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
WitherRoseBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) boolean
AbstractBlock.canReplace
(BlockState state, ItemPlacementContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.canReplace(net.minecraft.item.ItemPlacementContext)
instead.boolean
AbstractPlantBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
CandleBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
GlowLichenBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
MultifaceGrowthBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
ScaffoldingBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
SculkVeinBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
SeaPickleBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
SlabBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
SnowBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
TallFlowerBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
TurtleEggBlock.canReplace
(BlockState state, ItemPlacementContext context) boolean
VineBlock.canReplace
(BlockState state, ItemPlacementContext context) 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
RespawnAnchorBlock.charge
(World world, BlockPos pos, BlockState state) 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
(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) AbstractBannerBlock.createBlockEntity
(BlockPos pos, BlockState state) AbstractSignBlock.createBlockEntity
(BlockPos pos, BlockState state) AbstractSkullBlock.createBlockEntity
(BlockPos pos, BlockState state) BarrelBlock.createBlockEntity
(BlockPos pos, BlockState state) BeaconBlock.createBlockEntity
(BlockPos pos, BlockState state) BedBlock.createBlockEntity
(BlockPos pos, BlockState state) BeehiveBlock.createBlockEntity
(BlockPos pos, BlockState state) BellBlock.createBlockEntity
(BlockPos pos, BlockState state) BlastFurnaceBlock.createBlockEntity
(BlockPos pos, BlockState state) BlockEntityProvider.createBlockEntity
(BlockPos pos, BlockState state) BrewingStandBlock.createBlockEntity
(BlockPos pos, BlockState state) CampfireBlock.createBlockEntity
(BlockPos pos, BlockState state) ChestBlock.createBlockEntity
(BlockPos pos, BlockState state) CommandBlock.createBlockEntity
(BlockPos pos, BlockState state) ComparatorBlock.createBlockEntity
(BlockPos pos, BlockState state) ConduitBlock.createBlockEntity
(BlockPos pos, BlockState state) DaylightDetectorBlock.createBlockEntity
(BlockPos pos, BlockState state) DispenserBlock.createBlockEntity
(BlockPos pos, BlockState state) DropperBlock.createBlockEntity
(BlockPos pos, BlockState state) EnchantingTableBlock.createBlockEntity
(BlockPos pos, BlockState state) EnderChestBlock.createBlockEntity
(BlockPos pos, BlockState state) EndGatewayBlock.createBlockEntity
(BlockPos pos, BlockState state) EndPortalBlock.createBlockEntity
(BlockPos pos, BlockState state) FurnaceBlock.createBlockEntity
(BlockPos pos, BlockState state) HopperBlock.createBlockEntity
(BlockPos pos, BlockState state) JigsawBlock.createBlockEntity
(BlockPos pos, BlockState state) JukeboxBlock.createBlockEntity
(BlockPos pos, BlockState state) LecternBlock.createBlockEntity
(BlockPos pos, BlockState state) PistonExtensionBlock.createBlockEntity
(BlockPos pos, BlockState state) SculkCatalystBlock.createBlockEntity
(BlockPos pos, BlockState state) SculkSensorBlock.createBlockEntity
(BlockPos pos, BlockState state) SculkShriekerBlock.createBlockEntity
(BlockPos pos, BlockState state) ShulkerBoxBlock.createBlockEntity
(BlockPos pos, BlockState state) SmokerBlock.createBlockEntity
(BlockPos pos, BlockState state) SpawnerBlock.createBlockEntity
(BlockPos pos, BlockState state) StructureBlock.createBlockEntity
(BlockPos pos, BlockState state) TrappedChestBlock.createBlockEntity
(BlockPos pos, BlockState state) static BlockEntity
PistonExtensionBlock.createBlockEntityPiston
(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state, Fluid fluid) AbstractBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Deprecated.AnvilBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) BlockWithEntity.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) CartographyTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) ChestBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) CraftingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) EnchantingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) GrindstoneBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) LecternBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) LoomBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) SmithingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) StonecutterBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) static void
LeveledCauldronBlock.decrementFluidLevel
(BlockState state, World world, BlockPos pos) private static BlockState
MultifaceGrowthBlock.disableDirection
(BlockState state, BooleanProperty direction) 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, LootContext.Builder lootContext) 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, Entity entity, ItemStack stack) boolean
AbstractBlock.emitsRedstonePower
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.emitsRedstonePower()
instead.boolean
AbstractButtonBlock.emitsRedstonePower
(BlockState state) boolean
AbstractPressurePlateBlock.emitsRedstonePower
(BlockState state) boolean
AbstractRedstoneGateBlock.emitsRedstonePower
(BlockState state) boolean
DaylightDetectorBlock.emitsRedstonePower
(BlockState state) boolean
DetectorRailBlock.emitsRedstonePower
(BlockState state) boolean
LecternBlock.emitsRedstonePower
(BlockState state) boolean
LeverBlock.emitsRedstonePower
(BlockState state) boolean
LightningRodBlock.emitsRedstonePower
(BlockState state) boolean
ObserverBlock.emitsRedstonePower
(BlockState state) boolean
RedstoneBlock.emitsRedstonePower
(BlockState state) boolean
RedstoneTorchBlock.emitsRedstonePower
(BlockState state) boolean
RedstoneWireBlock.emitsRedstonePower
(BlockState state) boolean
SculkSensorBlock.emitsRedstonePower
(BlockState state) boolean
TargetBlock.emitsRedstonePower
(BlockState state) boolean
TrappedChestBlock.emitsRedstonePower
(BlockState state) boolean
TripwireHookBlock.emitsRedstonePower
(BlockState state) (package private) static BlockState
ComposterBlock.emptyComposter
(BlockState state, WorldAccess world, BlockPos pos) static BlockState
ComposterBlock.emptyFullComposter
(BlockState state, World 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) protected void
CauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) protected void
LeveledCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) static BlockState
InfestedBlock.fromRegularState
(BlockState regularState) void
SaplingBlock.generate
(ServerWorld world, BlockPos pos, BlockState state, Random random) private int
VineBlock.getAdjacentBlockCount
(BlockState state) protected int
CropBlock.getAge
(BlockState state) float
AbstractBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) Deprecated.float
AbstractGlassBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
BarrierBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
LightBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
MudBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
SnowBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
SoulSandBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) float
StructureVoidBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) static DoubleBlockProperties.Type
BedBlock.getBedPart
(BlockState state) abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>
AbstractChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) EnderChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) static VoxelShape
WallTorchBlock.getBoundingShape
(BlockState state) private static BlockState
BubbleColumnBlock.getBubbleState
(BlockState state) private int
FireBlock.getBurnChance
(BlockState state) AbstractBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractGlassBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MudBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PaneBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PowderSnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SoulSandBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getCollisionShape(BlockView, BlockPos, ShapeContext)
instead.BambooBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BellBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CactusBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ComposterBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceGateBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FluidBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) GrindstoneBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HoneyBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HorizontalConnectingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LecternBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MudBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonExtensionBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PowderSnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ScaffoldingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SculkShriekerBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SoulSandBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) int
AnvilBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
ConcretePowderBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
FallingBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
GravelBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
SandBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
AbstractBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Deprecated.int
AbstractFurnaceBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
BarrelBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
BeehiveBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
BrewingStandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
CakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
CandleCakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
ChestBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
CommandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
ComposterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
DetectorRailBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
DispenserBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
EndPortalFrameBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
HopperBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
JukeboxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
LavaCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
LecternBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
LeveledCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
RespawnAnchorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
SculkSensorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) int
ShulkerBoxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) protected int
ConnectingBlock.getConnectionMask
(BlockState state) AbstractBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.FenceBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) FenceGateBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) LecternBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) PointedDripstoneBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) PowderSnowBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) SculkShriekerBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) SkullBlock.getCullingShape
(BlockState state, BlockView world, BlockPos pos) static Optional<BlockState>
Oxidizable.getDecreasedOxidationState
(BlockState state) private BlockState
RedstoneWireBlock.getDefaultWireState
(BlockView world, BlockState state, BlockPos pos) Degradable.getDegradationResult
(BlockState state) default Optional<BlockState>
Oxidizable.getDegradationResult
(BlockState state) protected static Direction
WallMountedBlock.getDirection
(BlockState state) private static int
LeavesBlock.getDistanceFromLog
(BlockState state) static DoubleBlockProperties.Type
ChestBlock.getDoubleBlockType
(BlockState state) AbstractBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getDroppedStacks(net.minecraft.loot.context.LootContext.Builder)
instead.BeehiveBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) 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) FluidBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) PistonExtensionBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) ShulkerBoxBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) WallPlayerSkullBlock.getDroppedStacks
(BlockState state, LootContext.Builder builder) static Direction
ChestBlock.getFacing
(BlockState state) static Direction
JigsawBlock.getFacing
(BlockState state) private static Optional<PointedDripstoneBlock.DrippingFluid>
PointedDripstoneBlock.getFluid
(World world, BlockPos pos, BlockState state) protected double
AbstractCauldronBlock.getFluidHeight
(BlockState state) protected double
LavaCauldronBlock.getFluidHeight
(BlockState state) protected double
LeveledCauldronBlock.getFluidHeight
(BlockState state) AbstractBlock.getFluidState
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getFluidState()
instead.AbstractRailBlock.getFluidState
(BlockState state) AbstractSignBlock.getFluidState
(BlockState state) AmethystClusterBlock.getFluidState
(BlockState state) BigDripleafBlock.getFluidState
(BlockState state) BigDripleafStemBlock.getFluidState
(BlockState state) BubbleColumnBlock.getFluidState
(BlockState state) CampfireBlock.getFluidState
(BlockState state) CandleBlock.getFluidState
(BlockState state) ChainBlock.getFluidState
(BlockState state) ChestBlock.getFluidState
(BlockState state) ConduitBlock.getFluidState
(BlockState state) CoralParentBlock.getFluidState
(BlockState state) EnderChestBlock.getFluidState
(BlockState state) FluidBlock.getFluidState
(BlockState state) GlowLichenBlock.getFluidState
(BlockState state) HangingRootsBlock.getFluidState
(BlockState state) HorizontalConnectingBlock.getFluidState
(BlockState state) KelpBlock.getFluidState
(BlockState state) KelpPlantBlock.getFluidState
(BlockState state) LadderBlock.getFluidState
(BlockState state) LanternBlock.getFluidState
(BlockState state) LeavesBlock.getFluidState
(BlockState state) LightBlock.getFluidState
(BlockState state) LightningRodBlock.getFluidState
(BlockState state) MangroveRootsBlock.getFluidState
(BlockState state) PointedDripstoneBlock.getFluidState
(BlockState state) PropaguleBlock.getFluidState
(BlockState state) ScaffoldingBlock.getFluidState
(BlockState state) SculkSensorBlock.getFluidState
(BlockState state) SculkShriekerBlock.getFluidState
(BlockState state) SculkVeinBlock.getFluidState
(BlockState state) SeagrassBlock.getFluidState
(BlockState state) SeaPickleBlock.getFluidState
(BlockState state) SlabBlock.getFluidState
(BlockState state) SmallDripleafBlock.getFluidState
(BlockState state) StairsBlock.getFluidState
(BlockState state) TallSeagrassBlock.getFluidState
(BlockState state) TrapdoorBlock.getFluidState
(BlockState state) WallBlock.getFluidState
(BlockState 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) 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) protected int
AbstractRedstoneGateBlock.getMaxInputLevelSides
(WorldView world, BlockPos pos, BlockState state) int
AbstractBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) Deprecated.int
LeavesBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) int
TintedGlassBlock.getOpacity
(BlockState state, BlockView world, BlockPos pos) static Direction
BedBlock.getOppositePartDirection
(BlockState state) AbstractBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getOutlineShape(BlockView, BlockPos, ShapeContext)
instead.AbstractButtonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractCauldronBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractFireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractPlantPartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractPressurePlateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractRailBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractRedstoneGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AirBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AmethystClusterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AnvilBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AttachedStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AzaleaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BambooBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BambooSaplingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BeetrootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BellBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BrewingStandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BubbleColumnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CactusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CampfireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CandleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CandleCakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CarpetBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CarrotsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ChainBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CocoaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ComposterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ConduitBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CoralParentBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DaylightDetectorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralWallFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DirtPathBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DragonEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EnchantingTableBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EnderChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EndPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EndPortalFrameBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FarmlandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FernBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FluidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FrogspawnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FungusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) GrindstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HangingRootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HopperBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HorizontalConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LadderBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LanternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LecternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LeverBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LightBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LilyPadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MultifaceGrowthBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MushroomPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) NetherPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) NetherWartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonExtensionBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PointedDripstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PotatoesBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PropaguleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RedstoneWireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RodBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SaplingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ScaffoldingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SculkSensorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SeaPickleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ShulkerBoxBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SlabBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SmallDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SporeBlossomBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SproutsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StairsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StonecutterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StructureVoidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SugarCaneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SweetBerryBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TallSeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TrapdoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TripwireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TripwireHookBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TurtleEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) VineBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallRedstoneTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallSkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected int
AbstractRedstoneGateBlock.getOutputLevel
(BlockView world, BlockPos pos, BlockState state) protected int
ComparatorBlock.getOutputLevel
(BlockView world, BlockPos pos, BlockState state) AbstractCandleBlock.getParticleOffsets
(BlockState state) CandleBlock.getParticleOffsets
(BlockState state) CandleCakeBlock.getParticleOffsets
(BlockState state) static SculkSensorPhase
SculkSensorBlock.getPhase
(BlockState state) AbstractBannerBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) AbstractPlantBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) AttachedStemBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) BambooSaplingBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) BigDripleafStemBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) Block.getPickStack
(BlockView world, BlockPos pos, BlockState state) CandleCakeBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) CaveVinesBodyBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) CaveVinesHeadBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) CropBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) EndGatewayBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) EndPortalBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) FlowerPotBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) FrostedIceBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) LightBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) NetherPortalBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) NetherWartBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) PistonExtensionBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) PistonHeadBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) ShulkerBoxBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) SpawnerBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) StemBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) SweetBerryBushBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) TallSeagrassBlock.getPickStack
(BlockView world, BlockPos pos, BlockState state) AbstractBlock.getPistonBehavior
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getPistonBehavior()
instead.AbstractPressurePlateBlock.getPistonBehavior
(BlockState state) AbstractRailBlock.getPistonBehavior
(BlockState state) AmethystClusterBlock.getPistonBehavior
(BlockState state) BedBlock.getPistonBehavior
(BlockState state) BellBlock.getPistonBehavior
(BlockState state) BuddingAmethystBlock.getPistonBehavior
(BlockState state) DoorBlock.getPistonBehavior
(BlockState state) EndRodBlock.getPistonBehavior
(BlockState state) GlazedTerracottaBlock.getPistonBehavior
(BlockState state) IceBlock.getPistonBehavior
(BlockState state) LanternBlock.getPistonBehavior
(BlockState state) PointedDripstoneBlock.getPistonBehavior
(BlockState state) SculkVeinBlock.getPistonBehavior
(BlockState state) ShulkerBoxBlock.getPistonBehavior
(BlockState state) StructureVoidBlock.getPistonBehavior
(BlockState state) private BlockState
VineBlock.getPlacementShape
(BlockState state, BlockView world, BlockPos pos) private static Direction
BellBlock.getPlacementSide
(BlockState state) private BlockState
RedstoneWireBlock.getPlacementState
(BlockView world, BlockState state, BlockPos pos) protected int
AbstractRedstoneGateBlock.getPower
(World world, BlockPos pos, BlockState state) protected int
ComparatorBlock.getPower
(World world, BlockPos pos, BlockState state) static int
Block.getRawIdFromState
(@Nullable BlockState state) AbstractBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.AbstractCauldronBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) ComposterBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) HopperBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) ScaffoldingBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected abstract int
AbstractPressurePlateBlock.getRedstoneOutput
(BlockState state) protected int
PressurePlateBlock.getRedstoneOutput
(BlockState state) protected int
WeightedPressurePlateBlock.getRedstoneOutput
(BlockState state) long
AbstractBlock.getRenderingSeed
(BlockState state, BlockPos pos) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getRenderingSeed(net.minecraft.util.math.BlockPos)
instead.long
BedBlock.getRenderingSeed
(BlockState state, BlockPos pos) long
DoorBlock.getRenderingSeed
(BlockState state, BlockPos pos) long
TallPlantBlock.getRenderingSeed
(BlockState state, BlockPos pos) AbstractBlock.getRenderType
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getRenderType()
instead.AbstractFurnaceBlock.getRenderType
(BlockState state) AirBlock.getRenderType
(BlockState state) BarrelBlock.getRenderType
(BlockState state) BarrierBlock.getRenderType
(BlockState state) BeaconBlock.getRenderType
(BlockState state) BedBlock.getRenderType
(BlockState state) BeehiveBlock.getRenderType
(BlockState state) BellBlock.getRenderType
(BlockState state) BlockWithEntity.getRenderType
(BlockState state) BrewingStandBlock.getRenderType
(BlockState state) BubbleColumnBlock.getRenderType
(BlockState state) CampfireBlock.getRenderType
(BlockState state) ChestBlock.getRenderType
(BlockState state) CommandBlock.getRenderType
(BlockState state) ConduitBlock.getRenderType
(BlockState state) DaylightDetectorBlock.getRenderType
(BlockState state) DispenserBlock.getRenderType
(BlockState state) EnchantingTableBlock.getRenderType
(BlockState state) EnderChestBlock.getRenderType
(BlockState state) FlowerPotBlock.getRenderType
(BlockState state) FluidBlock.getRenderType
(BlockState state) GrindstoneBlock.getRenderType
(BlockState state) HopperBlock.getRenderType
(BlockState state) JukeboxBlock.getRenderType
(BlockState state) LecternBlock.getRenderType
(BlockState state) LightBlock.getRenderType
(BlockState state) SculkCatalystBlock.getRenderType
(BlockState state) SculkSensorBlock.getRenderType
(BlockState state) SculkShriekerBlock.getRenderType
(BlockState state) ShulkerBoxBlock.getRenderType
(BlockState state) SpawnerBlock.getRenderType
(BlockState state) StonecutterBlock.getRenderType
(BlockState state) StructureBlock.getRenderType
(BlockState state) StructureVoidBlock.getRenderType
(BlockState state) static Direction
JigsawBlock.getRotation
(BlockState state) private VoxelShape
BellBlock.getShape
(BlockState state) private VoxelShape
GrindstoneBlock.getShape
(BlockState state) private static VoxelShape
BigDripleafBlock.getShapeForState
(BlockState state) private static VoxelShape
FireBlock.getShapeForState
(BlockState state) private static VoxelShape
MultifaceGrowthBlock.getShapeForState
(BlockState state) private VoxelShape
RedstoneWireBlock.getShapeForState
(BlockState state) private static VoxelShape
VineBlock.getShapeForState
(BlockState state) protected int
HorizontalConnectingBlock.getShapeIndex
(BlockState state) private int
StairsBlock.getShapeIndexIndex
(BlockState state) AbstractBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) Deprecated.LeavesBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) MudBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) SnowBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) SoulSandBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) Block.getSoundGroup
(BlockState state) private int
FireBlock.getSpreadChance
(BlockState state) private static StairShape
StairsBlock.getStairShape
(BlockState state, BlockView world, BlockPos pos) private BlockState
WallBlock.getStateAt
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate
(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) AbstractPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPlantStemBlock.getStateForNeighborUpdate
(BlockState state, 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.AbstractPressurePlateBlock.getStateForNeighborUpdate
(BlockState state, 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.AbstractRailBlock.getStateForNeighborUpdate
(BlockState state, 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.AbstractSignBlock.getStateForNeighborUpdate
(BlockState state, 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.AmethystClusterBlock.getStateForNeighborUpdate
(BlockState state, 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.AttachedStemBlock.getStateForNeighborUpdate
(BlockState state, 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.BambooBlock.getStateForNeighborUpdate
(BlockState state, 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.BambooSaplingBlock.getStateForNeighborUpdate
(BlockState state, 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.BannerBlock.getStateForNeighborUpdate
(BlockState state, 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.BedBlock.getStateForNeighborUpdate
(BlockState state, 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.BeehiveBlock.getStateForNeighborUpdate
(BlockState state, 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.BellBlock.getStateForNeighborUpdate
(BlockState state, 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.BigDripleafBlock.getStateForNeighborUpdate
(BlockState state, 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.BigDripleafStemBlock.getStateForNeighborUpdate
(BlockState state, 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.BubbleColumnBlock.getStateForNeighborUpdate
(BlockState state, 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.CactusBlock.getStateForNeighborUpdate
(BlockState state, 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.CakeBlock.getStateForNeighborUpdate
(BlockState state, 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.CampfireBlock.getStateForNeighborUpdate
(BlockState state, 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.CandleBlock.getStateForNeighborUpdate
(BlockState state, 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.CandleCakeBlock.getStateForNeighborUpdate
(BlockState state, 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.CarpetBlock.getStateForNeighborUpdate
(BlockState state, 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.ChainBlock.getStateForNeighborUpdate
(BlockState state, 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.ChestBlock.getStateForNeighborUpdate
(BlockState state, 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.ChorusFlowerBlock.getStateForNeighborUpdate
(BlockState state, 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.ChorusPlantBlock.getStateForNeighborUpdate
(BlockState state, 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.CocoaBlock.getStateForNeighborUpdate
(BlockState state, 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.ConcretePowderBlock.getStateForNeighborUpdate
(BlockState state, 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.ConduitBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralBlockBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralFanBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralParentBlock.getStateForNeighborUpdate
(BlockState state, 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.CoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, 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.DeadCoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, 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.DirtPathBlock.getStateForNeighborUpdate
(BlockState state, 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.DoorBlock.getStateForNeighborUpdate
(BlockState state, 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.EnderChestBlock.getStateForNeighborUpdate
(BlockState state, 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.FallingBlock.getStateForNeighborUpdate
(BlockState state, 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.FarmlandBlock.getStateForNeighborUpdate
(BlockState state, 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.FenceBlock.getStateForNeighborUpdate
(BlockState state, 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.FenceGateBlock.getStateForNeighborUpdate
(BlockState state, 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.FireBlock.getStateForNeighborUpdate
(BlockState state, 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.FlowerPotBlock.getStateForNeighborUpdate
(BlockState state, 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.FluidBlock.getStateForNeighborUpdate
(BlockState state, 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.FrogspawnBlock.getStateForNeighborUpdate
(BlockState state, 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.GlowLichenBlock.getStateForNeighborUpdate
(BlockState state, 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.HangingRootsBlock.getStateForNeighborUpdate
(BlockState state, 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.LadderBlock.getStateForNeighborUpdate
(BlockState state, 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.LanternBlock.getStateForNeighborUpdate
(BlockState state, 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.LeavesBlock.getStateForNeighborUpdate
(BlockState state, 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.LightBlock.getStateForNeighborUpdate
(BlockState state, 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.LightningRodBlock.getStateForNeighborUpdate
(BlockState state, 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.MagmaBlock.getStateForNeighborUpdate
(BlockState state, 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.MangroveRootsBlock.getStateForNeighborUpdate
(BlockState state, 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.MultifaceGrowthBlock.getStateForNeighborUpdate
(BlockState state, 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.MushroomBlock.getStateForNeighborUpdate
(BlockState state, 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.NetherPortalBlock.getStateForNeighborUpdate
(BlockState state, 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.NoteBlock.getStateForNeighborUpdate
(BlockState state, 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.ObserverBlock.getStateForNeighborUpdate
(BlockState state, 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.PaneBlock.getStateForNeighborUpdate
(BlockState state, 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.PistonHeadBlock.getStateForNeighborUpdate
(BlockState state, 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.PlantBlock.getStateForNeighborUpdate
(BlockState state, 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.PointedDripstoneBlock.getStateForNeighborUpdate
(BlockState state, 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.PropaguleBlock.getStateForNeighborUpdate
(BlockState state, 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.RedstoneWireBlock.getStateForNeighborUpdate
(BlockState state, 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.RepeaterBlock.getStateForNeighborUpdate
(BlockState state, 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.ScaffoldingBlock.getStateForNeighborUpdate
(BlockState state, 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.SculkSensorBlock.getStateForNeighborUpdate
(BlockState state, 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.SculkShriekerBlock.getStateForNeighborUpdate
(BlockState state, 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.SculkVeinBlock.getStateForNeighborUpdate
(BlockState state, 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.SeagrassBlock.getStateForNeighborUpdate
(BlockState state, 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.SeaPickleBlock.getStateForNeighborUpdate
(BlockState state, 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.SignBlock.getStateForNeighborUpdate
(BlockState state, 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.SlabBlock.getStateForNeighborUpdate
(BlockState state, 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.SmallDripleafBlock.getStateForNeighborUpdate
(BlockState state, 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.SnowBlock.getStateForNeighborUpdate
(BlockState state, 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.SnowyBlock.getStateForNeighborUpdate
(BlockState state, 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.SoulFireBlock.getStateForNeighborUpdate
(BlockState state, 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.SoulSandBlock.getStateForNeighborUpdate
(BlockState state, 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.SporeBlossomBlock.getStateForNeighborUpdate
(BlockState state, 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.StairsBlock.getStateForNeighborUpdate
(BlockState state, 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.SugarCaneBlock.getStateForNeighborUpdate
(BlockState state, 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.TallPlantBlock.getStateForNeighborUpdate
(BlockState state, 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.TorchBlock.getStateForNeighborUpdate
(BlockState state, 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.TrapdoorBlock.getStateForNeighborUpdate
(BlockState state, 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.TripwireBlock.getStateForNeighborUpdate
(BlockState state, 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.TripwireHookBlock.getStateForNeighborUpdate
(BlockState state, 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.VineBlock.getStateForNeighborUpdate
(BlockState state, 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.WallBannerBlock.getStateForNeighborUpdate
(BlockState state, 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.WallBlock.getStateForNeighborUpdate
(BlockState state, 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.WallMountedBlock.getStateForNeighborUpdate
(BlockState state, 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.WallRedstoneTorchBlock.getStateForNeighborUpdate
(BlockState state, 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.WallSignBlock.getStateForNeighborUpdate
(BlockState state, 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.WallTorchBlock.getStateForNeighborUpdate
(BlockState state, 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.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
WallBlock.getStateWithNeighbor
(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) final BlockState
Block.getStateWithProperties
(BlockState state) Gets a block state with all properties that both this block and the source block state have.int
AbstractBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
AbstractButtonBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
AbstractPressurePlateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
AbstractRedstoneGateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
DetectorRailBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
LecternBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
LeverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
LightningRodBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
ObserverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
RedstoneTorchBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
RedstoneWireBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
TrappedChestBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
TripwireHookBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) PointedDripstoneBlock.getSupportingPos
(World world, BlockPos pos, BlockState state, int range) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractSkullBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeaconBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeehiveBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BellBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlastFurnaceBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) default <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlockEntityProvider.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BrewingStandBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>CampfireBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ChestBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ConduitBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>DaylightDetectorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnchantingTableBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnderChestBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EndGatewayBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>FurnaceBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>HopperBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>PistonExtensionBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkCatalystBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkSensorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkShriekerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ShulkerBoxBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SmokerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SpawnerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) PointedDripstoneBlock.getTipPos
(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) static BlockState
Oxidizable.getUnaffectedOxidationState
(BlockState state) protected abstract int
AbstractRedstoneGateBlock.getUpdateDelayInternal
(BlockState state) protected int
ComparatorBlock.getUpdateDelayInternal
(BlockState state) protected int
RepeaterBlock.getUpdateDelayInternal
(BlockState state) int
AbstractBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
AbstractButtonBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
AbstractPressurePlateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
AbstractRedstoneGateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
DaylightDetectorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
DetectorRailBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
LecternBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
LeverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
LightningRodBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
ObserverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
RedstoneBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
RedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
RedstoneWireBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
SculkSensorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
TargetBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
TrappedChestBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
TripwireHookBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
WallRedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) 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
BambooSaplingBlock.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
FernBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
Fertilizable.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
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
SmallDripleafBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
StemBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SweetBerryBushBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
TallFlowerBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.growMerged
(BlockState state, WorldAccess world, BlockPos pos) private static boolean
ConcretePowderBlock.hardensIn
(BlockState state) private boolean
VineBlock.hasAdjacentBlocks
(BlockState state) protected static boolean
MultifaceGrowthBlock.hasAnyDirection
(BlockState state) static boolean
CaveVines.hasBerries
(BlockState state) boolean
AbstractBlock.hasComparatorOutput
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.hasComparatorOutput()
instead.boolean
AbstractCauldronBlock.hasComparatorOutput
(BlockState state) boolean
AbstractFurnaceBlock.hasComparatorOutput
(BlockState state) boolean
BarrelBlock.hasComparatorOutput
(BlockState state) boolean
BeehiveBlock.hasComparatorOutput
(BlockState state) boolean
BrewingStandBlock.hasComparatorOutput
(BlockState state) boolean
CakeBlock.hasComparatorOutput
(BlockState state) boolean
CandleCakeBlock.hasComparatorOutput
(BlockState state) boolean
ChestBlock.hasComparatorOutput
(BlockState state) boolean
CommandBlock.hasComparatorOutput
(BlockState state) boolean
ComposterBlock.hasComparatorOutput
(BlockState state) boolean
DetectorRailBlock.hasComparatorOutput
(BlockState state) boolean
DispenserBlock.hasComparatorOutput
(BlockState state) boolean
EndPortalFrameBlock.hasComparatorOutput
(BlockState state) boolean
HopperBlock.hasComparatorOutput
(BlockState state) boolean
JukeboxBlock.hasComparatorOutput
(BlockState state) boolean
LecternBlock.hasComparatorOutput
(BlockState state) boolean
RespawnAnchorBlock.hasComparatorOutput
(BlockState state) boolean
SculkSensorBlock.hasComparatorOutput
(BlockState state) boolean
ShulkerBoxBlock.hasComparatorOutput
(BlockState state) default boolean
LichenGrower.GrowChecker.hasDirection
(BlockState state, Direction direction) static boolean
MultifaceGrowthBlock.hasDirection
(BlockState state, Direction direction) private boolean
VineBlock.hasHorizontalSide
(BlockState state) boolean
AbstractPlantStemBlock.hasMaxAge
(BlockState state) protected boolean
AbstractRedstoneGateBlock.hasPower
(World world, BlockPos pos, BlockState state) protected boolean
ComparatorBlock.hasPower
(World world, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.hasRandomTicks
(BlockState state) boolean
BambooBlock.hasRandomTicks
(BlockState state) boolean
Block.hasRandomTicks
(BlockState state) boolean
ChorusFlowerBlock.hasRandomTicks
(BlockState state) boolean
CocoaBlock.hasRandomTicks
(BlockState state) boolean
CropBlock.hasRandomTicks
(BlockState state) boolean
FluidBlock.hasRandomTicks
(BlockState state) boolean
LeavesBlock.hasRandomTicks
(BlockState state) boolean
NetherWartBlock.hasRandomTicks
(BlockState state) boolean
OxidizableBlock.hasRandomTicks
(BlockState state) boolean
OxidizableSlabBlock.hasRandomTicks
(BlockState state) boolean
OxidizableStairsBlock.hasRandomTicks
(BlockState state) boolean
RedstoneOreBlock.hasRandomTicks
(BlockState state) boolean
StairsBlock.hasRandomTicks
(BlockState state) boolean
SweetBerryBushBlock.hasRandomTicks
(BlockState state) boolean
AbstractBlock.hasSidedTransparency
(BlockState state) Deprecated.Consider callingAbstractBlock.AbstractBlockState.hasSidedTransparency
instead.boolean
DaylightDetectorBlock.hasSidedTransparency
(BlockState state) boolean
DirtPathBlock.hasSidedTransparency
(BlockState state) boolean
EnchantingTableBlock.hasSidedTransparency
(BlockState state) boolean
EndPortalFrameBlock.hasSidedTransparency
(BlockState state) boolean
FarmlandBlock.hasSidedTransparency
(BlockState state) boolean
LecternBlock.hasSidedTransparency
(BlockState state) boolean
PistonBlock.hasSidedTransparency
(BlockState state) boolean
PistonHeadBlock.hasSidedTransparency
(BlockState state) boolean
SculkSensorBlock.hasSidedTransparency
(BlockState state) boolean
SculkShriekerBlock.hasSidedTransparency
(BlockState state) boolean
SlabBlock.hasSidedTransparency
(BlockState state) boolean
SnowBlock.hasSidedTransparency
(BlockState state) boolean
StairsBlock.hasSidedTransparency
(BlockState state) boolean
StonecutterBlock.hasSidedTransparency
(BlockState state) private boolean
FrostedIceBlock.increaseAge
(BlockState state, World world, BlockPos pos) private int
RedstoneWireBlock.increasePower
(BlockState state) private boolean
PistonHeadBlock.isAttached
(BlockState headState, BlockState pistonState) private static boolean
WallBlock.isConnected
(BlockState state, Property<WallShape> property) boolean
AbstractBlock.isCullingShapeFullCube
(BlockState state, BlockView world, BlockPos pos) Deprecated.private static boolean
StairsBlock.isDifferentOrientation
(BlockState state, BlockView world, BlockPos pos, Direction dir) static boolean
SeaPickleBlock.isDry
(BlockState state) protected boolean
AbstractCauldronBlock.isEntityTouchingFluid
(BlockState state, BlockPos pos, Entity entity) boolean
AbstractPlantBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
AbstractPlantStemBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
AzaleaBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
BambooBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
BambooSaplingBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
BigDripleafBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
BigDripleafStemBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
CaveVinesBodyBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
CaveVinesHeadBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
CocoaBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
CropBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
FernBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
Fertilizable.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
FungusBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
GlowLichenBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
GrassBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
MangroveLeavesBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
MossBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
MushroomPlantBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
NetherrackBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
NyliumBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
PropaguleBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
RootedDirtBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
SaplingBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
SeagrassBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
SeaPickleBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
SmallDripleafBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
StemBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
SweetBerryBushBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) boolean
TallFlowerBlock.isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) 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) boolean
CauldronBlock.isFull
(BlockState state) boolean
LavaCauldronBlock.isFull
(BlockState state) boolean
LeveledCauldronBlock.isFull
(BlockState state) private static boolean
RedstoneWireBlock.isFullyConnected
(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) 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) 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) static boolean
AbstractRedstoneGateBlock.isRedstoneGate
(BlockState state) boolean
AbstractBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) Deprecated.boolean
BambooBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) boolean
PointedDripstoneBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.isSideInvisible
(BlockState state, Direction direction) boolean
AbstractBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) Deprecated.boolean
FluidBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) boolean
MangroveRootsBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) boolean
PaneBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) boolean
PowderSnowBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) boolean
TransparentBlock.isSideInvisible
(BlockState state, BlockState stateFrom, Direction direction) private boolean
CampfireBlock.isSignalFireBaseBlock
(BlockState state) private static boolean
SnowyBlock.isSnow
(BlockState state) static boolean
SoulFireBlock.isSoulBase
(BlockState state) static boolean
StairsBlock.isStairs
(BlockState state) private static boolean
BubbleColumnBlock.isStillWater
(BlockState state) boolean
AbstractRedstoneGateBlock.isTargetNotAligned
(BlockView world, BlockPos pos, BlockState state) private static boolean
PointedDripstoneBlock.isTip
(BlockState state, boolean allowMerged) private static boolean
PointedDripstoneBlock.isTip
(BlockState state, Direction direction) boolean
AbstractGlassBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
BambooBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
BarrierBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
Block.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
ConnectingBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
FluidBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
GlowLichenBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
HorizontalConnectingBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
LightBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
PlantBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
TintedGlassBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
VineBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) boolean
WallBlock.isTranslucent
(BlockState state, BlockView world, BlockPos pos) static boolean
VineLogic.isValidForWeepingStem
(BlockState state) protected boolean
AbstractRedstoneGateBlock.isValidInput
(BlockState state) protected boolean
RepeaterBlock.isValidInput
(BlockState state) private boolean
FenceGateBlock.isWall
(BlockState state) static boolean
DoorBlock.isWoodenDoor
(BlockState state) private static void
RedstoneOreBlock.light
(BlockState state, World world, BlockPos pos) abstract boolean
SideShapeType.matches
(BlockState state, BlockView world, BlockPos pos, Direction direction) protected void
IceBlock.melt
(BlockState state, World world, BlockPos pos) AbstractBlock.mirror
(BlockState state, BlockMirror mirror) Deprecated.Consider callingAbstractBlock.AbstractBlockState.mirror(net.minecraft.util.BlockMirror)
instead.AbstractFurnaceBlock.mirror
(BlockState state, BlockMirror mirror) AmethystClusterBlock.mirror
(BlockState state, BlockMirror mirror) AttachedStemBlock.mirror
(BlockState state, BlockMirror mirror) BannerBlock.mirror
(BlockState state, BlockMirror mirror) BarrelBlock.mirror
(BlockState state, BlockMirror mirror) CampfireBlock.mirror
(BlockState state, BlockMirror mirror) ChestBlock.mirror
(BlockState state, BlockMirror mirror) CommandBlock.mirror
(BlockState state, BlockMirror mirror) DeadCoralWallFanBlock.mirror
(BlockState state, BlockMirror mirror) DetectorRailBlock.mirror
(BlockState state, BlockMirror mirror) DispenserBlock.mirror
(BlockState state, BlockMirror mirror) DoorBlock.mirror
(BlockState state, BlockMirror mirror) EnderChestBlock.mirror
(BlockState state, BlockMirror mirror) EndPortalFrameBlock.mirror
(BlockState state, BlockMirror mirror) GrindstoneBlock.mirror
(BlockState state, BlockMirror mirror) HopperBlock.mirror
(BlockState state, BlockMirror mirror) HorizontalConnectingBlock.mirror
(BlockState state, BlockMirror mirror) HorizontalFacingBlock.mirror
(BlockState state, BlockMirror mirror) JigsawBlock.mirror
(BlockState state, BlockMirror mirror) LadderBlock.mirror
(BlockState state, BlockMirror mirror) LecternBlock.mirror
(BlockState state, BlockMirror mirror) private BlockState
MultifaceGrowthBlock.mirror
(BlockState state, Function<Direction, Direction> mirror) MultifaceGrowthBlock.mirror
(BlockState state, BlockMirror mirror) MushroomBlock.mirror
(BlockState state, BlockMirror mirror) ObserverBlock.mirror
(BlockState state, BlockMirror mirror) PistonBlock.mirror
(BlockState state, BlockMirror mirror) PistonExtensionBlock.mirror
(BlockState state, BlockMirror mirror) PistonHeadBlock.mirror
(BlockState state, BlockMirror mirror) PoweredRailBlock.mirror
(BlockState state, BlockMirror mirror) RailBlock.mirror
(BlockState state, BlockMirror mirror) RedstoneWireBlock.mirror
(BlockState state, BlockMirror mirror) RodBlock.mirror
(BlockState state, BlockMirror mirror) ShulkerBoxBlock.mirror
(BlockState state, BlockMirror mirror) SignBlock.mirror
(BlockState state, BlockMirror mirror) SkullBlock.mirror
(BlockState state, BlockMirror mirror) SmallDripleafBlock.mirror
(BlockState state, BlockMirror mirror) StairsBlock.mirror
(BlockState state, BlockMirror mirror) StonecutterBlock.mirror
(BlockState state, BlockMirror mirror) TripwireBlock.mirror
(BlockState state, BlockMirror mirror) TripwireHookBlock.mirror
(BlockState state, BlockMirror mirror) VineBlock.mirror
(BlockState state, BlockMirror mirror) WallBannerBlock.mirror
(BlockState state, BlockMirror mirror) WallBlock.mirror
(BlockState state, BlockMirror mirror) WallRedstoneTorchBlock.mirror
(BlockState state, BlockMirror mirror) WallSignBlock.mirror
(BlockState state, BlockMirror mirror) WallSkullBlock.mirror
(BlockState state, BlockMirror mirror) WallTorchBlock.mirror
(BlockState state, BlockMirror mirror) void
AbstractBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
AbstractRailBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
AbstractRedstoneGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
BellBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
BigDripleafBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
CommandBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
DispenserBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
DoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
FenceGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
FluidBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
FrostedIceBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
HopperBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
NoteBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
PistonBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
PistonHeadBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
RedstoneLampBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
RedstoneTorchBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
RedstoneWireBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
SpongeBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
StructureBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
TntBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
TrapdoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) private static boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos) A shortcut to always returnfalse
a context predicate, used assettings.solidBlock(Blocks::never)
.private static Boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returnfalse
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::never)
.void
AbstractBlock.AbstractBlockState.onBlockAdded
(World world, BlockPos pos, BlockState state, boolean notify) void
AbstractBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.void
AbstractFireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
AbstractRailBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
AbstractRedstoneGateBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
CarvedPumpkinBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
ComposterBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
CoralBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
CoralFanBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
CoralWallFanBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
DetectorRailBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
FallingBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
FireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
FluidBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
FrogspawnBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
HopperBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
LightningRodBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
MagmaBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
ObserverBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
PistonBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
RedstoneTorchBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
RedstoneWireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
ScaffoldingBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
SculkSensorBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
SoulSandBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
SpongeBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
StairsBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
TargetBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
TntBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
TripwireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
TurtleEggBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
WetSpongeBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
AbstractBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) void
DragonEggBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) void
NoteBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) void
RedstoneOreBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) void
StairsBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) void
AbstractFireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
BedBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
BeehiveBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
Block.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
DoorBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
PistonHeadBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
ShulkerBoxBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
TallPlantBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
TntBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
TripwireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) 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) void
PistonExtensionBlock.onBroken
(WorldAccess world, BlockPos pos, BlockState state) void
StairsBlock.onBroken
(WorldAccess world, BlockPos pos, BlockState state) void
AbstractBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.void
AbstractButtonBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
AbstractFireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
AbstractPressurePlateBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
BigDripleafBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
BubbleColumnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
CactusBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
CampfireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
CobwebBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
CropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
DetectorRailBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
EndPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
FrogspawnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
HoneyBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
HopperBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
LavaCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
LeveledCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
LilyPadBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
NetherPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
PowderSnowBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
SweetBerryBushBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
TripwireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) void
WitherRoseBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) protected void
LeveledCauldronBlock.onFireCollision
(BlockState state, World world, BlockPos pos) protected void
PowderSnowCauldronBlock.onFireCollision
(BlockState state, World world, BlockPos pos) void
BedBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
Block.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
FarmlandBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
HayBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
HoneyBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
PointedDripstoneBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
PowderSnowBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
SlimeBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
TurtleEggBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) void
AnvilBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) void
ConcretePowderBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) default void
LandingBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) void
AbstractBannerBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
AbstractFurnaceBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
AbstractRedstoneGateBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
BarrelBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
BeaconBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
BedBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
Block.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
BrewingStandBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
ChestBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
CommandBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
ConduitBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
DispenserBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
DoorBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
EnchantingTableBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
HopperBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
JukeboxBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
PistonBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
PlayerSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
ShulkerBoxBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
SmallDripleafBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
StructureBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
TallPlantBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
TripwireHookBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) void
WallPlayerSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
WallWitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
WitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) void
AbstractBlock.AbstractBlockState.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AbstractBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AbstractCandleBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AmethystBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
BellBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
BigDripleafBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
CampfireBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
ChorusFlowerBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
LightningRodBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
PointedDripstoneBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
TargetBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
TntBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AbstractBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
InfestedBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
OreBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
RedstoneOreBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
SculkCatalystBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
SculkSensorBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
SculkShriekerBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
SpawnerBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) void
AbstractBlock.AbstractBlockState.onStateReplaced
(World world, BlockPos pos, BlockState state, boolean moved) void
AbstractBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Deprecated.void
AbstractButtonBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
AbstractFurnaceBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
AbstractPressurePlateBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
AbstractRailBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
AbstractRedstoneGateBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
BarrelBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
BrewingStandBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
CampfireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
ChestBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
DispenserBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
HopperBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
JukeboxBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
LecternBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
LeverBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
LightningRodBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
ObserverBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
PistonExtensionBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
PistonHeadBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
RedstoneTorchBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
RedstoneWireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
SculkSensorBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
SculkShriekerBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
ShulkerBoxBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
StairsBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
TripwireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
TripwireHookBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.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
StairsBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
TurtleEggBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.boolean
AbstractBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Deprecated.boolean
BlockWithEntity.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) boolean
ComparatorBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) boolean
NoteBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) boolean
PistonBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) AbstractBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractButtonBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractCauldronBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractFurnaceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AnvilBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BarrelBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeaconBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BedBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeehiveBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BellBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BrewingStandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CampfireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleCakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CartographyTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesBodyBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesHeadBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CommandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComparatorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComposterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CraftingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DaylightDetectorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DispenserBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DragonEggBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnchantingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnderChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceGateBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FletchingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FlowerPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.GrindstoneBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HopperBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JigsawBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JukeboxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LecternBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LeverBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LightBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LoomBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.NoteBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PistonExtensionBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PumpkinBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneOreBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneWireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RepeaterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RespawnAnchorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ShulkerBoxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SmithingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StairsBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StonecutterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StructureBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SweetBerryBushBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TntBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TrapdoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.static ActionResult
CaveVines.pickBerries
(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) static BlockState
Block.postProcessState
(BlockState state, WorldAccess world, BlockPos pos) void
AbstractButtonBlock.powerOn
(BlockState state, World world, BlockPos pos) void
Block.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) void
CauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) void
LeveledCauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) void
AbstractBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Deprecated.Consider callingAbstractBlock.AbstractBlockState.prepare(WorldAccess, BlockPos, int, int)
instead.void
RedstoneWireBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) static BlockState
Block.pushEntitiesUpBeforeBlockChange
(BlockState from, BlockState to, World world, BlockPos pos) private static void
LecternBlock.putBook
(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack) static boolean
LecternBlock.putBookIfAbsent
(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack) void
AbstractCandleBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
AbstractFireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
BeehiveBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
BlastFurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
Block.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
BrewingStandBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
BubbleColumnBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
CampfireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
CryingObsidianBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
EnchantingTableBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
EnderChestBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
EndGatewayBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
EndPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
EndRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
FallingBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
FurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
LeavesBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
LeverBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
LightningRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
MyceliumBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
NetherPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
PointedDripstoneBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
RedstoneOreBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
RedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
RedstoneWireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
RepeaterBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
RespawnAnchorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
SculkSensorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
SmokerBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
SporeBlossomBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
StairsBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
TorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
WallRedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
WallTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
WetSpongeBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
WitherRoseBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) void
AbstractBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
AbstractPlantStemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BambooBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BambooSaplingBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BeetrootsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BuddingAmethystBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CactusBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
ChorusFlowerBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CocoaBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CropBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
FarmlandBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
FluidBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
FrostedIceBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
IceBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
LeavesBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
MagmaBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
MushroomPlantBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
NetherPortalBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
NetherWartBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
NyliumBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
OxidizableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
OxidizableSlabBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
OxidizableStairsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
PointedDripstoneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
PropaguleBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
RedstoneOreBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SaplingBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SnowBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SpreadableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
StairsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
StemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SugarCaneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SweetBerryBushBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
TurtleEggBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
VineBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) 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 bool) AbstractBlock.rotate
(BlockState state, BlockRotation rotation) Deprecated.Consider callingAbstractBlock.AbstractBlockState.rotate(net.minecraft.util.BlockRotation)
instead.AbstractFurnaceBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AmethystClusterBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AnvilBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AttachedStemBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.BannerBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.BarrelBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.CampfireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ChestBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.CommandBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DeadCoralWallFanBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DetectorRailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DispenserBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DoorBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.EnderChestBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.EndPortalFrameBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.GrindstoneBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HopperBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HorizontalConnectingBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HorizontalFacingBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.JigsawBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.LadderBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.LecternBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.MultifaceGrowthBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.MushroomBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.NetherPortalBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ObserverBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PillarBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonExtensionBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonHeadBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PoweredRailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RedstoneWireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RodBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RotatedInfestedBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ShulkerBoxBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SignBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SkullBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SmallDripleafBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.StairsBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.StonecutterBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.TripwireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.TripwireHookBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.VineBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallBannerBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallRedstoneTorchBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallSignBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallSkullBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallTorchBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.void
AbstractBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
AbstractButtonBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
AbstractCauldronBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
AbstractPlantPartBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
AbstractPressurePlateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
AbstractRedstoneGateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BambooBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BarrelBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BigDripleafBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BigDripleafStemBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
BubbleColumnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CactusBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
ChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
ChorusFlowerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
ChorusPlantBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CommandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
ComparatorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
ComposterBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CoralBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CoralBlockBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CoralFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
CoralWallFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
DetectorRailBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
DirtPathBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
DispenserBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
EnderChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
FallingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
FarmlandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
FireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
FrogspawnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
FrostedIceBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
LeavesBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
LecternBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
LightningRodBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
MagmaBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
ObserverBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
PointedDripstoneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
RedstoneLampBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
RedstoneTorchBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
ScaffoldingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SculkCatalystBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SculkSensorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SculkShriekerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SoulSandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
StairsBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
SugarCaneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
TargetBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
TripwireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
TripwireHookBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) static void
SculkSensorBlock.setActive
(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int power) static void
SculkSensorBlock.setCooldown
(World world, BlockPos pos, BlockState state) protected final void
Block.setDefaultState
(BlockState state) static void
LecternBlock.setHasBook
(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) void
JukeboxBlock.setRecord
(@Nullable Entity user, WorldAccess world, BlockPos pos, BlockState state, ItemStack stack) 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
FarmlandBlock.setToDirt
(BlockState state, World world, BlockPos pos) 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) protected boolean
RedstoneTorchBlock.shouldUnpower
(World world, BlockPos pos, BlockState state) protected boolean
WallRedstoneTorchBlock.shouldUnpower
(World world, BlockPos pos, BlockState state) protected void
AbstractFireBlock.spawnBreakParticles
(World world, PlayerEntity player, BlockPos pos, BlockState state) protected void
Block.spawnBreakParticles
(World world, PlayerEntity player, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.spawnFallingBlock
(BlockState state, ServerWorld world, BlockPos pos) private void
BeehiveBlock.spawnHoneyParticles
(World world, BlockPos pos, BlockState state) private static void
LeverBlock.spawnParticles
(BlockState state, WorldAccess world, BlockPos pos, float alpha) default boolean
SculkSpreadable.spread
(WorldAccess world, BlockPos pos, BlockState state, @Nullable Collection<Direction> directions, boolean markForPostProcessing) default void
SculkSpreadable.spreadAtSamePosition
(WorldAccess world, BlockState state, BlockPos pos, Random random) void
SculkVeinBlock.spreadAtSamePosition
(WorldAccess world, BlockState state, BlockPos pos, Random random) private static boolean
NyliumBlock.stayAlive
(BlockState state, WorldView world, BlockPos pos) void
BeehiveBlock.takeHoney
(World world, BlockState state, BlockPos pos) void
BeehiveBlock.takeHoney
(World world, BlockState state, BlockPos pos, @Nullable PlayerEntity player, BeehiveBlockEntity.BeeState beeState) private void
DragonEggBlock.teleport
(BlockState state, World world, BlockPos pos) boolean
AbstractBlock.ContextPredicate.test
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.TypedContextPredicate.test
(BlockState state, BlockView world, BlockPos pos, A type) private static void
DaylightDetectorBlock.tick
(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) default void
Degradable.tickDegradation
(BlockState state, ServerWorld world, BlockPos pos, Random random) LeverBlock.togglePower
(BlockState state, World world, BlockPos pos) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) InfestedBlock.toRegularState
(BlockState infestedState) 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 void
Degradable.tryDegrade
(BlockState state, ServerWorld world, BlockPos pos, Random random) BubbleColumnBlock.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) FluidBlock.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) FluidDrainable.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) PowderSnowBlock.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) default ItemStack
Waterloggable.tryDrainFluid
(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) static void
PointedDripstoneBlock.tryGrow
(BlockState state, ServerWorld world, BlockPos pos, Random random) private void
PistonBlock.tryMove
(World world, BlockPos pos, BlockState state) private void
AbstractButtonBlock.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) 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) void
TripwireHookBlock.update
(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean bool, 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
AbstractButtonBlock.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) protected 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) 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
AbstractButtonBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
AbstractFurnaceBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
AbstractPlantStemBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
AmethystClusterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
AnvilBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
AttachedStemBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BambooBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BannerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BarrelBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BedBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BeehiveBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BeetrootsBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BellBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BigDripleafBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BigDripleafStemBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
Block.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BrewingStandBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
BubbleColumnBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CactusBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CakeBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CampfireBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CandleBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CandleCakeBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CarvedPumpkinBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CaveVinesBodyBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CaveVinesHeadBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ChainBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ChestBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ChorusFlowerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ChorusPlantBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CocoaBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CommandBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ComparatorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ComposterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ConduitBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CoralParentBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
CropBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
DaylightDetectorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
DeadCoralWallFanBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
DetectorRailBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
DispenserBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
DoorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
EnderChestBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
EndPortalFrameBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
EndRodBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
FarmlandBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
FenceBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
FenceGateBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
FireBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
FluidBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
FrostedIceBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
GlazedTerracottaBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
GlowLichenBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
GrindstoneBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
HangingRootsBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
HopperBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
JigsawBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
JukeboxBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LadderBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LanternBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LeavesBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LecternBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LeveledCauldronBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LeverBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LightBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LightningRodBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
LoomBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
MangroveRootsBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
MultifaceGrowthBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
MushroomBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
NetherPortalBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
NetherWartBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
NoteBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ObserverBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PaneBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PillarBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PistonBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PistonExtensionBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PistonHeadBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PointedDripstoneBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PoweredRailBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PressurePlateBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
PropaguleBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
RailBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
RedstoneLampBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
RedstoneOreBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
RedstoneTorchBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
RedstoneWireBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
RepeaterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
RespawnAnchorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
RotatedInfestedBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SaplingBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ScaffoldingBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SculkCatalystBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SculkSensorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SculkShriekerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SculkVeinBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SeaPickleBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
ShulkerBoxBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SignBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SkullBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SlabBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SmallDripleafBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SnowBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SnowyBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
StairsBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
StemBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
StonecutterBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
StructureBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SugarCaneBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
SweetBerryBushBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
TallPlantBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
TargetBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
TntBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
TrapdoorBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
TripwireBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
TripwireHookBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
TurtleEggBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
VineBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
WallBannerBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
WallBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
WallRedstoneTorchBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
WallSignBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
WallSkullBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
WallTorchBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) protected void
WeightedPressurePlateBlock.appendProperties
(StateManager.Builder<Block, BlockState> builder) 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.static AbstractBlock.Settings
AbstractBlock.Settings.of
(Material material, Function<BlockState, MapColor> mapColor) AbstractBlock.Settings.offsetType
(Function<BlockState, AbstractBlock.OffsetType> offsetType) 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> function, 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) NeighborGroup
(BlockState self, BlockState other, Direction facing) OxidizableStairsBlock
(Oxidizable.OxidationLevel oxidationLevel, BlockState baseBlockState, AbstractBlock.Settings settings) RailPlacementHelper
(World world, BlockPos pos, BlockState state) (package private)
ShapeCache
(BlockState state) protected
StairsBlock
(BlockState baseBlockState, AbstractBlock.Settings settings) ModifierConstructorDescriptionprotected
AbstractBlockState
(Block block, ImmutableMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) BlockState
(Block block, ImmutableMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) private
Settings
(Material material, Function<BlockState, MapColor> mapColorProvider) -
Uses of BlockState in net.minecraft.block.cauldron
Modifier and TypeMethodDescriptionstatic ActionResult
CauldronBehavior.emptyCauldron
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent) static ActionResult
CauldronBehavior.fillCauldron
(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) CauldronBehavior.interact
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) Modifier and TypeMethodDescriptionstatic ActionResult
CauldronBehavior.emptyCauldron
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent) -
Uses of BlockState in net.minecraft.block.entity
Modifier and TypeFieldDescriptionprivate BlockState
BlockEntity.cachedState
private BlockState
PistonBlockEntity.pushedBlock
Modifier and TypeMethodDescriptionBlockEntity.getCachedState()
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) 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) ShulkerBoxBlockEntity.getBoundingBox
(BlockState state) static int
BeehiveBlockEntity.getHoneyLevel
(BlockState state) HopperBlockEntity.getOutputInventory
(World world, BlockPos pos, BlockState state) private static SculkSpreadable
SculkSpreadManager.Cursor.getSpreadable
(BlockState state) private static boolean
HopperBlockEntity.insert
(World world, BlockPos pos, BlockState state, Inventory inventory) private static boolean
HopperBlockEntity.insertAndExtract
(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) BlockEntityType.instantiate
(BlockPos pos, BlockState state) 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.onInvOpenOrClose
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected void
TrappedChestBlockEntity.onInvOpenOrClose
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected abstract void
ViewerCountManager.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) Called when the viewer count updates, such as when a player interact with this container or when distance-based checks are run.void
ViewerCountManager.openContainer
(PlayerEntity player, World world, BlockPos pos, BlockState state) (package private) void
BarrelBlockEntity.playSound
(BlockState state, SoundEvent soundEvent) (package private) static void
ChestBlockEntity.playSound
(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) private void
ShulkerBoxBlockEntity.pushEntities
(World world, BlockPos pos, BlockState state) private static boolean
BeehiveBlockEntity.releaseBee
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) private static void
ViewerCountManager.scheduleBlockTick
(World world, BlockPos pos, BlockState state) static void
BeehiveBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static void
BellBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static void
ConduitBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static void
EndGatewayBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static void
HopperBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity) static void
MobSpawnerBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) void
BlockEntity.setCachedState
(BlockState state) Deprecated.(package private) void
BarrelBlockEntity.setOpen
(BlockState state, boolean open) private static void
EndGatewayBlockEntity.startTeleportCooldown
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) boolean
BlockEntityType.supports
(BlockState state) 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) Runs this action on the given 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
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
SkullBlockEntity.tick
(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) private static void
BeehiveBlockEntity.tickBees
(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) BeehiveBlockEntity.tryReleaseBee
(BlockState state, BeehiveBlockEntity.BeeState beeState) static void
EndGatewayBlockEntity.tryTeleportingEntity
(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity) static void
CampfireBlockEntity.unlitServerTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private void
ShulkerBoxBlockEntity.updateAnimation
(World world, BlockPos pos, BlockState state) private static void
ShulkerBoxBlockEntity.updateNeighborStates
(World world, BlockPos pos, BlockState state) void
ViewerCountManager.updateViewerCount
(World world, BlockPos pos, BlockState state) ModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) BannerBlockEntity
(BlockPos pos, BlockState state) BannerBlockEntity
(BlockPos pos, BlockState state, DyeColor baseColor) BarrelBlockEntity
(BlockPos pos, BlockState state) BeaconBlockEntity
(BlockPos pos, BlockState state) BedBlockEntity
(BlockPos pos, BlockState state) BedBlockEntity
(BlockPos pos, BlockState state, DyeColor color) BeehiveBlockEntity
(BlockPos pos, BlockState state) BellBlockEntity
(BlockPos pos, BlockState state) BlastFurnaceBlockEntity
(BlockPos pos, BlockState state) BlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) BrewingStandBlockEntity
(BlockPos pos, BlockState state) CampfireBlockEntity
(BlockPos pos, BlockState state) protected
ChestBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) ChestBlockEntity
(BlockPos pos, BlockState state) CommandBlockBlockEntity
(BlockPos pos, BlockState state) ComparatorBlockEntity
(BlockPos pos, BlockState state) ConduitBlockEntity
(BlockPos pos, BlockState state) DaylightDetectorBlockEntity
(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) HopperBlockEntity
(BlockPos pos, BlockState state) JigsawBlockEntity
(BlockPos pos, BlockState state) JukeboxBlockEntity
(BlockPos pos, BlockState state) LecternBlockEntity
(BlockPos pos, BlockState state) 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) SculkSensorBlockEntity
(BlockPos pos, BlockState state) SculkShriekerBlockEntity
(BlockPos pos, BlockState state) ShulkerBoxBlockEntity
(@Nullable DyeColor color, BlockPos pos, BlockState state) ShulkerBoxBlockEntity
(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) -
Uses of BlockState in net.minecraft.block.enums
-
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.block.sapling
Modifier and TypeMethodDescriptionstatic boolean
LargeTreeSaplingGenerator.canGenerateLargeTree
(BlockState state, BlockView world, BlockPos pos, int x, int z) boolean
LargeTreeSaplingGenerator.generate
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) boolean
SaplingGenerator.generate
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) boolean
LargeTreeSaplingGenerator.generateLargeTree
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int x, int z) -
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
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 blockRenderView, BlockState blockState, 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 vertexConsumer, 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 TypeMethodDescriptionprivate void
PistonBlockEntityRenderer.renderModel
(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay) -
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,
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()
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) ModifierConstructorDescriptionMultipartBakedModel
(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 bool) void
ClientWorld.handleBlockUpdate
(BlockPos pos, BlockState state, int flags) void
ClientWorld.processPendingUpdate
(BlockPos pos, BlockState state, Vec3d playerPos) void
ClientWorld.scheduleBlockRerenderIfNeeded
(BlockPos pos, BlockState old, BlockState updated) boolean
ClientWorld.setBlockState
(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.void
ClientWorld.updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) -
Uses of BlockState in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final BlockState
BlockArgumentParser.BlockResult.blockState
The field for theblockState
record component.private @Nullable BlockState
BlockArgumentParser.blockState
private final BlockState
BlockPredicateArgumentType.StatePredicate.state
private final BlockState
BlockStateArgument.state
Modifier and TypeFieldDescriptionprivate @Nullable StateManager<Block,
BlockState> BlockArgumentParser.stateFactory
Modifier and TypeMethodDescriptionBlockArgumentParser.BlockResult.blockState()
Returns the value of theblockState
record component.BlockStateArgument.getBlockState()
Modifier and TypeMethodDescriptionstatic String
BlockArgumentParser.stringifyBlockState
(BlockState state) ModifierConstructorDescriptionBlockResult
(BlockState blockState, Map<Property<?>, Comparable<?>> map, @Nullable NbtCompound nbtCompound) BlockStateArgument
(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound data) StatePredicate
(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound nbt) -
Uses of BlockState in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate BlockState
FallingBlockEntity.block
private @Nullable BlockState
Entity.blockStateAtPos
Modifier and TypeMethodDescriptionFallingBlockEntity.getBlockState()
Entity.getBlockStateAtPos()
protected BlockState
Entity.getLandingBlockState()
Deprecated.Entity.getSteppingBlockState()
Returns the block state at the stepping position.Modifier and TypeMethodDescriptionprivate boolean
LivingEntity.canEnterTrapdoor
(BlockPos pos, BlockState state) boolean
Entity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) boolean
LargeEntitySpawnHelper.Requirements.canSpawnOn
(ServerWorld world, BlockPos pos, BlockState state, BlockPos abovePos, BlockState aboveState) boolean
Entity.collidesWithStateAtPos
(BlockPos pos, BlockState state) protected void
Entity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected void
LivingEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) float
Entity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) boolean
EntityType.isInvalidSpawn
(BlockState state) Returns whether the EntityType can spawn inside the given block.protected void
Entity.onBlockCollision
(BlockState state) private void
Entity.playAmethystChimeSound
(BlockState state) protected void
Entity.playStepSound
(BlockPos pos, BlockState state) protected boolean
LivingEntity.shouldRemoveSoulSpeedBoost
(BlockState landingState) void
Entity.slowMovement
(BlockState state, Vec3d multiplier) static FallingBlockEntity
FallingBlockEntity.spawnFromBlock
(World world, BlockPos pos, BlockState state) Spawns a falling block entity atpos
from the blockstate
.ModifierConstructorDescriptionprivate
FallingBlockEntity
(World world, double x, double y, double z, BlockState block) -
Uses of BlockState in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final Predicate<BlockState>
LongJumpTask.jumpToPredicate
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) ModifierConstructorDescriptionBiasedLongJumpTask
(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, TagKey<Block> favoredBlocks, float biasChance, Predicate<BlockState> jumpToPredicate) LongJumpTask
(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, Predicate<BlockState> jumpToPredicate) -
Uses of BlockState in net.minecraft.entity.ai.goal
Modifier and TypeFieldDescriptionprivate static final Predicate<BlockState>
EatGrassGoal.GRASS_PREDICATE
-
Uses of BlockState in net.minecraft.entity.ai.pathing
Modifier and TypeMethodDescriptionstatic boolean
LandPathNodeMaker.inflictsFireDamage
(BlockState state) -
Uses of BlockState in net.minecraft.entity.boss
Modifier and TypeMethodDescriptionstatic boolean
WitherEntity.canDestroy
(BlockState block) void
WitherEntity.slowMovement
(BlockState state, Vec3d multiplier) -
Uses of BlockState in net.minecraft.entity.data
Modifier and TypeFieldDescriptionstatic final TrackedDataHandler<Optional<BlockState>>
TrackedDataHandlerRegistry.OPTIONAL_BLOCK_STATE
-
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) 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) -
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) protected void
BatEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected void
BeeEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected void
ParrotEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected void
StriderEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) private void
FoxEntity.EatSweetBerriesGoal.pickGlowBerries
(BlockState state) private void
FoxEntity.EatSweetBerriesGoal.pickSweetBerries
(BlockState state) protected void
AbstractHorseEntity.playStepSound
(BlockPos pos, BlockState state) protected void
AllayEntity.playStepSound
(BlockPos pos, BlockState state) protected void
BeeEntity.playStepSound
(BlockPos pos, BlockState state) protected void
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
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 boolean
PlayerEntity.shouldRemoveSoulSpeedBoost
(BlockState landingState) void
PlayerEntity.slowMovement
(BlockState state, Vec3d multiplier) -
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) -
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) protected void
BoatEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) float
TntMinecartEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) 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.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) protected Map<Direction,
FluidState> FlowableFluid.getSpread
(WorldView world, BlockPos pos, BlockState state) protected FluidState
FlowableFluid.getUpdatedState
(WorldView world, BlockPos pos, BlockState state) private boolean
FlowableFluid.method_15736
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) protected int
FlowableFluid.method_15742
(WorldView world, BlockPos blockPos, int int2, Direction direction, BlockState blockState, BlockPos blockPos2, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> short2ObjectMap, Short2BooleanMap short2BooleanMap) private void
FlowableFluid.method_15744
(WorldAccess world, BlockPos pos, FluidState fluidState, BlockState blockState) private boolean
FlowableFluid.receivesFlow
(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) Modifier and TypeMethodDescriptionprotected int
FlowableFluid.method_15742
(WorldView world, BlockPos blockPos, int int2, Direction direction, BlockState blockState, BlockPos blockPos2, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> short2ObjectMap, Short2BooleanMap short2BooleanMap) -
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
CommandBlockItem.getPlacementState
(ItemPlacementContext context) protected @Nullable BlockState
WallStandingBlockItem.getPlacementState
(ItemPlacementContext context) private BlockState
BlockItem.placeFromNbt
(BlockPos pos, World world, ItemStack stack, BlockState state) private static <T extends Comparable<T>>
BlockStateBlockItem.with
(BlockState state, Property<T> property, String name) Modifier and TypeMethodDescriptionprivate Optional<BlockState>
AxeItem.getStrippedState
(BlockState state) static Optional<BlockState>
HoneycombItem.getWaxedState
(BlockState state) Modifier and TypeMethodDescriptionboolean
DebugStickItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.boolean
Item.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.boolean
SwordItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.boolean
TridentItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.protected boolean
BlockItem.canPlace
(ItemPlacementContext context, BlockState state) static Consumer<ItemUsageContext>
HoeItem.createTillAction
(BlockState result) Returns a tilling action that sets a block state.static Consumer<ItemUsageContext>
HoeItem.createTillAndDropAction
(BlockState result, ItemConvertible droppedItem) Returns a tilling action that sets a block state and drops an item.private static <T extends Comparable<T>>
BlockStateDebugStickItem.cycle
(BlockState state, Property<T> property, boolean inverse) private BlockState
FilledMapItem.getFluidStateIfVisible
(World world, BlockState state, BlockPos pos) float
Item.getMiningSpeedMultiplier
(ItemStack stack, BlockState state) float
ItemStack.getMiningSpeedMultiplier
(BlockState state) float
MiningToolItem.getMiningSpeedMultiplier
(ItemStack stack, BlockState state) float
ShearsItem.getMiningSpeedMultiplier
(ItemStack stack, BlockState state) float
SwordItem.getMiningSpeedMultiplier
(ItemStack stack, 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.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.boolean
ItemStack.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.boolean
MiningToolItem.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.boolean
ShearsItem.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.boolean
SwordItem.isSuitableFor
(BlockState state) Determines whether this item can be used as a suitable tool for mining the specified block.protected boolean
BedItem.place
(ItemPlacementContext context, BlockState state) protected boolean
BlockItem.place
(ItemPlacementContext context, BlockState state) protected boolean
TallBlockItem.place
(ItemPlacementContext context, BlockState state) private BlockState
BlockItem.placeFromNbt
(BlockPos pos, World world, ItemStack stack, BlockState state) boolean
Item.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) void
ItemStack.postMine
(World world, BlockState state, BlockPos pos, PlayerEntity miner) boolean
MiningToolItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) boolean
ShearsItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) boolean
SwordItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) boolean
TridentItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) 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 boolean
DebugStickItem.use
(PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos, boolean update, ItemStack stack) private static <T extends Comparable<T>>
BlockStateBlockItem.with
(BlockState state, Property<T> property, String name) -
Uses of BlockState in net.minecraft.loot.context
Modifier and TypeFieldDescriptionstatic final LootContextParameter<BlockState>
LootContextParameters.BLOCK_STATE
-
Uses of BlockState in net.minecraft.loot.function
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringCopyStateFunction.getPropertyName
(BlockState state, Property<T> property) -
Uses of BlockState in net.minecraft.nbt
Modifier and TypeMethodDescriptionstatic BlockState
NbtHelper.toBlockState
(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> biConsumer) Calls the given consumer for each pair of block position and block state contained in this packet. -
Uses of BlockState in net.minecraft.particle
ModifierConstructorDescriptionBlockStateParticleEffect
(ParticleType<BlockStateParticleEffect> type, BlockState blockState) -
Uses of BlockState in net.minecraft.predicate
-
Uses of BlockState in net.minecraft.predicate.block
Modifier and TypeFieldDescriptionstatic final Predicate<BlockState>
BlockStatePredicate.ANY
private final StateManager<Block,
BlockState> BlockStatePredicate.manager
Modifier and TypeMethodDescriptionboolean
BlockPredicate.test
(@Nullable BlockState blockState) boolean
BlockStatePredicate.test
(@Nullable BlockState blockState) protected <T extends Comparable<T>>
booleanBlockStatePredicate.testProperty
(BlockState blockState, Property<T> property, Predicate<Object> predicate) ModifierConstructorDescriptionprivate
BlockStatePredicate
(StateManager<Block, BlockState> manager) -
Uses of BlockState in net.minecraft.screen
Modifier and TypeMethodDescriptionprotected boolean
AnvilScreenHandler.canUse
(BlockState state) protected abstract boolean
ForgingScreenHandler.canUse
(BlockState state) protected boolean
SmithingScreenHandler.canUse
(BlockState state) -
Uses of BlockState in net.minecraft.server.command
ModifierConstructorDescriptionBlockInfo
(BlockPos pos, BlockState state, @Nullable NbtCompound blockEntityNbt) -
Uses of BlockState in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate float
ServerPlayerInteractionManager.continueMining
(BlockState state, BlockPos pos, int failedStartMiningTime) protected void
ServerPlayerEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected void
ServerPlayerEntity.onBlockCollision
(BlockState state) 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
(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 TypeFieldDescriptionstatic final BlockState
Structure.Palette.AIR
protected static final BlockState
StructurePiece.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
final BlockState
Structure.StructureBlockInfo.state
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) Structure.Palette.getState
(int id) static BlockState
StructurePiece.orientateChest
(BlockView world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionprotected void
StructurePiece.addBlock
(StructureWorldAccess world, BlockState block, int x, int y, int z, BlockBox box) protected void
StructurePiece.addBlockWithRandomThreshold
(StructureWorldAccess world, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState state) protected boolean
StructurePiece.addChest
(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, @Nullable BlockState block) protected boolean
StructurePiece.canReplace
(BlockState state) protected void
OceanMonumentGenerator.Piece.fillArea
(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth, BlockState state) private static void
MineshaftGenerator.MineshaftCorridor.fillColumn
(StructureWorldAccess world, BlockState state, BlockPos.Mutable pos, int startY, int endY) protected void
MineshaftGenerator.MineshaftCorridor.fillDownwards
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected void
StructurePiece.fillDownwards
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected void
StructurePiece.fillHalfEllipsoid
(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState block, boolean cantReplaceAir) protected void
MineshaftGenerator.MineshaftCorridor.fillSupportBeam
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, BlockBox fillBox, BlockState outline, BlockState inside, boolean cantReplaceAir) protected void
StructurePiece.fillWithOutlineUnderSeaLevel
(StructureWorldAccess world, BlockBox box, Random random, float blockChance, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir, boolean stayBelowSeaLevel) int
Structure.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
Structure.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) -
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 location, BlockPos blockPos, BlockPos blockPos2, 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, Optional<NbtCompound> nbt) -
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.crash
Modifier and TypeMethodDescriptionstatic void
CrashReportSection.addBlockInfo
(CrashReportSection element, HeightLimitView world, BlockPos pos, @Nullable BlockState state) -
Uses of BlockState in net.minecraft.util.function
Modifier and TypeMethodDescriptionboolean
MaterialPredicate.test
(@Nullable BlockState blockState) -
Uses of BlockState in net.minecraft.util.math
-
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) -
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
.ReadOnlyChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.WorldChunk.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) ReadOnlyChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) WorldChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) Modifier and TypeMethodDescriptionvoid
ChunkSection.class_6869.accept
(BlockState blockState, int int2) private 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) ReadOnlyChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) WorldChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) ModifierConstructorDescriptionChunkSection
(int chunkPos, PalettedContainer<BlockState> blockStateContainer, PalettedContainer<RegistryEntry<Biome>> biomeContainer) -
Uses of BlockState in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionprotected BlockState
ChunkLightProvider.getStateForLighting
(long pos, @Nullable MutableInt mutableInt) Modifier and TypeMethodDescriptionprotected VoxelShape
ChunkLightProvider.getOpaqueShape
(BlockState world, long pos, Direction facing) static int
ChunkLightProvider.getRealisticOpacity
(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2) -
Uses of BlockState in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionprivate static boolean
AreaHelper.validStateInsidePortal
(BlockState state) -
Uses of BlockState in net.minecraft.world.event
Modifier and TypeFieldDescriptionprivate final @Nullable BlockState
GameEvent.Emitter.affectedState
The field for theaffectedState
record component.Modifier and TypeMethodDescriptionGameEvent.Emitter.affectedState()
Returns the value of theaffectedState
record component.Modifier and TypeMethodDescriptionstatic GameEvent.Emitter
GameEvent.Emitter.of
(@Nullable BlockState affectedState) static GameEvent.Emitter
GameEvent.Emitter.of
(@Nullable Entity sourceEntity, @Nullable BlockState affectedState) -
Uses of BlockState in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionboolean
EntityExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
ExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) EntityExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) -
Uses of BlockState in net.minecraft.world.gen
Modifier and TypeFieldDescription(package private) final BlockState
OreVeinSampler.VeinType.ore
(package private) final BlockState
OreVeinSampler.VeinType.rawOreBlock
(package private) final BlockState
OreVeinSampler.VeinType.stone
Modifier and TypeMethodDescriptionBlockSource.apply
(ChunkNoiseSampler sampler, int x, int y, int z) ChainedBlockSource.sample
(DensityFunction.NoisePos pos) ModifierConstructorDescriptionprivate
VeinType
(BlockState ore, BlockState rawOreBlock, BlockState stone, int minY, int maxY) -
Uses of BlockState in net.minecraft.world.gen.blockpredicate
Modifier and TypeMethodDescriptionprotected boolean
MatchingBlocksBlockPredicate.test
(BlockState state) protected boolean
MatchingBlockTagPredicate.test
(BlockState state) protected boolean
MatchingFluidsBlockPredicate.test
(BlockState state) protected abstract boolean
OffsetPredicate.test
(BlockState state) protected boolean
ReplaceableBlockPredicate.test
(BlockState state) protected boolean
SolidBlockPredicate.test
(BlockState state) 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.protected final BlockState
NoiseChunkGenerator.defaultBlock
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 noisePos, double double2) AquiferSampler.Impl.apply
(DensityFunction.NoisePos noisePos, double double2) 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) BlockColumn.getState
(int y) VerticalBlockSample.getState
(int y) private BlockState
AquiferSampler.Impl.method_42353
(int int2, int int3, int int4, AquiferSampler.FluidLevel fluidLevel, int int5) 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 heightLimitView, NoiseConfig noiseConfig, int int2, int int3, @Nullable MutableObject<VerticalBlockSample> mutableObject, @Nullable Predicate<BlockState> predicate) 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.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, BiConsumer<BlockPos, BlockState> foliagePlacerReplacer, 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, 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 TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
BlobFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
BushFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
DarkOakFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
JungleFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
LargeOakFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
MegaPineFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
PineFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
RandomSpreadFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
SpruceFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
FoliagePlacer.generateSquare
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.protected static void
FoliagePlacer.placeFoliageBlock
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos pos) -
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
BlockStateProvider.getBlockState
(Random random, BlockPos pos) Returns a provided block state.DualNoiseBlockStateProvider.getBlockState
(Random random, BlockPos pos) Returns a provided block state.NoiseBlockStateProvider.getBlockState
(Random random, BlockPos pos) Returns a provided block state.NoiseThresholdBlockStateProvider.getBlockState
(Random random, BlockPos pos) Returns a provided block state.PillarBlockStateProvider.getBlockState
(Random random, BlockPos pos) Returns a provided block state.PredicatedStateProvider.getBlockState
(StructureWorldAccess world, Random random, BlockPos pos) RandomizedIntBlockStateProvider.getBlockState
(Random random, BlockPos pos) Returns a provided block state.SimpleBlockStateProvider.getBlockState
(Random random, BlockPos pos) Returns a provided block state.WeightedBlockStateProvider.getBlockState
(Random random, BlockPos pos) Returns a provided block state.protected BlockState
NoiseBlockStateProvider.getStateAtValue
(List<BlockState> states, double value) protected BlockState
NoiseBlockStateProvider.getStateFromList
(List<BlockState> states, BlockPos pos, double scale) Modifier and TypeMethodDescriptionprotected static <P extends NoiseBlockStateProvider>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Long, DoublePerlinNoiseSampler.NoiseParameters, Float, List<BlockState>> NoiseBlockStateProvider.fillNoiseCodecFields
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) Modifier and TypeMethodDescriptionprivate static IntProperty
RandomizedIntBlockStateProvider.getIntPropertyByName
(BlockState state, String propertyName) static SimpleBlockStateProvider
BlockStateProvider.of
(BlockState state) Returns a block state provider that always returns the given state.Modifier and TypeMethodDescriptionprotected BlockState
NoiseBlockStateProvider.getStateAtValue
(List<BlockState> states, double value) protected BlockState
NoiseBlockStateProvider.getStateFromList
(List<BlockState> states, BlockPos pos, double scale) private static com.mojang.serialization.DataResult<WeightedBlockStateProvider>
WeightedBlockStateProvider.wrap
(DataPool<BlockState> states) ModifierConstructorDescriptionNoiseThresholdBlockStateProvider
(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates) protected
ModifierConstructorDescriptionDualNoiseBlockStateProvider
(Range<Integer> variety, DoublePerlinNoiseSampler.NoiseParameters slowNoiseParameters, float slowScale, long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states) NoiseBlockStateProvider
(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, List<BlockState> states) NoiseThresholdBlockStateProvider
(long seed, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates) WeightedBlockStateProvider
(DataPool<BlockState> states) -
Uses of BlockState in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionprivate final BlockState
MineshaftStructure.Type.fence
private final BlockState
MineshaftStructure.Type.log
private final BlockState
MineshaftStructure.Type.planks
-
Uses of BlockState in net.minecraft.world.gen.surfacebuilder
Modifier and TypeFieldDescriptionprivate static final BlockState
SurfaceBuilder.BROWN_TERRACOTTA
private final BlockState
SurfaceBuilder.defaultState
private static final BlockState
SurfaceBuilder.LIGHT_GRAY_TERRACOTTA
private static final BlockState
SurfaceBuilder.ORANGE_TERRACOTTA
private static final BlockState
SurfaceBuilder.PACKED_ICE
private static final BlockState
SurfaceBuilder.RED_TERRACOTTA
private final BlockState
MaterialRules.BlockMaterialRule.resultState
The field for theresultState
record component.private static final BlockState
SurfaceBuilder.SNOW_BLOCK
private final BlockState
MaterialRules.SimpleBlockStateRule.state
The field for thestate
record component.private static final BlockState
SurfaceBuilder.TERRACOTTA
private final BlockState[]
SurfaceBuilder.terracottaBands
private static final BlockState
SurfaceBuilder.WHITE_TERRACOTTA
private static final BlockState
SurfaceBuilder.YELLOW_TERRACOTTA
Modifier and TypeMethodDescriptionprivate static BlockState[]
SurfaceBuilder.createTerracottaBands
(Random random) protected BlockState
SurfaceBuilder.getTerracottaBlock
(int x, int y, int z) MaterialRules.BlockMaterialRule.resultState()
Returns the value of theresultState
record component.MaterialRules.SimpleBlockStateRule.state()
Returns the value of thestate
record component.MaterialRules.BlockStateRule.tryApply
(int x, int y, int z) MaterialRules.ConditionalBlockStateRule.tryApply
(int x, int y, int z) MaterialRules.SequenceBlockStateRule.tryApply
(int x, int y, int z) MaterialRules.SimpleBlockStateRule.tryApply
(int x, int y, int z) Modifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.Modifier and TypeMethodDescriptionprivate static void
SurfaceBuilder.addTerracottaBands
(Random random, BlockState[] terracottaBands, int minBandSize, BlockState state) static MaterialRules.MaterialRule
MaterialRules.block
(BlockState state) private boolean
SurfaceBuilder.isDefaultBlock
(BlockState state) ModifierConstructorDescription(package private)
BlockMaterialRule
(BlockState resultState) private
BlockMaterialRule
(BlockState blockState, MaterialRules.SimpleBlockStateRule simpleBlockStateRule) (package private)
SimpleBlockStateRule
(BlockState blockState) SurfaceBuilder
(NoiseConfig noiseConfig, BlockState defaultState, int seaLevel, RandomSplitter randomDeriver) -
Uses of BlockState in net.minecraft.world.gen.treedecorator
Modifier and TypeFieldDescriptionprivate final BiConsumer<BlockPos,
BlockState> TreeDecorator.Generator.replacer
Modifier and TypeMethodDescriptionvoid
TreeDecorator.Generator.replace
(BlockPos pos, BlockState state) ModifierConstructorDescriptionGenerator
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Uses of BlockState in net.minecraft.world.gen.trunk
Modifier and TypeMethodDescriptionBendingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage 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 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 testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private void
GiantTrunkPlacer.setLog
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) 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
protected static final Set<BlockState>
PointOfInterestTypes.POI_STATES
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) Modifier and TypeMethodDescriptionprivate static PointOfInterestType
PointOfInterestTypes.register
(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance)
AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(net.minecraft.util.math.Direction, net.minecraft.block.BlockState, net.minecraft.world.WorldAccess, net.minecraft.util.math.BlockPos, net.minecraft.util.math.BlockPos)
instead.