Uses of Class
net.minecraft.util.math.BlockPos
Package
Description
Provides the cauldron behavior system,
which determines what happens when a player interacts with a cauldron.
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
The basic AI system for Minecraft living entities.
The Named Binary Tag (NBT) data format.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of BlockPos in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionvoid
AnyBlockUseCriterion.trigger
(ServerPlayerEntity player, BlockPos pos, ItemStack stack) void
DefaultBlockUseCriterion.trigger
(ServerPlayerEntity player, BlockPos pos) void
ItemCriterion.trigger
(ServerPlayerEntity player, BlockPos pos, ItemStack stack) void
UsedEnderEyeCriterion.trigger
(ServerPlayerEntity player, BlockPos strongholdPos) -
Uses of BlockPos in net.minecraft.block
Modifier and TypeFieldDescriptionExperimentalMinecartShapeContext.ascendingPos
ExperimentalMinecartShapeContext.belowPos
private final BlockPos
ComposterBlock.ComposterInventory.pos
private final BlockPos
ComposterBlock.FullComposterInventory.pos
private final BlockPos
LichenGrower.GrowPos.pos
The field for thepos
record component.private final BlockPos
PitcherCropBlock.LowerHalfContext.pos
The field for thepos
record component.private final BlockPos
PointedDripstoneBlock.DrippingFluid.pos
The field for thepos
record component.private final BlockPos
RailPlacementHelper.pos
(package private) final BlockPos
RedstoneTorchBlock.BurnoutEntry.pos
Modifier and TypeFieldDescriptionRailPlacementHelper.neighbors
EnchantingTableBlock.POWER_PROVIDER_OFFSETS
Modifier and TypeMethodDescriptionPointedDripstoneBlock.getCauldronPos
(World world, BlockPos pos, Fluid fluid) PointedDripstoneBlock.getDripPos
(World world, BlockPos pos) default BlockPos
Fertilizable.getFertilizeParticlePos
(BlockPos pos) MangroveLeavesBlock.getFertilizeParticlePos
(BlockPos pos) RootedDirtBlock.getFertilizeParticlePos
(BlockPos pos) PointedDripstoneBlock.getTipPos
(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) LichenGrower.GrowPos.pos()
Returns the value of thepos
record component.PitcherCropBlock.LowerHalfContext.pos()
Returns the value of thepos
record component.PointedDripstoneBlock.DrippingFluid.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionRailPlacementHelper.getNeighbors()
AbstractPlantBlock.getStemHeadPos
(BlockView world, BlockPos pos, Block block) PointedDripstoneBlock.getSupportingPos
(World world, BlockPos pos, BlockState state, int range) PointedDripstoneBlock.searchInDirection
(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) Modifier and TypeMethodDescriptionprivate boolean
SpongeBlock.absorbWater
(World world, BlockPos pos) private void
BeehiveBlock.addHoneyParticle
(World world, BlockPos pos, VoxelShape shape, double height) private static void
RedstoneWireBlock.addPoweredParticles
(World world, Random random, BlockPos pos, int color, Direction perpendicular, Direction direction, float minOffset, float maxOffset) (package private) static BlockState
ComposterBlock.addToComposter
(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos, ItemStack stack) void
BeehiveBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.void
Block.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.void
IceBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.void
TallPlantBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.void
TurtleEggBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.boolean
AbstractBlock.AbstractBlockState.allowsSpawning
(BlockView world, BlockPos pos, EntityType<?> type) 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)
.private void
BeehiveBlock.angerNearbyBees
(World world, BlockPos pos) void
CropBlock.applyGrowth
(World world, BlockPos pos, BlockState state) private boolean
FireBlock.areBlocksAroundFlammable
(BlockView world, BlockPos pos) private boolean
SaplingGenerator.areFlowersNearby
(WorldAccess world, BlockPos pos) private void
TurtleEggBlock.breakEgg
(World world, BlockPos pos, BlockState state) private void
FrogspawnBlock.breakWithoutDrop
(World world, BlockPos pos) float
AbstractBlock.AbstractBlockState.calcBlockBreakingDelta
(PlayerEntity player, BlockView world, BlockPos pos) protected float
AbstractBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) protected float
BambooBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) protected float
BambooShootBlock.calcBlockBreakingDelta
(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) static int
ScaffoldingBlock.calculateDistance
(BlockView world, BlockPos pos) private int
ComparatorBlock.calculateOutputSignal
(World world, BlockPos pos, BlockState state) static boolean
EnchantingTableBlock.canAccessPowerProvider
(World world, BlockPos tablePos, BlockPos providerOffset) boolean
WallHangingSignBlock.canAttachAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallHangingSignBlock.canAttachTo
(WorldView world, BlockState state, BlockPos toPos, Direction direction) private boolean
RailPlacementHelper.canConnect
(BlockPos pos) boolean
CarvedPumpkinBlock.canDispense
(WorldView world, BlockPos pos) static boolean
WitherSkullBlock.canDispense
(World world, BlockPos pos, ItemStack stack) private static boolean
PointedDripstoneBlock.canDripThrough
(BlockView world, BlockPos pos, BlockState state) Returns whether it can drip through the blockblock
atpos
.boolean
BarrierBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
FluidFillable.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
KelpPlantBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SeagrassBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
SlabBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) boolean
TallSeagrassBlock.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) default boolean
Waterloggable.canFillWithFluid
(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) private static boolean
SaplingGenerator.canGenerateLargeTree
(BlockState state, BlockView world, BlockPos pos, int x, int z) boolean
AbstractPlantBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
AzaleaBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BambooBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BambooShootBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BigDripleafBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CaveVinesBodyBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CaveVinesHeadBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CocoaBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CropBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
Fertilizable.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
FlowerbedBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
FungusBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
GlowLichenBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
GrassBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
HangingMossBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
LichenGrower.canGrow
(BlockState state, BlockView world, BlockPos pos, Direction direction) boolean
LichenGrower.GrowChecker.canGrow
(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) boolean
LichenGrower.LichenGrowChecker.canGrow
(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) protected boolean
LichenGrower.LichenGrowChecker.canGrow
(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) boolean
MangroveLeavesBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
MossBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
MushroomPlantBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
NetherrackBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
NyliumBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
PaleMossCarpetBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
PitcherCropBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) private boolean
PitcherCropBlock.canGrow
(WorldView world, BlockPos pos, BlockState state, int age) private static boolean
PointedDripstoneBlock.canGrow
(BlockState 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
(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) boolean
SeagrassBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SeaPickleBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
ShortPlantBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
StemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
TallFlowerBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) private static boolean
private boolean
protected static boolean
BigDripleafBlock.canGrowInto
(HeightLimitView world, BlockPos pos, BlockState state) static boolean
MultifaceGrowthBlock.canGrowOn
(BlockView world, Direction direction, BlockPos pos, BlockState state) private static boolean
PaleMossCarpetBlock.canGrowOnFace
(BlockView world, BlockPos pos, Direction face) boolean
MultifaceGrowthBlock.canGrowWithDirection
(BlockView world, BlockState state, BlockPos pos, Direction direction) private static boolean
private boolean
private static boolean
ShulkerBoxBlock.canOpen
(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) static boolean
DoorBlock.canOpenByHand
(World world, BlockPos pos) protected boolean
AbstractRedstoneGateBlock.canPlaceAbove
(WorldView world, BlockPos pos, BlockState state) boolean
AbstractBlock.AbstractBlockState.canPlaceAt
(WorldView world, BlockPos pos) protected boolean
AbstractBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractCoralBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.static boolean
AbstractFireBlock.canPlaceAt
(World world, BlockPos pos, Direction direction) protected boolean
AbstractPlantPartBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractPressurePlateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractRailBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractRedstoneGateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AmethystClusterBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BambooBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BambooShootBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BellBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BigDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BigDripleafStemBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BubbleColumnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CactusBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CandleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CandleCakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CarpetBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ChorusFlowerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ChorusPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CocoaBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DeadCoralWallFanBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DirtPathBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DoorBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FarmlandBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FrogspawnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
GrindstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
HangingMossBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.private boolean
HangingMossBlock.canPlaceAt
(BlockView world, BlockPos pos) protected boolean
HangingRootsBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
HangingSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
LadderBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
LanternBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
MultifaceGrowthBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
MushroomPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
PaleMossCarpetBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
PistonHeadBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PitcherCropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.private static boolean
PitcherCropBlock.canPlaceAt
(WorldView world, BlockPos pos) protected boolean
PlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
PointedDripstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
PropaguleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
RedstoneWireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ScaffoldingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SeaPickleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SmallDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SnowBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SoulFireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SporeBlossomBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SugarCaneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TallPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TallSeagrassBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TripwireHookBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
VineBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallBannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallMountedBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.static boolean
WallMountedBlock.canPlaceAt
(WorldView world, BlockPos pos, Direction direction) protected boolean
WallRedstoneTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.static boolean
WallTorchBlock.canPlaceAt
(WorldView world, BlockPos pos, Direction facing) private static boolean
PointedDripstoneBlock.canPlaceAtWithDirection
(WorldView world, BlockPos pos, Direction direction) private boolean
LadderBlock.canPlaceOn
(BlockView world, BlockPos pos, Direction side) protected boolean
AttachedStemBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
AzaleaBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
CropBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
DeadBushBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
FungusBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
LilyPadBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
MushroomPlantBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
NetherWartBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PitcherCropBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PlantBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
PropaguleBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
RootsBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SeagrassBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SeaPickleBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SmallDripleafBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
SproutsBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
StemBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
TallSeagrassBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) protected boolean
WitherRoseBlock.canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) 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) private static void
BigDripleafBlock.changeTilt
(BlockState state, World world, BlockPos pos, Tilt tilt) private void
BigDripleafBlock.changeTilt
(BlockState state, World world, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound) static void
protected void
AbstractCoralBlock.checkLivingConditions
(BlockState state, BlockView world, ScheduledTickView tickView, Random random, BlockPos pos) static BlockState
ComposterBlock.compost
(Entity user, BlockState state, ServerWorld world, ItemStack stack, BlockPos pos) private boolean
SculkVeinBlock.convertToBlock
(SculkSpreadManager spreadManager, WorldAccess world, BlockPos pos, Random random) protected int
BambooBlock.countBambooAbove
(BlockView world, BlockPos pos) protected int
BambooBlock.countBambooBelow
(BlockView world, BlockPos pos) protected void
CrafterBlock.craft
(BlockState state, ServerWorld world, BlockPos pos) AbstractBannerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.AbstractSignBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.AbstractSkullBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BarrelBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BeaconBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BedBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BeehiveBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BellBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BlastFurnaceBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BlockEntityProvider.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BrewingStandBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.BrushableBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CalibratedSculkSensorBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CampfireBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ChestBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ChiseledBookshelfBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CommandBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ComparatorBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ConduitBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CrafterBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.CreakingHeartBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.DaylightDetectorBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.DecoratedPotBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.DispenserBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.DropperBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.EnchantingTableBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.EnderChestBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.EndGatewayBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.EndPortalBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.FurnaceBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.HangingSignBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.HopperBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.JigsawBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.JukeboxBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.LecternBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.PistonExtensionBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SculkCatalystBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SculkSensorBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SculkShriekerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.ShulkerBoxBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SmokerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.SpawnerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.StructureBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.TrappedChestBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.TrialSpawnerBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.VaultBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.WallHangingSignBlock.createBlockEntity
(BlockPos pos, BlockState state) Returns a new block entity instance.static BlockEntity
PistonExtensionBlock.createBlockEntityPiston
(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state, Fluid fluid) AbstractBlock.AbstractBlockState.createScreenHandlerFactory
(World world, BlockPos pos) protected @Nullable NamedScreenHandlerFactory
AbstractBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
AnvilBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
BlockWithEntity.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
CartographyTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
ChestBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
CraftingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
EnchantingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
GrindstoneBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
LecternBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
LoomBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
SmithingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
StonecutterBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.EndGatewayBlock.createTeleportTarget
(ServerWorld world, Entity entity, BlockPos pos) EndPortalBlock.createTeleportTarget
(ServerWorld world, Entity entity, BlockPos pos) NetherPortalBlock.createTeleportTarget
(ServerWorld world, Entity entity, BlockPos pos) Portal.createTeleportTarget
(ServerWorld world, Entity entity, BlockPos pos) private static BlockState
PaleMossCarpetBlock.createUpperState
(BlockView world, BlockPos pos, BooleanSupplier booleanSupplier) static void
LeveledCauldronBlock.decrementFluidLevel
(BlockState state, World world, BlockPos pos) private void
protected void
DispenserBlock.dispense
(ServerWorld world, BlockState state, BlockPos pos) protected void
DropperBlock.dispense
(ServerWorld world, BlockState state, BlockPos pos) static void
PointedDripstoneBlock.dripTick
(BlockState state, ServerWorld world, BlockPos pos, float dripChance) private void
LecternBlock.dropBook
(BlockState state, World world, BlockPos pos) protected void
Block.dropExperience
(ServerWorld world, BlockPos pos, int size) Drops experience orbs.protected void
Block.dropExperienceWhenMined
(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience) Drops experience orbs.static void
BeehiveBlock.dropHoneycomb
(World world, BlockPos pos) static void
static void
static void
Block.dropStacks
(BlockState state, WorldAccess world, BlockPos pos, @Nullable BlockEntity blockEntity) static void
Block.dropStacks
(BlockState state, World world, BlockPos pos) static void
Block.dropStacks
(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity entity, ItemStack tool) (package private) static BlockState
ComposterBlock.emptyComposter
(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos) static BlockState
ComposterBlock.emptyFullComposter
(Entity user, BlockState state, World world, BlockPos pos) private static BlockState
CreakingHeartBlock.enableIfValid
(BlockState state, WorldView world, BlockPos pos) AbstractBlock.Offsetter.evaluate
(BlockState state, BlockPos pos) private void
CommandBlock.execute
(BlockState state, ServerWorld world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand) private static void
CommandBlock.executeCommandChain
(ServerWorld world, BlockPos pos, Direction facing) private void
RespawnAnchorBlock.explode
(BlockState state, World world, BlockPos explodedPos) static void
AbstractCandleBlock.extinguish
(@Nullable PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos) static void
CampfireBlock.extinguish
(@Nullable Entity entity, WorldAccess world, BlockPos pos, BlockState state) protected void
AbstractCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected void
CauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected void
LeveledCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.RespawnAnchorBlock.findRespawnPosition
(EntityType<?> entity, CollisionView world, BlockPos pos) RespawnAnchorBlock.findRespawnPosition
(EntityType<?> entity, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition
(EntityType<?> type, CollisionView world, BlockPos pos, int[][] possibleOffsets, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition
(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, float spawnAngle) BedBlock.findWakeUpPosition
(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection) private void
TrapdoorBlock.flip
(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) static void
ChorusFlowerBlock.generate
(WorldAccess world, BlockPos pos, Random random, int size) private static void
ChorusFlowerBlock.generate
(WorldAccess world, BlockPos pos, Random random, BlockPos rootPos, int size, int layer) private void
NyliumBlock.generate
(Registry<ConfiguredFeature<?, ?>> registry, RegistryKey<ConfiguredFeature<?, ?>> key, ServerWorld world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) void
SaplingBlock.generate
(ServerWorld world, BlockPos pos, BlockState state, Random random) boolean
SaplingGenerator.generate
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) float
AbstractBlock.AbstractBlockState.getAmbientOcclusionLightLevel
(BlockView world, BlockPos pos) protected float
AbstractBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
BarrierBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
LightBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
MudBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
SnowBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
SoulSandBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
StructureVoidBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) protected float
TransparentBlock.getAmbientOcclusionLightLevel
(BlockState state, BlockView world, BlockPos pos) private @Nullable ItemFrameEntity
ComparatorBlock.getAttachedItemFrame
(World world, Direction facing, BlockPos pos) protected static float
CropBlock.getAvailableMoisture
(Block block, BlockView world, BlockPos pos) 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) private int
FireBlock.getBurnChance
(WorldView world, BlockPos pos) AbstractBlock.AbstractBlockState.getCameraCollisionShape
(BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FenceBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MudBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PaneBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PowderSnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SnowBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SoulSandBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TransparentBlock.getCameraCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) private Box
DetectorRailBlock.getCartDetectionBox
(BlockPos pos) private <T extends AbstractMinecartEntity>
List<T> DetectorRailBlock.getCarts
(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate) PointedDripstoneBlock.getCauldronPos
(World world, BlockPos pos, Fluid fluid) AbstractBlock.AbstractBlockState.getCollisionShape
(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getCollisionShape
(BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BellBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CactusBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ComposterBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EntityShapeContext.getCollisionShape
(BlockState state, CollisionView world, BlockPos pos) ExperimentalMinecartShapeContext.getCollisionShape
(BlockState state, CollisionView world, BlockPos pos) protected VoxelShape
FenceGateBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FluidBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
GrindstoneBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HoneyBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HorizontalConnectingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LecternBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MudBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PaleMossCarpetBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonExtensionBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PowderSnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ScaffoldingBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SculkShriekerBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ShapeContext.getCollisionShape
(BlockState state, CollisionView world, BlockPos pos) protected VoxelShape
SnowBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SoulSandBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallHangingSignBlock.getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) int
AnvilBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
ColoredFallingBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
ConcretePowderBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
FallingBlock.getColor
(BlockState state, BlockView world, BlockPos pos) int
AbstractBlock.AbstractBlockState.getComparatorOutput
(World world, BlockPos pos) protected int
AbstractBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
AbstractFurnaceBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BarrelBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BeehiveBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BrewingStandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BulbBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CandleCakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ChestBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ChiseledBookshelfBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CommandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ComposterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CrafterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CreakingHeartBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DecoratedPotBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DetectorRailBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DispenserBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
EndPortalFrameBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
HopperBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
JukeboxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LavaCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LecternBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LeveledCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
RespawnAnchorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
SculkSensorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ShulkerBoxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.private @Nullable Identifier
NoteBlock.getCustomSound
(World world, BlockPos pos) private static int
SculkBlock.getDecay
(SculkSpreadManager spreadManager, BlockPos cursorPos, BlockPos catalystPos, int charge) private BlockState
RedstoneWireBlock.getDefaultWireState
(BlockView world, BlockState state, BlockPos pos) BedBlock.getDirection
(BlockView world, BlockPos pos) PointedDripstoneBlock.getDirectionToPlaceAt
(WorldView world, BlockPos pos, Direction direction) static Fluid
PointedDripstoneBlock.getDripFluid
(ServerWorld world, BlockPos pos) PointedDripstoneBlock.getDripPos
(World world, BlockPos pos) 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) private static TeleportTarget
NetherPortalBlock.getExitPortalTarget
(Entity entity, BlockPos pos, BlockLocating.Rectangle exitPortalRectangle, ServerWorld world, TeleportTarget.PostDimensionTransition postDimensionTransition) private BlockState
SculkBlock.getExtraBlockState
(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) default BlockPos
Fertilizable.getFertilizeParticlePos
(BlockPos pos) MangroveLeavesBlock.getFertilizeParticlePos
(BlockPos pos) RootedDirtBlock.getFertilizeParticlePos
(BlockPos pos) private static Optional
<PointedDripstoneBlock.DrippingFluid> PointedDripstoneBlock.getFluid
(World world, BlockPos pos, BlockState state) LichenGrower.getGrowPos
(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, LichenGrower.GrowPosPredicate predicate) abstract LichenGrower.GrowPos
LichenGrower.GrowType.getGrowPos
(BlockPos pos, Direction newDirection, Direction oldDirection) float
AbstractBlock.AbstractBlockState.getHardness
(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getInsideCollisionShape
(World world, BlockPos pos) protected VoxelShape
AbstractBlock.getInsideCollisionShape
(BlockState state, World world, BlockPos pos) protected VoxelShape
EndPortalBlock.getInsideCollisionShape
(BlockState state, World world, BlockPos pos) protected VoxelShape
TripwireBlock.getInsideCollisionShape
(BlockState state, World world, BlockPos pos) 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) PitcherCropBlock.getLowerHalfContext
(WorldView world, BlockPos pos, BlockState state) AbstractBlock.AbstractBlockState.getMapColor
(BlockView world, BlockPos pos) protected int
AbstractRedstoneGateBlock.getMaxInputLevelSides
(RedstoneView world, BlockPos pos, BlockState state) AbstractBlock.AbstractBlockState.getModelOffset
(BlockPos pos) private @Nullable RailPlacementHelper
RailPlacementHelper.getNeighboringRail
(BlockPos pos) private @Nullable TeleportTarget
NetherPortalBlock.getOrCreateExitPortalTarget
(ServerWorld world, Entity entity, BlockPos pos, BlockPos scaledPos, boolean inNether, WorldBorder worldBorder) AbstractBlock.AbstractBlockState.getOutlineShape
(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getOutlineShape
(BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractCauldronBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractCoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractFireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractPlantPartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractPressurePlateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractRailBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractRedstoneGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AbstractTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AirBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AmethystClusterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AnvilBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AttachedStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
AzaleaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BambooShootBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BeetrootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BellBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BigDripleafStemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BrewingStandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
BubbleColumnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ButtonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CactusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CampfireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CandleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CandleCakeBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CarpetBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CarrotsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ChainBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CocoaBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ComposterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ConduitBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
CropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DaylightDetectorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DeadCoralWallFanBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DecoratedPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DirtPathBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
DragonEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EnchantingTableBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EnderChestBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EndPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
EndPortalFrameBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FarmlandBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FenceGateBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerbedBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FlowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FlowerPotBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FluidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FrogspawnBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
FungusBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
GrindstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HangingMossBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HangingRootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HangingSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HeavyCoreBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HopperBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
HorizontalConnectingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LadderBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LanternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LecternBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LeverBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LightBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
LilyPadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MultifaceGrowthBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
MushroomPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
NetherPortalBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
NetherWartBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PaleMossCarpetBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonExtensionBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PistonHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PointedDripstoneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PotatoesBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
PropaguleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RedstoneWireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RodBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
RootsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SaplingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ScaffoldingBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SculkSensorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SeaPickleBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ShortPlantBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
ShulkerBoxBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SlabBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SmallDripleafBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnifferEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SnowBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SporeBlossomBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SproutsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StairsBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StemBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StonecutterBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
StructureVoidBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SugarCaneBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
SweetBerryBushBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TallSeagrassBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TorchflowerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TrapdoorBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TripwireBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TripwireHookBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
TurtleEggBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
VineBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBannerBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallHangingSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallPiglinHeadBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallRedstoneTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallSignBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallSkullBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
WallTorchBlock.getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected int
AbstractRedstoneGateBlock.getOutputLevel
(BlockView world, BlockPos pos, BlockState state) protected int
ComparatorBlock.getOutputLevel
(BlockView world, BlockPos pos, BlockState state) AbstractBannerBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.AbstractPlantBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.AttachedStemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.BambooShootBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.BigDripleafStemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.Block.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CandleCakeBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CaveVinesBodyBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CaveVinesHeadBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CropBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.DecoratedPotBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.EndGatewayBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.EndPortalBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.FlowerPotBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.FrostedIceBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.LightBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.NetherPortalBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.NetherWartBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.PistonExtensionBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.PistonHeadBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.ShulkerBoxBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.StemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.SweetBerryBushBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.TallSeagrassBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.private @Nullable PistonBlockEntity
PistonExtensionBlock.getPistonBlockEntity
(BlockView world, BlockPos pos) private BlockState
VineBlock.getPlacementShape
(BlockState state, BlockView world, BlockPos pos) 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) AbstractBlock.AbstractBlockState.getRaycastShape
(BlockView world, BlockPos pos) protected VoxelShape
AbstractBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
AbstractCauldronBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
ComposterBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
HopperBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
ScaffoldingBlock.getRaycastShape
(BlockState state, BlockView world, BlockPos pos) protected abstract int
AbstractPressurePlateBlock.getRedstoneOutput
(World world, BlockPos pos) protected int
PressurePlateBlock.getRedstoneOutput
(World world, BlockPos pos) protected int
WeightedPressurePlateBlock.getRedstoneOutput
(World world, BlockPos pos) private WireConnection
RedstoneWireBlock.getRenderConnectionType
(BlockView world, BlockPos pos, Direction direction) private WireConnection
RedstoneWireBlock.getRenderConnectionType
(BlockView world, BlockPos pos, Direction direction, boolean bool) long
AbstractBlock.AbstractBlockState.getRenderingSeed
(BlockPos pos) protected long
AbstractBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.protected long
BedBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.protected long
DoorBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.protected long
TallPlantBlock.getRenderingSeed
(BlockState state, BlockPos pos) Returns the seed value for rendering.AbstractBlock.AbstractBlockState.getSidesShape
(BlockView world, BlockPos pos) protected VoxelShape
AbstractBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) ChorusFlowerBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
FenceGateBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
HangingSignBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
LeavesBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
MudBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
ShulkerBoxBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SnowBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
SoulSandBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) protected VoxelShape
WallHangingSignBlock.getSidesShape
(BlockState state, BlockView world, BlockPos pos) private static StairShape
StairsBlock.getStairShape
(BlockState state, BlockView world, BlockPos pos) static BlockState
private BlockState
WallBlock.getStateAt
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate
(WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Gets the possibly updated block state of this block when a neighboring block is updated.protected BlockState
AbstractBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractCoralBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractPlantBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractPlantStemBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractPressurePlateBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractRailBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractSignBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractTorchBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AmethystClusterBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
AttachedStemBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BambooBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BambooShootBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BannerBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BarrierBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BedBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BeehiveBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BellBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BigDripleafBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BigDripleafStemBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.BrushableBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
BubbleColumnBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CactusBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CakeBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CampfireBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CandleBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CandleCakeBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CarpetBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
ChainBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
ChestBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
ChorusFlowerBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
ChorusPlantBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CocoaBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.ComparatorBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
ConcretePowderBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
ConduitBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralBlockBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralFanBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
CreakingHeartBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
DeadCoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
DecoratedPotBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
DirtPathBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
DoorBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
EnderChestBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FallingBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FarmlandBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FenceBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FenceGateBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FireBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FlowerPotBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FluidBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FrogspawnBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
GlowLichenBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
GrateBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
HangingMossBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
HangingRootsBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
HangingSignBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
HeavyCoreBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
LadderBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
LanternBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
LeavesBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
LightBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
LightningRodBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
MagmaBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
MangroveRootsBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
MultifaceGrowthBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
MushroomBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
NetherPortalBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
NoteBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
ObserverBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
PaleMossCarpetBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
PaneBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
PistonHeadBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.PitcherCropBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
PlantBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
PointedDripstoneBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
PropaguleBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
RedstoneWireBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
RepeaterBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
ScaffoldingBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SculkSensorBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SculkShriekerBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SculkVeinBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SeagrassBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SeaPickleBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SignBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SlabBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SmallDripleafBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SnowBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SnowyBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SoulFireBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SoulSandBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SporeBlossomBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
StairsBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
SugarCaneBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
TallPlantBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
TrapdoorBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
TripwireBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
TripwireHookBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
VineBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
WallBannerBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
WallBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
WallHangingSignBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
WallMountedBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
WallRedstoneTorchBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
WallSignBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
WallTorchBlock.getStateForNeighborUpdate
(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockState
FireBlock.getStateForPosition
(BlockView world, BlockPos pos) private BlockState
WallBlock.getStateWith
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState, boolean north, boolean east, boolean south, boolean west) private BlockState
FireBlock.getStateWithAge
(WorldView world, BlockPos pos, int age) LichenGrower.GrowChecker.getStateWithDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) LichenGrower.LichenGrowChecker.getStateWithDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) private BlockState
NoteBlock.getStateWithInstrument
(WorldView world, BlockPos pos, BlockState state) private BlockState
WallBlock.getStateWithNeighbor
(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) AbstractPlantBlock.getStemHeadPos
(BlockView world, BlockPos pos, Block block) int
RedstoneWireBlock.getStrongPower
(World world, BlockPos pos) int
AbstractBlock.AbstractBlockState.getStrongRedstonePower
(BlockView world, BlockPos pos, Direction direction) protected int
AbstractBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
AbstractPressurePlateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
AbstractRedstoneGateBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
ButtonBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
DetectorRailBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LecternBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LeverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
LightningRodBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
ObserverBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
RedstoneTorchBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
RedstoneWireBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.int
SculkSensorBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
TrappedChestBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected int
TripwireHookBlock.getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.PointedDripstoneBlock.getSupportingPos
(World world, BlockPos pos, BlockState state, int range) private static Thickness
PointedDripstoneBlock.getThickness
(WorldView world, BlockPos pos, Direction direction, boolean tryMerge) PointedDripstoneBlock.getTipPos
(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) int
AbstractBlock.AbstractBlockState.getWeakRedstonePower
(BlockView world, BlockPos pos, Direction direction) protected int
AbstractBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
AbstractPressurePlateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
AbstractRedstoneGateBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
ButtonBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
CalibratedSculkSensorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
DaylightDetectorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
DetectorRailBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.int
JukeboxBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
LecternBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
LeverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
LightningRodBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
ObserverBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
RedstoneWireBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
SculkSensorBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TargetBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TrappedChestBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
TripwireHookBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected int
WallRedstoneTorchBlock.getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.void
AbstractPlantBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
AbstractPlantStemBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
AzaleaBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
BambooBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
BambooShootBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) protected void
void
BigDripleafBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) static void
BigDripleafBlock.grow
(WorldAccess world, Random random, BlockPos pos, Direction direction) 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) private void
void
CocoaBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
CropBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
Fertilizable.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
FlowerbedBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
FungusBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
GlowLichenBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
GrassBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
HangingMossBlock.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
PaleMossCarpetBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
PitcherCropBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
PropaguleBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
RootedDirtBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SaplingBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SeagrassBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SeaPickleBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
ShortPlantBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SmallDripleafBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
StemBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
SweetBerryBushBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) void
TallFlowerBlock.grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.growMerged
(BlockState state, WorldAccess world, BlockPos pos) private static boolean
ConcretePowderBlock.hardensOnAnySide
(BlockView world, BlockPos pos) private boolean
private static boolean
ChestBlock.hasBlockOnTop
(BlockView world, BlockPos pos) private static boolean
ChestBlock.hasCatOnTop
(WorldAccess world, BlockPos pos) private static boolean
boolean
AbstractBlock.AbstractBlockState.hasEmissiveLighting
(BlockView world, BlockPos pos) protected static boolean
CropBlock.hasEnoughLightAt
(WorldView world, BlockPos pos) protected boolean
AbstractRedstoneGateBlock.hasPower
(World world, BlockPos pos, BlockState state) protected boolean
ComparatorBlock.hasPower
(World world, BlockPos pos, BlockState state) final boolean
AbstractBlock.AbstractBlockState.hasSolidTopSurface
(BlockView world, BlockPos pos, Entity entity) private static boolean
RespawnAnchorBlock.hasStillWater
(BlockPos pos, World world) static boolean
private void
FrogspawnBlock.hatch
(ServerWorld world, BlockPos pos, Random random) private boolean
FrostedIceBlock.increaseAge
(BlockState state, World world, BlockPos pos) boolean
EntityShapeContext.isAbove
(VoxelShape shape, BlockPos pos, boolean defaultValue) boolean
ShapeContext.isAbove
(VoxelShape shape, BlockPos pos, boolean defaultValue) static boolean
SnifferEggBlock.isAboveHatchBooster
(BlockView world, BlockPos pos) private static boolean
BedBlock.isBedBelow
(BlockView world, BlockPos pos) private static boolean
RedstoneTorchBlock.isBurnedOut
(World world, BlockPos pos, boolean addNew) static boolean
ChestBlock.isChestBlocked
(WorldAccess world, BlockPos pos) private static boolean
StairsBlock.isDifferentOrientation
(BlockState state, BlockView world, BlockPos pos, Direction dir) private static boolean
BigDripleafBlock.isEntityAbove
(BlockPos pos, Entity entity) protected boolean
AbstractCauldronBlock.isEntityTouchingFluid
(BlockState state, BlockPos pos, Entity entity) boolean
AbstractPlantBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
AzaleaBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BambooBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BambooShootBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BigDripleafBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CaveVinesBodyBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CaveVinesHeadBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CocoaBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CropBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
Fertilizable.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
FlowerbedBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
FungusBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
GlowLichenBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
GrassBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
HangingMossBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MangroveLeavesBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MossBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MushroomPlantBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
NetherrackBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
NyliumBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
PaleMossCarpetBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
PitcherCropBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
PropaguleBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
RootedDirtBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SaplingBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SeagrassBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SeaPickleBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
ShortPlantBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
StemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
TallFlowerBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
AbstractBlock.AbstractBlockState.isFullCube
(BlockView world, BlockPos pos) private static boolean
PointedDripstoneBlock.isHeldByPointedDripstone
(BlockState state, WorldView world, BlockPos pos) protected static boolean
AbstractCoralBlock.isInWater
(BlockState state, BlockView world, BlockPos pos) protected boolean
static boolean
CampfireBlock.isLitCampfireInRange
(World world, BlockPos pos) boolean
AbstractRedstoneGateBlock.isLocked
(WorldView world, BlockPos pos, BlockState state) boolean
RepeaterBlock.isLocked
(WorldView world, BlockPos pos, BlockState state) static boolean
PistonBlock.isMovable
(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir) private boolean
RailPlacementHelper.isNeighbor
(BlockPos pos) protected boolean
PoweredRailBlock.isPoweredByOtherRails
(World world, BlockPos pos, boolean bool, int distance, RailShape shape) protected boolean
PoweredRailBlock.isPoweredByOtherRails
(World world, BlockPos pos, BlockState state, boolean bool, int distance) static boolean
protected boolean
FireBlock.isRainingAround
(World world, BlockPos pos) static boolean
static boolean
TurtleEggBlock.isSandBelow
(BlockView world, BlockPos pos) protected boolean
AbstractBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) protected boolean
BambooBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) protected boolean
PointedDripstoneBlock.isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.isSideSolid
(BlockView world, BlockPos pos, Direction direction, SideShapeType shapeType) boolean
AbstractBlock.AbstractBlockState.isSideSolidFullSquare
(BlockView world, BlockPos pos, Direction direction) private boolean
boolean
AbstractBlock.AbstractBlockState.isSolidBlock
(BlockView world, BlockPos pos) final boolean
AbstractBlock.AbstractBlockState.isSolidSurface
(BlockView world, BlockPos pos, Entity entity, Direction direction) private static boolean
ChorusFlowerBlock.isSurroundedByAir
(WorldView world, BlockPos pos, @Nullable Direction exceptDirection) private static boolean
CreakingHeartBlock.isSurroundedByPaleOakLogs
(WorldAccess world, BlockPos pos) boolean
AbstractRedstoneGateBlock.isTargetNotAligned
(BlockView world, BlockPos pos, BlockState state) private boolean
RailPlacementHelper.isVerticallyNearRail
(BlockPos pos) private static boolean
FarmlandBlock.isWaterNearby
(WorldView world, BlockPos pos) 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) default boolean
SculkSpreadable.method_41470
(WorldAccess world, BlockPos pos, Random random) private boolean
void
AbstractBlock.AbstractBlockState.neighborUpdate
(World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) protected void
AbstractBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
AbstractRailBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
AbstractRedstoneGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
AbstractSkullBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
BellBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
BigDripleafBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
BulbBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
CommandBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
CrafterBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
DispenserBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
DoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
FenceGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
FluidBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
FrostedIceBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
HopperBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
NoteBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
PistonBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
PistonHeadBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
RedstoneLampBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
RedstoneTorchBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
RedstoneWireBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
SpongeBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
StructureBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
TntBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
TrapdoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.private static boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos) A shortcut to always returnfalse
a context predicate, used assettings.solidBlock(Blocks::never)
.private static Boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returnfalse
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::never)
.void
AbstractBlock.AbstractBlockState.onBlockAdded
(World world, BlockPos pos, BlockState state, boolean notify) protected void
AbstractBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
AbstractFireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
AbstractRailBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
AbstractRedstoneGateBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
BrushableBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
BulbBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
CarvedPumpkinBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
ComposterBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
CoralBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
CoralFanBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
CoralWallFanBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
DetectorRailBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
FallingBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
FireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
FluidBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
FrogspawnBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FrostedIceBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
HopperBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
LightningRodBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
MagmaBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
ObserverBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
PistonBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
RedstoneTorchBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
RedstoneWireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
ScaffoldingBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
SculkSensorBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
SnifferEggBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
SoulSandBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
SpongeBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
TargetBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
TntBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
TripwireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
TurtleEggBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
WetSpongeBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
AbstractBlock.AbstractBlockState.onBlockBreakStart
(World world, BlockPos pos, PlayerEntity player) protected void
AbstractBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected void
DragonEggBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected void
NoteBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected void
RedstoneOreBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).AbstractFireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BedBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BeehiveBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.Block.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.CreakingHeartBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DecoratedPotBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DoorBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.PistonHeadBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.ShulkerBoxBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TallPlantBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TntBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TripwireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.protected static void
TallPlantBlock.onBreakInCreative
(World world, BlockPos pos, BlockState state, PlayerEntity player) Destroys a bottom half of a tall double block (such as a plant or a door) without dropping an item when broken in creative.void
Block.onBroken
(WorldAccess world, BlockPos pos, BlockState state) Called after a player breaks a block and the block is removed from the world.void
PistonExtensionBlock.onBroken
(WorldAccess world, BlockPos pos, BlockState state) Called after a player breaks a block and the block is removed from the world.void
Block.onDestroyedByExplosion
(ServerWorld world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
TntBlock.onDestroyedByExplosion
(ServerWorld world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
AnvilBlock.onDestroyedOnLanding
(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) void
BrushableBlock.onDestroyedOnLanding
(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) default void
LandingBlock.onDestroyedOnLanding
(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) void
PointedDripstoneBlock.onDestroyedOnLanding
(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) void
AbstractBlock.AbstractBlockState.onEntityCollision
(World world, BlockPos pos, Entity entity) protected void
AbstractBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
AbstractFireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
AbstractPressurePlateBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
BigDripleafBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
BubbleColumnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
ButtonBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CactusBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CampfireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CobwebBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
DetectorRailBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
EndGatewayBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
EndPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
FrogspawnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
HoneyBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
HopperBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LavaCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LeveledCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LilyPadBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
NetherPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
PitcherCropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
PowderSnowBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
SweetBerryBushBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
TripwireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
WitherRoseBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
AbstractBlock.AbstractBlockState.onExploded
(ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractCandleBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
BeehiveBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
BellBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
ButtonBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
DoorBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
FenceGateBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
LeverBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
TrapdoorBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) private void
LeveledCauldronBlock.onFireCollision
(BlockState state, World world, BlockPos pos) void
BedBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
Block.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
FarmlandBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
HayBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
HoneyBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
PointedDripstoneBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
PowderSnowBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
SlimeBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
TurtleEggBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
AnvilBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) void
ConcretePowderBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) default void
LandingBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) void
AbstractRedstoneGateBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BedBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
Block.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
CommandBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
CrafterBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
DoorBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
JukeboxBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
PaleMossCarpetBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
PistonBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
PitcherCropBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
SmallDripleafBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
StructureBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
TallPlantBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
TripwireHookBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
WallWitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static void
void
WitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static void
WitherSkullBlock.onPlaced
(World world, BlockPos pos, SkullBlockEntity blockEntity) void
AbstractBlock.AbstractBlockState.onStacksDropped
(ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) protected void
AbstractBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected void
ExperienceDroppingBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected void
InfestedBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected void
RedstoneOreBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected void
SculkCatalystBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected void
SculkSensorBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected void
SculkShriekerBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected void
SpawnerBlock.onStacksDropped
(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.void
AbstractBlock.AbstractBlockState.onStateReplaced
(World world, BlockPos pos, BlockState state, boolean moved) protected void
AbstractBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
AbstractFurnaceBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
AbstractPressurePlateBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
AbstractRailBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
AbstractRedstoneGateBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
BarrelBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
BrewingStandBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
ButtonBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
CampfireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
ChestBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
ChiseledBookshelfBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
CrafterBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
CreakingHeartBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
DecoratedPotBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
DispenserBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
HopperBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
JukeboxBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
LecternBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
LeverBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
LightningRodBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
ObserverBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
PistonExtensionBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
PistonHeadBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
RedstoneTorchBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
RedstoneWireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
SculkSensorBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
SculkShriekerBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
ShulkerBoxBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
TripwireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
TripwireHookBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
Block.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
MagmaBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
RedstoneOreBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SculkSensorBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SculkShriekerBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SlimeBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
TurtleEggBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.boolean
AbstractBlock.AbstractBlockState.onSyncedBlockEvent
(World world, BlockPos pos, int type, int data) protected boolean
AbstractBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected boolean
BlockWithEntity.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected boolean
ComparatorBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected boolean
NoteBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected boolean
PistonBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected ActionResult
AbstractBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractFurnaceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AnvilBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BarrelBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BeaconBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BedBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BellBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BrewingStandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ButtonBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CandleCakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CartographyTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CaveVinesBodyBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CaveVinesHeadBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ChiseledBookshelfBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CommandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ComparatorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ComposterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CrafterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CraftingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DaylightDetectorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DecoratedPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DispenserBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DragonEggBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
EnchantingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
EnderChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FenceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FenceGateBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FletchingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FlowerPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
GrindstoneBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
HopperBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
JigsawBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
JukeboxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LecternBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LeverBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LightBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LoomBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
NoteBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
PistonExtensionBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RedstoneWireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RepeaterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RespawnAnchorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ShulkerBoxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
SmithingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
StonecutterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
StructureBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
SweetBerryBushBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
TrapdoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
AbstractCauldronBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
AbstractSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
BeehiveBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
CakeBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
CampfireBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
CandleBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
CandleCakeBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
ChiseledBookshelfBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
ComposterBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
DecoratedPotBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
FlowerPotBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
HangingSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
JukeboxBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
LecternBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
NoteBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
PumpkinBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
RedstoneOreBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
RespawnAnchorBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
SweetBerryBushBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
TntBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) VaultBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResult
WallHangingSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected abstract void
AbstractFurnaceBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) protected void
BlastFurnaceBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) protected void
FurnaceBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) private void
LecternBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) protected void
SmokerBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) static ActionResult
CaveVines.pickBerries
(@Nullable Entity picker, BlockState state, World world, BlockPos pos) private static void
PointedDripstoneBlock.place
(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness) static boolean
SculkVeinBlock.place
(WorldAccess world, BlockPos pos, BlockState state, Collection<Direction> directions) static void
PaleMossCarpetBlock.placeAt
(WorldAccess world, BlockPos pos, Random random, int flags) static void
TallPlantBlock.placeAt
(WorldAccess world, BlockState state, BlockPos pos, int flags) protected static boolean
BigDripleafBlock.placeDripleafAt
(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected static boolean
BigDripleafStemBlock.placeStemAt
(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected void
ButtonBlock.playClickSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, boolean powered) protected static void
LeverBlock.playClickSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) static void
ComposterBlock.playEffects
(World world, BlockPos pos, boolean fill) private void
FluidBlock.playExtinguishSound
(WorldAccess world, BlockPos pos) private void
private void
DoorBlock.playOpenCloseSound
(@Nullable Entity entity, World world, BlockPos pos, boolean open) private static void
TripwireHookBlock.playSound
(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off) private static void
BigDripleafBlock.playTiltSound
(World world, BlockPos pos, SoundEvent soundEvent) protected void
TrapdoorBlock.playToggleSound
(@Nullable PlayerEntity player, World world, BlockPos pos, boolean open) static BlockState
Block.postProcessState
(BlockState state, WorldAccess world, BlockPos pos) void
ButtonBlock.powerOn
(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) void
Block.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
CauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
LeveledCauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.final void
AbstractBlock.AbstractBlockState.prepare
(WorldAccess world, BlockPos pos, int flags) void
AbstractBlock.AbstractBlockState.prepare
(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) protected void
AbstractBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Called when the block state changes, before the neighbor-triggered state update on the original block, and after the neighbor-triggered state update on the replaced block.protected void
RedstoneWireBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Called when the block state changes, before the neighbor-triggered state update on the original block, and after the neighbor-triggered state update on the replaced block.static void
private static void
TntBlock.primeTnt
(World world, BlockPos pos, @Nullable LivingEntity igniter) static BlockState
Block.pushEntitiesUpBeforeBlockChange
(BlockState from, BlockState to, WorldAccess world, BlockPos pos) Pushes entities standing on a block up before changing the block to taller ones.private static void
LecternBlock.putBook
(@Nullable LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack) static boolean
LecternBlock.putBookIfAbsent
(@Nullable LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack) void
AbstractCandleBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
AbstractFireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BeehiveBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BlastFurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
Block.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BrewingStandBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BrushableBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BubbleColumnBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CampfireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CherryLeavesBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CreakingHeartBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CryingObsidianBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EnchantingTableBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EnderChestBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndGatewayBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
FallingBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
FurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
HangingMossBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LeavesBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LeverBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LightningRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
MyceliumBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
NetherPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
PointedDripstoneBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneOreBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneWireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RepeaterBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RespawnAnchorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SculkSensorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SmokerBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SporeBlossomBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
TorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WallRedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WallTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WetSpongeBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WitherRoseBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
AbstractBlock.AbstractBlockState.randomTick
(ServerWorld world, BlockPos pos, Random random) protected void
AbstractBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
AbstractPlantStemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
BambooBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
BambooShootBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
BeetrootsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
BuddingAmethystBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
CactusBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
ChorusFlowerBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
CocoaBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
CropBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
FarmlandBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
FluidBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
IceBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
LeavesBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
MushroomPlantBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
NetherPortalBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
NetherWartBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
NyliumBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableBulbBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableDoorBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableGrateBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableSlabBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableStairsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
OxidizableTrapdoorBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
PitcherCropBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
PointedDripstoneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
PropaguleBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
RedstoneOreBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SaplingBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SnowBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SpreadableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
StemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SugarCaneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
SweetBerryBushBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.void
TorchflowerBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
TurtleEggBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
VineBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.private boolean
FluidBlock.receiveNeighborFluids
(World world, BlockPos pos, BlockState state) static void
Block.replace
(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags) Replaces thestate
with thenewState
at thepos
.static void
Block.replace
(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Replaces thestate
with thenewState
at thepos
.private static void
BigDripleafBlock.resetTilt
(BlockState state, World world, BlockPos pos) boolean
boolean
void
AbstractBlock.AbstractBlockState.scheduledTick
(ServerWorld world, BlockPos pos, Random random) protected void
AbstractBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
AbstractCauldronBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
AbstractPlantPartBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
AbstractPressurePlateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
AbstractRedstoneGateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
BambooBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
BarrelBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
BigDripleafBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
BigDripleafStemBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
BrushableBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
BubbleColumnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ButtonBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CactusBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ChorusFlowerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ChorusPlantBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CommandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ComparatorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ComposterBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CoralBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CoralBlockBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CoralFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CoralWallFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
CrafterBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
DetectorRailBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
DirtPathBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
DispenserBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
EnderChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FallingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FarmlandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FrogspawnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
FrostedIceBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
HangingMossBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
LeavesBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
LecternBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
LightningRodBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
MagmaBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ObserverBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
PointedDripstoneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
RedstoneLampBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
RedstoneTorchBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
ScaffoldingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
SculkCatalystBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
SculkSensorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
SculkShriekerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.void
SnifferEggBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
SoulSandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
SugarCaneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
TargetBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
TripwireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected void
TripwireHookBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.private void
ObserverBlock.scheduleTick
(WorldView world, ScheduledTickView tickView, BlockPos pos) PointedDripstoneBlock.searchInDirection
(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) void
SculkSensorBlock.setActive
(@Nullable Entity sourceEntity, World world, BlockPos pos, BlockState state, int power, int frequency) static void
SculkSensorBlock.setCooldown
(World world, BlockPos pos, BlockState state) static void
LecternBlock.setHasBook
(@Nullable Entity user, World world, BlockPos pos, BlockState state, boolean hasBook) private static void
AbstractCandleBlock.setLit
(WorldAccess world, BlockState state, BlockPos pos, boolean lit) void
DoorBlock.setOpen
(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open) private static void
TargetBlock.setPower
(WorldAccess world, BlockState state, int power, BlockPos pos, int delay) static void
LecternBlock.setPowered
(World world, BlockPos pos, BlockState state) private static void
LecternBlock.setPowered
(World world, BlockPos pos, BlockState state, boolean powered) void
LightningRodBlock.setPowered
(BlockState state, World world, BlockPos pos) static void
private boolean
ScaffoldingBlock.shouldBeBottom
(BlockView world, BlockPos pos, int distance) static boolean
CreakingHeartBlock.shouldBeEnabled
(BlockState state, WorldView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.shouldBlockVision
(BlockView world, BlockPos pos) static boolean
VineBlock.shouldConnectTo
(BlockView world, BlockPos pos, Direction direction) private static boolean
AbstractRailBlock.shouldDropRail
(BlockPos pos, World world, RailShape shape) Checks if this rail should be dropped.private boolean
PistonBlock.shouldExtend
(RedstoneView world, BlockPos pos, Direction pistonFace) private static boolean
ConcretePowderBlock.shouldHarden
(BlockView world, BlockPos pos, BlockState state) private boolean
VineBlock.shouldHaveSide
(BlockView world, BlockPos pos, Direction side) private static boolean
AbstractFireBlock.shouldLightPortalAt
(World world, BlockPos pos, Direction direction) private static boolean
SculkBlock.shouldNotDecay
(WorldAccess world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.shouldPostProcess
(BlockView world, BlockPos pos) boolean
AbstractBlock.AbstractBlockState.shouldSuffocate
(BlockView world, BlockPos pos) protected boolean
RedstoneTorchBlock.shouldUnpower
(World world, BlockPos pos, BlockState state) protected boolean
WallRedstoneTorchBlock.shouldUnpower
(World world, BlockPos pos, BlockState state) static boolean
Block.sideCoversSmallSquare
(WorldView world, BlockPos pos, Direction side) 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
CarvedPumpkinBlock.spawnEntity
(World world, BlockPattern.Result patternResult, Entity entity, BlockPos pos) 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) private static void
RedstoneOreBlock.spawnParticles
(World world, BlockPos pos) private void
InfestedBlock.spawnSilverfish
(ServerWorld world, BlockPos pos) static void
CampfireBlock.spawnSmokeParticle
(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke) private void
FrogspawnBlock.spawnTadpoles
(ServerWorld world, BlockPos pos, Random random) int
SculkBlock.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) int
SculkSpreadable.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) default boolean
SculkSpreadable.spread
(WorldAccess world, BlockPos pos, BlockState state, @Nullable Collection<Direction> directions, boolean markForPostProcessing) int
SculkVeinBlock.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) 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) boolean
LichenGrower.GrowPosPredicate.test
(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) private static void
DaylightDetectorBlock.tick
(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) default void
Degradable.tickDegradation
(BlockState state, ServerWorld world, BlockPos pos, Random random) void
LeverBlock.togglePower
(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, Property<Direction> property, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) private void
CrafterBlock.transferOrSpawnStack
(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeEntry<?> recipe) private void
HoneyBlock.triggerAdvancement
(Entity entity, BlockPos pos) private static void
ChiseledBookshelfBlock.tryAddBook
(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, ItemStack stack, int slot) private void
TurtleEggBlock.tryBreakEgg
(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance) default Optional
<BlockState> Degradable.tryDegrade
(BlockState state, ServerWorld world, BlockPos pos, Random random) BarrierBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) BubbleColumnBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) FluidBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) FluidDrainable.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) PowderSnowBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) default ItemStack
Waterloggable.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) protected static ActionResult
CakeBlock.tryEat
(WorldAccess world, BlockPos pos, BlockState state, PlayerEntity player) boolean
CampfireBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
CandleBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
FluidFillable.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpPlantBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
SeagrassBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
SlabBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
TallSeagrassBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) default boolean
Waterloggable.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) private void
PitcherCropBlock.tryGrow
(ServerWorld world, BlockState state, BlockPos pos, int amount) static void
PointedDripstoneBlock.tryGrow
(BlockState state, ServerWorld world, BlockPos pos, Random random) private static void
PointedDripstoneBlock.tryGrow
(ServerWorld world, BlockPos pos, Direction direction) private static void
PointedDripstoneBlock.tryGrowStalagmite
(ServerWorld world, BlockPos pos) private void
PistonBlock.tryMove
(World world, BlockPos pos, BlockState state) protected void
ButtonBlock.tryPowerWithProjectiles
(BlockState state, World world, BlockPos pos) private static void
ChiseledBookshelfBlock.tryRemoveBook
(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, int slot) static void
SculkSensorBlock.tryResonate
(@Nullable Entity sourceEntity, World world, BlockPos pos, int frequency) private void
CarvedPumpkinBlock.trySpawnEntity
(World world, BlockPos pos) boolean
MushroomPlantBlock.trySpawningBigMushroom
(ServerWorld world, BlockPos pos, BlockState state, Random random) private void
FireBlock.trySpreadingFire
(World world, BlockPos pos, int spreadFactor, Random random, int currentAge) static void
BubbleColumnBlock.update
(WorldAccess world, BlockPos pos, BlockState state) static void
BubbleColumnBlock.update
(WorldAccess world, BlockPos pos, BlockState water, BlockState bubbleSource) void
BulbBlock.update
(BlockState state, ServerWorld world, BlockPos pos) private void
CommandBlock.update
(World world, BlockPos pos, CommandBlockBlockEntity blockEntity, boolean powered) private void
ComparatorBlock.update
(World world, BlockPos pos, BlockState state) private void
RedstoneTorchBlock.update
(World world, BlockPos pos, BlockState state) private void
RedstoneWireBlock.update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) protected void
private void
TripwireBlock.update
(World world, BlockPos pos, BlockState state) static void
TripwireHookBlock.update
(World world, BlockPos pos, BlockState state, boolean bool, boolean bool2, int int2, @Nullable BlockState blockState) protected void
AbstractRailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockState
AbstractRailBlock.updateBlockState
(World world, BlockPos pos, BlockState state, boolean forceUpdate) protected void
PoweredRailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected void
RailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockState
AbstractRailBlock.updateCurves
(BlockState state, World world, BlockPos pos, boolean notify) private static BlockState
LeavesBlock.updateDistanceFromLogs
(BlockState state, WorldAccess world, BlockPos pos) private void
HopperBlock.updateEnabled
(World world, BlockPos pos, BlockState state) private void
RedstoneWireBlock.updateForNewState
(World world, BlockPos pos, BlockState oldState, BlockState newState) protected void
BambooBlock.updateLeaves
(BlockState state, World world, BlockPos pos, Random random, int height) protected void
DetectorRailBlock.updateNearbyRails
(World world, BlockPos pos, BlockState state, boolean unpowering) private static void
LecternBlock.updateNeighborAlways
(World world, BlockPos pos, BlockState state) final void
AbstractBlock.AbstractBlockState.updateNeighbors
(WorldAccess world, BlockPos pos, int flags) final void
AbstractBlock.AbstractBlockState.updateNeighbors
(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) protected void
AbstractPressurePlateBlock.updateNeighbors
(World world, BlockPos pos) private void
ButtonBlock.updateNeighbors
(BlockState blockState, World world, BlockPos pos) private void
LeverBlock.updateNeighbors
(BlockState state, World world, BlockPos pos) private void
LightningRodBlock.updateNeighbors
(BlockState state, World world, BlockPos pos) protected void
ObserverBlock.updateNeighbors
(World world, BlockPos pos, BlockState state) private void
RedstoneWireBlock.updateNeighbors
(World world, BlockPos pos) private static void
SculkSensorBlock.updateNeighbors
(World world, BlockPos pos, BlockState state) private static void
TripwireHookBlock.updateNeighborsOnAxis
(Block block, World world, BlockPos pos, Direction direction) private void
RedstoneWireBlock.updateOffsetNeighbors
(World world, BlockPos pos) private void
AbstractPressurePlateBlock.updatePlateState
(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output) protected void
AbstractRedstoneGateBlock.updatePowered
(World world, BlockPos pos, BlockState state) protected void
ComparatorBlock.updatePowered
(World world, BlockPos pos, BlockState state) private void
TripwireBlock.updatePowered
(World world, BlockPos pos) private void
TripwireBlock.updatePowered
(World world, BlockPos pos, List<? extends Entity> entities) private void
DetectorRailBlock.updatePoweredStatus
(World world, BlockPos pos, BlockState state) private static void
DaylightDetectorBlock.updateState
(BlockState state, World world, BlockPos pos) private static BlockState
PaleMossCarpetBlock.updateState
(BlockState state, BlockView world, BlockPos pos, boolean bool) protected void
AbstractRedstoneGateBlock.updateTarget
(World world, BlockPos pos, BlockState state) static boolean
SculkVeinBlock.veinCoversSculkReplaceable
(WorldAccess world, BlockState state, BlockPos pos) private boolean
BedBlock.wakeVillager
(World world, BlockPos pos) Wakes up a sleeping villager atpos
, if any.static BlockState
ChorusPlantBlock.withConnectionProperties
(BlockView world, BlockPos pos, BlockState state) MultifaceGrowthBlock.withDirection
(BlockState state, BlockView world, BlockPos pos, Direction direction) static BlockState
TallPlantBlock.withWaterloggedState
(WorldView world, BlockPos pos, BlockState state) Modifier and TypeMethodDescriptionvoid
AbstractBlock.AbstractBlockState.onExploded
(ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractCandleBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
BeehiveBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
BellBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
ButtonBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
DoorBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
FenceGateBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
LeverBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
TrapdoorBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) PointedDripstoneBlock.searchInDirection
(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, Property<Direction> property, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) ModifierConstructorDescriptionBurnoutEntry
(BlockPos pos, long time) ComposterInventory
(BlockState state, WorldAccess world, BlockPos pos) (package private)
DrippingFluid
(BlockPos blockPos, Fluid fluid, BlockState blockState) FullComposterInventory
(BlockState state, WorldAccess world, BlockPos pos, ItemStack outputItem) (package private)
LowerHalfContext
(BlockPos blockPos, BlockState blockState) RailPlacementHelper
(World world, BlockPos pos, BlockState state) -
Uses of BlockPos in net.minecraft.block.cauldron
Modifier and TypeMethodDescriptionprivate static ActionResult
CauldronBehavior.cleanArmor
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResult
CauldronBehavior.cleanBanner
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResult
CauldronBehavior.cleanShulkerBox
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) static ActionResult
CauldronBehavior.emptyCauldron
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> fullPredicate, SoundEvent soundEvent) Empties a cauldron if it's full.static ActionResult
CauldronBehavior.fillCauldron
(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) Fills a cauldron from a bucket stack.CauldronBehavior.interact
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) Called when a player interacts with a cauldron.private static boolean
CauldronBehavior.isUnderwater
(World world, BlockPos pos) private static ActionResult
CauldronBehavior.tryFillWithLava
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResult
CauldronBehavior.tryFillWithPowderSnow
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResult
CauldronBehavior.tryFillWithWater
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) -
Uses of BlockPos in net.minecraft.block.dispenser
Modifier and TypeMethodDescriptionprivate static boolean
ShearsDispenserBehavior.tryShearBlock
(ServerWorld world, BlockPos pos) private static boolean
ShearsDispenserBehavior.tryShearEntity
(ServerWorld world, BlockPos pos, ItemStack shears) -
Uses of BlockPos in net.minecraft.block.entity
Modifier and TypeFieldDescriptionEndGatewayBlockEntity.exitPortalPos
BeehiveBlockEntity.flowerPos
private BlockPos
StructureBlockBlockEntity.offset
protected final BlockPos
BlockEntity.pos
protected final BlockPos
SculkSensorBlockEntity.VibrationCallback.pos
private BlockPos
SculkSpreadManager.Cursor.pos
Modifier and TypeMethodDescriptionprivate static BlockPos
EndGatewayBlockEntity.findBestPortalExitPos
(World world, BlockPos pos) private static BlockPos
EndGatewayBlockEntity.findExitPortalPos
(BlockView world, BlockPos pos, int searchRadius, boolean force) EndGatewayBlockEntity.findPortalPosition
(WorldChunk chunk) StructureBlockBlockEntity.getOffset()
BlockEntity.getPos()
Returns the block entity's position.SculkSpreadManager.Cursor.getPos()
SculkSpreadManager.Cursor.getSpreadPos
(WorldAccess world, BlockPos pos, Random random) static BlockPos
BlockEntity.posFromNbt
(NbtCompound nbt) Returns the block position fromnbt
.private static BlockPos
EndGatewayBlockEntity.setupExitPortalLocation
(ServerWorld world, BlockPos pos) Finds teleport location and creates an island to teleport to (if there is none).Modifier and TypeMethodDescriptionStructureBlockBlockEntity.streamCornerPos
(BlockPos start, BlockPos end) Streams positions ofStructureBlockMode.CORNER
mode structure blocks with matching names.Modifier and TypeMethodDescriptionvoid
SculkSensorBlockEntity.VibrationCallback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.void
SculkShriekerBlockEntity.VibrationCallback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
CalibratedSculkSensorBlockEntity.Callback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.boolean
SculkSensorBlockEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.boolean
SculkShriekerBlockEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private static void
BellBlockEntity.applyGlowToRaiders
(World world, BlockPos pos, List<LivingEntity> hearingEntities) private static void
BellBlockEntity.applyParticlesToRaiders
(World world, BlockPos pos, List<LivingEntity> hearingEntities) SpawnsParticleTypes.ENTITY_EFFECT
particles around raiders within 48 blocks.private static void
BeaconBlockEntity.applyPlayerEffects
(World world, BlockPos pos, int beaconLevel, @Nullable RegistryEntry<StatusEffect> primaryEffect, @Nullable RegistryEntry<StatusEffect> secondaryEffect) private static void
ConduitBlockEntity.attackHostileEntity
(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) private void
SculkCatalystBlockEntity.Listener.bloom
(ServerWorld world, BlockPos pos, BlockState state, Random random) private static boolean
PistonBlockEntity.canMoveEntity
(Box box, Entity entity, BlockPos pos) private boolean
SculkSpreadManager.Cursor.canSpread
(WorldAccess world, BlockPos pos, boolean worldGen) private static boolean
SculkSpreadManager.Cursor.canSpread
(WorldAccess world, BlockPos sourcePos, BlockPos targetPos) private static boolean
SculkSpreadManager.Cursor.canSpread
(WorldAccess world, BlockPos pos, Direction direction) (package private) static void
VaultBlockEntity.Server.changeVaultState
(ServerWorld world, BlockPos pos, BlockState oldState, BlockState newState, VaultConfig config, VaultSharedData sharedData) static void
BellBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static void
CampfireBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) static void
ChestBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity) static void
ConduitBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static void
EnderChestBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) static void
EndGatewayBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static void
MobSpawnerBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) void
ViewerCountManager.closeContainer
(PlayerEntity player, World world, BlockPos pos, BlockState state) private static void
BrewingStandBlockEntity.craft
(World world, BlockPos pos, DefaultedList<ItemStack> slots) BlockEntityType.BlockEntityFactory.create
(BlockPos pos, BlockState state) private static ServerCommandSource
SignBlockEntity.createCommandSource
(@Nullable PlayerEntity player, World world, BlockPos pos) static @Nullable BlockEntity
BlockEntity.createFromNbt
(BlockPos pos, BlockState state, NbtCompound nbt, RegistryWrapper.WrapperLookup registries) Returns the new block entity loaded fromnbt
, ornull
if it fails.private static void
EndGatewayBlockEntity.createPortal
(ServerWorld world, BlockPos pos, EndGatewayFeatureConfig config) private static BlockPos
EndGatewayBlockEntity.findBestPortalExitPos
(World world, BlockPos pos) private static BlockPos
EndGatewayBlockEntity.findExitPortalPos
(BlockView world, BlockPos pos, int searchRadius, boolean force) private static @Nullable LivingEntity
ConduitBlockEntity.findTargetEntity
(World world, BlockPos pos, UUID uuid) private static Vec3d
EndGatewayBlockEntity.findTeleportLocation
(ServerWorld world, BlockPos pos) private static ItemStack
VaultBlockEntity.Server.generateDisplayItem
(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable) VaultBlockEntity.Server.generateLoot
(ServerWorld world, VaultConfig config, BlockPos pos, PlayerEntity player, ItemStack key) Returns the block entity instance of this type atpos
, ornull
if no such block entity exists.private static Box
ConduitBlockEntity.getAttackZone
(BlockPos pos) HopperBlockEntity.getBlockInventoryAt
(World world, BlockPos pos, BlockState state) private int
CalibratedSculkSensorBlockEntity.Callback.getCalibrationFrequency
(World world, BlockPos pos, BlockState state) PistonBlockEntity.getCollisionShape
(BlockView world, BlockPos pos) private static Vec3d
VaultBlockEntity.Client.getConnectedParticlesOrigin
(BlockPos pos, Direction direction) private static Vec3d
VaultBlockEntity.Client.getDeactivateParticlesPos
(BlockPos pos, Random random) HopperBlockEntity.getInputInventory
(World world, Hopper hopper, BlockPos pos, BlockState state) HopperBlockEntity.getInventoryAt
(World world, BlockPos pos) HopperBlockEntity.getInventoryAt
(World world, BlockPos pos, BlockState state, double x, double y, double z) EndGatewayBlockEntity.getOrCreateExitPortalPos
(ServerWorld world, BlockPos pos) HopperBlockEntity.getOutputInventory
(World world, BlockPos pos, HopperBlockEntity blockEntity) private static List
<ServerPlayerEntity> SculkShriekerWarningManager.getPlayersInRange
(ServerWorld world, BlockPos pos) static int
ChestBlockEntity.getPlayersLookingInChestCount
(BlockView world, BlockPos pos) private static Vec3d
VaultBlockEntity.Client.getRegularParticlesPos
(BlockPos pos, Random random) SculkSpreadManager.Cursor.getSpreadPos
(WorldAccess world, BlockPos pos, Random random) StructureBlockBlockEntity.getStructureBox
(BlockPos pos, Stream<BlockPos> corners) private List
<PlayerEntity> ViewerCountManager.getViewingPlayers
(World world, BlockPos pos) private static void
ConduitBlockEntity.givePlayersEffects
(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static boolean
HopperBlockEntity.insert
(World world, BlockPos pos, HopperBlockEntity blockEntity) private static boolean
HopperBlockEntity.insertAndExtract
(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) BlockEntityType.instantiate
(BlockPos pos, BlockState state) Returns a new instance of the block entity.private static boolean
VaultBlockEntity.Client.isPlayerWithinConnectedParticlesRange
(BlockPos pos, VaultSharedData sharedData, PlayerEntity player) private static boolean
BellBlockEntity.isRaiderEntity
(BlockPos pos, LivingEntity entity) Determines whether the given entity is in theEntityTypeTags.RAIDERS
entity type tag and within 48 blocks of the given position.(package private) boolean
SculkSpreadManager.Cursor.isTooFarFrom
(BlockPos pos) private static boolean
SculkShriekerWarningManager.isWardenNearby
(ServerWorld world, BlockPos pos) static void
CampfireBlockEntity.litServerTick
(ServerWorld world, BlockPos pos, BlockState state, CampfireBlockEntity blockEntity, ServerRecipeManager.MatchGetter<SingleStackRecipeInput, CampfireCookingRecipe> recipeMatchGetter) BeehiveBlockEntity.BeeData.loadEntity
(World world, BlockPos pos) protected static void
BlockEntity.markDirty
(World world, BlockPos pos, BlockState state) private static void
PistonBlockEntity.moveEntitiesInHoneyBlock
(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) private static Box
PistonBlockEntity.offsetHeadBox
(BlockPos pos, Box box, PistonBlockEntity blockEntity) protected abstract void
ViewerCountManager.onContainerClose
(World world, BlockPos pos, BlockState state) Run when this container closes (when the viewer count reaches zero).protected abstract void
ViewerCountManager.onContainerOpen
(World world, BlockPos pos, BlockState state) Run when this container is opened (when the viewer count becomes nonzero).static void
HopperBlockEntity.onEntityCollided
(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) protected void
ChestBlockEntity.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected void
TrappedChestBlockEntity.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected abstract void
ViewerCountManager.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) Called when the viewer count updates, such as when a player interact with this container or when distance-based checks are run.void
ViewerCountManager.openContainer
(PlayerEntity player, World world, BlockPos pos, BlockState state) private static void
VaultBlockEntity.Client.playAmbientSound
(World world, BlockPos pos, VaultSharedData sharedData) private static void
VaultBlockEntity.Server.playFailedUnlockSound
(ServerWorld world, VaultServerData serverData, BlockPos pos, SoundEvent sound) static void
BeaconBlockEntity.playSound
(World world, BlockPos pos, SoundEvent sound) (package private) static void
ChestBlockEntity.playSound
(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) private static void
private static void
PistonBlockEntity.pushEntities
(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) private void
ShulkerBoxBlockEntity.pushEntities
(World world, BlockPos pos, BlockState state) private static boolean
BellBlockEntity.raidersHearBell
(BlockPos pos, List<LivingEntity> hearingEntities) Determines whether at least one of the given entities would be affected by the bell.private static boolean
BeehiveBlockEntity.releaseBee
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity.BeeData bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) void
BellBlockEntity.Effect.run
(World world, BlockPos pos, List<LivingEntity> hearingEntities) boolean
SignBlockEntity.runCommandClickEvent
(PlayerEntity player, World world, BlockPos pos, boolean front) 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
EndGatewayBlockEntity.setExitPortalPos
(BlockPos pos, boolean exactTeleport) void
private static BlockPos
EndGatewayBlockEntity.setupExitPortalLocation
(ServerWorld world, BlockPos pos) Finds teleport location and creates an island to teleport to (if there is none).static void
VaultBlockEntity.Client.spawnActivateParticles
(World world, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleEffect particle) private static void
VaultBlockEntity.Client.spawnAmbientParticles
(World world, BlockPos pos, VaultSharedData sharedData, ParticleEffect particle) private static void
VaultBlockEntity.Client.spawnConnectedParticles
(World world, BlockPos pos, BlockState state, VaultSharedData sharedData) static void
VaultBlockEntity.Client.spawnDeactivateParticles
(World world, BlockPos pos, ParticleEffect particle) private static void
ConduitBlockEntity.spawnNautilusParticles
(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) void
SculkSpreadManager.Cursor.spread
(WorldAccess world, BlockPos pos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) void
static void
EndGatewayBlockEntity.startTeleportCooldown
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) StructureBlockBlockEntity.streamCornerPos
(BlockPos start, BlockPos end) Streams positions ofStructureBlockMode.CORNER
mode structure blocks with matching names.static void
AbstractFurnaceBlockEntity.tick
(ServerWorld world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) static void
BeaconBlockEntity.tick
(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity) private static void
BellBlockEntity.tick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.Effect bellEffect) void
BlockEntityTicker.tick
(World world, BlockPos pos, BlockState state, T blockEntity) Ticks the block entity.static void
BrewingStandBlockEntity.tick
(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity) static void
CreakingHeartBlockEntity.tick
(World world, BlockPos pos, BlockState state, CreakingHeartBlockEntity blockEntity) static void
EnchantingTableBlockEntity.tick
(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity) static void
JukeboxBlockEntity.tick
(World world, BlockPos pos, BlockState state, JukeboxBlockEntity blockEntity) static void
PistonBlockEntity.tick
(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity) static void
SculkCatalystBlockEntity.tick
(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) void
SculkSpreadManager.tick
(WorldAccess world, BlockPos pos, Random random, boolean shouldConvertToBlock) static void
ShulkerBoxBlockEntity.tick
(World world, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity) static void
SignBlockEntity.tick
(World world, BlockPos pos, BlockState state, SignBlockEntity blockEntity) static void
SkullBlockEntity.tick
(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) static void
VaultBlockEntity.Client.tick
(World world, BlockPos pos, BlockState state, VaultClientData clientData, VaultSharedData sharedData) static void
VaultBlockEntity.Server.tick
(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) private static void
BeehiveBlockEntity.tickBees
(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) static void
CrafterBlockEntity.tickCrafting
(World world, BlockPos pos, BlockState state, CrafterBlockEntity blockEntity) static void
VaultBlockEntity.Server.tryUnlock
(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, PlayerEntity player, ItemStack stack) static void
CampfireBlockEntity.unlitServerTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private static void
VaultBlockEntity.Server.unlock
(ServerWorld world, BlockState state, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, List<ItemStack> itemsToEject) private static boolean
ConduitBlockEntity.updateActivatingBlocks
(World world, BlockPos pos, List<BlockPos> activatingBlocks) private void
ShulkerBoxBlockEntity.updateAnimation
(World world, BlockPos pos, BlockState state) (package private) static void
VaultBlockEntity.Server.updateDisplayItem
(ServerWorld world, VaultState state, VaultConfig config, VaultSharedData sharedData, BlockPos pos) private static void
ShulkerBoxBlockEntity.updateNeighborStates
(World world, BlockPos pos, BlockState state) private static void
ConduitBlockEntity.updateTargetEntity
(World world, BlockPos pos, ConduitBlockEntity blockEntity) void
ViewerCountManager.updateViewerCount
(World world, BlockPos pos, BlockState state) static OptionalInt
SculkShriekerWarningManager.warnNearbyPlayers
(ServerWorld world, BlockPos pos, ServerPlayerEntity player) Modifier and TypeMethodDescriptionprivate static void
ConduitBlockEntity.attackHostileEntity
(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) StructureBlockBlockEntity.getStructureBox
(BlockPos pos, Stream<BlockPos> corners) private static void
ConduitBlockEntity.givePlayersEffects
(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static void
ConduitBlockEntity.openEye
(ConduitBlockEntity blockEntity, List<BlockPos> activatingBlocks) private static void
ConduitBlockEntity.spawnNautilusParticles
(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) private static boolean
ConduitBlockEntity.updateActivatingBlocks
(World world, BlockPos pos, List<BlockPos> activatingBlocks) ModifierConstructorDescriptionprotected
AbstractFurnaceBlockEntity
(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) BannerBlockEntity
(BlockPos pos, BlockState state) BannerBlockEntity
(BlockPos pos, BlockState state, DyeColor baseColor) BarrelBlockEntity
(BlockPos pos, BlockState state) BeaconBlockEntity
(BlockPos pos, BlockState state) BedBlockEntity
(BlockPos pos, BlockState state) BedBlockEntity
(BlockPos pos, BlockState state, DyeColor color) BeehiveBlockEntity
(BlockPos pos, BlockState state) BellBlockEntity
(BlockPos pos, BlockState state) BlastFurnaceBlockEntity
(BlockPos pos, BlockState state) BlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) BrewingStandBlockEntity
(BlockPos pos, BlockState state) BrushableBlockEntity
(BlockPos pos, BlockState state) CalibratedSculkSensorBlockEntity
(BlockPos pos, BlockState state) CampfireBlockEntity
(BlockPos pos, BlockState state) protected
ChestBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) ChestBlockEntity
(BlockPos pos, BlockState state) ChiseledBookshelfBlockEntity
(BlockPos pos, BlockState state) CommandBlockBlockEntity
(BlockPos pos, BlockState state) ComparatorBlockEntity
(BlockPos pos, BlockState state) ConduitBlockEntity
(BlockPos pos, BlockState state) CrafterBlockEntity
(BlockPos pos, BlockState state) CreakingHeartBlockEntity
(BlockPos pos, BlockState state) private
DaylightDetectorBlockEntity
(BlockPos pos, BlockState state) DecoratedPotBlockEntity
(BlockPos pos, BlockState state) protected
DispenserBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) DispenserBlockEntity
(BlockPos pos, BlockState state) DropperBlockEntity
(BlockPos pos, BlockState state) EnchantingTableBlockEntity
(BlockPos pos, BlockState state) EnderChestBlockEntity
(BlockPos pos, BlockState state) EndGatewayBlockEntity
(BlockPos pos, BlockState state) protected
EndPortalBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) EndPortalBlockEntity
(BlockPos pos, BlockState state) FurnaceBlockEntity
(BlockPos pos, BlockState state) HangingSignBlockEntity
(BlockPos pos, BlockState state) HopperBlockEntity
(BlockPos pos, BlockState state) JigsawBlockEntity
(BlockPos pos, BlockState state) JukeboxBlockEntity
(BlockPos pos, BlockState state) LecternBlockEntity
(BlockPos pos, BlockState state) protected
LockableContainerBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) protected
LootableContainerBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) MobSpawnerBlockEntity
(BlockPos pos, BlockState state) PistonBlockEntity
(BlockPos pos, BlockState state) PistonBlockEntity
(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) SculkCatalystBlockEntity
(BlockPos pos, BlockState state) protected
SculkSensorBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) SculkSensorBlockEntity
(BlockPos pos, BlockState state) SculkShriekerBlockEntity
(BlockPos pos, BlockState state) ShulkerBoxBlockEntity
(@Nullable DyeColor color, BlockPos pos, BlockState state) ShulkerBoxBlockEntity
(BlockPos pos, BlockState state) SignBlockEntity
(BlockEntityType type, BlockPos pos, BlockState state) SignBlockEntity
(BlockPos pos, BlockState state) SkullBlockEntity
(BlockPos pos, BlockState state) SmokerBlockEntity
(BlockPos pos, BlockState state) StructureBlockBlockEntity
(BlockPos pos, BlockState state) TrappedChestBlockEntity
(BlockPos pos, BlockState state) TrialSpawnerBlockEntity
(BlockPos pos, BlockState state) VaultBlockEntity
(BlockPos pos, BlockState state) -
Uses of BlockPos in net.minecraft.block.enums
Modifier and TypeMethodDescriptionprivate void
VaultState.ejectItem
(ServerWorld world, BlockPos pos, ItemStack stack, float pitchModifier) void
void
TrialSpawnerState.emitParticles
(World world, BlockPos pos, boolean ominous) TrialSpawnerState.getPosToSpawnItemSpawner
(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic, TrialSpawnerData data) TrialSpawnerState.getRandomEntity
(List<PlayerEntity> players, Set<UUID> entityUuids, TrialSpawnerLogic logic, BlockPos pos, ServerWorld world) protected void
VaultState.onChangedFrom
(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData) protected void
VaultState.onChangedTo
(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData, boolean ominous) void
VaultState.onStateChange
(ServerWorld world, BlockPos pos, VaultState newState, VaultConfig config, VaultSharedData sharedData, boolean ominous) private void
TrialSpawnerState.spawnOminousItemSpawner
(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic) (package private) TrialSpawnerState
TrialSpawnerState.tick
(BlockPos pos, TrialSpawnerLogic logic, ServerWorld world) VaultState.update
(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) private static VaultState
VaultState.updateActiveState
(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, double radius) -
Uses of BlockPos in net.minecraft.block.jukebox
Modifier and TypeMethodDescriptionprivate static void
JukeboxManager.spawnNoteParticles
(WorldAccess world, BlockPos pos) ModifierConstructorDescriptionJukeboxManager
(JukeboxManager.ChangeNotifier changeNotifier, BlockPos pos) -
Uses of BlockPos in net.minecraft.block.pattern
Modifier and TypeFieldDescriptionprivate final BlockPos
BlockPattern.Result.frontTopLeft
private final BlockPos
CachedBlockPosition.pos
Modifier and TypeFieldDescriptionprivate final LoadingCache
<BlockPos, CachedBlockPosition> BlockPattern.Result.cache
Modifier and TypeMethodDescriptionCachedBlockPosition.getBlockPos()
BlockPattern.Result.getFrontTopLeft()
protected static BlockPos
BlockPattern.translate
(BlockPos pos, Direction forwards, Direction up, int offsetLeft, int offsetDown, int offsetForwards) Modifier and TypeMethodDescriptionBlockPattern.searchAround
(WorldView world, BlockPos pos) private @Nullable BlockPattern.Result
BlockPattern.testTransform
(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache) BlockPattern.testTransform
(WorldView world, BlockPos frontTopLeft, Direction forwards, Direction up) protected static BlockPos
BlockPattern.translate
(BlockPos pos, Direction forwards, Direction up, int offsetLeft, int offsetDown, int offsetForwards) Modifier and TypeMethodDescriptionprivate @Nullable BlockPattern.Result
BlockPattern.testTransform
(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache) ModifierConstructorDescriptionCachedBlockPosition
(WorldView world, BlockPos pos, boolean forceLoad) Result
(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache, int width, int height, int depth) ModifierConstructorDescriptionResult
(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache, int width, int height, int depth) -
Uses of BlockPos in net.minecraft.block.piston
Modifier and TypeFieldDescriptionprivate final BlockPos
PistonHandler.posFrom
private final BlockPos
PistonHandler.posTo
Modifier and TypeMethodDescriptionprivate boolean
private boolean
PistonHandler.tryMoveAdjacentBlock
(BlockPos pos) ModifierConstructorDescriptionPistonHandler
(World world, BlockPos pos, Direction dir, boolean retracted) -
Uses of BlockPos in net.minecraft.block.spawner
Modifier and TypeMethodDescriptionstatic void
TrialSpawnerLogic.addDetectionParticles
(World world, BlockPos pos, Random random, int playerCount, ParticleEffect particle) static void
TrialSpawnerLogic.addEjectItemParticles
(World world, BlockPos pos, Random random) static void
TrialSpawnerLogic.addMobSpawnParticles
(World world, BlockPos pos, Random random, SimpleParticleType particle) static void
TrialSpawnerLogic.addTrialOmenParticles
(World world, BlockPos pos, Random random) boolean
MobSpawnerEntry.CustomSpawnRules.canSpawn
(BlockPos pos, ServerWorld world) void
MobSpawnerLogic.clientTick
(World world, BlockPos pos) EntityDetector.detect
(ServerWorld world, EntityDetector.Selector selector, BlockPos center, double radius, boolean spawner) void
TrialSpawnerLogic.ejectLootTable
(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable) int
TrialSpawnerData.getAdditionalPlayers
(BlockPos pos) TrialSpawnerData.getItemsToDropWhenOminous
(ServerWorld world, TrialSpawnerConfig config, BlockPos pos) private static long
TrialSpawnerData.getLootSeed
(ServerWorld world, BlockPos pos) MobSpawnerLogic.getRenderedEntity
(World world, BlockPos pos) private MobSpawnerEntry
MobSpawnerLogic.getSpawnEntry
(@Nullable World world, Random random, BlockPos pos) private boolean
MobSpawnerLogic.isPlayerInRange
(World world, BlockPos pos) void
MobSpawnerLogic.readNbt
(@Nullable World world, BlockPos pos, NbtCompound nbt) abstract void
MobSpawnerLogic.sendStatus
(World world, BlockPos pos, int status) void
MobSpawnerLogic.serverTick
(ServerWorld world, BlockPos pos) void
MobSpawnerLogic.setEntityId
(EntityType<?> type, @Nullable World world, Random random, BlockPos pos) void
TrialSpawnerLogic.setNotOminous
(ServerWorld world, BlockPos pos) void
TrialSpawnerLogic.setOminous
(ServerWorld world, BlockPos pos) protected void
MobSpawnerLogic.setSpawnEntry
(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) private static boolean
TrialSpawnerLogic.shouldRemoveMobFromData
(ServerWorld world, BlockPos pos, UUID uuid) void
TrialSpawnerLogic.tickClient
(World world, BlockPos pos, boolean ominous) void
TrialSpawnerLogic.tickServer
(ServerWorld world, BlockPos pos, boolean ominous) TrialSpawnerLogic.trySpawnMob
(ServerWorld world, BlockPos pos) void
TrialSpawnerData.updatePlayers
(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic) private void
MobSpawnerLogic.updateSpawns
(World world, BlockPos pos) -
Uses of BlockPos in net.minecraft.block.vault
Modifier and TypeMethodDescription(package private) void
VaultSharedData.updateConnectedPlayers
(ServerWorld world, BlockPos pos, VaultServerData serverData, VaultConfig config, double radius) -
Uses of BlockPos in net.minecraft.client
Modifier and TypeMethodDescriptionprivate void
Keyboard.copyBlock
(BlockState state, BlockPos pos, @Nullable NbtCompound nbt) -
Uses of BlockPos 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 BlockPos in net.minecraft.client.color.world
Modifier and TypeMethodDescriptionprivate static int
BiomeColors.getColor
(BlockRenderView world, BlockPos pos, ColorResolver resolver) static int
BiomeColors.getFoliageColor
(BlockRenderView world, BlockPos pos) static int
BiomeColors.getGrassColor
(BlockRenderView world, BlockPos pos) static int
BiomeColors.getWaterColor
(BlockRenderView world, BlockPos pos) -
Uses of BlockPos in net.minecraft.client.item
Modifier and TypeMethodDescriptionprivate float
CompassAnglePredicateProvider.getAngleTo
(Entity entity, long time, BlockPos pos) private double
CompassAnglePredicateProvider.getAngleTo
(Entity entity, BlockPos pos) -
Uses of BlockPos in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate BlockPos
ClientPlayerInteractionManager.currentBreakingPos
Modifier and TypeMethodDescriptionvoid
PendingUpdateManager.addPendingUpdate
(BlockPos pos, BlockState state, ClientPlayerEntity player) boolean
ClientPlayerInteractionManager.attackBlock
(BlockPos pos, Direction direction) boolean
ClientPlayerInteractionManager.breakBlock
(BlockPos pos) boolean
PendingUpdateManager.hasPendingUpdate
(BlockPos pos, BlockState state) private boolean
ClientPlayerInteractionManager.isCurrentlyBreaking
(BlockPos pos) void
DataQueryHandler.queryBlockNbt
(BlockPos pos, Consumer<NbtCompound> callback) boolean
ClientPlayerInteractionManager.updateBlockBreakingProgress
(BlockPos pos, Direction direction) private boolean
ClientPlayerEntity.wouldCollideAt
(BlockPos pos) -
Uses of BlockPos in net.minecraft.client.particle
Modifier and TypeMethodDescriptionvoid
ParticleManager.addBlockBreakingParticles
(BlockPos pos, Direction direction) void
ParticleManager.addBlockBreakParticles
(BlockPos pos, BlockState state) ModifierConstructorDescriptionBlockDustParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state, BlockPos blockPos) -
Uses of BlockPos 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, int color) static int
WorldRenderer.getLightmapCoordinates
(BlockRenderView world, BlockState state, BlockPos pos) static int
WorldRenderer.getLightmapCoordinates
(BlockRenderView world, BlockPos pos) private Biome.Precipitation
WeatherRendering.getPrecipitationAt
(World world, BlockPos pos) protected ChunkBuilder.BuiltChunk
BuiltChunkStorage.getRenderedChunk
(BlockPos blockPos) boolean
WorldRenderer.isRenderingReady
(BlockPos pos) void
WorldRenderer.scheduleBlockRerenderIfNeeded
(BlockPos pos, BlockState old, BlockState updated) private void
WorldRenderer.scheduleSectionRender
(BlockPos pos, boolean important) void
WorldRenderer.setBlockBreakingInfo
(int entityId, BlockPos pos, int stage) void
WorldRenderer.updateBlock
(BlockView world, BlockPos pos, BlockState oldState, BlockState newState, int flags) -
Uses of BlockPos in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionvoid
BlockModelRenderer.AmbientOcclusionCalculator.apply
(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] float2, BitSet bitSet, boolean bool) private float
FluidRenderer.calculateFluidHeight
(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos) float
BlockModelRenderer.BrightnessCache.getFloat
(BlockState state, BlockRenderView blockView, BlockPos pos) private float
FluidRenderer.getFluidHeight
(BlockRenderView world, Fluid fluid, 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) private int
FluidRenderer.getLight
(BlockRenderView world, BlockPos pos) private void
BlockModelRenderer.getQuadDimensions
(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, @org.jetbrains.annotations.Nullable float[] box, BitSet flags) 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.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) -
Uses of BlockPos 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) (package private) void
SignBlockEntityRenderer.renderText
(BlockPos pos, SignText signText, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int lineHeight, int lineWidth, boolean front) (package private) static boolean
SignBlockEntityRenderer.shouldRender
(BlockPos pos, int signColor) -
Uses of BlockPos in net.minecraft.client.render.chunk
Modifier and TypeFieldDescriptionprivate final Map
<BlockPos, BlockEntity> RenderedChunk.blockEntities
Modifier and TypeMethodDescriptionChunkBuilder.BuiltChunk.getOrigin()
ChunkBuilder.BuiltChunk.Task.getOrigin()
Modifier and TypeMethodDescriptionChunkRendererRegion.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.RenderedChunk.getBlockEntity
(BlockPos pos) ChunkRendererRegion.getBlockState
(BlockPos pos) Returns the block state atpos
.RenderedChunk.getBlockState
(BlockPos pos) int
ChunkRendererRegion.getColor
(BlockPos pos, ColorResolver colorResolver) ChunkRendererRegion.getFluidState
(BlockPos pos) Returns the fluid state atpos
.void
ChunkOcclusionDataBuilder.markClosed
(BlockPos pos) private static int
-
Uses of BlockPos in net.minecraft.client.render.debug
Modifier and TypeFieldDescriptionprivate final BlockPos
GoalSelectorDebugRenderer.Entity.entityPos
The field for theentityPos
record component.final BlockPos
VillageDebugRenderer.PointOfInterest.pos
Modifier and TypeFieldDescriptionprivate final Map
<BlockPos, BeeDebugRenderer.Hive> BeeDebugRenderer.hives
private final Map
<BlockPos, GameTestDebugRenderer.Marker> GameTestDebugRenderer.markers
NeighborUpdateDebugRenderer.neighborUpdates
private final Map
<BlockPos, VillageDebugRenderer.PointOfInterest> VillageDebugRenderer.pointsOfInterest
WorldGenAttemptDebugRenderer.positions
private Collection
<BlockPos> RaidCenterDebugRenderer.raidCenters
Modifier and TypeMethodDescriptionGoalSelectorDebugRenderer.Entity.entityPos()
Returns the value of theentityPos
record component.Modifier and TypeMethodDescriptionBeeDebugRenderer.getBeesByHive()
BeeDebugRenderer.getBlacklistingBees()
VillageDebugRenderer.getGhostPointsOfInterest()
Modifier and TypeMethodDescriptionvoid
WorldGenAttemptDebugRenderer.addBox
(BlockPos pos, float size, float red, float green, float blue, float alpha) void
void
NeighborUpdateDebugRenderer.addNeighborUpdate
(long time, BlockPos pos) static void
DebugRenderer.drawBlockBox
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, float red, float green, float blue, float alpha) static void
DebugRenderer.drawBox
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, float expand, float red, float green, float blue, float alpha) static void
DebugRenderer.drawBox
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos1, BlockPos pos2, float red, float green, float blue, float alpha) private void
VillageDebugRenderer.drawGhostPointOfInterest
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, List<String> brains) private static void
BeeDebugRenderer.drawHive
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos) private void
BeeDebugRenderer.drawHiveBees
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, List<String> bees) private static void
VillageDebugRenderer.drawPointOfInterest
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos) private static void
RaidCenterDebugRenderer.drawRaidCenter
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos) private static void
BeeDebugRenderer.drawString
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, BlockPos pos, int line, int color) private static void
RaidCenterDebugRenderer.drawString
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, BlockPos pos, int color) private static void
VillageDebugRenderer.drawString
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, BlockPos pos, int offsetY, int color) private Collection
<UUID> BeeDebugRenderer.getBeesForHive
(BlockPos hivePos) private Collection
<UUID> VillageDebugRenderer.getBrainsContainingPointOfInterest
(BlockPos pointOfInterest) private Collection
<UUID> VillageDebugRenderer.getBrainsContainingPotentialJobSite
(BlockPos potentialJobSite) private static float
PathfindingDebugRenderer.getManhattanDistance
(BlockPos pos, double x, double y, double z) private String
BeeDebugRenderer.getPositionString
(DebugBeeCustomPayload.Bee bee, BlockPos pos) void
VillageDebugRenderer.removePointOfInterest
(BlockPos pos) private void
SupportingBlockDebugRenderer.renderBlockHighlight
(BlockPos pos, MatrixStack matrices, double cameraX, double cameraY, double cameraZ, VertexConsumerProvider vertexConsumers, double dilation, float red, float green, float blue) private void
GameTestDebugRenderer.renderMarker
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, GameTestDebugRenderer.Marker marker) void
VillageDebugRenderer.setFreeTicketCount
(BlockPos pos, int freeTicketCount) void
GoalSelectorDebugRenderer.setGoalSelectorList
(int index, BlockPos pos, List<DebugGoalSelectorCustomPayload.Goal> goals) Modifier and TypeMethodDescriptionvoid
RaidCenterDebugRenderer.setRaidCenters
(Collection<BlockPos> raidCenters) ModifierConstructorDescription(package private)
Entity
(BlockPos blockPos, List<DebugGoalSelectorCustomPayload.Goal> list) PointOfInterest
(BlockPos pos, String type, int freeTicketCount) -
Uses of BlockPos in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprotected int
AllayEntityRenderer.getBlockLight
(AllayEntity allayEntity, BlockPos blockPos) protected int
BlazeEntityRenderer.getBlockLight
(BlazeEntity blazeEntity, BlockPos blockPos) protected int
DisplayEntityRenderer.getBlockLight
(T t, BlockPos blockPos) protected int
DragonFireballEntityRenderer.getBlockLight
(DragonFireballEntity dragonFireballEntity, BlockPos blockPos) protected int
EntityRenderer.getBlockLight
(T entity, BlockPos pos) protected int
ExperienceOrbEntityRenderer.getBlockLight
(ExperienceOrbEntity experienceOrbEntity, BlockPos blockPos) protected int
FlyingItemEntityRenderer.getBlockLight
(T entity, BlockPos pos) protected int
GlowSquidEntityRenderer.getBlockLight
(GlowSquidEntity glowSquidEntity, BlockPos blockPos) protected int
ItemFrameEntityRenderer.getBlockLight
(T t, BlockPos blockPos) protected int
MagmaCubeEntityRenderer.getBlockLight
(MagmaCubeEntity magmaCubeEntity, BlockPos blockPos) protected int
ShulkerBulletEntityRenderer.getBlockLight
(ShulkerBulletEntity shulkerBulletEntity, BlockPos blockPos) protected int
VexEntityRenderer.getBlockLight
(VexEntity vexEntity, BlockPos blockPos) protected int
WitherEntityRenderer.getBlockLight
(WitherEntity witherEntity, BlockPos blockPos) protected int
WitherSkullEntityRenderer.getBlockLight
(WitherSkullEntity witherSkullEntity, BlockPos blockPos) protected int
DisplayEntityRenderer.getSkyLight
(T t, BlockPos blockPos) protected int
EntityRenderer.getSkyLight
(T entity, BlockPos pos) private static void
EntityRenderDispatcher.renderShadowPart
(MatrixStack.Entry entry, VertexConsumer vertices, Chunk chunk, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity) -
Uses of BlockPos in net.minecraft.client.render.entity.state
Modifier and TypeFieldDescriptionFallingBlockEntityRenderState.currentPos
FallingBlockEntityRenderState.fallingBlockPos
Modifier and TypeMethodDescriptionFallingBlockEntityRenderState.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.FallingBlockEntityRenderState.getBlockState
(BlockPos pos) Returns the block state atpos
.int
FallingBlockEntityRenderState.getColor
(BlockPos pos, ColorResolver colorResolver) FallingBlockEntityRenderState.getFluidState
(BlockPos pos) Returns the fluid state atpos
. -
Uses of BlockPos in net.minecraft.client.sound
ModifierConstructorDescriptionPositionedSoundInstance
(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos) -
Uses of BlockPos 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 BlockPos in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final ToIntFunction
<BlockPos> BiomeColorCache.colorFactory
private final Map
<BlockPos, SoundInstance> WorldEventHandler.playingSongs
Modifier and TypeMethodDescriptionvoid
ClientWorld.addBlockBreakParticles
(BlockPos pos, BlockState state) private void
ClientWorld.addParticle
(BlockPos pos, BlockState state, ParticleEffect parameters, boolean solidBelow) private void
ClientWorld.addParticle
(BlockPos pos, ParticleEffect parameters, VoxelShape shape, double y) int
ClientWorld.calculateColor
(BlockPos pos, ColorResolver colorResolver) int
BiomeColorCache.getBiomeColor
(BlockPos pos) int
ClientWorld.getColor
(BlockPos pos, ColorResolver colorResolver) void
ClientWorld.handleBlockUpdate
(BlockPos pos, BlockState state, int flags) private void
WorldEventHandler.playJukeboxSong
(RegistryEntry<JukeboxSong> song, BlockPos jukeboxPos) void
WorldEventHandler.processGlobalEvent
(int eventId, BlockPos pos, int data) void
ClientWorld.processPendingUpdate
(BlockPos pos, BlockState state, Vec3d playerPos) void
WorldEventHandler.processWorldEvent
(int eventId, BlockPos pos, int data) void
ClientWorld.scheduleBlockRerenderIfNeeded
(BlockPos pos, BlockState old, BlockState updated) void
ClientWorld.setBlockBreakingInfo
(int entityId, BlockPos pos, int progress) boolean
ClientWorld.setBlockState
(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.void
ClientWorld.Properties.setSpawnPos
(BlockPos pos, float angle) void
ClientWorld.setSpawnPos
(BlockPos pos, float angle) private void
WorldEventHandler.shootParticles
(int direction, BlockPos pos, Random random, SimpleParticleType particleType) private void
WorldEventHandler.stopJukeboxSong
(BlockPos jukeboxPos) private void
WorldEventHandler.stopJukeboxSongAndUpdate
(BlockPos jukeboxPos) void
ClientWorld.syncGlobalEvent
(int eventId, BlockPos pos, int data) void
ClientWorld.syncWorldEvent
(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) private void
WorldEventHandler.updateEntitiesForSong
(World world, BlockPos pos, boolean playing) void
ClientWorld.updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) -
Uses of BlockPos in net.minecraft.command
-
Uses of BlockPos in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic BlockPos
BlockPosArgumentType.getBlockPos
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockPos
BlockPosArgumentType.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockPos
BlockPosArgumentType.getLoadedBlockPos
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name) static BlockPos
BlockPosArgumentType.getValidBlockPos
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) default BlockPos
PosArgument.toAbsoluteBlockPos
(ServerCommandSource source) Modifier and TypeMethodDescriptionboolean
BlockStateArgument.setBlockState
(ServerWorld world, BlockPos pos, int flags) boolean
BlockStateArgument.test
(ServerWorld world, BlockPos pos) -
Uses of BlockPos in net.minecraft.component.type
Modifier and TypeMethodDescriptionstatic ActionResult
JukeboxPlayableComponent.tryPlayStack
(World world, BlockPos pos, ItemStack stack, PlayerEntity player) -
Uses of BlockPos in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate BlockPos
Entity.blockPos
private BlockPos
LivingEntity.lastBlockPos
Modifier and TypeFieldDescriptionprotected static final TrackedData
<BlockPos> FallingBlockEntity.BLOCK_POS
LivingEntity.climbingPos
private static final TrackedData
<Optional<BlockPos>> LivingEntity.SLEEPING_POSITION
Entity.supportingBlockPos
Leashable.LeashData.unresolvedLeashData
Modifier and TypeMethodDescriptiondefault BlockPos
SpawnLocation.adjustPosition
(WorldView world, BlockPos pos) private BlockPos
LightningEntity.getAffectedBlockPos()
Entity.getBlockPos()
FallingBlockEntity.getFallingBlockPos()
Entity.getLandingPos()
Deprecated.protected BlockPos
Entity.getPosWithYOffset
(float offset) Entity.getSteppingPos()
Returns the stepping position.protected BlockPos
Entity.getStepSoundPos
(BlockPos pos) Entity.getVelocityAffectingPos()
ExperienceOrbEntity.getVelocityAffectingPos()
ItemEntity.getVelocityAffectingPos()
Entity.getWorldSpawnPos
(ServerWorld world, BlockPos basePos) Modifier and TypeMethodDescriptionLightningEntity.cleanOxidationAround
(World world, BlockPos pos) LivingEntity.getClimbingPos()
LivingEntity.getSleepingPosition()
Modifier and TypeMethodDescriptionvoid
Entity.addPortalChunkTicketAt
(BlockPos pos) default BlockPos
SpawnLocation.adjustPosition
(WorldView world, BlockPos pos) private void
Entity.applyMoveEffect
(Entity.MoveEffect moveEffect, Vec3d movement, BlockPos landingPos, BlockState landingState) protected void
LivingEntity.applyMovementEffects
(ServerWorld world, BlockPos pos) private boolean
LivingEntity.canEnterTrapdoor
(BlockPos pos, BlockState state) boolean
Entity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosion
from this entity can destroystate
.boolean
Entity.canModifyAt
(ServerWorld world, BlockPos pos) Returns whether the entity can modify the world atpos
.static <T extends Entity>
booleanSpawnRestriction.canSpawn
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
LargeEntitySpawnHelper.Requirements.canSpawnOn
(ServerWorld world, BlockPos pos, BlockState state, BlockPos abovePos, BlockState aboveState) private static void
LightningEntity.cleanOxidation
(World world, BlockPos pos) LightningEntity.cleanOxidationAround
(World world, BlockPos pos) private static void
LightningEntity.cleanOxidationAround
(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) private boolean
Entity.collides
(Vec3d oldPos, Vec3d newPos, BlockPos blockPos, VoxelShape shape) boolean
Entity.collidesWithStateAtPos
(BlockPos pos, BlockState state) Returns whether the entity collides with the blockstate
atpos
.EntityType.create
(ServerWorld world, @Nullable Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY) protected void
Entity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
LivingEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.Dismounting.findRespawnPos
(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) static double
Dismounting.getCeilingHeight
(BlockPos pos, int maxDistance, Function<BlockPos, VoxelShape> collisionShapeGetter) static VoxelShape
Dismounting.getCollisionShape
(BlockView world, BlockPos pos) float
Entity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity.protected static double
EntityType.getOriginY
(WorldView world, BlockPos pos, boolean invertY, Box boundingBox) protected BlockPos
Entity.getStepSoundPos
(BlockPos pos) Entity.getWorldSpawnPos
(ServerWorld world, BlockPos basePos) void
EyeOfEnderEntity.initTargetPos
(BlockPos pos) Sets where the eye will fly towards.static boolean
SpawnRestriction.isSpawnPosAllowed
(EntityType<?> type, WorldView world, BlockPos pos) boolean
SpawnLocation.isSpawnPositionOk
(WorldView world, BlockPos pos, @Nullable EntityType<?> entityType) boolean
Entity.isSupportedBy
(BlockPos pos) void
FallingBlockEntity.onDestroyedOnLanding
(Block block, BlockPos pos) protected void
Entity.playStepSound
(BlockPos pos, BlockState state) private void
Entity.playStepSounds
(BlockPos pos, BlockState state) void
Entity.refreshPositionAndAngles
(BlockPos pos, float yaw, float pitch) Sets the entity's position, yaw, and pitch, and refreshes several position-related fields.void
FallingBlockEntity.setFallingBlockPos
(BlockPos pos) void
LivingEntity.setNearbySongPlaying
(BlockPos songPosition, boolean playing) private void
LivingEntity.setPositionInBed
(BlockPos pos) void
LivingEntity.setSleepingPosition
(BlockPos pos) void
EntityType.spawn
(ServerWorld world, @Nullable Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY) EntityType.spawn
(ServerWorld world, BlockPos pos, SpawnReason reason) static FallingBlockEntity
FallingBlockEntity.spawnFromBlock
(World world, BlockPos pos, BlockState state) Spawns a falling block entity atpos
from the blockstate
.EntityType.spawnFromItemStack
(ServerWorld world, @Nullable ItemStack stack, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY) private boolean
Entity.stepOnBlock
(BlockPos pos, BlockState state, boolean playSound, boolean emitEvent, Vec3d movement) boolean
SpawnRestriction.SpawnPredicate.test
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) LargeEntitySpawnHelper.trySpawnAt
(EntityType<T> entityType, SpawnReason reason, ServerWorld world, BlockPos pos, int tries, int horizontalRange, int verticalRange, LargeEntitySpawnHelper.Requirements requirements) void
Entity.tryUsePortal
(Portal portal, BlockPos pos) Modifier and TypeMethodDescriptionstatic double
Dismounting.getCeilingHeight
(BlockPos pos, int maxDistance, Function<BlockPos, VoxelShape> collisionShapeGetter) -
Uses of BlockPos in net.minecraft.entity.ai
Modifier and TypeMethodDescriptionstatic BlockPos
Creates a fuzzy offset position within the given horizontal and vertical ranges.FuzzyPositions.localFuzz
(Random random, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double angleRange) Tries to create a fuzzy offset position from the direction and the angle range given.static BlockPos
FuzzyPositions.towardTarget
(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz) FuzzyTargeting.towardTarget
(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos) Paths to a random reachable position approaching an entity's chosenposition target
.NoPenaltySolidTargeting.tryMake
(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle, boolean posTargetInRange) NoPenaltyTargeting.tryMake
(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz) static BlockPos
Returns theextraAbove + 1
th closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.static BlockPos
Returns the closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.FuzzyTargeting.validate
(PathAwareEntity entity, BlockPos pos) Checks whether a given position is a valid pathable target.Modifier and TypeMethodDescriptionstatic boolean
NavigationConditions.hasPathfindingPenalty
(PathAwareEntity entity, BlockPos pos) static boolean
NavigationConditions.isHeightInvalid
(BlockPos pos, PathAwareEntity entity) static boolean
NavigationConditions.isInvalidPosition
(EntityNavigation navigation, BlockPos pos) static boolean
NavigationConditions.isPositionTargetOutOfWalkRange
(boolean posTargetInRange, PathAwareEntity entity, BlockPos pos) static boolean
NavigationConditions.isSolidAt
(PathAwareEntity entity, BlockPos pos) static boolean
NavigationConditions.isWaterAt
(PathAwareEntity entity, BlockPos pos) static BlockPos
FuzzyPositions.towardTarget
(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz) FuzzyTargeting.towardTarget
(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos) Paths to a random reachable position approaching an entity's chosenposition target
.NoPenaltyTargeting.tryMake
(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz) static BlockPos
Returns theextraAbove + 1
th closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.static BlockPos
Returns the closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.FuzzyTargeting.validate
(PathAwareEntity entity, BlockPos pos) Checks whether a given position is a valid pathable target.Modifier and TypeMethodDescriptionFuzzyTargeting.find
(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer) Paths to a random reachable position with positive path-finding favorability computed by a given function.FuzzyPositions.guessBest
(Supplier<BlockPos> factory, ToDoubleFunction<BlockPos> scorer) Returns thebottom center
of a highest scoring position, as determined byscorer
, out of 10 tries on positions obtained fromfactory
.FuzzyPositions.guessBest
(Supplier<BlockPos> factory, ToDoubleFunction<BlockPos> scorer) Returns thebottom center
of a highest scoring position, as determined byscorer
, out of 10 tries on positions obtained fromfactory
.FuzzyPositions.guessBestPathTarget
(PathAwareEntity entity, Supplier<BlockPos> factory) CallsFuzzyPositions.guessBest(Supplier, ToDoubleFunction)
with theentity
's path finding favor as thescorer
.static BlockPos
Returns theextraAbove + 1
th closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.static BlockPos
Returns the closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
. -
Uses of BlockPos in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionstatic final MemoryModuleType
<BlockPos> MemoryModuleType.BREEZE_JUMP_TARGET
static final MemoryModuleType
<BlockPos> MemoryModuleType.CELEBRATE_LOCATION
static final MemoryModuleType
<BlockPos> MemoryModuleType.DISTURBANCE_LOCATION
static final MemoryModuleType
<BlockPos> MemoryModuleType.NEAREST_BED
static final MemoryModuleType
<BlockPos> MemoryModuleType.NEAREST_REPELLENT
static final MemoryModuleType
<BlockPos> MemoryModuleType.SNIFFER_SNIFFING_TARGET
Modifier and TypeMethodDescriptionBlockPosLookTarget.getBlockPos()
EntityLookTarget.getBlockPos()
LookTarget.getBlockPos()
ModifierConstructorDescriptionBlockPosLookTarget
(BlockPos blockPos) WalkTarget
(BlockPos pos, float speed, int completionRange) -
Uses of BlockPos in net.minecraft.entity.ai.brain.sensor
Modifier and TypeMethodDescriptionHoglinSpecificSensor.findNearestWarpedFungus
(ServerWorld world, HoglinEntity hoglin) PiglinSpecificSensor.findPiglinRepellent
(ServerWorld world, LivingEntity entity) Modifier and TypeMethodDescriptionprivate static boolean
PiglinSpecificSensor.isPiglinRepellent
(ServerWorld world, BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionJumpInBedTask.bedPos
FarmerVillagerTask.currentTarget
private final BlockPos
PrepareRamTask.Ram.end
MoveToTargetTask.lookTargetPos
private final BlockPos
LongJumpTask.Target.pos
private final BlockPos
PrepareRamTask.Ram.start
Modifier and TypeFieldDescriptionprivate final BiPredicate
<E, BlockPos> LongJumpTask.jumpToPredicate
BoneMealTask.pos
FarmerVillagerTask.targetPositions
Modifier and TypeMethodDescriptionFarmerVillagerTask.chooseRandomTarget
(ServerWorld world) private static BlockPos
PrepareRamTask.Ram.getEnd()
LongJumpTask.Target.getPos()
BreezeJumpTask.getPosToJumpTo
(LivingEntity breeze, Vec3d pos) PrepareRamTask.Ram.getStart()
Modifier and TypeMethodDescriptionBoneMealTask.findBoneMealPos
(ServerWorld world, VillagerEntity entity) FleeTask.findClosestWater
(BlockView world, Entity entity) PrepareRamTask.findRamStart
(PathAwareEntity entity, LivingEntity target) JumpInBedTask.getNearestBed
(MobEntity mob) VillagerBreedTask.getReachableHome
(ServerWorld world, VillagerEntity villager) Modifier and TypeMethodDescriptionprivate Vec3d
PrepareRamTask.calculateRamTarget
(BlockPos start, BlockPos end) private boolean
BoneMealTask.canBoneMeal
(BlockPos pos, ServerWorld world) private boolean
LongJumpTask.canJumpTo
(ServerWorld world, E entity, BlockPos pos) private boolean
PrepareRamTask.canReach
(PathAwareEntity entity, BlockPos target) private boolean
VillagerBreedTask.canReachHome
(VillagerEntity villager, BlockPos pos, RegistryEntry<PointOfInterestType> poiType) private static boolean
TakeJobSiteTask.canReachJobSite
(PathAwareEntity entity, BlockPos pos, PointOfInterestType poiType) private static boolean
TakeJobSiteTask.canUseJobSite
(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos) private static BlockPos
private static boolean
OpenDoorsTask.hasOtherMobReachedDoor
(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> otherMobs) private static boolean
OpenDoorsTask.hasReached
(Brain<?> brain, BlockPos pos) private boolean
JumpInBedTask.isBedAt
(ServerWorld world, BlockPos pos) private static boolean
ForgetCompletedPointOfInterestTask.isBedOccupiedByOthers
(ServerWorld world, BlockPos pos, LivingEntity entity) static boolean
SeekSkyTask.isSkyVisible
(ServerWorld world, LivingEntity entity, BlockPos pos) private boolean
FarmerVillagerTask.isSuitableTarget
(BlockPos pos, ServerWorld world) private void
VillagerBreedTask.setChildHome
(ServerWorld world, VillagerEntity child, BlockPos pos) private void
JumpInBedTask.setWalkTarget
(MobEntity mob, BlockPos pos) static <E extends MobEntity>
booleanLongJumpTask.shouldJumpTo
(E entity, BlockPos pos) OpenDoorsTask.storePos
(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos) private void
FarmerWorkTask.syncComposterEvent
(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState) static void
TargetUtil.walkTowards
(LivingEntity entity, BlockPos target, float speed, int completionRange) Modifier and TypeMethodDescriptionstatic <E extends MobEntity>
SingleTickTask<E> WalkTowardsFuzzyPosTask.create
(MemoryModuleType<BlockPos> posModule, int completionRange, float speed) static Task
<PathAwareEntity> GoToRememberedPositionTask.createPosBased
(MemoryModuleType<BlockPos> posModule, float speed, int range, boolean requiresWalkTarget) FindPointOfInterestTask.findPathToPoi
(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) ModifierConstructorDescriptionBiasedLongJumpTask
(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, TagKey<Block> favoredBlocks, float biasChance, BiPredicate<E, BlockPos> jumpToPredicate) LongJumpTask
(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, BiPredicate<E, BlockPos> jumpToPredicate) -
Uses of BlockPos in net.minecraft.entity.ai.goal
Modifier and TypeFieldDescriptionprotected BlockPos
DoorInteractGoal.doorPos
private BlockPos
MoveThroughVillageGoal.target
protected BlockPos
MoveToTargetPosGoal.targetPos
GoToVillageGoal.targetPosition
Modifier and TypeMethodDescriptionIronGolemWanderAroundGoal.findRandomPosInChunk
(ChunkSectionPos pos) protected BlockPos
MoveToTargetPosGoal.getTargetPos()
EscapeDangerGoal.locateClosestWater
(BlockView world, Entity entity, int rangeX) StepAndDestroyBlockGoal.tweakToProperPos
(BlockPos pos, BlockView world) Modifier and TypeMethodDescriptionprivate boolean
DolphinJumpGoal.isAirAbove
(BlockPos pos, int offsetX, int offsetZ, int multiplier) private boolean
protected boolean
CatSitOnBlockGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
GoToBedAndSleepGoal.isTargetPos
(WorldView world, BlockPos pos) protected abstract boolean
MoveToTargetPosGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
StepAndDestroyBlockGoal.isTargetPos
(WorldView world, BlockPos pos) private boolean
void
StepAndDestroyBlockGoal.onDestroyBlock
(World world, BlockPos pos) private boolean
MoveThroughVillageGoal.shouldVisit
(BlockPos pos) void
StepAndDestroyBlockGoal.tickStepping
(WorldAccess world, BlockPos pos) StepAndDestroyBlockGoal.tweakToProperPos
(BlockPos pos, BlockView world) -
Uses of BlockPos in net.minecraft.entity.ai.pathing
Modifier and TypeFieldDescriptionEntityNavigation.currentTarget
private final BlockPos
PathContext.entityPos
private final BlockPos
Path.target
SpiderNavigation.targetPos
Modifier and TypeMethodDescriptionPathNode.getBlockPos()
Path.getCurrentNodePos()
PathContext.getEntityPos()
Path.getNodePos
(int index) Path.getTarget()
EntityNavigation.getTargetPos()
Modifier and TypeMethodDescriptionBirdPathNodeMaker.getPotentialEscapePositions
(MobEntity entity) Returns the iterable of positions that the entity should try to pathfind to when escaping.Modifier and TypeMethodDescriptionprotected boolean
BirdPathNodeMaker.canPathThrough
(BlockPos pos) protected boolean
LandPathNodeMaker.canPathThrough
(BlockPos pos) private PathNodeType
private Path
PathNodeNavigator.createPath
(PathNode endNode, BlockPos target, boolean reachesTarget) EntityNavigation.findPathTo
(BlockPos target, int distance) EntityNavigation.findPathTo
(BlockPos target, int minDistance, int maxDistance) MobNavigation.findPathTo
(BlockPos target, int distance) SpiderNavigation.findPathTo
(BlockPos target, int distance) PathContext.getBlockState
(BlockPos pos) protected static PathNodeType
LandPathNodeMaker.getCommonNodeType
(BlockView world, BlockPos pos) PathNodeMaker.getDefaultNodeType
(MobEntity entity, BlockPos pos) float
PathNode.getDistance
(BlockPos pos) protected double
static double
static PathNodeType
LandPathNodeMaker.getLandNodeType
(MobEntity entity, BlockPos pos) float
PathNode.getManhattanDistance
(BlockPos pos) protected PathNode
float
PathNode.getSquaredDistance
(BlockPos pos) protected PathNode
void
PathNodeTypeCache.invalidate
(BlockPos pos) boolean
AmphibiousSwimNavigation.isValidPosition
(BlockPos pos) boolean
BirdNavigation.isValidPosition
(BlockPos pos) boolean
EntityNavigation.isValidPosition
(BlockPos pos) boolean
SwimNavigation.isValidPosition
(BlockPos pos) boolean
EntityNavigation.shouldRecalculatePath
(BlockPos pos) Modifier and TypeMethodDescriptionEntityNavigation.findPathTo
(Set<BlockPos> positions, int distance) EntityNavigation.findPathTo
(Set<BlockPos> positions, int range, boolean useHeadPos, int distance) EntityNavigation.findPathToAny
(Set<BlockPos> positions, int range, boolean useHeadPos, int distance, float followRange) EntityNavigation.findPathToAny
(Stream<BlockPos> positions, int distance) PathNodeNavigator.findPathToAny
(PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier) PathNodeNavigator.findPathToAny
(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier) -
Uses of BlockPos in net.minecraft.entity.boss.dragon
Modifier and TypeFieldDescriptionEnderDragonFight.exitPortalLocation
private BlockPos
EnderDragonEntity.fightOrigin
private final BlockPos
EnderDragonFight.origin
Modifier and TypeFieldDescriptionEnderDragonFight.Data.exitPortalLocation
The field for theexitPortalLocation
record component.Modifier and TypeMethodDescriptionEnderDragonFight.Data.exitPortalLocation()
Returns the value of theexitPortalLocation
record component.Modifier and TypeMethodDescriptionvoid
EnderDragonEntity.crystalDestroyed
(ServerWorld world, EndCrystalEntity crystal, BlockPos pos, DamageSource source) private void
EnderDragonFight.generateEndGateway
(BlockPos pos) abstract void
EnderDragonSpawnState.run
(ServerWorld world, EnderDragonFight fight, List<EndCrystalEntity> crystals, int tick, BlockPos pos) void
EnderDragonEntity.setFightOrigin
(BlockPos fightOrigin) ModifierConstructorDescriptionEnderDragonFight
(ServerWorld world, long gatewaysSeed, EnderDragonFight.Data data, BlockPos origin) -
Uses of BlockPos in net.minecraft.entity.boss.dragon.phase
Modifier and TypeMethodDescriptionvoid
AbstractPhase.crystalDestroyed
(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player) void
HoldingPatternPhase.crystalDestroyed
(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player) void
Phase.crystalDestroyed
(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player) -
Uses of BlockPos in net.minecraft.entity.data
Modifier and TypeFieldDescriptionstatic final TrackedDataHandler
<BlockPos> TrackedDataHandlerRegistry.BLOCK_POS
static final TrackedDataHandler
<Optional<BlockPos>> TrackedDataHandlerRegistry.OPTIONAL_BLOCK_POS
-
Uses of BlockPos in net.minecraft.entity.decoration
Modifier and TypeFieldDescriptionprivate static final TrackedData
<Optional<BlockPos>> EndCrystalEntity.BEAM_TARGET
Modifier and TypeMethodDescriptionBlockAttachedEntity.getAttachedBlockPos()
EndCrystalEntity.getBeamTarget()
Modifier and TypeMethodDescriptionprotected abstract Box
AbstractDecorationEntity.calculateBoundingBox
(BlockPos pos, Direction side) protected Box
ItemFrameEntity.calculateBoundingBox
(BlockPos pos, Direction side) static LeashKnotEntity
LeashKnotEntity.getOrCreate
(World world, BlockPos pos) void
EndCrystalEntity.setBeamTarget
(@Nullable BlockPos beamTarget) ModifierConstructorDescriptionprotected
AbstractDecorationEntity
(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) protected
BlockAttachedEntity
(EntityType<? extends BlockAttachedEntity> type, World world, BlockPos attachedBlockPos) GlowItemFrameEntity
(World world, BlockPos pos, Direction facing) ItemFrameEntity
(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing) ItemFrameEntity
(World world, BlockPos pos, Direction facing) LeashKnotEntity
(World world, BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.decoration.painting
Modifier and TypeMethodDescriptionprotected Box
PaintingEntity.calculateBoundingBox
(BlockPos pos, Direction side) static Optional
<PaintingEntity> PaintingEntity.placePainting
(World world, BlockPos pos, Direction facing) ModifierConstructorDescriptionprivate
PaintingEntity
(World world, BlockPos pos) PaintingEntity
(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of BlockPos in net.minecraft.entity.effect
Modifier and TypeMethodDescriptionprivate void
WeavingStatusEffect.tryPlaceCobweb
(ServerWorld world, Random random, BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionVexEntity.bounds
(package private) BlockPos
PhantomEntity.circlingCenter
TransientCreakingEntity.heartPos
PatrolEntity.patrolTarget
private BlockPos
MobEntity.positionTarget
ShulkerEntity.prevAttachedBlock
Modifier and TypeMethodDescriptionVexEntity.getBounds()
PatrolEntity.getPatrolTarget()
Returns the position this patrol entity is walking to.MobEntity.getPositionTarget()
Modifier and TypeMethodDescriptionvoid
WardenEntity.VibrationCallback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
WardenEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.static boolean
MagmaCubeEntity.canMagmaCubeSpawn
(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
MobEntity.canMobSpawn
(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) private boolean
EndermanEntity.PlaceBlockGoal.canPlaceOn
(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos) static boolean
DrownedEntity.canSpawn
(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
EndermiteEntity.canSpawn
(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
GhastEntity.canSpawn
(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
GuardianEntity.canSpawn
(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HoglinEntity.canSpawn
(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HuskEntity.canSpawn
(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
PatrolEntity.canSpawn
(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
PiglinEntity.canSpawn
(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
SilverfishEntity.canSpawn
(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
SkeletonHorseEntity.canSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
SlimeEntity.canSpawn
(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
StrayEntity.canSpawn
(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
WaterCreatureEntity.canSpawn
(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
ZombieHorseEntity.canSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
ZombifiedPiglinEntity.canSpawn
(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HostileEntity.canSpawnIgnoreLightLevel
(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HostileEntity.canSpawnInDark
(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) (package private) boolean
protected void
FlyingEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.ShulkerEntity.findAttachSide
(BlockPos pos) float
CreakingEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
GiantEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
GuardianEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
HoglinEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
HostileEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
PathAwareEntity.getPathfindingFavor
(BlockPos pos) float
PathAwareEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
PillagerEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
SilverfishEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
WardenEntity.getPathfindingFavor
(BlockPos pos, WorldView world) private boolean
ShulkerEntity.isInvalidPosition
(BlockPos pos) boolean
MobEntity.isInWalkTargetRange
(BlockPos pos) static boolean
HostileEntity.isSpawnDark
(ServerWorldAccess world, BlockPos pos, Random random) protected boolean
DrownedEntity.LeaveWaterGoal.isTargetPos
(WorldView world, BlockPos pos) private static boolean
DrownedEntity.isValidSpawnDepth
(WorldAccess world, BlockPos pos) (package private) static boolean
HoglinBrain.isWarpedFungusAround
(HoglinEntity hoglin, BlockPos pos) static void
WardenBrain.lookAtDisturbance
(WardenEntity warden, BlockPos pos) void
ZombieEntity.DestroyEggGoal.onDestroyBlock
(World world, BlockPos pos) protected void
AbstractSkeletonEntity.playStepSound
(BlockPos pos, BlockState state) protected void
CreakingEntity.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
void
TransientCreakingEntity.setHeartPos
(BlockPos heartPos) void
PatrolEntity.setPatrolTarget
(BlockPos targetPos) void
MobEntity.setPositionTarget
(BlockPos target, int range) void
ZombieEntity.DestroyEggGoal.tickStepping
(WorldAccess world, BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionCatEntity.SleepWithOwnerGoal.bedPos
BeeEntity.flowerPos
BatEntity.hangingPosition
BeeEntity.hivePos
AllayEntity.jukeboxPos
ParrotEntity.songSource
WanderingTraderEntity.wanderTarget
Modifier and TypeFieldDescriptionprivate static final TrackedData
<BlockPos> TurtleEntity.HOME_POS
BeeEntity.MoveToHiveGoal.possibleHives
private static final TrackedData
<BlockPos> TurtleEntity.TRAVEL_POS
private static final TrackedData
<BlockPos> DolphinEntity.TREASURE_POS
Modifier and TypeMethodDescriptionprivate BlockPos
SnifferEntity.getDigPos()
BeeEntity.getFlowerPos()
BeeEntity.getHivePos()
(package private) BlockPos
TurtleEntity.getHomePos()
StriderEntity.GoBackToLavaGoal.getTargetPos()
(package private) BlockPos
TurtleEntity.getTravelPos()
DolphinEntity.getTreasurePos()
WanderingTraderEntity.getWanderTarget()
Modifier and TypeMethodDescriptionSnifferEntity.findSniffingTargetPos()
BeeEntity.PollinateGoal.getFlower()
BeeEntity.FindHiveGoal.getNearbyFreeHives()
BeeEntity.getPossibleHives()
Modifier and TypeMethodDescriptionvoid
AllayEntity.VibrationCallback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
AllayEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private SnifferEntity
SnifferEntity.addExploredPosition
(BlockPos pos) private void
BeeEntity.MoveToHiveGoal.addPossibleHive
(BlockPos pos) static boolean
ArmadilloEntity.canSpawn
(EntityType<ArmadilloEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
AxolotlEntity.canSpawn
(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
BatEntity.canSpawn
(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
FoxEntity.canSpawn
(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
FrogEntity.canSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
GlowSquidEntity.canSpawn
(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
GoatEntity.canSpawn
(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
MooshroomEntity.canSpawn
(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
OcelotEntity.canSpawn
(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
ParrotEntity.canSpawn
(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
PolarBearEntity.canSpawn
(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
RabbitEntity.canSpawn
(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
StriderEntity.canSpawn
(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
TurtleEntity.canSpawn
(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
WaterAnimalEntity.canSpawn
(EntityType<? extends WaterAnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
WolfEntity.canSpawn
(EntityType<WolfEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) private boolean
TameableEntity.canTeleportTo
(BlockPos pos) static boolean
TropicalFishEntity.canTropicalFishSpawn
(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) private boolean
BeeEntity.doesHiveHaveSpace
(BlockPos pos) protected void
AllayEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
BatEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
BeeEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
ParrotEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected void
StriderEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.float
AnimalEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
AxolotlEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
BeeEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
MooshroomEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
StriderEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
TurtleEntity.getPathfindingFavor
(BlockPos pos, WorldView world) private static RabbitEntity.RabbitType
RabbitEntity.getTypeFromPos
(WorldAccess world, BlockPos pos) private boolean
BeeEntity.MoveToHiveGoal.isCloseEnough
(BlockPos pos) private boolean
SnifferEntity.isDiggable
(BlockPos pos) private boolean
protected static boolean
AnimalEntity.isLightLevelValidForNaturalSpawn
(BlockRenderView world, BlockPos pos) (package private) boolean
BeeEntity.MoveToHiveGoal.isPossibleHive
(BlockPos pos) protected boolean
FoxEntity.EatBerriesGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
RabbitEntity.EatCarrotCropGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
StriderEntity.GoBackToLavaGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
TurtleEntity.LayEggGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
TurtleEntity.WanderInWaterGoal.isTargetPos
(WorldView world, BlockPos pos) (package private) boolean
private boolean
WanderingTraderEntity.WanderToTargetGoal.isTooFarFrom
(BlockPos pos, double proximityDistance) static boolean
AnimalEntity.isValidNaturalSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
StriderEntity.Navigation.isValidPosition
(BlockPos pos) boolean
TurtleEntity.TurtleSwimNavigation.isValidPosition
(BlockPos pos) (package private) boolean
BeeEntity.isWithinDistance
(BlockPos pos, int distance) protected void
AbstractHorseEntity.playStepSound
(BlockPos pos, BlockState state) protected void
AllayEntity.playStepSound
(BlockPos pos, BlockState state) protected void
ArmadilloEntity.playStepSound
(BlockPos pos, BlockState state) protected void
BeeEntity.playStepSound
(BlockPos pos, BlockState state) protected void
CamelEntity.playStepSound
(BlockPos pos, BlockState state) protected void
ChickenEntity.playStepSound
(BlockPos pos, BlockState state) protected void
CowEntity.playStepSound
(BlockPos pos, BlockState state) protected void
FishEntity.playStepSound
(BlockPos pos, BlockState state) protected void
FrogEntity.playStepSound
(BlockPos pos, BlockState state) protected void
GoatEntity.playStepSound
(BlockPos pos, BlockState state) protected void
IronGolemEntity.playStepSound
(BlockPos pos, BlockState state) protected void
LlamaEntity.playStepSound
(BlockPos pos, BlockState state) protected void
PandaEntity.playStepSound
(BlockPos pos, BlockState state) protected void
ParrotEntity.playStepSound
(BlockPos pos, BlockState state) protected void
PigEntity.playStepSound
(BlockPos pos, BlockState state) protected void
PolarBearEntity.playStepSound
(BlockPos pos, BlockState state) protected void
SheepEntity.playStepSound
(BlockPos pos, BlockState state) protected void
SnifferEntity.playStepSound
(BlockPos pos, BlockState state) protected void
StriderEntity.playStepSound
(BlockPos pos, BlockState state) protected void
TurtleEntity.playStepSound
(BlockPos pos, BlockState state) protected void
WolfEntity.playStepSound
(BlockPos pos, BlockState state) static void
AllayBrain.rememberNoteBlock
(LivingEntity allay, BlockPos pos) void
BeeEntity.setFlowerPos
(BlockPos flowerPos) void
BeeEntity.setHivePos
(BlockPos pos) void
TurtleEntity.setHomePos
(BlockPos pos) void
ParrotEntity.setNearbySongPlaying
(BlockPos songPosition, boolean playing) (package private) void
TurtleEntity.setTravelPos
(BlockPos pos) void
DolphinEntity.setTreasurePos
(BlockPos treasurePos) void
WanderingTraderEntity.setWanderTarget
(@Nullable BlockPos wanderTarget) private static <E extends MobEntity>
booleanFrogBrain.shouldJumpTo
(E frog, BlockPos pos) void
(package private) void
BeeEntity.startMovingTo
(BlockPos pos) private boolean
BeeEntity.MoveToHiveGoal.startMovingToFar
(BlockPos pos) private void
TameableEntity.tryTeleportNear
(BlockPos pos) void
AllayEntity.updateJukeboxPos
(BlockPos jukeboxPos, boolean playing) -
Uses of BlockPos in net.minecraft.entity.player
Modifier and TypeMethodDescriptionboolean
PlayerEntity.canInteractWithBlockAt
(BlockPos pos, double additionalRange) Returns whether the player can interact with block atpos
.boolean
PlayerEntity.canPlaceOn
(BlockPos pos, Direction facing, ItemStack stack) protected boolean
PlayerEntity.doesNotSuffocate
(BlockPos pos) boolean
PlayerEntity.isBlockBreakingRestricted
(World world, BlockPos pos, GameMode gameMode) protected void
PlayerEntity.playStepSound
(BlockPos pos, BlockState state) com.mojang.datafixers.util.Either
<PlayerEntity.SleepFailureReason, Unit> Tries to start sleeping on a block.ModifierConstructorDescriptionBlockBreakingInfo
(int breakingEntityId, BlockPos pos) PlayerEntity
(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile) -
Uses of BlockPos in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionboolean
ProjectileEntity.canModifyAt
(ServerWorld world, BlockPos pos) Returns whether the entity can modify the world atpos
.float
WitherSkullEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity.private FishingBobberEntity.PositionType
FishingBobberEntity.getPositionType
(BlockPos pos) private FishingBobberEntity.PositionType
FishingBobberEntity.getPositionType
(BlockPos start, BlockPos end) private boolean
FishingBobberEntity.isOpenOrWaterAround
(BlockPos pos) private void
FishingBobberEntity.tickFishingLogic
(BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.projectile.thrown
-
Uses of BlockPos in net.minecraft.entity.raid
Modifier and TypeMethodDescriptionprivate boolean
RaiderEntity.AttackHomeGoal.canLootHome
(BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionprivate Vec3d
ExperimentalMinecartController.accelerateFromPoweredRail
(Vec3d velocity, BlockPos railPos, BlockState railState) void
ExperimentalMinecartController.adjustToRail
(BlockPos pos, BlockState blockState, boolean ignoreWeight) private Vec3d
ExperimentalMinecartController.calcNewHorizontalVelocity
(ServerWorld world, Vec3d horizontalVelocity, ExperimentalMinecartController.MoveIteration iteration, BlockPos pos, BlockState railState, RailShape railShape) boolean
TntMinecartEntity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosion
from this entity can destroystate
.protected void
AbstractBoatEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.float
TntMinecartEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity.AbstractMinecartEntity.getLaunchDirection
(BlockPos railPos) protected double
AbstractMinecartEntity.moveAlongTrack
(BlockPos pos, RailShape shape, double remainingMovement) double
DefaultMinecartController.moveAlongTrack
(BlockPos blockPos, RailShape railShape, double remainingMovement) double
ExperimentalMinecartController.moveAlongTrack
(BlockPos blockPos, RailShape railShape, double remainingMovement) protected double
HopperMinecartEntity.moveAlongTrack
(BlockPos pos, RailShape shape, double remainingMovement) abstract double
MinecartController.moveAlongTrack
(BlockPos blockPos, RailShape railShape, double remainingMovement) boolean
AbstractMinecartEntity.willHitBlockAt
(BlockPos pos) -
Uses of BlockPos in net.minecraft.fluid
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) boolean
EmptyFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
FluidState.canBeReplacedWith
(BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
LavaFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) boolean
WaterFluid.canBeReplacedWith
(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) private static boolean
FlowableFluid.canFill
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) private static boolean
FlowableFluid.canFillWithFluid
(BlockView world, BlockPos pos, BlockState state, Fluid fluid) (package private) boolean
FlowableFluid.canFlowDownTo
(BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) boolean
FlowableFluid.SpreadCache.canFlowDownTo
(BlockPos pos) private boolean
FlowableFluid.canFlowThrough
(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) private boolean
FlowableFluid.canFlowThrough
(BlockView world, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) boolean
private boolean
LavaFluid.canLightFire
(WorldView world, BlockPos pos) private int
FlowableFluid.countNeighboringSources
(WorldView world, BlockPos pos) protected void
FlowableFluid.flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected void
LavaFluid.flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) private void
FlowableFluid.flowToSides
(ServerWorld world, BlockPos pos, FluidState fluidState, BlockState blockState) FlowableFluid.SpreadCache.getBlockState
(BlockPos pos) private BlockState
FlowableFluid.SpreadCache.getBlockState
(BlockPos pos, short packed) float
EmptyFluid.getHeight
(FluidState state, BlockView world, BlockPos pos) float
FlowableFluid.getHeight
(FluidState state, BlockView world, BlockPos pos) abstract float
Fluid.getHeight
(FluidState state, BlockView world, BlockPos pos) float
protected int
FlowableFluid.getMinFlowDownDistance
(WorldView world, BlockPos pos, int int2, Direction direction, BlockState state, FlowableFluid.SpreadCache spreadCache) Finds the distance to the closest hole the fluid can flow down into starting with the direction specified.protected int
FlowableFluid.getNextTickDelay
(World world, BlockPos pos, FluidState oldState, FluidState newState) int
LavaFluid.getNextTickDelay
(World world, BlockPos pos, FluidState oldState, FluidState newState) EmptyFluid.getShape
(FluidState state, BlockView world, BlockPos pos) FlowableFluid.getShape
(FluidState state, BlockView world, BlockPos pos) abstract VoxelShape
Fluid.getShape
(FluidState state, BlockView world, BlockPos pos) protected Map
<Direction, FluidState> FlowableFluid.getSpread
(ServerWorld world, BlockPos pos, BlockState state) protected FluidState
FlowableFluid.getUpdatedState
(ServerWorld world, BlockPos pos, BlockState state) EmptyFluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) FlowableFluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) protected abstract Vec3d
Fluid.getVelocity
(BlockView world, BlockPos pos, FluidState state) FluidState.getVelocity
(BlockView world, BlockPos pos) private boolean
LavaFluid.hasBurnableBlock
(WorldView world, BlockPos pos) protected boolean
FlowableFluid.isFlowBlocked
(BlockView world, BlockPos pos, Direction direction) private static boolean
FlowableFluid.isFluidAboveEqual
(FluidState state, BlockView world, BlockPos pos) protected void
Fluid.onRandomTick
(ServerWorld world, BlockPos pos, FluidState state, Random random) void
FluidState.onRandomTick
(ServerWorld world, BlockPos pos, Random random) void
LavaFluid.onRandomTick
(ServerWorld world, BlockPos pos, FluidState state, Random random) void
FlowableFluid.onScheduledTick
(ServerWorld world, BlockPos pos, BlockState blockState, FluidState fluidState) protected void
Fluid.onScheduledTick
(ServerWorld world, BlockPos pos, BlockState blockState, FluidState fluidState) void
FluidState.onScheduledTick
(ServerWorld world, BlockPos pos, BlockState state) private short
private void
LavaFluid.playExtinguishEvent
(WorldAccess world, BlockPos pos) protected void
Fluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) void
FluidState.randomDisplayTick
(World world, BlockPos pos, Random random) void
LavaFluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) void
WaterFluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) private static boolean
FlowableFluid.receivesFlow
(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) protected void
FlowableFluid.tryFlow
(ServerWorld world, BlockPos fluidPos, BlockState blockState, FluidState fluidState) -
Uses of BlockPos in net.minecraft.inventory
Modifier and TypeMethodDescriptionstatic void
LootableInventory.setLootTable
(BlockView world, Random random, BlockPos pos, RegistryKey<LootTable> lootTableId) Queries the block entity atpos
, checks if it is aLootableInventory
, and sets the loot table and seed if applicable. -
Uses of BlockPos in net.minecraft.item
Modifier and TypeMethodDescriptionAutomaticItemPlacementContext.getBlockPos()
ItemPlacementContext.getBlockPos()
ItemUsageContext.getBlockPos()
Modifier and TypeMethodDescriptionstatic ActionResult
LeadItem.attachHeldMobsToBlock
(PlayerEntity player, World world, BlockPos pos) boolean
DebugStickItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
Item.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
MaceItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
SwordItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
TridentItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.protected boolean
HangingSignItem.canPlaceAt
(WorldView world, BlockState state, BlockPos pos) protected boolean
VerticallyAttachableBlockItem.canPlaceAt
(WorldView world, BlockState state, BlockPos pos) protected boolean
DecorationItem.canPlaceOn
(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) protected boolean
ItemFrameItem.canPlaceOn
(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) LeadItem.collectLeashablesAround
(World world, BlockPos pos, Predicate<Leashable> predicate) private static void
BlockItem.copyComponentsToBlockEntity
(World world, BlockPos pos, ItemStack stack) static void
BoneMealItem.createParticles
(WorldAccess world, BlockPos pos, int count) private BlockState
FilledMapItem.getFluidStateIfVisible
(World world, BlockState state, BlockPos pos) static ItemPlacementContext
ItemPlacementContext.offset
(ItemPlacementContext context, BlockPos pos, Direction side) void
void
EntityBucketItem.onEmptied
(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) default void
FluidModificationItem.onEmptied
(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) boolean
BucketItem.placeFluid
(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) boolean
FluidModificationItem.placeFluid
(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) boolean
PowderSnowBucketItem.placeFluid
(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) private BlockState
BlockItem.placeFromNbt
(BlockPos pos, World world, ItemStack stack, BlockState state) protected void
BucketItem.playEmptyingSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos) protected void
EntityBucketItem.playEmptyingSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos) private void
FireChargeItem.playUseSound
(World world, BlockPos pos) boolean
Item.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.void
ItemStack.postMine
(World world, BlockState state, BlockPos pos, PlayerEntity miner) boolean
ShearsItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.protected boolean
BlockItem.postPlacement
(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) protected boolean
SignItem.postPlacement
(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) private void
EntityBucketItem.spawnEntity
(ServerWorld world, ItemStack stack, BlockPos pos) private Optional
<BlockState> AxeItem.tryStrip
(World world, BlockPos pos, @Nullable PlayerEntity player, BlockState state) private boolean
DebugStickItem.use
(PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos, boolean update, ItemStack stack) static boolean
BoneMealItem.useOnFertilizable
(ItemStack stack, World world, BlockPos pos) static boolean
BoneMealItem.useOnGround
(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing) static boolean
BlockItem.writeNbtToBlockEntity
(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack) -
Uses of BlockPos in net.minecraft.item.map
Modifier and TypeFieldDescriptionprivate final BlockPos
MapBannerMarker.pos
The field for thepos
record component.private final BlockPos
MapFrameMarker.pos
Modifier and TypeMethodDescriptionMapFrameMarker.getPos()
MapBannerMarker.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionboolean
MapState.addBanner
(WorldAccess world, BlockPos pos) static void
MapState.addDecorationsNbt
(ItemStack stack, BlockPos pos, String id, RegistryEntry<MapDecorationType> decorationType) static @Nullable MapBannerMarker
MapBannerMarker.fromWorldBlock
(BlockView blockView, BlockPos blockPos) static String
void
MapState.removeFrame
(BlockPos pos, int id) ModifierConstructorDescriptionMapBannerMarker
(BlockPos pos, DyeColor dyeColor, Optional<Text> optional) MapFrameMarker
(BlockPos pos, int rotation, int entityId) -
Uses of BlockPos in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final BlockPos
LocationCheckLootCondition.offset
The field for theoffset
record component.Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec
<BlockPos> LocationCheckLootCondition.OFFSET_CODEC
Modifier and TypeMethodDescriptionLocationCheckLootCondition.offset()
Returns the value of theoffset
record component.Modifier and TypeMethodDescriptionstatic LootCondition.Builder
LocationCheckLootCondition.builder
(LocationPredicate.Builder predicateBuilder, BlockPos pos) ModifierConstructorDescriptionLocationCheckLootCondition
(Optional<LocationPredicate> optional, BlockPos offset) -
Uses of BlockPos in net.minecraft.nbt
Modifier and TypeMethodDescriptionNbtHelper.toBlockPos
(NbtCompound nbt, String key) Returns the block position from thenbt
.Modifier and TypeMethodDescriptionstatic NbtElement
NbtHelper.fromBlockPos
(BlockPos pos) Returns the serialized block position. -
Uses of BlockPos in net.minecraft.network
Modifier and TypeMethodDescriptionPacketByteBuf.readBlockPos()
Reads a block position from this buf.static BlockPos
PacketByteBuf.readBlockPos
(ByteBuf buf) Modifier and TypeMethodDescriptionstatic void
PacketByteBuf.writeBlockPos
(ByteBuf buf, BlockPos pos) PacketByteBuf.writeBlockPos
(BlockPos pos) Writes a block position to this buf. -
Uses of BlockPos in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescriptionprivate final BlockPos
UpdateStructureBlockC2SPacket.offset
private final BlockPos
JigsawGeneratingC2SPacket.pos
private final BlockPos
PlayerActionC2SPacket.pos
private final BlockPos
QueryBlockNbtC2SPacket.pos
private final BlockPos
UpdateCommandBlockC2SPacket.pos
private final BlockPos
UpdateJigsawC2SPacket.pos
private final BlockPos
UpdateSignC2SPacket.pos
private final BlockPos
UpdateStructureBlockC2SPacket.pos
Modifier and TypeMethodDescriptionUpdateStructureBlockC2SPacket.getOffset()
JigsawGeneratingC2SPacket.getPos()
PlayerActionC2SPacket.getPos()
QueryBlockNbtC2SPacket.getPos()
UpdateCommandBlockC2SPacket.getPos()
UpdateJigsawC2SPacket.getPos()
UpdateSignC2SPacket.getPos()
UpdateStructureBlockC2SPacket.getPos()
ModifierConstructorDescriptionJigsawGeneratingC2SPacket
(BlockPos pos, int maxDepth, boolean keepJigsaws) PlayerActionC2SPacket
(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) PlayerActionC2SPacket
(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction, int sequence) QueryBlockNbtC2SPacket
(int transactionId, BlockPos pos) UpdateCommandBlockC2SPacket
(BlockPos pos, String command, CommandBlockBlockEntity.Type type, boolean trackOutput, boolean conditional, boolean alwaysActive) UpdateJigsawC2SPacket
(BlockPos pos, Identifier name, Identifier target, Identifier pool, String finalState, JigsawBlockEntity.Joint jointType, int selectionPriority, int placementPriority) UpdateSignC2SPacket
(BlockPos pos, boolean front, String line1, String line2, String line3, String line4) UpdateStructureBlockC2SPacket
(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Uses of BlockPos in net.minecraft.network.packet.s2c.custom
Modifier and TypeFieldDescriptionDebugBeeCustomPayload.Bee.flowerPos
The field for theflowerPos
record component.DebugBeeCustomPayload.Bee.hivePos
The field for thehivePos
record component.private final BlockPos
DebugBreezeCustomPayload.BreezeInfo.jumpTarget
The field for thejumpTarget
record component.private final BlockPos
DebugGameTestAddMarkerCustomPayload.pos
The field for thepos
record component.private final BlockPos
DebugGoalSelectorCustomPayload.pos
The field for thepos
record component.private final BlockPos
DebugHiveCustomPayload.HiveInfo.pos
The field for thepos
record component.private final BlockPos
DebugNeighborsUpdateCustomPayload.pos
The field for thepos
record component.private final BlockPos
DebugPoiAddedCustomPayload.pos
The field for thepos
record component.private final BlockPos
DebugPoiRemovedCustomPayload.pos
The field for thepos
record component.private final BlockPos
DebugPoiTicketCountCustomPayload.pos
The field for thepos
record component.private final BlockPos
DebugRedstoneUpdateOrderCustomPayload.Wire.pos
The field for thepos
record component.private final BlockPos
DebugWorldgenAttemptCustomPayload.pos
The field for thepos
record component.Modifier and TypeFieldDescriptionDebugBeeCustomPayload.Bee.disallowedHives
The field for thedisallowedHives
record component.DebugBrainCustomPayload.Brain.pois
The field for thepois
record component.DebugBrainCustomPayload.Brain.potentialPois
The field for thepotentialPois
record component.DebugRaidsCustomPayload.raidCenters
The field for theraidCenters
record component.Modifier and TypeMethodDescriptionDebugBeeCustomPayload.Bee.flowerPos()
Returns the value of theflowerPos
record component.DebugBeeCustomPayload.Bee.hivePos()
Returns the value of thehivePos
record component.DebugBreezeCustomPayload.BreezeInfo.jumpTarget()
Returns the value of thejumpTarget
record component.DebugGameTestAddMarkerCustomPayload.pos()
Returns the value of thepos
record component.DebugGoalSelectorCustomPayload.pos()
Returns the value of thepos
record component.DebugHiveCustomPayload.HiveInfo.pos()
Returns the value of thepos
record component.DebugNeighborsUpdateCustomPayload.pos()
Returns the value of thepos
record component.DebugPoiAddedCustomPayload.pos()
Returns the value of thepos
record component.DebugPoiRemovedCustomPayload.pos()
Returns the value of thepos
record component.DebugPoiTicketCountCustomPayload.pos()
Returns the value of thepos
record component.DebugRedstoneUpdateOrderCustomPayload.Wire.pos()
Returns the value of thepos
record component.DebugWorldgenAttemptCustomPayload.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionDebugBeeCustomPayload.Bee.disallowedHives()
Returns the value of thedisallowedHives
record component.DebugBrainCustomPayload.Brain.pois()
Returns the value of thepois
record component.DebugBrainCustomPayload.Brain.potentialPois()
Returns the value of thepotentialPois
record component.DebugRaidsCustomPayload.raidCenters()
Returns the value of theraidCenters
record component.Modifier and TypeMethodDescriptionboolean
boolean
DebugBrainCustomPayload.Brain.isPointOfInterest
(BlockPos pos) boolean
DebugBrainCustomPayload.Brain.isPotentialJobSite
(BlockPos pos) ModifierConstructorDescriptionBee
(UUID uuid, int entityId, Vec3d vec3d, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks, Set<String> set, List<BlockPos> list) BreezeInfo
(UUID uUID, int int2, Integer integer, BlockPos blockPos) DebugGameTestAddMarkerCustomPayload
(BlockPos blockPos, int int2, String string, int int3) DebugGoalSelectorCustomPayload
(int int2, BlockPos blockPos, List<DebugGoalSelectorCustomPayload.Goal> list) DebugNeighborsUpdateCustomPayload
(long long2, BlockPos blockPos) DebugPoiAddedCustomPayload
(BlockPos blockPos, String string, int int2) DebugPoiRemovedCustomPayload
(BlockPos blockPos) DebugPoiTicketCountCustomPayload
(BlockPos blockPos, int int2) DebugWorldgenAttemptCustomPayload
(BlockPos blockPos, float float2, float float3, float float4, float float5, float float6) Wire
(BlockPos blockPos, WireOrientation wireOrientation) ModifierConstructorDescriptionBee
(UUID uuid, int entityId, Vec3d vec3d, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks, Set<String> set, List<BlockPos> list) Brain
(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Vec3d vec3d, String string, @Nullable Path path, boolean wantsGolem, int angerLevel, List<String> list, List<String> list2, List<String> list3, List<String> list4, Set<BlockPos> set, Set<BlockPos> set2) DebugRaidsCustomPayload
(List<BlockPos> list) -
Uses of BlockPos in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final BlockPos
BlockBreakingProgressS2CPacket.pos
private final BlockPos
BlockEntityUpdateS2CPacket.pos
private final BlockPos
BlockEventS2CPacket.pos
private final BlockPos
BlockUpdateS2CPacket.pos
private final BlockPos
PlayerSpawnPositionS2CPacket.pos
private final BlockPos
SignEditorOpenS2CPacket.pos
private final BlockPos
WorldEventS2CPacket.pos
Modifier and TypeMethodDescriptionBlockBreakingProgressS2CPacket.getPos()
BlockEntityUpdateS2CPacket.getPos()
BlockEventS2CPacket.getPos()
BlockUpdateS2CPacket.getPos()
PlayerSpawnPositionS2CPacket.getPos()
SignEditorOpenS2CPacket.getPos()
WorldEventS2CPacket.getPos()
Modifier and TypeMethodDescriptionvoid
ChunkData.BlockEntityVisitor.accept
(BlockPos pos, BlockEntityType<?> type, @Nullable NbtCompound nbt) Modifier and TypeMethodDescriptionvoid
ChunkDeltaUpdateS2CPacket.visitUpdates
(BiConsumer<BlockPos, BlockState> visitor) Calls the given consumer for each pair of block position and block state contained in this packet.ModifierConstructorDescriptionBlockBreakingProgressS2CPacket
(int entityId, BlockPos pos, int progress) private
BlockEntityUpdateS2CPacket
(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt) BlockEventS2CPacket
(BlockPos pos, Block block, int type, int data) BlockUpdateS2CPacket
(BlockPos pos, BlockState state) BlockUpdateS2CPacket
(BlockView world, BlockPos pos) EntitySpawnS2CPacket
(Entity entity, int entityData, BlockPos pos) PlayerSpawnPositionS2CPacket
(BlockPos pos, float angle) SignEditorOpenS2CPacket
(BlockPos pos, boolean front) WorldEventS2CPacket
(int eventId, BlockPos pos, int data, boolean global) -
Uses of BlockPos in net.minecraft.particle
Modifier and TypeMethodDescriptionstatic void
ParticleUtil.spawnParticle
(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) static void
ParticleUtil.spawnParticle
(World world, BlockPos pos, ParticleEffect effect, IntProvider count) static void
ParticleUtil.spawnParticle
(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) static void
ParticleUtil.spawnParticle
(World world, BlockPos pos, Random random, ParticleEffect effect) static void
ParticleUtil.spawnParticles
(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) static void
ParticleUtil.spawnParticlesAround
(WorldAccess world, BlockPos pos, int count, double horizontalOffset, double verticalOffset, boolean force, ParticleEffect effect) static void
ParticleUtil.spawnParticlesAround
(WorldAccess world, BlockPos pos, int count, ParticleEffect effect) static void
ParticleUtil.spawnSmashAttackParticles
(WorldAccess world, BlockPos pos, int count) -
Uses of BlockPos in net.minecraft.predicate
Modifier and TypeMethodDescriptionboolean
BlockPredicate.test
(ServerWorld world, BlockPos pos) boolean
FluidPredicate.test
(ServerWorld world, BlockPos pos) boolean
LightPredicate.test
(ServerWorld world, BlockPos pos) -
Uses of BlockPos in net.minecraft.screen
Modifier and TypeMethodDescriptionstatic ScreenHandlerContext
Returns an active screen handler context.Modifier and TypeMethodDescription<T> Optional
<T> ScreenHandlerContext.get
(BiFunction<World, BlockPos, T> getter) Gets an optional value from this context's world and position with aBiFunction
getter.default <T> T
ScreenHandlerContext.get
(BiFunction<World, BlockPos, T> getter, T defaultValue) Gets a value from this context's world and position with aBiFunction
getter.default void
ScreenHandlerContext.run
(BiConsumer<World, BlockPos> function) Runs aBiConsumer
with this context's world and position if this context is active. -
Uses of BlockPos in net.minecraft.server
Modifier and TypeMethodDescriptionboolean
MinecraftServer.isSpawnProtected
(ServerWorld world, BlockPos pos, PlayerEntity player) -
Uses of BlockPos in net.minecraft.server.command
Modifier and TypeFieldDescriptionprivate final BlockPos
CloneCommand.BlockInfo.pos
The field for thepos
record component.private final BlockPos
CloneCommand.DimensionalPos.position
The field for theposition
record component.Modifier and TypeFieldDescriptionprivate final UnaryOperator
<Supplier<Stream<BlockPos>>> TestFinder.Runners.structurePosSupplierMapper
Modifier and TypeMethodDescriptionprivate static BlockPos
FillBiomeCommand.convertPos
(BlockPos pos) (package private) static BlockPos
TestCommand.getStructurePos
(ServerCommandSource source) CloneCommand.BlockInfo.pos()
Returns the value of thepos
record component.CloneCommand.DimensionalPos.position()
Returns the value of theposition
record component.Modifier and TypeMethodDescriptionprivate static BlockPos
FillBiomeCommand.convertPos
(BlockPos pos) private static int
ExecuteCommand.countMatchingItems
(ServerCommandSource source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate) private static int
DebugMobSpawningCommand.execute
(ServerCommandSource source, SpawnGroup group, BlockPos pos) private static int
DebugPathCommand.execute
(ServerCommandSource source, BlockPos pos) private static int
FillBiomeCommand.execute
(ServerCommandSource source, BlockPos from, BlockPos to, RegistryEntry.Reference<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static int
SetBlockCommand.execute
(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition) private static int
SetWorldSpawnCommand.execute
(ServerCommandSource source, BlockPos pos, float angle) private static int
SpawnPointCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, BlockPos pos, float angle) private static int
LootCommand.executeBlock
(ServerCommandSource source, BlockPos targetPos, int slot, int stackCount, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static int
ItemCommand.executeBlockCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot) private static int
ItemCommand.executeBlockCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot) private static int
ItemCommand.executeBlockCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockModify
(ServerCommandSource source, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockReplace
(ServerCommandSource source, BlockPos pos, int slot, ItemStack stack) private static int
ItemCommand.executeEntityCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot) private static int
ItemCommand.executeEntityCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
LootCommand.executeFish
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, BlockPos pos, ItemStack stack, LootCommand.Target constructor) private static int
LootCommand.executeInsert
(ServerCommandSource source, BlockPos targetPos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static int
LootCommand.executeMine
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BlockPos pos, ItemStack stack, LootCommand.Target constructor) static int
PlaceCommand.executePlaceFeature
(ServerCommandSource source, RegistryEntry.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static int
PlaceCommand.executePlaceJigsaw
(ServerCommandSource source, RegistryEntry<StructurePool> structurePool, Identifier id, int maxDepth, BlockPos pos) static int
PlaceCommand.executePlaceStructure
(ServerCommandSource source, RegistryEntry.Reference<Structure> structure, BlockPos pos) static int
PlaceCommand.executePlaceTemplate
(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome
(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome
(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter, Consumer<Supplier<Text>> feedbackConsumer) SetBlockCommand.Filter.filter
(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world) private static Optional
<GameTestState> TestCommand.find
(BlockPos pos, ServerWorld world, TestAttemptConfig config) private static Inventory
LootCommand.getBlockInventory
(ServerCommandSource source, BlockPos pos) (package private) static Inventory
ItemCommand.getInventoryAtPos
(ServerCommandSource source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception) private static ItemStack
ItemCommand.getStackInSlotFromInventoryAt
(ServerCommandSource source, BlockPos pos, int slotId) private static boolean
ExecuteCommand.isLoaded
(ServerWorld world, BlockPos pos) static int
LocateCommand.sendCoordinates
(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<?> predicate, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) static int
LocateCommand.sendCoordinates
(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) private static int
LocateCommand.sendCoordinates
(ServerCommandSource source, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, String entryString, Duration timeTaken) private static OptionalInt
ExecuteCommand.testBlocksCondition
(ServerWorld world, BlockPos start, BlockPos end, BlockPos destination, boolean masked) Modifier and TypeMethodDescriptionstatic int
LocateCommand.sendCoordinates
(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<?> predicate, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) static int
LocateCommand.sendCoordinates
(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) private static int
LocateCommand.sendCoordinates
(ServerCommandSource source, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, String entryString, Duration timeTaken) ModifierConstructorDescription(package private)
BlockInfo
(BlockPos pos, BlockState state, @Nullable CloneCommand.BlockEntityInfo blockEntityInfo) Creates an instance of aBlockInfo
record class.(package private)
DimensionalPos
(ServerWorld serverWorld, BlockPos blockPos) -
Uses of BlockPos in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionboolean
MinecraftDedicatedServer.isSpawnProtected
(ServerWorld world, BlockPos pos, PlayerEntity player) -
Uses of BlockPos in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate BlockPos
ServerPlayerInteractionManager.failedMiningPos
private BlockPos
ServerPlayerInteractionManager.miningPos
ServerPlayerEntity.spawnPointPosition
ServerPlayerEntity.startRaidPos
Modifier and TypeMethodDescriptionSpawnLocating.findOverworldSpawn
(ServerWorld world, int x, int z) SpawnLocating.findServerSpawnPoint
(ServerWorld world, ChunkPos chunkPos) ServerPlayerEntity.getSpawnPointPosition()
ServerPlayerEntity.getStartRaidPos()
ServerPlayerEntity.getWorldSpawnPos
(ServerWorld world, BlockPos basePos) Modifier and TypeMethodDescriptionstatic void
DebugInfoSender.addGameTestMarker
(ServerWorld world, BlockPos pos, String message, int color, int duration) protected void
ServerPlayerEntity.applyMovementEffects
(ServerWorld world, BlockPos pos) boolean
ServerPlayerEntity.canModifyAt
(ServerWorld world, BlockPos pos) Returns whether the entity can modify the world atpos
.private float
ServerPlayerInteractionManager.continueMining
(BlockState state, BlockPos pos, int failedStartMiningTime) protected void
ServerPlayerEntity.fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private static Optional
<ServerPlayerEntity.RespawnPos> ServerPlayerEntity.findRespawnPosition
(ServerWorld world, BlockPos pos, float spawnAngle, boolean spawnForced, boolean alive) void
ServerPlayerInteractionManager.finishMining
(BlockPos pos, int sequence, String reason) ServerPlayerEntity.RespawnPos.fromCurrentPos
(Vec3d respawnPos, BlockPos currentPos) ServerPlayerEntity.getWorldSpawnPos
(ServerWorld world, BlockPos basePos) private static float
private boolean
ServerPlayerEntity.isBedObstructed
(BlockPos pos, Direction direction) private boolean
ServerPlayerEntity.isBedWithinRange
(BlockPos pos) private boolean
ServerPlayerEntity.isBedWithinRange
(BlockPos pos, Direction direction) private void
ServerPlayerInteractionManager.onBlockBreakingAction
(BlockPos pos, boolean success, int sequence, String reason) void
DemoServerPlayerInteractionManager.processBlockBreakingAction
(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight, int sequence) void
ServerPlayerInteractionManager.processBlockBreakingAction
(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight, int sequence) static void
DebugInfoSender.sendBeehiveDebugData
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static void
DebugInfoSender.sendNeighborUpdate
(World world, BlockPos pos) private static void
DebugInfoSender.sendPoi
(ServerWorld world, BlockPos pos) static void
DebugInfoSender.sendPoiAddition
(ServerWorld world, BlockPos pos) static void
DebugInfoSender.sendPointOfInterest
(ServerWorld world, BlockPos pos) static void
DebugInfoSender.sendPoiRemoval
(ServerWorld world, BlockPos pos) void
ServerPlayerEntity.setSpawnPoint
(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean forced, boolean sendMessage) Sets the player's spawn point.void
ServerPlayerEntity.setStartRaidPos
(BlockPos startRaidPos) void
boolean
ServerPlayerInteractionManager.tryBreakBlock
(BlockPos pos) com.mojang.datafixers.util.Either
<PlayerEntity.SleepFailureReason, Unit> Tries to start sleeping on a block. -
Uses of BlockPos in net.minecraft.server.world
Modifier and TypeFieldDescriptionstatic final BlockPos
ServerWorld.END_SPAWN_POS
private final BlockPos
BlockEvent.pos
The field for thepos
record component.Modifier and TypeFieldDescriptionstatic final ChunkTicketType
<BlockPos> ChunkTicketType.PORTAL
Used by a nether portal to load chunks in the other dimension.Modifier and TypeMethodDescriptionprotected BlockPos
ServerWorld.getLightningPos
(BlockPos pos) ServerWorld.locateStructure
(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.BlockEvent.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionServerWorld.getLightningRodPos
(BlockPos pos) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> ServerWorld.locateBiome
(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval) Modifier and TypeMethodDescriptionvoid
ServerWorld.addSyncedBlockEvent
(BlockPos pos, Block block, int type, int data) boolean
ServerWorld.canPlayerModifyAt
(PlayerEntity player, BlockPos pos) Returns whetherplayer
can modify blocks atpos
.void
ServerLightingProvider.checkBlock
(BlockPos pos) protected BlockPos
ServerWorld.getLightningPos
(BlockPos pos) ServerWorld.getLightningRodPos
(BlockPos pos) Returns the raid occurring within 96 block radius, ornull
if there is none.boolean
Returnstrue
if a raid exists within 96 block radius ofpos
.boolean
ServerWorld.isNearOccupiedPointOfInterest
(BlockPos pos) boolean
ServerWorld.isNearOccupiedPointOfInterest
(BlockPos pos, int maxDistance) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> ServerWorld.locateBiome
(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval) ServerWorld.locateStructure
(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.boolean
ChunkHolder.markForBlockUpdate
(BlockPos pos) void
ServerChunkManager.markForUpdate
(BlockPos pos) void
ServerWorld.onBlockChanged
(BlockPos pos, BlockState oldBlock, BlockState newBlock) Called when a block state changed.private void
ChunkHolder.sendBlockEntityUpdatePacket
(List<ServerPlayerEntity> players, World world, BlockPos pos) void
ServerWorld.setBlockBreakingInfo
(int entityId, BlockPos pos, int progress) void
ServerWorld.setSpawnPos
(BlockPos pos, float angle) Sets the world spawn point.boolean
ServerEntityManager.shouldTick
(BlockPos pos) boolean
ServerWorld.shouldTick
(BlockPos pos) boolean
ServerWorld.shouldTickEntity
(BlockPos pos) Returns whether to tick entities atpos
.void
ServerWorld.syncGlobalEvent
(int eventId, BlockPos pos, int data) void
ServerWorld.syncWorldEvent
(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) private void
private void
void
ServerWorld.tickIceAndSnow
(BlockPos pos) private void
ChunkHolder.tryUpdateBlockEntityAt
(List<ServerPlayerEntity> players, World world, BlockPos pos, BlockState state) void
ServerWorld.updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) void
ServerWorld.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
ServerWorld.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Triggers a neighbor update originating fromsourcePos
atpos
.void
ServerWorld.updateNeighbors
(BlockPos pos, Block block) void
ServerWorld.updateNeighborsAlways
(BlockPos pos, Block block) void
ServerWorld.updateNeighborsAlways
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Emits a neighbor update to all 6 neighboring blocks ofpos
.void
ServerWorld.updateNeighborsExcept
(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos
, except for the one indirection
direction.ModifierConstructorDescriptionBlockEvent
(BlockPos pos, Block block, int type, int data) Creates an instance of aBlockEvent
record class. -
Uses of BlockPos in net.minecraft.structure
Modifier and TypeFieldDescriptionprivate BlockPos
DesertTempleGenerator.basementMarkerPos
final BlockPos
StructureTemplate.StructureEntityInfo.blockPos
(package private) static final BlockPos
ShipwreckGenerator.DEFAULT_POSITION
protected BlockPos
PoolStructurePiece.pos
protected BlockPos
SimpleStructurePiece.pos
private final BlockPos
StructureTemplate.StructureBlockInfo.pos
The field for thepos
record component.private BlockPos
StructurePlacementData.position
WoodlandMansionGenerator.GenerationPiece.position
Modifier and TypeFieldDescription(package private) static final List
<Pair<BlockRotation, BlockPos>> EndCityGenerator.FAT_TOWER_BRIDGE_ATTACHMENTS
(package private) static final Map
<Identifier, BlockPos> IglooGenerator.OFFSETS
(package private) static final Map
<Identifier, BlockPos> IglooGenerator.OFFSETS_FROM_TOP
DesertTempleGenerator.potentialSuspiciousSandPositions
(package private) static final List
<Pair<BlockRotation, BlockPos>> EndCityGenerator.SMALL_TOWER_BRIDGE_ATTACHMENTS
Modifier and TypeMethodDescriptionstatic BlockPos
StructureTemplate.applyTransformedOffset
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) DesertTempleGenerator.getBasementMarkerPos()
StrongholdGenerator.Start.getCenter()
StructurePiece.getCenter()
PoolStructurePiece.getPos()
SimpleStructurePiece.getPos()
StructurePlacementData.getPosition()
private static BlockPos
IglooGenerator.Piece.getPosOffset
(Identifier identifier, BlockPos pos, int yOffset) StructureTemplate.offsetByTransformedSize
(BlockPos pos, BlockMirror mirror, BlockRotation rotation) StructureTemplate.StructureBlockInfo.pos()
Returns the value of thepos
record component.static BlockPos
StructureTemplate.transform
(StructurePlacementData placementData, BlockPos pos) static BlockPos
StructureTemplate.transformAround
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) StructureTemplate.transformBox
(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2) Modifier and TypeMethodDescriptionDesertTempleGenerator.getPotentialSuspiciousSandPositions()
OceanRuinGenerator.getRoomPositions
(Random random, BlockPos pos) Modifier and TypeMethodDescriptionprivate void
WoodlandMansionGenerator.LayoutGenerator.addBigRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool) private void
WoodlandMansionGenerator.LayoutGenerator.addBigSecretRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.RoomPool pool) protected boolean
StructurePiece.addChest
(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, RegistryKey<LootTable> lootTable, @Nullable BlockState block) private static void
OceanRuinGenerator.addCluster
(StructureTemplateManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinStructure structure, StructurePiecesHolder pieces) private void
StructureTemplate.addEntitiesFromWorld
(World world, BlockPos firstCorner, BlockPos secondCorner) private void
WoodlandMansionGenerator.LayoutGenerator.addMediumRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool, boolean staircase) static ShipwreckGenerator.Piece
ShipwreckGenerator.addParts
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, boolean beached) static void
EndCityGenerator.addPieces
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static void
IglooGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random) static void
NetherFossilGenerator.addPieces
(StructureTemplateManager manager, StructurePiecesHolder holder, Random random, BlockPos pos) static void
OceanRuinGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure) private static void
OceanRuinGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure, boolean large, float integrity) static void
WoodlandMansionGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) private void
WoodlandMansionGenerator.LayoutGenerator.addRoof
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.FlagMatrix layout, @Nullable WoodlandMansionGenerator.FlagMatrix nextFloorLayout) private void
WoodlandMansionGenerator.LayoutGenerator.addSmallRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) static BlockPos
StructureTemplate.applyTransformedOffset
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) StructureTemplate.calculateBoundingBox
(StructurePlacementData placementData, BlockPos pos) StructureTemplate.calculateBoundingBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) private boolean
RuinedPortalStructurePiece.canFillNetherrack
(WorldAccess world, BlockPos pos) boolean
boolean
EndCityGenerator.Part.create
(StructureTemplateManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random) protected static BlockBox
StructureTemplate.createBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) (package private) static boolean
EndCityGenerator.createPart
(StructureTemplateManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random) (package private) static EndCityGenerator.Piece
EndCityGenerator.createPiece
(StructureTemplateManager structureTemplateManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir) private static StructurePlacementData
RuinedPortalStructurePiece.createPlacementData
(BlockMirror mirror, BlockRotation rotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalStructurePiece.Properties properties) void
BuriedTreasureGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
DesertTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
IglooGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
JungleTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.Bridge.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeEnd.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgePlatform.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeSmallCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorBalcony.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorExit.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorLeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorNetherWartsRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorRightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFossilGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Base.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.CoreRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleXRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleXYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleYZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Entry.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Penthouse.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.SimpleRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.SimpleRoomTop.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.WingRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanRuinGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
RuinedPortalStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
ShipwreckGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
SimpleStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.ChestCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Corridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.FiveWayCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.LeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Library.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.PortalRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.PrisonHall.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.RightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SpiralStaircase.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SquareRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Stairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) abstract void
StructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
SwampHutGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
WoodlandMansionGenerator.LayoutGenerator.generate
(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters) private void
DesertTempleGenerator.generateBasementStairs
(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) private void
RuinedPortalStructurePiece.generateOvergrownLeaves
(Random random, WorldAccess world, BlockPos pos) private void
DesertTempleGenerator.generateSuspiciousSandRoom
(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) private void
RuinedPortalStructurePiece.generateVines
(Random random, WorldAccess world, BlockPos pos) private int
OceanRuinGenerator.Piece.getGenerationY
(BlockPos start, BlockView world, BlockPos end) StructureTemplate.getInfosForBlock
(BlockPos pos, StructurePlacementData placementData, Block block) StructureTemplate.getInfosForBlock
(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed) StructureTemplate.getJigsawInfos
(BlockPos pos, BlockRotation rotation) private static BlockPos
IglooGenerator.Piece.getPosOffset
(Identifier identifier, BlockPos pos, int yOffset) StructurePlacementData.getRandomBlockInfos
(List<StructureTemplate.PalettedBlockInfoList> infoLists, @Nullable BlockPos pos) OceanRuinGenerator.getRoomPositions
(Random random, BlockPos pos) protected void
EndCityGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
IglooGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
NetherFossilGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
OceanRuinGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
RuinedPortalStructurePiece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
ShipwreckGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected abstract void
SimpleStructurePiece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
WoodlandMansionGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) private boolean
MineshaftGenerator.MineshaftCorridor.isUpsideSolidFullSquare
(WorldView world, BlockPos pos, BlockState state) StructureTemplate.offsetByTransformedSize
(BlockPos pos, BlockMirror mirror, BlockRotation rotation) static BlockState
StructurePiece.orientateChest
(BlockView world, BlockPos pos, BlockState state) boolean
StructureTemplate.place
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags) private void
RuinedPortalStructurePiece.placeNetherrackBottom
(Random random, WorldAccess world, BlockPos pos) StructureTemplate.process
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<StructureTemplate.StructureBlockInfo> infos) void
StructureTemplate.saveFromWorld
(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, @Nullable Block ignoredBlock) StructurePlacementData.setPosition
(BlockPos position) private boolean
MineshaftGenerator.MineshaftCorridor.sideCoversSmallSquare
(WorldView world, BlockPos pos, BlockState state) private void
StructureTemplate.spawnEntities
(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) static BlockPos
StructureTemplate.transform
(StructurePlacementData placementData, BlockPos pos) static BlockPos
StructureTemplate.transformAround
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) static Vec3d
StructureTemplate.transformAround
(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) StructureTemplate.transformBox
(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2) static void
StructureTemplate.updateCorner
(WorldAccess world, int flags, VoxelSet set, BlockPos startPos) private void
RuinedPortalStructurePiece.updateNetherracks
(Random random, WorldAccess world, BlockPos pos) ModifierConstructorDescriptionPiece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir) Piece
(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset) Piece
(StructureTemplateManager manager, Identifier template, BlockPos pos, BlockRotation rotation) Piece
(StructureTemplateManager structureTemplateManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece
(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded) Piece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation) Piece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror) PoolStructurePiece
(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox, StructureLiquidSettings liquidSettings) RuinedPortalStructurePiece
(StructureTemplateManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, StructureTemplate template, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) SimpleStructurePiece
(StructurePieceType type, int length, StructureTemplateManager structureTemplateManager, Identifier id, String template, StructurePlacementData placementData, BlockPos pos) StructureBlockInfo
(BlockPos pos, BlockState state, @Nullable NbtCompound nbt) Creates an instance of aStructureBlockInfo
record class.StructureEntityInfo
(Vec3d pos, BlockPos blockPos, NbtCompound nbt) -
Uses of BlockPos in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionStructurePoolBasedGenerator.findStartingJigsawPos
(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random) Modifier and TypeMethodDescriptionStructurePoolBasedGenerator.findStartingJigsawPos
(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random) boolean
EmptyPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) static boolean
StructurePoolBasedGenerator.generate
(ServerWorld world, RegistryEntry<StructurePool> structurePool, Identifier id, int size, BlockPos pos, boolean keepJigsaws) static Optional
<Structure.StructurePosition> StructurePoolBasedGenerator.generate
(Structure.Context context, RegistryEntry<StructurePool> structurePool, Optional<Identifier> id, int size, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter, StructurePoolAliasLookup aliasLookup, DimensionPadding dimensionPadding, StructureLiquidSettings liquidSettings) abstract boolean
StructurePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) EmptyPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) abstract BlockBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getDataStructureBlocks
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated) EmptyPoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) FeaturePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) ListPoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) SinglePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) abstract List
<StructureTemplate.JigsawBlockInfo> StructurePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) void
StructurePoolElement.method_16756
(WorldAccess world, StructureTemplate.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) -
Uses of BlockPos in net.minecraft.structure.pool.alias
Modifier and TypeMethodDescriptionstatic StructurePoolAliasLookup
StructurePoolAliasLookup.create
(List<StructurePoolAliasBinding> bindings, BlockPos pos, long seed) -
Uses of BlockPos in net.minecraft.structure.processor
Modifier and TypeMethodDescriptionBlackstoneReplacementStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockAgeStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockIgnoreStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockRotStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) GravityStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) JigsawReplacementStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) LavaSubmergedBlockStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) ProtectedBlocksStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) RuleStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) StructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) CappedStructureProcessor.reprocess
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, List<StructureTemplate.StructureBlockInfo> originalBlockInfos, List<StructureTemplate.StructureBlockInfo> currentBlockInfos, StructurePlacementData data) StructureProcessor.reprocess
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, List<StructureTemplate.StructureBlockInfo> originalBlockInfos, List<StructureTemplate.StructureBlockInfo> currentBlockInfos, StructurePlacementData data) boolean
StructureProcessorRule.test
(BlockState input, BlockState currentState, BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random) -
Uses of BlockPos in net.minecraft.structure.rule
-
Uses of BlockPos in net.minecraft.test
Modifier and TypeFieldDescriptionGameTestState.boxMinPos
private final BlockPos
TestStructurePlacer.origin
GameTestState.pos
private final BlockPos
PositionedException.pos
private final BlockPos
TestServer.pos
private final BlockPos
PositionedException.relativePos
Modifier and TypeMethodDescriptionTestContext.getAbsolutePos
(BlockPos pos) private static BlockPos
StructureTestListener.getBeaconPos
(GameTestState state) GameTestState.getBoxMinPos()
GameTestState.getOrigin()
static BlockPos
StructureTestUtil.getOrigin
(StructureBlockBlockEntity structureBlockEntity) static BlockPos
StructureTestUtil.getPlacementPos
(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) GameTestState.getPos()
PositionedException.getPos()
PositionedException.getRelativePos()
TestContext.getRelativePos
(BlockPos pos) static BlockPos
StructureTestUtil.getStructureBlockBoxCornerPos
(BlockPos pos, Vec3i size, BlockRotation rotation) Modifier and TypeMethodDescriptionStructureTestUtil.findContainingStructureBlock
(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findNearestStructureBlock
(BlockPos pos, int radius, ServerWorld world) StructureBlockFinder.findStructureBlockPos()
StructureTestUtil.findStructureBlocks
(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findStructureBlocks
(BlockPos pos, int radius, ServerWorld world, String templateName) StructureTestUtil.findTargetedStructureBlock
(BlockPos pos, Entity entity, ServerWorld world) Modifier and TypeMethodDescriptionprivate static void
StructureTestListener.addGameTestMarker
(ServerWorld world, BlockPos pos, String message) void
TestContext.checkBlock
(BlockPos pos, Predicate<Block> predicate, String errorMessage) void
TestContext.checkBlock
(BlockPos pos, Predicate<Block> predicate, Supplier<String> errorMessageSupplier) <T extends BlockEntity>
voidTestContext.checkBlockEntity
(BlockPos pos, Predicate<T> predicate, Supplier<String> errorMessageSupplier) <T extends Comparable<T>>
voidTestContext.checkBlockProperty
(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage) void
TestContext.checkBlockState
(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> errorMessageSupplier) static TestServer
TestServer.create
(Thread thread, LevelStorage.Session session, ResourcePackManager resourcePackManager, Collection<TestFunction> batches, BlockPos pos) private static BlockBox
StructureTestUtil.createBox
(BlockPos pos, int radius, ServerWorld world) static void
StructureTestUtil.createTestArea
(String testName, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world) void
TestContext.dontExpectBlock
(Block block, BlockPos pos) void
TestContext.dontExpectEntityAt
(EntityType<?> type, BlockPos pos) void
TestContext.dontExpectEntityAtEnd
(EntityType<?> type, BlockPos pos) void
TestContext.dontExpectItemAt
(Item item, BlockPos pos, double radius) void
TestContext.expectBlock
(Block block, BlockPos pos) void
TestContext.expectBlockAtEnd
(Block block, BlockPos pos) <T extends Comparable<T>>
voidTestContext.expectBlockProperty
(BlockPos pos, Property<T> property, T value) void
TestContext.expectContainerWith
(long delay, BlockPos pos, Item item) void
TestContext.expectContainerWith
(BlockPos pos, Item item) void
TestContext.expectEmptyContainer
(long delay, BlockPos pos) void
TestContext.expectEmptyContainer
(BlockPos pos) void
TestContext.expectEntitiesAround
(EntityType<?> type, BlockPos pos, int amount, double radius) <E extends Entity,
T>
voidTestContext.expectEntity
(BlockPos pos, EntityType<E> type, Predicate<E> predicate) void
TestContext.expectEntityAround
(EntityType<?> type, BlockPos pos, double radius) void
TestContext.expectEntityAt
(Entity entity, BlockPos pos) void
TestContext.expectEntityAt
(EntityType<?> type, BlockPos pos) void
TestContext.expectEntityAtEnd
(EntityType<?> type, BlockPos pos) <E extends LivingEntity>
voidTestContext.expectEntityHoldingItem
(BlockPos pos, EntityType<E> entityType, Item item) <E extends Entity,
T>
voidTestContext.expectEntityWithData
(BlockPos pos, EntityType<E> type, Function<? super E, T> entityDataGetter, T data) <E extends Entity,
T>
voidTestContext.expectEntityWithDataEnd
(BlockPos pos, EntityType<E> type, Function<E, T> entityDataGetter, T data) <E extends Entity & InventoryOwner>
voidTestContext.expectEntityWithItem
(BlockPos pos, EntityType<E> entityType, Item item) void
TestContext.expectItemAt
(Item item, BlockPos pos, double radius) void
TestContext.expectItemsAt
(Item item, BlockPos pos, double radius, int amount) void
TestContext.expectRedstonePower
(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<String> errorMessage) void
TestContext.expectSameStates
(BlockBox checkedBlockBox, BlockPos correctStatePos) void
TestContext.expectSameStates
(BlockPos checkedPos, BlockPos correctStatePos) StructureTestUtil.findContainingStructureBlock
(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findNearestStructureBlock
(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findStructureBlocks
(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findStructureBlocks
(BlockPos pos, int radius, ServerWorld world, String templateName) StructureTestUtil.findTargetedStructureBlock
(BlockPos pos, Entity entity, ServerWorld world) void
TestContext.forceRandomTick
(BlockPos pos) void
TestContext.forceTickIceAndSnow
(BlockPos pos) TestContext.getAbsolutePos
(BlockPos pos) <T extends BlockEntity>
TTestContext.getBlockEntity
(BlockPos pos) TestContext.getBlockState
(BlockPos pos) TestContext.getEntitiesAround
(EntityType<T> type, BlockPos pos, double radius) static BlockPos
StructureTestUtil.getPlacementPos
(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) TestContext.getRelativePos
(BlockPos pos) static BlockBox
StructureTestUtil.getStructureBlockBox
(BlockPos pos, Vec3i relativePos, BlockRotation rotation) static BlockPos
StructureTestUtil.getStructureBlockBoxCornerPos
(BlockPos pos, Vec3i size, BlockRotation rotation) static StructureBlockBlockEntity
StructureTestUtil.initStructure
(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) private static boolean
StructureTestUtil.isInStructureBounds
(BlockPos structureBlockPos, BlockPos pos, ServerWorld world) static void
StructureTestUtil.placeStartButton
(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world) private static StructureBlockBlockEntity
StructureTestUtil.placeStructureTemplate
(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) void
TestContext.pushButton
(BlockPos pos) void
TestContext.putAndRemoveRedstoneBlock
(BlockPos pos, long delay) void
TestContext.removeBlock
(BlockPos pos) private static void
StructureTestUtil.resetBlock
(int altitude, BlockPos pos, ServerWorld world) void
TestContext.setBlockState
(BlockPos pos, Block block) void
TestContext.setBlockState
(BlockPos pos, BlockState state) void
GameTestState.setBoxMinPos
(BlockPos boxMinPos) (package private) void
<E extends Entity>
ETestContext.spawnEntity
(EntityType<E> type, BlockPos pos) <E extends MobEntity>
ETestContext.spawnMob
(EntityType<E> type, BlockPos pos) TestContext.startMovingTowards
(MobEntity entity, BlockPos pos, float speed) void
TestContext.throwPositionedException
(String message, BlockPos pos) void
TestContext.toggleLever
(BlockPos pos) void
void
TestContext.useBlock
(BlockPos pos, PlayerEntity player) void
TestContext.useBlock
(BlockPos pos, PlayerEntity player, BlockHitResult result) void
TestContext.useStackOnBlock
(PlayerEntity player, ItemStack stack, BlockPos pos, Direction direction) Modifier and TypeMethodDescriptionvoid
TestContext.forEachRelativePos
(Consumer<BlockPos> posConsumer) ModifierConstructorDescriptionPositionedException
(String message, BlockPos pos, BlockPos relativePos, long tick) private
TestServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<TestFunction> testFunctions, BlockPos pos) TestStructurePlacer
(BlockPos origin, int testsPerRow, boolean clearBeforeBatch) -
Uses of BlockPos in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
ItemScatterer.onStateReplaced
(BlockState state, BlockState newState, World world, BlockPos pos) static void
Spawns item entities frominventory
aroundpos
.static void
ItemScatterer.spawn
(World world, BlockPos pos, DefaultedList<ItemStack> stacks) Spawns item entities fromstacks
aroundpos
. -
Uses of BlockPos in net.minecraft.util.crash
Modifier and TypeMethodDescriptionstatic void
CrashReportSection.addBlockInfo
(CrashReportSection element, HeightLimitView world, BlockPos pos, @Nullable BlockState state) static String
CrashReportSection.createPositionString
(HeightLimitView world, BlockPos pos) -
Uses of BlockPos in net.minecraft.util.hit
Modifier and TypeMethodDescriptionstatic BlockHitResult
BlockHitResult.createMissed
(Vec3d pos, Direction side, BlockPos blockPos) BlockHitResult.withBlockPos
(BlockPos blockPos) ModifierConstructorDescriptionprivate
BlockHitResult
(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) BlockHitResult
(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) BlockHitResult
(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) -
Uses of BlockPos in net.minecraft.util.math
Modifier and TypeFieldDescriptionprivate final BlockPos
ImmutableBlockBox.max
The field for themax
record component.private final BlockPos
ImmutableBlockBox.min
The field for themin
record component.static final BlockPos
BlockPos.ORIGIN
The block position which x, y, and z values are all zero.private final BlockPos
BlockPointer.pos
The field for thepos
record component.private final BlockPos
GlobalPos.pos
The field for thepos
record component.private final BlockPos
GravityField.Point.pos
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockPos> BlockPos.CODEC
static final PacketCodec
<ByteBuf, BlockPos> BlockPos.PACKET_CODEC
Modifier and TypeMethodDescriptionBlockPos.add
(int int2, int int3, int int4) BlockPos.Mutable.add
(int int2, int int3, int int4) BlockPos.crossProduct
(Vec3i pos) BlockPos.down()
BlockPos.down
(int int2) BlockPos.east()
BlockPos.east
(int distance) static BlockPos
BlockPos.fromLong
(long packedPos) ChunkPos.getBlockPos
(int offsetX, int y, int offsetZ) BlockBox.getCenter()
Returns the center of this box.ChunkPos.getCenterAtY
(int y) ChunkSectionPos.getCenterPos()
ChunkSectionPos.getMinPos()
ChunkPos.getStartPos()
static BlockPos
ImmutableBlockBox.max()
Returns the value of themax
record component.static BlockPos
ImmutableBlockBox.min()
Returns the value of themin
record component.BlockPos.multiply
(int int2) BlockPos.Mutable.multiply
(int int2) BlockPos.north()
BlockPos.north
(int distance) static BlockPos
BlockPos.ofFloored
(double x, double y, double z) static BlockPos
BlockPos.Mutable.offset
(Direction.Axis axis, int int2) BlockPos.offset
(Direction.Axis axis, int int2) BlockPointer.pos()
Returns the value of thepos
record component.GlobalPos.pos()
Returns the value of thepos
record component.BlockPos.Mutable.rotate
(BlockRotation rotation) BlockPos.rotate
(BlockRotation rotation) BlockPos.south()
BlockPos.south
(int distance) BlockPos.Mutable.toImmutable()
Returns an immutable block position with the same x, y, and z as this position.BlockPos.toImmutable()
Returns an immutable block position with the same x, y, and z as this position.ChunkSectionPos.unpackBlockPos
(short packedLocalPos) Gets the world position of the given local position within this chunk section.BlockPos.up()
BlockPos.up
(int distance) BlockPos.west()
BlockPos.west
(int distance) BlockPos.withY
(int y) Modifier and TypeMethodDescriptionBlockPos.findClosest
(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition) BlockPos.iterate
(int startX, int startY, int startZ, int endX, int endY, int endZ) BlockPos.iterateOutwards
(BlockPos center, int rangeX, int rangeY, int rangeZ) Iterates block positions around thecenter
.BlockPos.iterateRandomly
(Random random, int count, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) Iterates throughcount
random block positions in the given area.BlockPos.iterateRandomly
(Random random, int count, BlockPos around, int range) Iterates throughcount
random block positions in a given range around the given position.ImmutableBlockBox.iterator()
BlockPos.stream
(int startX, int startY, int startZ, int endX, int endY, int endZ) ChunkSectionPos.streamBlocks()
BlockPos.streamOutwards
(BlockPos center, int maxX, int maxY, int maxZ) BlockPos.streamSouthEastSquare
(BlockPos pos) Deprecated.Modifier and TypeMethodDescriptionvoid
Adds a point to the gravity field.double
Calculate the gravity on a potential point atpos
withmass
.static GlobalPos
GlobalPos.create
(RegistryKey<World> dimension, BlockPos pos) static Box
Returns a box whose bounds extend to the full block betweenpos1
andpos2
, both inclusive.Deprecated.BlockPos.findClosest
(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition) static void
ChunkSectionPos.forEachChunkSectionAround
(BlockPos pos, LongConsumer consumer) static ChunkSectionPos
double
GravityField.Point.getGravityFactor
(BlockPos pos) boolean
boolean
GlobalPos.isWithinRange
(RegistryKey<World> dimension, BlockPos otherPos, int maxDistance) static Iterable
<BlockPos.Mutable> BlockPos.iterateInSquare
(BlockPos center, int radius, Direction firstDirection, Direction secondDirection) Iterates block positions around thecenter
in a square of (2 * radius + 1
) by (2 * radius + 1
).BlockPos.iterateOutwards
(BlockPos center, int rangeX, int rangeY, int rangeZ) Iterates block positions around thecenter
.BlockPos.iterateRandomly
(Random random, int count, BlockPos around, int range) Iterates throughcount
random block positions in a given range around the given position.static int
BlockPos.iterateRecursively
(BlockPos pos, int maxDepth, int maxIterations, BiConsumer<BlockPos, Consumer<BlockPos>> nextQueuer, Predicate<BlockPos> callback) Iterates frompos
recursively, like in a fill tool in a raster image editor.static BlockPos
static BlockPos
static ImmutableBlockBox
static ImmutableBlockBox
Creates a box that is translated byblockPos.getX()
,blockPos.getY()
,blockPos.getZ()
on each axis from this box.static short
Returns the local position of the given block position relative to its respective chunk section, packed into a short.static @Nullable BlockHitResult
BlockPos.streamOutwards
(BlockPos center, int maxX, int maxY, int maxZ) BlockPos.streamSouthEastSquare
(BlockPos pos) Deprecated.static long
Returns the chunk position of the givenpos
serialized aslong
.static long
Modifier and TypeMethodDescriptionBlockBox.encompassPositions
(Iterable<BlockPos> positions) Returns the minimum box encompassing all of the givenpositions
, or an empty optional ifpositions
is empty.BlockPos.findClosest
(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition) void
BlockBox.forEachVertex
(Consumer<BlockPos> consumer) Callsconsumer
for each vertex (corner) of this box.static int
BlockPos.iterateRecursively
(BlockPos pos, int maxDepth, int maxIterations, BiConsumer<BlockPos, Consumer<BlockPos>> nextQueuer, Predicate<BlockPos> callback) Iterates frompos
recursively, like in a fill tool in a raster image editor.static int
BlockPos.iterateRecursively
(BlockPos pos, int maxDepth, int maxIterations, BiConsumer<BlockPos, Consumer<BlockPos>> nextQueuer, Predicate<BlockPos> callback) Iterates frompos
recursively, like in a fill tool in a raster image editor.static int
BlockPos.iterateRecursively
(BlockPos pos, int maxDepth, int maxIterations, BiConsumer<BlockPos, Consumer<BlockPos>> nextQueuer, Predicate<BlockPos> callback) Iterates frompos
recursively, like in a fill tool in a raster image editor.ModifierConstructorDescriptionCreates a box enclosing onlypos
.BlockPointer
(ServerWorld serverWorld, BlockPos blockPos, BlockState blockState, DispenserBlockEntity dispenserBlockEntity) Creates a box that only contains the given block position.GlobalPos
(RegistryKey<World> dimension, BlockPos pos) Creates an instance of aGlobalPos
record class.ImmutableBlockBox
(BlockPos first, BlockPos second) -
Uses of BlockPos in net.minecraft.util.math.random
-
Uses of BlockPos in net.minecraft.util.shape
-
Uses of BlockPos in net.minecraft.village
Modifier and TypeMethodDescriptionZombieSiegeManager.getSpawnVector
(ServerWorld world, BlockPos pos) -
Uses of BlockPos in net.minecraft.village.raid
Modifier and TypeFieldDescriptionModifier and TypeMethodDescriptionRaid.findRandomRaidersSpawnLocation
(int proximity) Raid.getCenter()
Modifier and TypeMethodDescriptionvoid
Raid.addRaider
(int wave, RaiderEntity raider, @Nullable BlockPos pos, boolean existing) private Raid
RaidManager.getOrCreateRaid
(ServerWorld world, BlockPos pos) private void
Raid.playRaidHorn
(BlockPos pos) private void
private void
Raid.spawnNextWave
(BlockPos pos) RaidManager.startRaid
(ServerPlayerEntity player, BlockPos pos) -
Uses of BlockPos in net.minecraft.world
Modifier and TypeFieldDescriptionSpawnHelper.Info.cachedPos
final BlockPos
BlockLocating.Rectangle.lowerLeft
Modifier and TypeFieldDescriptionExperimentalRedstoneController.powerDecreaseQueue
ExperimentalRedstoneController.powerIncreaseQueue
private final Object2IntMap
<BlockPos> ExperimentalRedstoneController.wireOrientationsAndPowers
Modifier and TypeMethodDescriptionprivate static BlockPos
SpawnHelper.getEntitySpawnPos
(WorldView world, EntityType<?> entityType, int x, int z) WanderingTraderManager.getNearbySpawnPos
(WorldView world, BlockPos pos, int range) World.getRandomPosInChunk
(int x, int y, int z, int int2) private static BlockPos
SpawnHelper.getRandomPosInChunkSection
(World world, WorldChunk chunk) World.getSpawnPos()
WorldProperties.getSpawnPos()
default BlockPos
RegistryWorldView.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingpos
usingheightmap
heightmap.TestableWorld.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) default BlockPos
WorldView.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingpos
usingheightmap
heightmap.Modifier and TypeMethodDescriptionBlockView.collectCollisionsBetween
(Vec3d oldPos, Vec3d newPos, Box boundingBox) BlockLocating.findColumnEnd
(BlockView world, BlockPos pos, Block intermediateBlock, Direction direction, Block endBlock) Finds an end to a block column starting frompos
extending indirection
.CollisionView.findSupportingBlockPos
(Entity entity, Box box) Modifier and TypeMethodDescriptionvoid
World.addBlockBreakParticles
(BlockPos pos, BlockState state) void
World.addSyncedBlockEvent
(BlockPos pos, Block block, int type, int data) boolean
ChunkRegion.breakBlock
(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.default boolean
ModifiableWorld.breakBlock
(BlockPos pos, boolean drop) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.default boolean
ModifiableWorld.breakBlock
(BlockPos pos, boolean drop, @Nullable Entity breakingEntity) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.boolean
ModifiableWorld.breakBlock
(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.boolean
World.breakBlock
(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.private int
DefaultRedstoneController.calculateTotalPowerAt
(World world, BlockPos pos) protected int
RedstoneController.calculateWirePowerAt
(World world, BlockPos pos) default boolean
CollisionView.canPlace
(BlockState state, BlockPos pos, ShapeContext context) boolean
World.canPlayerModifyAt
(PlayerEntity player, BlockPos pos) Returns whetherplayer
can modify blocks atpos
.private static boolean
SpawnHelper.containsSpawnEntry
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos) default <T> OrderedTick
<T> WorldAccess.createOrderedTick
(BlockPos pos, T type, int delay) default <T> OrderedTick
<T> WorldAccess.createOrderedTick
(BlockPos pos, T type, int delay, TickPriority priority) private boolean
WanderingTraderManager.doesNotSuffocateAt
(BlockView world, BlockPos pos) default void
WorldAccess.emitGameEvent
(@Nullable Entity entity, RegistryEntry<GameEvent> event, BlockPos pos) default void
WorldAccess.emitGameEvent
(RegistryEntry<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) default void
WorldAccess.emitGameEvent
(RegistryKey<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) BlockLocating.findColumnEnd
(BlockView world, BlockPos pos, Block intermediateBlock, Direction direction, Block endBlock) Finds an end to a block column starting frompos
extending indirection
.RaycastContext.ShapeProvider.get
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RaycastContext.ShapeType.get
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) default int
BlockRenderView.getBaseLightLevel
(BlockPos pos, int ambientDarkness) default RegistryEntry
<Biome> (package private) static Biome
SpawnHelper.getBiomeDirectly
(BlockPos pos, Chunk chunk) BlockView.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.default <T extends BlockEntity>
Optional<T> BlockView.getBlockEntity
(BlockPos pos, BlockEntityType<T> type) ChunkRegion.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.EmptyBlockRenderView.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.EmptyBlockView.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.default <T extends BlockEntity>
Optional<T> RegistryWorldView.getBlockEntity
(BlockPos pos, BlockEntityType<T> type) <T extends BlockEntity>
Optional<T> TestableWorld.getBlockEntity
(BlockPos pos, BlockEntityType<T> type) World.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.RaycastContext.getBlockShape
(BlockState state, BlockView world, BlockPos pos) BlockView.getBlockState
(BlockPos pos) Returns the block state atpos
.ChunkRegion.getBlockState
(BlockPos pos) Returns the block state atpos
.ChunkSectionCache.getBlockState
(BlockPos pos) EmptyBlockRenderView.getBlockState
(BlockPos pos) Returns the block state atpos
.EmptyBlockView.getBlockState
(BlockPos pos) Returns the block state atpos
.World.getBlockState
(BlockPos pos) Returns the block state atpos
.default float
WorldView.getBrightness
(BlockPos pos) Deprecated.default Chunk
Returns the chunk that containspos
.int
BlockRenderView.getColor
(BlockPos pos, ColorResolver colorResolver) int
EmptyBlockRenderView.getColor
(BlockPos pos, ColorResolver colorResolver) default int
WorldView.getColor
(BlockPos pos, ColorResolver colorResolver) default double
BlockView.getDismountHeight
(BlockPos pos) default int
RedstoneView.getEmittedRedstonePower
(BlockPos pos, Direction direction) default int
RedstoneView.getEmittedRedstonePower
(BlockPos pos, Direction direction, boolean onlyFromGate) RaycastContext.getFluidShape
(FluidState state, BlockView world, BlockPos pos) BlockView.getFluidState
(BlockPos pos) Returns the fluid state atpos
.ChunkRegion.getFluidState
(BlockPos pos) Returns the fluid state atpos
.EmptyBlockRenderView.getFluidState
(BlockPos pos) Returns the fluid state atpos
.EmptyBlockView.getFluidState
(BlockPos pos) Returns the fluid state atpos
.World.getFluidState
(BlockPos pos) Returns the fluid state atpos
.static BlockLocating.Rectangle
BlockLocating.getLargestRectangle
(BlockPos center, Direction.Axis primaryAxis, int primaryMaxBlocks, Direction.Axis secondaryAxis, int secondaryMaxBlocks, Predicate<BlockPos> predicate) Gets the largest rectangle of blocks along two axes for which all blocks meet a predicate.default int
BlockRenderView.getLightLevel
(LightType type, BlockPos pos) default int
WorldView.getLightLevel
(BlockPos pos) default int
WorldView.getLightLevel
(BlockPos pos, int ambientDarkness) ChunkRegion.getLocalDifficulty
(BlockPos pos) World.getLocalDifficulty
(BlockPos pos) WorldAccess.getLocalDifficulty
(BlockPos pos) default int
BlockView.getLuminance
(BlockPos pos) WanderingTraderManager.getNearbySpawnPos
(WorldView world, BlockPos pos, int range) default float
WorldView.getPhototaxisFavor
(BlockPos pos) default int
RedstoneView.getReceivedRedstonePower
(BlockPos pos) default int
RedstoneView.getReceivedStrongRedstonePower
(BlockPos pos) ChunkSectionCache.getSection
(BlockPos pos) private static Pool
<SpawnSettings.SpawnEntry> SpawnHelper.getSpawnEntries
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) protected int
RedstoneController.getStrongPowerAt
(World world, BlockPos pos) default int
RedstoneView.getStrongRedstonePower
(BlockPos pos, Direction direction) default BlockPos
RegistryWorldView.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingpos
usingheightmap
heightmap.TestableWorld.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) default BlockPos
WorldView.getTopPosition
(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingpos
usingheightmap
heightmap.protected int
ExperimentalRedstoneController.getWirePowerAt
(BlockPos world, BlockState pos) protected int
RedstoneController.getWirePowerAt
(BlockPos world, BlockState pos) World.getWorldChunk
(BlockPos pos) Returns the chunk that containspos
.boolean
Returns whether it can rain atpos
.default boolean
default boolean
WorldView.isChunkLoaded
(BlockPos pos) Deprecated.static boolean
SpawnHelper.isClearForSpawn
(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType) boolean
World.isDirectionSolid
(BlockPos pos, Entity entity, Direction direction) default boolean
RedstoneView.isEmittingRedstonePower
(BlockPos pos, Direction direction) boolean
World.isInBuildLimit
(BlockPos pos) Returns whether the position is inside the build limit.default boolean
HeightLimitView.isOutOfHeightLimit
(BlockPos pos) Checks ifpos
is out of the height limit of this view.boolean
World.isPosLoaded
(BlockPos pos) default boolean
RedstoneView.isReceivingRedstonePower
(BlockPos pos) default boolean
WorldView.isRegionLoaded
(BlockPos min, BlockPos max) Deprecated.default boolean
BlockRenderView.isSkyVisible
(BlockPos pos) Returns if the sky is visible atpos
.default boolean
WorldView.isSkyVisibleAllowingSea
(BlockPos pos) Returns whether the sky is visible atpos
.boolean
World.isTopSolid
(BlockPos pos, Entity entity) static boolean
Returns whether the position is valid.boolean
ChunkRegion.isValidForSetBlock
(BlockPos pos) Returnstrue
if the given position is an accessible position for thesetBlockState
function.default boolean
StructureWorldAccess.isValidForSetBlock
(BlockPos pos) Returnstrue
if the given position is an accessible position for thesetBlockState
function.private static boolean
World.isValidHorizontally
(BlockPos pos) default boolean
private void
ChunkRegion.markBlockForPostProcessing
(BlockPos pos) void
void
World.onBlockChanged
(BlockPos pos, BlockState oldBlock, BlockState newBlock) Called when a block state changed.private static Optional
<SpawnSettings.SpawnEntry> SpawnHelper.pickRandomSpawnEntry
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos) void
ChunkRegion.playSound
(@Nullable PlayerEntity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) void
World.playSound
(@Nullable Entity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) void
World.playSound
(@Nullable PlayerEntity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) default void
WorldAccess.playSound
(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) void
WorldAccess.playSound
(@Nullable PlayerEntity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) void
World.playSoundAtBlockCenter
(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) private void
ExperimentalRedstoneController.propagatePowerUpdates
(World world, BlockPos pos, WireOrientation orientation) default @Nullable BlockHitResult
BlockView.raycastBlock
(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state) boolean
ChunkRegion.removeBlock
(BlockPos pos, boolean move) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.boolean
ModifiableWorld.removeBlock
(BlockPos pos, boolean move) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.boolean
World.removeBlock
(BlockPos pos, boolean move) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.void
World.removeBlockEntity
(BlockPos pos) void
World.replaceWithStateForNeighborUpdate
(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth) default void
WorldAccess.replaceWithStateForNeighborUpdate
(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth) void
World.scheduleBlockRerenderIfNeeded
(BlockPos pos, BlockState old, BlockState updated) abstract void
World.setBlockBreakingInfo
(int entityId, BlockPos pos, int progress) 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.void
MutableWorldProperties.setSpawnPos
(BlockPos pos, float angle) boolean
World.shouldTickBlockPos
(BlockPos pos) static boolean
SpawnHelper.shouldUseNetherFortressSpawns
(BlockPos pos, ServerWorld world, SpawnGroup spawnGroup, StructureAccessor structureAccessor) static void
SpawnHelper.spawnEntitiesInChunk
(SpawnGroup group, ServerWorld world, BlockPos pos) static void
SpawnHelper.spawnEntitiesInChunk
(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper.Checker checker, SpawnHelper.Runner runner) private void
ExperimentalRedstoneController.spreadPowerUpdateTo
(World world, BlockPos neighborPos, int power, WireOrientation orientation, boolean canIncreasePower) private void
ExperimentalRedstoneController.spreadPowerUpdateToNeighbors
(World world, BlockPos pos, int power, WireOrientation orientation, boolean canIncreasePower) void
World.syncGlobalEvent
(int eventId, BlockPos pos, int data) void
ChunkRegion.syncWorldEvent
(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) default void
WorldAccess.syncWorldEvent
(int eventId, BlockPos pos, int data) void
WorldAccess.syncWorldEvent
(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) boolean
SpawnHelper.Checker.test
(EntityType<?> type, BlockPos pos, Chunk chunk) private boolean
SpawnHelper.Info.test
(EntityType<?> type, BlockPos pos, Chunk chunk) boolean
ChunkRegion.testBlockState
(BlockPos pos, Predicate<BlockState> state) boolean
TestableWorld.testBlockState
(BlockPos pos, Predicate<BlockState> state) boolean
World.testBlockState
(BlockPos pos, Predicate<BlockState> state) boolean
ChunkRegion.testFluidState
(BlockPos pos, Predicate<FluidState> state) boolean
TestableWorld.testFluidState
(BlockPos pos, Predicate<FluidState> state) boolean
World.testFluidState
(BlockPos pos, Predicate<FluidState> state) void
DefaultRedstoneController.update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) void
ExperimentalRedstoneController.update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) abstract void
RedstoneController.update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) void
World.updateComparators
(BlockPos pos, Block block) abstract void
World.updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) void
World.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
World.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Triggers a neighbor update originating fromsourcePos
atpos
.default void
WorldAccess.updateNeighbors
(BlockPos pos, Block block) void
World.updateNeighborsAlways
(BlockPos pos, Block block) void
World.updateNeighborsAlways
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Emits a neighbor update to all 6 neighboring blocks ofpos
.void
World.updateNeighborsExcept
(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos
, except for the one indirection
direction.private void
ExperimentalRedstoneController.updatePowerAt
(BlockPos pos, int power, WireOrientation defaultOrientation) Modifier and TypeMethodDescriptionprivate static void
BlockView.collectCollisionsBetween
(Set<BlockPos> result, Vec3d oldPos, Vec3d newPos, Box boundingBox) static BlockLocating.Rectangle
BlockLocating.getLargestRectangle
(BlockPos center, Direction.Axis primaryAxis, int primaryMaxBlocks, Direction.Axis secondaryAxis, int secondaryMaxBlocks, Predicate<BlockPos> predicate) Gets the largest rectangle of blocks along two axes for which all blocks meet a predicate.private static int
BlockLocating.moveWhile
(Predicate<BlockPos> predicate, BlockPos.Mutable pos, Direction direction, int max) static <T,
C> T BlockView.raycast
(Vec3d start, Vec3d end, C context, BiFunction<C, BlockPos, T> blockHitFactory, Function<C, T> missFactory) -
Uses of BlockPos in net.minecraft.world.biome
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Biome.canSetSnow
(WorldView world, BlockPos pos) private float
Biome.computeTemperature
(BlockPos pos, int seaLevel) boolean
Biome.doesNotSnow
(BlockPos pos, int seaLevel) abstract float
Biome.TemperatureModifier.getModifiedTemperature
(BlockPos pos, float temperature) Biome.getPrecipitation
(BlockPos pos, int seaLevel) private float
Biome.getTemperature
(BlockPos blockPos, int seaLevel) Deprecated.boolean
boolean
Biome.shouldGenerateLowerFrozenOceanSurface
(BlockPos pos, int seaLevel) -
Uses of BlockPos in net.minecraft.world.biome.source
Modifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> BiomeSource.locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> BiomeSource.locateBiome
(int x, int y, int z, int radius, Predicate<RegistryEntry<Biome>> predicate, Random random, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> BiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) Modifier and TypeMethodDescriptionvoid
BiomeSource.addDebugInfo
(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) void
MultiNoiseBiomeSource.addDebugInfo
(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) BiomeAccess.getBiomeForNoiseGen
(BlockPos pos) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> BiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) -
Uses of BlockPos in net.minecraft.world.biome.source.util
Modifier and TypeFieldDescriptionprivate final BlockPos
MultiNoiseUtil.FittestPositionFinder.Result.location
The field for thelocation
record component.Modifier and TypeMethodDescriptionMultiNoiseUtil.MultiNoiseSampler.findBestSpawnPosition()
static BlockPos
MultiNoiseUtil.findFittestPosition
(List<MultiNoiseUtil.NoiseHypercube> noises, MultiNoiseUtil.MultiNoiseSampler sampler) MultiNoiseUtil.FittestPositionFinder.Result.location()
Returns the value of thelocation
record component. -
Uses of BlockPos in net.minecraft.world.block
Modifier and TypeFieldDescriptionprivate final BlockPos
ChainRestrictedNeighborUpdater.StateReplacementEntry.neighborPos
The field for theneighborPos
record component.private final BlockPos
ChainRestrictedNeighborUpdater.SimpleEntry.pos
The field for thepos
record component.private final BlockPos
ChainRestrictedNeighborUpdater.SixWayEntry.pos
private final BlockPos
ChainRestrictedNeighborUpdater.StatefulEntry.pos
The field for thepos
record component.private final BlockPos
ChainRestrictedNeighborUpdater.StateReplacementEntry.pos
The field for thepos
record component.Modifier and TypeMethodDescriptionChainRestrictedNeighborUpdater.StateReplacementEntry.neighborPos()
Returns the value of theneighborPos
record component.ChainRestrictedNeighborUpdater.SimpleEntry.pos()
Returns the value of thepos
record component.ChainRestrictedNeighborUpdater.StatefulEntry.pos()
Returns the value of thepos
record component.ChainRestrictedNeighborUpdater.StateReplacementEntry.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionprivate void
ChainRestrictedNeighborUpdater.enqueue
(BlockPos pos, ChainRestrictedNeighborUpdater.Entry entry) void
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, BlockPos pos, BlockPos neighborPos, BlockState neighborState, 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, @Nullable WireOrientation orientation, boolean notify) void
ChainRestrictedNeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
ChainRestrictedNeighborUpdater.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) void
NeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
NeighborUpdater.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) void
SimpleNeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
SimpleNeighborUpdater.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) void
ChainRestrictedNeighborUpdater.updateNeighbors
(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) default void
NeighborUpdater.updateNeighbors
(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) ModifierConstructorDescription(package private)
SimpleEntry
(BlockPos blockPos, Block block, @Nullable WireOrientation wireOrientation) (package private)
SixWayEntry
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, @Nullable Direction except) (package private)
StatefulEntry
(BlockState blockState, BlockPos blockPos, Block block, @Nullable WireOrientation wireOrientation, boolean bool) (package private)
StateReplacementEntry
(Direction direction, BlockState blockState, BlockPos blockPos, BlockPos blockPos2, int int2, int int3) -
Uses of BlockPos in net.minecraft.world.border
Modifier and TypeMethodDescriptionWorldBorder.clampFloored
(double x, double y, double z) WorldBorder.clampFloored
(BlockPos pos) WorldBorder.clampFloored
(Vec3d pos) -
Uses of BlockPos in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprotected final Map
<BlockPos, BlockEntity> Chunk.blockEntities
protected final Map
<BlockPos, NbtCompound> Chunk.blockEntityNbts
private final Map
<BlockPos, WorldChunk.WrappedBlockEntityTickInvoker> WorldChunk.blockEntityTickers
Modifier and TypeMethodDescriptionBlockEntityTickInvoker.getPos()
WorldChunk.DirectBlockEntityTickInvoker.getPos()
WorldChunk.WrappedBlockEntityTickInvoker.getPos()
static BlockPos
ProtoChunk.joinBlockPos
(short sectionRel, int sectionY, ChunkPos chunkPos) Modifier and TypeMethodDescriptionProtoChunk.getBlockEntities()
WorldChunk.getBlockEntities()
ProtoChunk.getBlockEntityNbts()
Chunk.getBlockEntityPositions()
Modifier and TypeMethodDescriptionprivate static BlockState
UpgradeData.applyAdjacentBlock
(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos) (package private) boolean
WorldChunk.canTickBlockEntity
(BlockPos pos) private @Nullable BlockEntity
WorldChunk.createBlockEntity
(BlockPos pos) ChunkCache.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.EmptyChunk.getBlockEntity
(BlockPos pos, WorldChunk.CreationType creationType) ProtoChunk.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.WorldChunk.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.WorldChunk.getBlockEntity
(BlockPos pos, WorldChunk.CreationType creationType) WrapperProtoChunk.getBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.Chunk.getBlockEntityNbt
(BlockPos pos) WrapperProtoChunk.getBlockEntityNbt
(BlockPos pos) ChunkCache.getBlockState
(BlockPos pos) Returns the block state atpos
.EmptyChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.ProtoChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.WorldChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.WrapperProtoChunk.getBlockState
(BlockPos pos) Returns the block state atpos
.private Chunk
ChunkCache.getFluidState
(BlockPos pos) Returns the fluid state atpos
.EmptyChunk.getFluidState
(BlockPos pos) Returns the fluid state atpos
.ProtoChunk.getFluidState
(BlockPos pos) Returns the fluid state atpos
.WorldChunk.getFluidState
(BlockPos pos) Returns the fluid state atpos
.WrapperProtoChunk.getFluidState
(BlockPos pos) Returns the fluid state atpos
.int
EmptyChunk.getLuminance
(BlockPos pos) abstract @Nullable NbtCompound
Chunk.getPackedBlockEntityNbt
(BlockPos pos, RegistryWrapper.WrapperLookup registries) ProtoChunk.getPackedBlockEntityNbt
(BlockPos pos, RegistryWrapper.WrapperLookup registries) WorldChunk.getPackedBlockEntityNbt
(BlockPos pos, RegistryWrapper.WrapperLookup registries) WrapperProtoChunk.getPackedBlockEntityNbt
(BlockPos pos, RegistryWrapper.WrapperLookup registries) static short
ProtoChunk.getPackedSectionRelative
(BlockPos pos) UpgradeData.Logic.getUpdatedState
(BlockState oldState, Direction direction, BlockState otherState, WorldAccess world, BlockPos currentPos, BlockPos otherPos) private @Nullable BlockEntity
WorldChunk.loadBlockEntity
(BlockPos pos, NbtCompound nbt) void
Chunk.markBlockForPostProcessing
(BlockPos pos) void
ProtoChunk.markBlockForPostProcessing
(BlockPos pos) void
WrapperProtoChunk.markBlockForPostProcessing
(BlockPos pos) abstract void
Chunk.removeBlockEntity
(BlockPos pos) void
EmptyChunk.removeBlockEntity
(BlockPos pos) void
ProtoChunk.removeBlockEntity
(BlockPos pos) void
WorldChunk.removeBlockEntity
(BlockPos pos) void
WrapperProtoChunk.removeBlockEntity
(BlockPos pos) private void
WorldChunk.removeBlockEntityTicker
(BlockPos pos) abstract @Nullable BlockState
Chunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) EmptyChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) ProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) WorldChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) WrapperProtoChunk.setBlockState
(BlockPos pos, BlockState state, boolean moved) Modifier and TypeMethodDescriptionvoid
Chunk.forEachBlockMatchingPredicate
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) void
WrapperProtoChunk.forEachBlockMatchingPredicate
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) final void
Chunk.forEachLightSource
(BiConsumer<BlockPos, BlockState> callback) -
Uses of BlockPos in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionvoid
ChunkLightingView.Empty.checkBlock
(BlockPos pos) void
ChunkLightProvider.checkBlock
(BlockPos pos) void
LightingProvider.checkBlock
(BlockPos pos) void
LightingView.checkBlock
(BlockPos pos) int
int
ChunkLightingView.Empty.getLightLevel
(BlockPos pos) int
ChunkLightingView.getLightLevel
(BlockPos pos) int
ChunkLightProvider.getLightLevel
(BlockPos pos) protected BlockState
ChunkLightProvider.getStateForLighting
(BlockPos pos) private boolean
ChunkSkyLight.isSkyLightAccessible
(BlockView blockView, int packedIndex, int value, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) private int
ChunkSkyLight.locateLightBlockingBlockBelow
(BlockView blockView, BlockPos pos, BlockState blockState) default void
LightingView.setSectionStatus
(BlockPos pos, boolean notReady) Modifier and TypeMethodDescriptionvoid
LightSourceView.forEachLightSource
(BiConsumer<BlockPos, BlockState> callback) -
Uses of BlockPos in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionprivate final BlockPos
NetherPortal.lowerCorner
private BlockPos
PortalManager.pos
Modifier and TypeMethodDescriptionNetherPortal.getLowerCorner
(BlockView world, Direction direction, BlockPos pow) PortalManager.getPortalPos()
Modifier and TypeMethodDescriptionPortalForcer.getPortalPos
(BlockPos pos, boolean destIsNether, WorldBorder worldBorder) Modifier and TypeMethodDescriptionPortalForcer.createPortal
(BlockPos pos, Direction.Axis axis) private static int
NetherPortal.getHeight
(BlockView world, BlockPos lowerCorner, Direction negativeDir, int width, MutableInt foundPortalBlocks) NetherPortal.getLowerCorner
(BlockView world, Direction direction, BlockPos pow) static Optional
<NetherPortal> NetherPortal.getNewPortal
(WorldAccess world, BlockPos pos, Direction.Axis firstCheckedAxis) static NetherPortal
NetherPortal.getOnAxis
(BlockView world, BlockPos pos, Direction.Axis axis) static Optional
<NetherPortal> NetherPortal.getOrEmpty
(WorldAccess world, BlockPos pos, Predicate<NetherPortal> validator, Direction.Axis firstCheckedAxis) PortalForcer.getPortalPos
(BlockPos pos, boolean destIsNether, WorldBorder worldBorder) private static int
NetherPortal.getPotentialHeight
(BlockView world, BlockPos lowerCorner, Direction negativeDir, BlockPos.Mutable pos, int width, MutableInt foundPortalBlocks) private static int
NetherPortal.getValidatedWidth
(BlockView world, BlockPos lowerCorner, Direction negativeDir) private static int
private static boolean
NetherPortal.isHorizontalFrameValid
(BlockView world, BlockPos lowerCorner, Direction direction, BlockPos.Mutable pos, int width, int height) private boolean
PortalForcer.isValidPortalPos
(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal) void
PortalManager.setPortalPos
(BlockPos pos) ModifierConstructorDescriptionprivate
NetherPortal
(Direction.Axis axis, int foundPortalBlocks, Direction negativeDir, BlockPos lowerCorner, int width, int height) PortalManager
(Portal portal, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.entity
-
Uses of BlockPos in net.minecraft.world.event
Modifier and TypeMethodDescriptionvoid
Vibrations.Callback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
Vibrations.Callback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private static boolean
Vibrations.Ticker.areChunksTickingAround
(World world, BlockPos pos) static float
Vibrations.VibrationListener.getTravelDelay
(BlockPos emitterPos, BlockPos listenerPos) -
Uses of BlockPos in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionprivate static void
ExplosionImpl.addDroppedItem
(List<ExplosionImpl.DroppedItem> droppedItemsOut, ItemStack item, BlockPos pos) boolean
AdvancedExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
EntityExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
ExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) AdvancedExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) EntityExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) Modifier and TypeMethodDescriptionprivate void
ExplosionImpl.createFire
(List<BlockPos> positions) private void
ExplosionImpl.destroyBlocks
(List<BlockPos> positions) -
Uses of BlockPos in net.minecraft.world.gen
Modifier and TypeMethodDescriptionStructureAccessor.getStructureAt
(BlockPos pos, Structure structure) StructureAccessor.getStructureContaining
(BlockPos pos, Predicate<RegistryEntry<Structure>> predicate) StructureAccessor.getStructureContaining
(BlockPos pos, RegistryEntryList<Structure> structures) StructureAccessor.getStructureContaining
(BlockPos pos, TagKey<Structure> tag) StructureAccessor.getStructureContaining
(BlockPos pos, Structure structure) Returns a structure that contains the givenpos
.StructureAccessor.getStructureReferences
(BlockPos pos) boolean
StructureAccessor.hasStructureReferences
(BlockPos pos) boolean
StructureAccessor.structureContains
(BlockPos pos, StructureStart structureStart) -
Uses of BlockPos in net.minecraft.world.gen.blockpredicate
Modifier and TypeMethodDescriptionboolean
AllOfBlockPredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) boolean
AlwaysTrueBlockPredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) boolean
AnyOfBlockPredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) boolean
HasSturdyFacePredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) boolean
InsideWorldBoundsBlockPredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) boolean
NotBlockPredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) final boolean
OffsetPredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) boolean
UnobstructedBlockPredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) boolean
WouldSurviveBlockPredicate.test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) -
Uses of BlockPos in net.minecraft.world.gen.carver
Modifier and TypeMethodDescriptionCarverContext.applyMaterialRule
(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.private @Nullable BlockState
Carver.getState
(CarverContext context, C config, BlockPos pos, AquiferSampler sampler) Modifier and TypeMethodDescriptionCarverContext.applyMaterialRule
(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.abstract boolean
Carver.carve
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) protected boolean
Carver.carveAtPoint
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, CarvingMask mask, BlockPos.Mutable pos, BlockPos.Mutable tmp, AquiferSampler aquiferSampler, MutableBoolean replacedGrassy) protected boolean
NetherCaveCarver.carveAtPoint
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, CarvingMask carvingMask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected void
CaveCarver.carveCave
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, float float2, double double5, CarvingMask mask, Carver.SkipPredicate skipPredicate) private void
RavineCarver.carveRavine
(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask) protected boolean
Carver.carveRegion
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double x, double y, double z, double width, double height, CarvingMask mask, Carver.SkipPredicate skipPredicate) protected void
CaveCarver.carveTunnels
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, double horizontalScale, double verticalScale, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask, Carver.SkipPredicate skipPredicate) -
Uses of BlockPos in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionprivate @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure
(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Structure>> ChunkGenerator.locateRandomSpreadStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Structure>> ChunkGenerator.locateStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Structure>> ChunkGenerator.locateStructure
(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.Modifier and TypeMethodDescriptionabstract void
ChunkGenerator.appendDebugHudText
(List<String> text, NoiseConfig noiseConfig, BlockPos pos) void
DebugChunkGenerator.appendDebugHudText
(List<String> text, NoiseConfig noiseConfig, BlockPos pos) void
FlatChunkGenerator.appendDebugHudText
(List<String> text, NoiseConfig noiseConfig, BlockPos pos) void
NoiseChunkGenerator.appendDebugHudText
(List<String> text, NoiseConfig noiseConfig, BlockPos pos) ChunkGenerator.getEntitySpawnList
(RegistryEntry<Biome> biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) private static boolean
BlendingData.isCollidableAndNotTreeAt
(Chunk chunk, BlockPos pos) private @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure
(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Structure>> ChunkGenerator.locateStructure
(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.private static void
Blender.tickLeavesAndFluids
(Chunk chunk, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.gen.chunk.placement
-
Uses of BlockPos in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionEndSpikeFeatureConfig.crystalBeamTarget
private static final BlockPos
EndPortalFeature.ORIGIN
private BlockPos
LargeDripstoneFeature.DripstoneGenerator.pos
private static final BlockPos
VoidStartPlatformFeature.START_BLOCK
Modifier and TypeMethodDescriptionEndSpikeFeatureConfig.getPos()
(package private) BlockPos
BasaltColumnsFeature.moveDownToGround
(WorldAccess world, int seaLevel, BlockPos.Mutable mutablePos, int distance) ReplaceBlobsFeature.moveDownToTarget
(WorldAccess world, BlockPos.Mutable mutablePos, Block target) BasaltColumnsFeature.moveUpToAir
(WorldAccess world, BlockPos.Mutable mutablePos, int distance) static BlockPos
EndPortalFeature.offsetOrigin
(BlockPos pos) Modifier and TypeMethodDescriptionEndGatewayFeatureConfig.getExitPos()
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) Modifier and TypeMethodDescriptionprivate void
BlockPileFeature.addPileBlock
(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config) protected boolean
HugeMushroomFeature.canGenerate
(WorldAccess world, BlockPos pos, int height, BlockPos.Mutable mutablePos, HugeMushroomFeatureConfig config) private boolean
SculkPatchFeature.canGenerate
(WorldAccess world, BlockPos pos) private boolean
BlockPileFeature.canPlace
(WorldAccess world, BlockPos pos, Random random) private static boolean
DeltaFeature.canPlace
(WorldAccess world, BlockPos pos, DeltaFeatureConfig config) static boolean
TreeFeature.canReplace
(TestableWorld world, BlockPos pos) private boolean
DripstoneClusterFeature.canWaterSpawn
(StructureWorldAccess world, BlockPos pos) private void
IcebergFeature.clearSnowAbove
(WorldAccess world, BlockPos pos) static EndGatewayFeatureConfig
EndGatewayFeatureConfig.createConfig
(BlockPos exitPortalPosition, boolean exitsAtSpawn) private static LargeDripstoneFeature.DripstoneGenerator
LargeDripstoneFeature.createGenerator
(BlockPos pos, boolean isStalagmite, Random random, int scale, FloatProvider bluntness, FloatProvider heightScale) boolean
ConfiguredFeature.generate
(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos origin) private void
DripstoneClusterFeature.generate
(StructureWorldAccess world, Random random, BlockPos pos, int localX, int localZ, float wetness, double dripstoneChance, int height, float density, DripstoneClusterFeatureConfig config) static void
EndPlatformFeature.generate
(ServerWorldAccess world, BlockPos pos, boolean breakBlocks) static boolean
MultifaceGrowthFeature.generate
(StructureWorldAccess world, BlockPos pos, BlockState state, MultifaceGrowthFeatureConfig config, Random random, List<Direction> directions) private boolean
PlacedFeature.generate
(FeaturePlacementContext context, Random random, BlockPos pos) boolean
PlacedFeature.generate
(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos) Generates a configured feature at the positions obtained by applying placement modifiers to the given position.boolean
RandomFeatureEntry.generate
(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) private boolean
TreeFeature.generate
(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, FoliagePlacer.BlockPlacer blockPlacer, TreeFeatureConfig config) protected void
HugeBrownMushroomFeature.generateCap
(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected abstract void
HugeMushroomFeature.generateCap
(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected void
HugeRedMushroomFeature.generateCap
(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) 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 void
SmallDripstoneFeature.generateDripstoneBlocks
(WorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config) private static void
RootSystemFeature.generateHangingRoots
(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos) private void
HugeFungusFeature.generateHat
(StructureWorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int hatHeight, boolean thickStem) boolean
Feature.generateIfValid
(FC config, StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) private void
WeepingVinesFeature.generateNetherWartBlocksInArea
(WorldAccess world, Random random, BlockPos pos) private static void
RootSystemFeature.generateRootsColumn
(BlockPos pos, int maxY, StructureWorldAccess world, RootSystemFeatureConfig config, Random random) private void
HugeFungusFeature.generateStem
(StructureWorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int stemHeight, boolean thickStem) protected void
HugeMushroomFeature.generateStem
(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutablePos) private static void
DesertWellFeature.generateSuspiciousSand
(StructureWorldAccess world, BlockPos pos) private static boolean
RootSystemFeature.generateTreeAndRoots
(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos) boolean
PlacedFeature.generateUnregistered
(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos) protected boolean
VegetationPatchFeature.generateVegetationFeature
(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos) protected boolean
WaterloggedVegetationPatchFeature.generateVegetationFeature
(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos) private static void
HugeFungusFeature.generateVines
(BlockPos pos, WorldAccess world, Random random) private void
WeepingVinesFeature.generateVinesInArea
(WorldAccess world, Random random, BlockPos pos) FeaturePlacementContext.getBlockState
(BlockPos pos) SmallDripstoneFeature.getDirection
(WorldAccess world, BlockPos pos, Random random) private double
IcebergFeature.getDistance
(int x, int z, BlockPos pos, int divisor1, int divisor2, double randomSine) private static OptionalInt
UnderwaterMagmaFeature.getFloorHeight
(StructureWorldAccess world, BlockPos pos, UnderwaterMagmaFeatureConfig config) private int
TreeFeature.getTopPosition
(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config) private static boolean
RootSystemFeature.hasSpaceForTree
(StructureWorldAccess world, RootSystemFeatureConfig config, BlockPos pos) private boolean
IcebergFeature.isAirBelow
(BlockView world, BlockPos pos) private static boolean
BasaltColumnsFeature.isAirOrLavaOcean
(WorldAccess world, int seaLevel, BlockPos pos) static boolean
TreeFeature.isAirOrLeaves
(TestableWorld world, BlockPos pos) static boolean
Feature.isExposedToAir
(Function<BlockPos, BlockState> posToState, BlockPos pos) boolean
private boolean
private static boolean
TwistingVinesFeature.isNotSuitable
(WorldAccess world, BlockPos pos) private static boolean
HugeFungusFeature.isReplaceable
(StructureWorldAccess world, BlockPos pos, HugeFungusFeatureConfig config, boolean checkConfig) static boolean
Feature.isSoil
(TestableWorld world, BlockPos pos) private static boolean
WaterloggedVegetationPatchFeature.isSolidBlockAroundPos
(StructureWorldAccess world, Set<BlockPos> positions, BlockPos pos, BlockPos.Mutable mutablePos) private static boolean
WaterloggedVegetationPatchFeature.isSolidBlockSide
(StructureWorldAccess world, BlockPos pos, BlockPos.Mutable mutablePos, Direction direction) private boolean
DripstoneClusterFeature.isStoneOrWater
(WorldAccess world, BlockPos pos) private boolean
UnderwaterMagmaFeature.isValidPosition
(StructureWorldAccess world, BlockPos pos) private static boolean
TreeFeature.isVine
(TestableWorld world, BlockPos pos) private boolean
UnderwaterMagmaFeature.isWaterOrAir
(WorldAccess world, BlockPos pos) protected void
Feature.markBlocksAboveForPostProcessing
(StructureWorldAccess world, BlockPos pos) private void
IcebergFeature.method_13415
(int int2, int y, BlockPos pos, WorldAccess world, boolean placeWater, double double2, BlockPos blockPos, int int3, int int4) private void
IcebergFeature.method_13418
(WorldAccess world, BlockPos pos, int int2, int height, boolean bool, int int3) private double
IcebergFeature.method_13421
(int x, int z, BlockPos pos, int int2, Random random) private void
IcebergFeature.method_13428
(Random random, WorldAccess world, int int2, int int3, BlockPos pos, boolean bool, int int4, double double2, int int5) (package private) BlockPos
static BlockPos
EndPortalFeature.offsetOrigin
(BlockPos pos) 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 boolean
BasaltColumnsFeature.placeBasaltColumn
(WorldAccess world, int seaLevel, BlockPos pos, int height, int reach) private void
IcebergFeature.placeBlockOrSnow
(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state) private void
DripstoneClusterFeature.placeDripstoneBlocks
(StructureWorldAccess world, BlockPos pos, int height, Direction direction) 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) 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) private void
ScatteredOreFeature.setPos
(BlockPos.Mutable mutable, Random random, BlockPos origin, int spread) private boolean
BasaltPillarFeature.stopOrPlaceBasalt
(WorldAccess world, Random random, BlockPos pos) static boolean
Feature.testAdjacentStates
(Function<BlockPos, BlockState> posToState, BlockPos pos, Predicate<BlockState> predicate) private void
LargeDripstoneFeature.testGeneration
(StructureWorldAccess world, BlockPos pos, CaveSurface.Bounded surface, LargeDripstoneFeature.WindModifier wind) private void
BasaltPillarFeature.tryPlaceBasalt
(WorldAccess world, Random random, BlockPos pos) Modifier and TypeMethodDescriptionprivate boolean
TreeFeature.generate
(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, FoliagePlacer.BlockPlacer blockPlacer, TreeFeatureConfig config) protected void
VegetationPatchFeature.generateVegetation
(FeatureContext<VegetationPatchFeatureConfig> context, StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, Set<BlockPos> positions, int radiusX, int radiusZ) static boolean
Feature.isExposedToAir
(Function<BlockPos, BlockState> posToState, BlockPos pos) private static boolean
WaterloggedVegetationPatchFeature.isSolidBlockAroundPos
(StructureWorldAccess world, Set<BlockPos> positions, BlockPos pos, BlockPos.Mutable mutablePos) private static VoxelSet
TreeFeature.placeLogsAndLeaves
(WorldAccess world, BlockBox box, Set<BlockPos> trunkPositions, Set<BlockPos> decorationPositions, Set<BlockPos> rootPositions) 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) ModifierConstructorDescription(package private)
DripstoneGenerator
(BlockPos pos, boolean isStalagmite, int scale, double bluntness, double heightScale) EndSpikeFeatureConfig
(boolean crystalInvulnerable, List<EndSpikeFeature.Spike> spikes, @Nullable BlockPos crystalBeamTarget) ModifierConstructorDescriptionprivate
EndGatewayFeatureConfig
(Optional<BlockPos> exitPos, boolean exact) private
EndSpikeFeatureConfig
(boolean crystalInvulnerable, List<EndSpikeFeature.Spike> spikes, Optional<BlockPos> crystalBeamTarget) -
Uses of BlockPos in net.minecraft.world.gen.feature.util
Modifier and TypeMethodDescriptionprotected static boolean
DripstoneHelper.canGenerate
(WorldAccess world, BlockPos pos) protected static boolean
DripstoneHelper.canGenerateBase
(StructureWorldAccess world, BlockPos pos, int height) protected static boolean
DripstoneHelper.canGenerateOrLava
(WorldAccess world, BlockPos pos) static Optional
<CaveSurface> CaveSurface.create
(TestableWorld world, BlockPos pos, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace) protected static boolean
DripstoneHelper.generateDripstoneBlock
(WorldAccess world, BlockPos pos) protected static void
DripstoneHelper.generatePointedDripstone
(WorldAccess world, BlockPos pos, Direction direction, int height, boolean merge) ModifierConstructorDescriptionFeatureContext
(Optional<ConfiguredFeature<?, ?>> feature, StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config) -
Uses of BlockPos in net.minecraft.world.gen.foliage
Modifier and TypeMethodDescriptionprotected void
FoliagePlacer.generateSquare
(TestableWorld world, FoliagePlacer.BlockPlacer placer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.protected final void
FoliagePlacer.generateSquareWithHangingLeaves
(TestableWorld world, FoliagePlacer.BlockPlacer placer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk, float hangingLeavesChance, float hangingLeavesExtensionChance) boolean
FoliagePlacer.BlockPlacer.hasPlacedBlock
(BlockPos pos) void
FoliagePlacer.BlockPlacer.placeBlock
(BlockPos pos, BlockState state) private static boolean
FoliagePlacer.placeFoliageBlock
(TestableWorld world, FoliagePlacer.BlockPlacer placer, Random random, TreeFeatureConfig config, float chance, BlockPos origin, BlockPos.Mutable pos) protected static boolean
FoliagePlacer.placeFoliageBlock
(TestableWorld world, FoliagePlacer.BlockPlacer placer, Random random, TreeFeatureConfig config, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.gen.placementmodifier
Modifier and TypeMethodDescriptionAbstractConditionalPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.AbstractCountPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.CountMultilayerPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Deprecated.Applies this placement modifier to the given position.EnvironmentScanPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.FixedPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightmapPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightRangePlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.PlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.RandomOffsetPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.SquarePlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.Modifier and TypeMethodDescriptionprivate static boolean
FixedPlacementModifier.chunkSectionMatchesPos
(int chunkSectionX, int chunkSectionZ, BlockPos pos) protected abstract int
protected int
protected int
protected int
AbstractConditionalPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.AbstractCountPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.CountMultilayerPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Deprecated.Applies this placement modifier to the given position.EnvironmentScanPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.FixedPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightmapPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightRangePlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.PlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.RandomOffsetPlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.SquarePlacementModifier.getPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.static FixedPlacementModifier
protected abstract boolean
AbstractConditionalPlacementModifier.shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) protected boolean
BiomePlacementModifier.shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) protected boolean
BlockFilterPlacementModifier.shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) protected boolean
RarityFilterPlacementModifier.shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) protected boolean
SurfaceThresholdFilterPlacementModifier.shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) protected boolean
SurfaceWaterDepthFilterPlacementModifier.shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.gen.root
Modifier and TypeMethodDescriptionMangroveRootPlacer.getOffshootPositions
(BlockPos pos, Direction direction, Random random, BlockPos origin) Modifier and TypeMethodDescriptionprotected BlockState
RootPlacer.applyWaterlogging
(TestableWorld world, BlockPos pos, BlockState state) private boolean
MangroveRootPlacer.canGrow
(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) protected boolean
MangroveRootPlacer.canGrowThrough
(TestableWorld world, BlockPos pos) protected boolean
RootPlacer.canGrowThrough
(TestableWorld world, BlockPos pos) boolean
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) MangroveRootPlacer.getOffshootPositions
(BlockPos pos, Direction direction, Random random, BlockPos origin) 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) RootPlacer.trunkOffset
(BlockPos pos, Random random) Modifier and TypeMethodDescriptionprivate boolean
MangroveRootPlacer.canGrow
(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) boolean
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 BlockPos in net.minecraft.world.gen.stateprovider
Modifier and TypeMethodDescriptionabstract BlockState
Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.PredicatedStateProvider.getBlockState
(StructureWorldAccess world, Random random, BlockPos pos) protected double
AbstractNoiseBlockStateProvider.getNoiseValue
(BlockPos pos, double scale) protected double
DualNoiseBlockStateProvider.getSlowNoiseValue
(BlockPos pos) protected BlockState
NoiseBlockStateProvider.getStateFromList
(List<BlockState> states, BlockPos pos, double scale) -
Uses of BlockPos in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionprivate final BlockPos
Structure.StructurePosition.position
The field for theposition
record component.Modifier and TypeMethodDescriptionprotected BlockPos
Structure.getShiftedPos
(Structure.Context context, BlockRotation rotation) Deprecated.Structure.StructurePosition.position()
Returns the value of theposition
record component.Modifier and TypeMethodDescriptionprivate void
EndCityStructure.addPieces
(StructurePiecesCollector collector, BlockPos pos, BlockRotation rotation, Structure.Context context) private void
WoodlandMansionStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context, BlockPos pos, BlockRotation rotation) private static boolean
RuinedPortalStructure.isColdAt
(BlockPos pos, RegistryEntry<Biome> biome, int seaLevel) private static void
DesertPyramidStructure.placeSuspiciousSand
(BlockBox box, StructureWorldAccess world, BlockPos pos) ModifierConstructorDescriptionStructurePosition
(BlockPos blockPos, com.mojang.datafixers.util.Either<Consumer<StructurePiecesCollector>, StructurePiecesCollector> either) StructurePosition
(BlockPos pos, Consumer<StructurePiecesCollector> generator) -
Uses of BlockPos in net.minecraft.world.gen.surfacebuilder
Modifier and TypeFieldDescriptionprivate final Function
<BlockPos, RegistryEntry<Biome>> MaterialRules.MaterialRuleContext.posToBiome
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 TypeMethodDescriptionSurfaceBuilder.applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.ModifierConstructorDescriptionprotected
MaterialRuleContext
(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> biomeRegistry, HeightContext heightContext) -
Uses of BlockPos in net.minecraft.world.gen.treedecorator
Modifier and TypeFieldDescriptionprivate final ObjectArrayList
<BlockPos> TreeDecorator.Generator.leavesPositions
private final ObjectArrayList
<BlockPos> TreeDecorator.Generator.logPositions
private final BiConsumer
<BlockPos, BlockState> TreeDecorator.Generator.replacer
private final ObjectArrayList
<BlockPos> TreeDecorator.Generator.rootPositions
Modifier and TypeMethodDescriptionTreeDecorator.Generator.getLeavesPositions()
TreeDecorator.Generator.getLogPositions()
TreeDecorator.Generator.getRootPositions()
Modifier and TypeMethodDescriptionprivate static void
PaleMossTreeDecorator.decorate
(BlockPos pos, TreeDecorator.Generator generator) boolean
boolean
TreeDecorator.Generator.matches
(BlockPos pos, Predicate<BlockState> statePredicate) private boolean
AttachedToLeavesTreeDecorator.meetsRequiredEmptyBlocks
(TreeDecorator.Generator generator, BlockPos pos, Direction direction) private static void
LeavesVineTreeDecorator.placeVines
(BlockPos pos, BooleanProperty faceProperty, TreeDecorator.Generator generator) Places a vine at a given position and then up to 4 more vines going downwards.void
TreeDecorator.Generator.replace
(BlockPos pos, BlockState state) void
TreeDecorator.Generator.replaceWithVine
(BlockPos pos, BooleanProperty faceProperty) private void
AlterGroundTreeDecorator.setArea
(TreeDecorator.Generator generator, BlockPos origin) private void
AlterGroundTreeDecorator.setColumn
(TreeDecorator.Generator generator, BlockPos origin) ModifierConstructorDescriptionGenerator
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) Generator
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Uses of BlockPos in net.minecraft.world.gen.trunk
Modifier and TypeMethodDescriptionprivate static boolean
TrunkPlacer.canGenerate
(TestableWorld world, BlockPos pos) protected boolean
TrunkPlacer.canReplace
(TestableWorld world, BlockPos pos) protected boolean
UpwardsBranchingTrunkPlacer.canReplace
(TestableWorld world, BlockPos pos) boolean
TrunkPlacer.canReplaceOrIsLog
(TestableWorld world, BlockPos pos) BendingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundCherryTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List
<FoliagePlacer.TreeNode> TrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate FoliagePlacer.TreeNode
CherryTrunkPlacer.generateBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) 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) private Direction.Axis
LargeOakTrunkPlacer.getLogAxis
(BlockPos branchStart, BlockPos branchEnd) private int
LargeOakTrunkPlacer.getLongestSide
(BlockPos offset) private void
LargeOakTrunkPlacer.makeBranches
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private boolean
LargeOakTrunkPlacer.makeOrCheckBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private void
GiantTrunkPlacer.setLog
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable tmpPos, TreeFeatureConfig config, BlockPos startPos, int dx, int dy, int dz) protected static void
TrunkPlacer.setToDirt
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) Modifier and TypeMethodDescriptionBendingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundCherryTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List
<FoliagePlacer.TreeNode> TrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate FoliagePlacer.TreeNode
CherryTrunkPlacer.generateBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) private 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) private void
LargeOakTrunkPlacer.makeBranches
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private boolean
LargeOakTrunkPlacer.makeOrCheckBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private void
GiantTrunkPlacer.setLog
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable tmpPos, TreeFeatureConfig config, BlockPos startPos, int dx, int dy, int dz) protected static void
TrunkPlacer.setToDirt
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected void
TrunkPlacer.trySetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config) -
Uses of BlockPos in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevelProperties.getSpawnPos()
UnmodifiableLevelProperties.getSpawnPos()
Modifier and TypeMethodDescriptionvoid
LevelProperties.setSpawnPos
(BlockPos pos, float angle) void
UnmodifiableLevelProperties.setSpawnPos
(BlockPos pos, float angle) ModifierConstructorDescriptionprivate
LevelProperties
(@Nullable NbtCompound playerData, boolean modded, BlockPos spawnPos, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable UUID wanderingTraderId, Set<String> serverBrands, Set<String> removedFeatures, Timer<MinecraftServer> scheduledEvents, @Nullable NbtCompound customBossEvents, EnderDragonFight.Data dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle) -
Uses of BlockPos in net.minecraft.world.poi
Modifier and TypeFieldDescriptionprivate final BlockPos
PointOfInterest.pos
private final BlockPos
PointOfInterest.Serialized.pos
The field for thepos
record component.Modifier and TypeMethodDescriptionPointOfInterest.getPos()
PointOfInterest.Serialized.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionPointOfInterestStorage.getNearestPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Optional
<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> PointOfInterestStorage.getNearestTypeAndPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> posPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) PointOfInterestStorage.getPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream
<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> PointOfInterestStorage.getSortedTypesAndPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream
<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> PointOfInterestStorage.getTypesAndPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Modifier and TypeMethodDescriptionvoid
PointOfInterestSet.add
(BlockPos pos, RegistryEntry<PointOfInterestType> type) void
PointOfInterestStorage.add
(BlockPos pos, RegistryEntry<PointOfInterestType> type) long
PointOfInterestStorage.count
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) private Optional
<PointOfInterest> int
PointOfInterestSet.getFreeTickets
(BlockPos pos) Deprecated.int
PointOfInterestStorage.getFreeTickets
(BlockPos pos) Deprecated.PointOfInterestStorage.getInCircle
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInSquare
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Optional
<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> PointOfInterestStorage.getNearestTypeAndPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> posPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) PointOfInterestStorage.getPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream
<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> PointOfInterestStorage.getSortedTypesAndPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream
<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> PointOfInterestStorage.getTypesAndPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) boolean
PointOfInterestStorage.hasTypeAt
(RegistryKey<PointOfInterestType> type, BlockPos pos) void
PointOfInterestStorage.preloadChunks
(WorldView world, BlockPos pos, int radius) Preloads chunks in a square area with the given radius.boolean
PointOfInterestSet.releaseTicket
(BlockPos pos) boolean
PointOfInterestStorage.releaseTicket
(BlockPos pos) void
void
boolean
PointOfInterestSet.test
(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) boolean
PointOfInterestStorage.test
(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) Modifier and TypeMethodDescriptionPointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> posPredicate, BlockPos pos, int radius) private void
PointOfInterestStorage.scanAndPopulate
(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator) void
PointOfInterestSet.updatePointsOfInterest
(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater) ModifierConstructorDescription(package private)
PointOfInterest
(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener) PointOfInterest
(BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener) Serialized
(BlockPos blockPos, RegistryEntry<PointOfInterestType> registryEntry, int int2) -
Uses of BlockPos in net.minecraft.world.spawner
Modifier and TypeMethodDescriptionprivate int
CatSpawner.spawn
(BlockPos pos, ServerWorld world) Spawns a cat.private int
CatSpawner.spawnInHouse
(ServerWorld world, BlockPos pos) Tries to spawn cats in villages.private int
CatSpawner.spawnInSwampHut
(ServerWorld world, BlockPos pos) Tries to spawn cats in swamp huts.private boolean
PatrolSpawner.spawnPillager
(ServerWorld world, BlockPos pos, Random random, boolean captain) -
Uses of BlockPos in net.minecraft.world.tick
Modifier and TypeFieldDescriptionprivate final BlockPos
OrderedTick.pos
The field for thepos
record component.private final BlockPos
Tick.pos
The field for thepos
record component.Modifier and TypeFieldDescriptionprivate final Function
<BlockPos, BasicTickScheduler<T>> MultiTickScheduler.mapper
Modifier and TypeMethodDescriptionOrderedTick.pos()
Returns the value of thepos
record component.Tick.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionstatic <T> OrderedTick
<T> static <T> Tick
<T> <T> OrderedTick
<T> ScheduledTickView.createOrderedTick
(BlockPos pos, T type, int delay) <T> OrderedTick
<T> ScheduledTickView.createOrderedTick
(BlockPos pos, T type, int delay, TickPriority priority) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
default void
ScheduledTickView.scheduleBlockTick
(BlockPos pos, Block block, int delay) default void
ScheduledTickView.scheduleBlockTick
(BlockPos pos, Block block, int delay, TickPriority priority) default void
ScheduledTickView.scheduleFluidTick
(BlockPos pos, Fluid fluid, int delay) default void
ScheduledTickView.scheduleFluidTick
(BlockPos pos, Fluid fluid, int delay, TickPriority priority) private static NbtCompound
Tick.toNbt
(String type, BlockPos pos, int delay, TickPriority priority) Modifier and TypeMethodDescriptionvoid
WorldTickScheduler.tick
(long time, int maxTicks, BiConsumer<BlockPos, T> ticker) private void
WorldTickScheduler.tick
(BiConsumer<BlockPos, T> ticker) ModifierConstructorDescriptionOrderedTick
(T type, BlockPos pos, long triggerTick, long subTickOrder) OrderedTick
(T t, BlockPos blockPos, long long2, TickPriority tickPriority, long long3) Tick
(T t, BlockPos blockPos, int int2, TickPriority tickPriority) ModifierConstructorDescriptionMultiTickScheduler
(Function<BlockPos, BasicTickScheduler<T>> mapper)