Uses of Class
net.minecraft.util.math.BlockPos
Package
Description
-
Uses of BlockPos in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionboolean
PlacedBlockCriterion.Conditions.matches(BlockState state, BlockPos pos, ServerWorld world, ItemStack stack)
boolean
ItemUsedOnBlockCriterion.Conditions.test(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
void
ItemUsedOnBlockCriterion.test(ServerPlayerEntity player, BlockPos pos, ItemStack stack)
void
PlacedBlockCriterion.trigger(ServerPlayerEntity player, BlockPos blockPos, ItemStack stack)
void
UsedEnderEyeCriterion.trigger(ServerPlayerEntity player, BlockPos strongholdPos)
-
Uses of BlockPos in net.minecraft.block
Modifier and TypeFieldDescriptionprivate BlockPos
ComposterBlock.ComposterInventory.pos
private BlockPos
ComposterBlock.FullComposterInventory.pos
private BlockPos
RailPlacementHelper.pos
(package private) BlockPos
RedstoneTorchBlock.BurnoutEntry.pos
Modifier and TypeMethodDescriptionPointedDripstoneBlock.getCauldronPos(World world, BlockPos pos, Fluid fluid)
PointedDripstoneBlock.getDripPos(World world, BlockPos pos)
PointedDripstoneBlock.getTipPos(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged)
Modifier and TypeMethodDescriptionRailPlacementHelper.getNeighbors()
AbstractLichenBlock.getSpreadLocation(BlockState state, BlockView world, BlockPos pos, Direction from, Direction to)
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, Predicate<BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range)
Modifier and TypeMethodDescriptionprivate boolean
SpongeBlock.absorbWater(World world, BlockPos pos)
private boolean
AbstractLichenBlock.addDirection(WorldAccess world, BlockPos pos, Direction direction, boolean bool)
private void
BeehiveBlock.addHoneyParticle(World world, BlockPos pos, VoxelShape shape, double height)
private void
RedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3)
(package private) static BlockState
ComposterBlock.addToComposter(BlockState state, WorldAccess world, BlockPos pos, ItemStack item)
void
BeehiveBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
void
Block.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
void
IceBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
void
TallPlantBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
void
TurtleEggBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
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 void
TurtleEggBlock.breakEgg(World world, BlockPos pos, BlockState state)
float
AbstractBlock.AbstractBlockState.calcBlockBreakingDelta(PlayerEntity player, BlockView world, BlockPos pos)
float
AbstractBlock.calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos)
Deprecated.float
BambooBlock.calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos)
float
BambooSaplingBlock.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)
private boolean
RailPlacementHelper.canConnect(BlockPos pos)
boolean
CarvedPumpkinBlock.canDispense(WorldView world, BlockPos pos)
static boolean
WitherSkullBlock.canDispense(World world, BlockPos pos, ItemStack stack)
boolean
FluidFillable.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
KelpBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
KelpPlantBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
SeagrassBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
SlabBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
TallSeagrassBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
default boolean
Waterloggable.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
boolean
AbstractPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
AbstractPlantStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
AzaleaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
BambooBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
BambooSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
BigDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
BigDripleafStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
CaveVinesBodyBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
CaveVinesHeadBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
CocoaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
CropBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
FernBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
Fertilizable.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
FungusBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
GlowLichenBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
GrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
MossBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
MushroomPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
NetherrackBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
NyliumBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
private static boolean
PointedDripstoneBlock.canGrow(BlockState state, ServerWorld world, BlockPos pos)
boolean
RootedDirtBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
SaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
SeagrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
SeaPickleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
SmallDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
StemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
SweetBerryBushBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
boolean
TallFlowerBlock.canGrow(World world, Random random, BlockPos pos, BlockState state)
private boolean
protected static boolean
BigDripleafBlock.canGrowInto(HeightLimitView world, BlockPos pos, BlockState state)
private static boolean
AbstractLichenBlock.canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state)
private boolean
private static boolean
ShulkerBoxBlock.canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity)
boolean
AbstractBlock.AbstractBlockState.canPathfindThrough(BlockView world, BlockPos pos, NavigationType type)
boolean
AbstractBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
Deprecated.boolean
AbstractCauldronBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
AbstractSkullBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
AnvilBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
BambooBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
BedBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
BellBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
BrewingStandBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
CactusBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
CakeBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
CampfireBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
CandleCakeBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
ChainBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
ChestBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
ChorusPlantBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
CocoaBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
ComposterBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
ConduitBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
DirtPathBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
DoorBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
DragonEggBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
EnchantingTableBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
EnderChestBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
EndPortalFrameBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
FarmlandBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
FenceBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
FenceGateBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
FlowerPotBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
FluidBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
GrindstoneBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
HopperBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
HorizontalConnectingBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
LanternBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
LecternBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
PistonBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
PistonExtensionBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
PistonHeadBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
PlantBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
PointedDripstoneBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
PowderSnowBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
RespawnAnchorBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
RodBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
SculkSensorBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
SeaPickleBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
SlabBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
SnowBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
SoulSandBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
StairsBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
StonecutterBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
TrapdoorBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
WallBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
boolean
AbstractBlock.AbstractBlockState.canPlaceAt(WorldView world, BlockPos pos)
boolean
AbstractBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
Deprecated.static boolean
AbstractFireBlock.canPlaceAt(World world, BlockPos pos, Direction direction)
boolean
AbstractLichenBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
AbstractPlantPartBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
AbstractPressurePlateBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
AbstractRailBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
AbstractRedstoneGateBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
AmethystClusterBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
BambooBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
BambooSaplingBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
BannerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
BellBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
BigDripleafBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
BigDripleafStemBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
BubbleColumnBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
CactusBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
CakeBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
CandleBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
CandleCakeBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
CarpetBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
ChorusFlowerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
ChorusPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
CocoaBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
CoralParentBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
CropBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
DeadCoralWallFanBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
DirtPathBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
DoorBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
FarmlandBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
FireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
GrindstoneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
HangingRootsBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
LadderBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
LanternBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
MushroomPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
PistonHeadBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
PlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
PointedDripstoneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
RedstoneWireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
ScaffoldingBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
SeaPickleBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
SignBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
SmallDripleafBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
SnowBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
SoulFireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
SporeBlossomBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
SugarCaneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
TallPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
TallSeagrassBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
TorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
TripwireHookBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
VineBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
WallBannerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
WallMountedBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
static boolean
WallMountedBlock.canPlaceAt(WorldView world, BlockPos pos, Direction direction)
boolean
WallRedstoneTorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
WallSignBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
boolean
WallTorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos)
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
PlantBlock.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)
protected boolean
AbstractLichenBlock.canSpread(BlockState state, BlockView world, BlockPos pos, Direction from)
private static boolean
SpreadableBlock.canSpread(BlockState state, WorldView world, BlockPos pos)
private boolean
AbstractLichenBlock.canSpreadTo(BlockView world, BlockPos pos, Direction direction)
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
RespawnAnchorBlock.charge(World world, BlockPos pos, BlockState state)
protected void
CoralParentBlock.checkLivingConditions(BlockState state, WorldAccess world, BlockPos pos)
static BlockState
ComposterBlock.compost(BlockState state, ServerWorld world, ItemStack stack, BlockPos pos)
protected int
BambooBlock.countBambooAbove(BlockView world, BlockPos pos)
protected int
BambooBlock.countBambooBelow(BlockView world, BlockPos pos)
AbstractBannerBlock.createBlockEntity(BlockPos pos, BlockState state)
AbstractSignBlock.createBlockEntity(BlockPos pos, BlockState state)
AbstractSkullBlock.createBlockEntity(BlockPos pos, BlockState state)
BarrelBlock.createBlockEntity(BlockPos pos, BlockState state)
BeaconBlock.createBlockEntity(BlockPos pos, BlockState state)
BedBlock.createBlockEntity(BlockPos pos, BlockState state)
BeehiveBlock.createBlockEntity(BlockPos pos, BlockState state)
BellBlock.createBlockEntity(BlockPos pos, BlockState state)
BlastFurnaceBlock.createBlockEntity(BlockPos pos, BlockState state)
BlockEntityProvider.createBlockEntity(BlockPos pos, BlockState state)
BrewingStandBlock.createBlockEntity(BlockPos pos, BlockState state)
CampfireBlock.createBlockEntity(BlockPos pos, BlockState state)
ChestBlock.createBlockEntity(BlockPos pos, BlockState state)
CommandBlock.createBlockEntity(BlockPos pos, BlockState state)
ComparatorBlock.createBlockEntity(BlockPos pos, BlockState state)
ConduitBlock.createBlockEntity(BlockPos pos, BlockState state)
DaylightDetectorBlock.createBlockEntity(BlockPos pos, BlockState state)
DispenserBlock.createBlockEntity(BlockPos pos, BlockState state)
DropperBlock.createBlockEntity(BlockPos pos, BlockState state)
EnchantingTableBlock.createBlockEntity(BlockPos pos, BlockState state)
EnderChestBlock.createBlockEntity(BlockPos pos, BlockState state)
EndGatewayBlock.createBlockEntity(BlockPos pos, BlockState state)
EndPortalBlock.createBlockEntity(BlockPos pos, BlockState state)
FurnaceBlock.createBlockEntity(BlockPos pos, BlockState state)
HopperBlock.createBlockEntity(BlockPos pos, BlockState state)
JigsawBlock.createBlockEntity(BlockPos pos, BlockState state)
JukeboxBlock.createBlockEntity(BlockPos pos, BlockState state)
LecternBlock.createBlockEntity(BlockPos pos, BlockState state)
PistonExtensionBlock.createBlockEntity(BlockPos pos, BlockState state)
SculkSensorBlock.createBlockEntity(BlockPos pos, BlockState state)
ShulkerBoxBlock.createBlockEntity(BlockPos pos, BlockState state)
SmokerBlock.createBlockEntity(BlockPos pos, BlockState state)
SpawnerBlock.createBlockEntity(BlockPos pos, BlockState state)
StructureBlock.createBlockEntity(BlockPos pos, BlockState state)
TrappedChestBlock.createBlockEntity(BlockPos pos, BlockState state)
static BlockEntity
PistonExtensionBlock.createBlockEntityPiston(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source)
static void
PointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state)
private static void
PointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state, Fluid fluid)
AbstractBlock.AbstractBlockState.createScreenHandlerFactory(World world, BlockPos pos)
AbstractBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
Deprecated.AnvilBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
BlockWithEntity.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
CartographyTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
ChestBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
CraftingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
EnchantingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
GrindstoneBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
LecternBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
LoomBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
SmithingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
StonecutterBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
static void
LeveledCauldronBlock.decrementFluidLevel(BlockState state, World world, BlockPos pos)
private void
protected void
DispenserBlock.dispense(ServerWorld world, BlockPos pos)
protected void
DropperBlock.dispense(ServerWorld world, 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)
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, Entity entity, ItemStack stack)
(package private) static BlockState
ComposterBlock.emptyComposter(BlockState state, WorldAccess world, BlockPos pos)
static BlockState
ComposterBlock.emptyFullComposter(BlockState state, World world, BlockPos pos)
private void
CommandBlock.execute(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand)
private static void
CommandBlock.executeCommandChain(World 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)
protected void
CauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)
protected void
LeveledCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)
RespawnAnchorBlock.findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos)
RespawnAnchorBlock.findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean bool)
BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float float2)
BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] int2, boolean bool)
BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction direction, Direction direction2)
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)
void
SaplingBlock.generate(ServerWorld world, BlockPos pos, BlockState state, Random random)
float
AbstractBlock.AbstractBlockState.getAmbientOcclusionLightLevel(BlockView world, BlockPos pos)
float
AbstractBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
Deprecated.float
AbstractGlassBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
float
BarrierBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
float
LightBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
float
StructureVoidBlock.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)
AbstractBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Deprecated.AbstractGlassBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FenceBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PaneBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PowderSnowBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SnowBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SoulSandBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
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)
AbstractBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Deprecated.BambooBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BellBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BigDripleafBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CactusBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ComposterBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FenceGateBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FluidBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
GrindstoneBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
HoneyBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
HorizontalConnectingBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
LecternBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PistonExtensionBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PowderSnowBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ScaffoldingBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SnowBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SoulSandBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
WallBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
int
AnvilBlock.getColor(BlockState state, BlockView world, BlockPos pos)
int
ConcretePowderBlock.getColor(BlockState state, BlockView world, BlockPos pos)
int
FallingBlock.getColor(BlockState state, BlockView world, BlockPos pos)
int
GravelBlock.getColor(BlockState state, BlockView world, BlockPos pos)
int
SandBlock.getColor(BlockState state, BlockView world, BlockPos pos)
int
AbstractBlock.AbstractBlockState.getComparatorOutput(World world, BlockPos pos)
int
AbstractBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
Deprecated.int
AbstractFurnaceBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
BarrelBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
BeehiveBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
BrewingStandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
CakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
CandleCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
ChestBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
CommandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
ComposterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
DetectorRailBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
DispenserBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
EndPortalFrameBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
HopperBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
JukeboxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
LavaCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
LecternBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
LeveledCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
RespawnAnchorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
SculkSensorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
int
ShulkerBoxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos)
AbstractBlock.AbstractBlockState.getCullingFace(BlockView world, BlockPos pos, Direction direction)
AbstractBlock.AbstractBlockState.getCullingShape(BlockView world, BlockPos pos)
AbstractBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos)
Deprecated.FenceBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos)
FenceGateBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos)
LecternBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos)
PointedDripstoneBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos)
PowderSnowBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos)
SkullBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos)
BedBlock.getDirection(BlockView world, BlockPos pos)
PointedDripstoneBlock.getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction)
static Fluid
PointedDripstoneBlock.getDripFluid(World 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 <U extends FeatureConfig>
BlockStateGrassBlock.getFlowerState(Random random, BlockPos pos, ConfiguredFeature<U,?> flowerFeature)
PointedDripstoneBlock.getFluid(World world, BlockPos pos, BlockState state)
float
AbstractBlock.AbstractBlockState.getHardness(BlockView world, BlockPos pos)
protected int
AbstractRedstoneGateBlock.getInputLevel(WorldView world, BlockPos pos, Direction dir)
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)
AbstractBlock.AbstractBlockState.getMapColor(BlockView world, BlockPos pos)
protected int
AbstractRedstoneGateBlock.getMaxInputLevelSides(WorldView world, BlockPos pos, BlockState state)
AbstractBlock.AbstractBlockState.getModelOffset(BlockView world, BlockPos pos)
private @Nullable RailPlacementHelper
RailPlacementHelper.getNeighboringRail(BlockPos pos)
int
AbstractBlock.AbstractBlockState.getOpacity(BlockView world, BlockPos pos)
int
AbstractBlock.getOpacity(BlockState state, BlockView world, BlockPos pos)
Deprecated.int
LeavesBlock.getOpacity(BlockState state, BlockView world, BlockPos pos)
int
TintedGlassBlock.getOpacity(BlockState state, BlockView world, BlockPos pos)
AbstractBlock.AbstractBlockState.getOutlineShape(BlockView world, BlockPos pos)
AbstractBlock.AbstractBlockState.getOutlineShape(BlockView world, BlockPos pos, ShapeContext context)
AbstractBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Deprecated.AbstractButtonBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AbstractCauldronBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AbstractFireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AbstractLichenBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AbstractPlantPartBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AbstractPressurePlateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AbstractRailBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AbstractRedstoneGateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AbstractSignBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AirBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AmethystClusterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AnvilBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AttachedStemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
AzaleaBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BambooBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BambooSaplingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BannerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BedBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BeetrootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BellBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BigDripleafBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BigDripleafStemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BrewingStandBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
BubbleColumnBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CactusBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CakeBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CampfireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CandleBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CandleCakeBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CarpetBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CarrotsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ChainBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ChestBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CocoaBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ComposterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ConduitBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ConnectingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CoralBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CoralParentBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
CropBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
DaylightDetectorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
DeadBushBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
DeadCoralBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
DeadCoralFanBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
DeadCoralWallFanBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
DirtPathBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
DoorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
DragonEggBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
EnchantingTableBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
EnderChestBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
EndPortalBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
EndPortalFrameBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FarmlandBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FenceGateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FernBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FlowerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FlowerPotBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FluidBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
FungusBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
GrindstoneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
HangingRootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
HopperBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
HorizontalConnectingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
LadderBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
LanternBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
LecternBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
LeverBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
LightBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
LilyPadBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
MushroomPlantBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
NetherPortalBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
NetherWartBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PistonBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PistonExtensionBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PistonHeadBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PointedDripstoneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
PotatoesBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
RedstoneWireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
RodBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
RootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SaplingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ScaffoldingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SculkSensorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SeagrassBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SeaPickleBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
ShulkerBoxBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SkullBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SlabBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SmallDripleafBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SnowBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SporeBlossomBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SproutsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
StairsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
StemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
StonecutterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
StructureVoidBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SugarCaneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
SweetBerryBushBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
TallSeagrassBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
TorchBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
TrapdoorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
TripwireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
TripwireHookBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
TurtleEggBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VineBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
WallBannerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
WallBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
WallRedstoneTorchBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
WallSignBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
WallSkullBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
WallTorchBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
protected int
AbstractRedstoneGateBlock.getOutputLevel(BlockView world, BlockPos pos, BlockState state)
protected int
ComparatorBlock.getOutputLevel(BlockView world, BlockPos pos, BlockState state)
AbstractBannerBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
AbstractPlantBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
AttachedStemBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
BambooSaplingBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
BigDripleafStemBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
Block.getPickStack(BlockView world, BlockPos pos, BlockState state)
CandleCakeBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
CaveVinesBodyBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
CaveVinesHeadBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
CropBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
EndGatewayBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
EndPortalBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
FlowerPotBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
FrostedIceBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
LightBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
NetherPortalBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
NetherWartBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
PistonExtensionBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
PistonHeadBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
ShulkerBoxBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
SpawnerBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
StemBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
SweetBerryBushBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
TallSeagrassBlock.getPickStack(BlockView world, BlockPos pos, BlockState state)
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)
AbstractBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos)
Deprecated.AbstractCauldronBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos)
ComposterBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos)
HopperBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos)
ScaffoldingBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos)
private int
RedstoneWireBlock.getReceivedRedstonePower(World 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)
long
AbstractBlock.getRenderingSeed(BlockState state, BlockPos pos)
Deprecated.long
BedBlock.getRenderingSeed(BlockState state, BlockPos pos)
long
DoorBlock.getRenderingSeed(BlockState state, BlockPos pos)
long
TallPlantBlock.getRenderingSeed(BlockState state, BlockPos pos)
AbstractBlock.AbstractBlockState.getSidesShape(BlockView world, BlockPos pos)
AbstractBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos)
Deprecated.LeavesBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos)
SnowBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos)
SoulSandBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos)
AbstractLichenBlock.getSpreadLocation(BlockState state, BlockView world, BlockPos pos, Direction from, Direction to)
private static StairShape
StairsBlock.getStairShape(BlockState state, BlockView world, BlockPos pos)
private static int
PointedDripstoneBlock.getStalactiteSize(ServerWorld world, BlockPos pos, int range)
static BlockState
AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.AbstractBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Deprecated.AbstractLichenBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPlantStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPressurePlateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.AbstractRailBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.AbstractSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.AmethystClusterBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.AttachedStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BambooBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BambooSaplingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BannerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BedBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BeehiveBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BellBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BigDripleafBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BigDripleafStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.BubbleColumnBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CactusBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CakeBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CampfireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CandleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CandleCakeBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CarpetBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.ChainBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.ChestBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.ChorusFlowerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.ChorusPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CocoaBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.ConcretePowderBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.ConduitBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CoralBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CoralBlockBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CoralFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CoralParentBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.CoralWallFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.DeadCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.DirtPathBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.DoorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.EnderChestBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.FallingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.FarmlandBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.FenceBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.FenceGateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.FireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.FlowerPotBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.FluidBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.GlowLichenBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.HangingRootsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.LadderBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.LanternBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.LeavesBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.LightBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.LightningRodBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.MagmaBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.MushroomBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.NetherPortalBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.NoteBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.ObserverBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.PaneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.PistonHeadBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.PlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.PointedDripstoneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.RedstoneWireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.RepeaterBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.ScaffoldingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SculkSensorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SeagrassBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SeaPickleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SlabBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SmallDripleafBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SnowBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SnowyBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SoulFireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SoulSandBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SporeBlossomBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.StairsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.SugarCaneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.TallPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.TorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.TrapdoorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.TripwireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.TripwireHookBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.VineBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.WallBannerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.WallBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.WallMountedBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.WallRedstoneTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.WallSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.WallTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.protected BlockState
FireBlock.getStateForPosition(BlockView world, BlockPos pos)
private BlockState
FireBlock.getStateWithAge(WorldAccess world, BlockPos pos, int age)
AbstractPlantBlock.getStemHeadPos(BlockView world, BlockPos pos, Block block)
int
AbstractBlock.AbstractBlockState.getStrongRedstonePower(BlockView world, BlockPos pos, Direction direction)
int
AbstractBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
Deprecated.int
AbstractButtonBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
AbstractPressurePlateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
AbstractRedstoneGateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
DetectorRailBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
LecternBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
LeverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
LightningRodBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
ObserverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
RedstoneTorchBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
RedstoneWireBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
TrappedChestBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
TripwireHookBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
PointedDripstoneBlock.getSupportingPos(World world, BlockPos pos, BlockState state, int range)
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)
int
AbstractBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
Deprecated.int
AbstractButtonBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
AbstractPressurePlateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
AbstractRedstoneGateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
DaylightDetectorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
DetectorRailBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
LecternBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
LeverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
LightningRodBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
ObserverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
RedstoneBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
RedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
RedstoneWireBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
SculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
TargetBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
TrappedChestBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
TripwireHookBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
int
WallRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
void
AbstractPlantBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
AbstractPlantStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
AzaleaBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
BambooBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
BambooSaplingBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
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
FernBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
Fertilizable.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
FungusBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
GlowLichenBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
GrassBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
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
RootedDirtBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
SaplingBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
SeagrassBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
SeaPickleBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
SmallDripleafBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
StemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
SweetBerryBushBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
TallFlowerBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
private static void
PointedDripstoneBlock.growMerged(BlockState state, WorldAccess world, BlockPos pos)
private static boolean
ConcretePowderBlock.hardensOnAnySide(BlockView world, BlockPos pos)
private boolean
private static boolean
ChestBlock.hasBlockOnTop(BlockView world, BlockPos pos)
private static boolean
boolean
AbstractBlock.AbstractBlockState.hasEmissiveLighting(BlockView world, BlockPos pos)
private static boolean
ChestBlock.hasOcelotOnTop(WorldAccess world, BlockPos pos)
protected boolean
AbstractRedstoneGateBlock.hasPower(World world, BlockPos pos, BlockState state)
protected boolean
ComparatorBlock.hasPower(World world, BlockPos pos, BlockState state)
boolean
AbstractBlock.AbstractBlockState.hasSolidTopSurface(BlockView world, BlockPos pos, Entity entity)
boolean
AbstractBlock.AbstractBlockState.hasSolidTopSurface(BlockView world, BlockPos pos, Entity entity, Direction direction)
private static boolean
RespawnAnchorBlock.hasStillWater(BlockPos pos, World world)
static boolean
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)
private static boolean
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(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
AbstractPlantStemBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
AzaleaBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
BambooBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
BambooSaplingBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
BigDripleafBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
BigDripleafStemBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
CaveVinesBodyBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
CaveVinesHeadBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
CocoaBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
CropBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
FernBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
Fertilizable.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
FungusBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
GlowLichenBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
GrassBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
MossBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
MushroomPlantBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
NetherrackBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
NyliumBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
RootedDirtBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
SaplingBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
SeagrassBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
SeaPickleBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
SmallDripleafBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
StemBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
SweetBerryBushBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
TallFlowerBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
private boolean
boolean
AbstractBlock.AbstractBlockState.isFullCube(BlockView world, BlockPos pos)
private static boolean
PointedDripstoneBlock.isHeldByPointedDripstone(BlockState state, WorldView world, BlockPos pos)
protected boolean
protected static boolean
CoralParentBlock.isInWater(BlockState state, BlockView world, BlockPos pos)
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)
boolean
AbstractBlock.AbstractBlockState.isOpaqueFullCube(BlockView world, 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)
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)
private static boolean
ChorusFlowerBlock.isSurroundedByAir(WorldView world, BlockPos pos, @Nullable Direction exceptDirection)
boolean
AbstractRedstoneGateBlock.isTargetNotAligned(BlockView world, BlockPos pos, BlockState state)
boolean
AbstractBlock.AbstractBlockState.isTranslucent(BlockView world, BlockPos pos)
boolean
AbstractGlassBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
BambooBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
BarrierBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
Block.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
ConnectingBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
FluidBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
HorizontalConnectingBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
LightBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
PlantBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
TintedGlassBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
boolean
WallBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos)
private boolean
RailPlacementHelper.isVerticallyNearRail(BlockPos pos)
private static boolean
FarmlandBlock.isWaterNearby(WorldView world, BlockPos pos)
static boolean
DoorBlock.isWoodenDoor(World 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)
private BlockState
WallBlock.method_24421(WorldView worldView, BlockState blockState, BlockPos blockPos, BlockState blockState2)
private BlockState
WallBlock.method_24422(WorldView worldView, BlockState blockState, BlockPos blockPos, BlockState blockState2, boolean bool, boolean bool2, boolean bool3, boolean bool4)
private BlockState
WallBlock.method_24423(WorldView worldView, BlockPos blockPos, BlockState blockState, BlockPos blockPos2, BlockState blockState2, Direction direction)
private BlockState
RedstoneWireBlock.method_27843(BlockView world, BlockState state, BlockPos pos)
private boolean
void
AbstractBlock.AbstractBlockState.neighborUpdate(World world, BlockPos pos, Block block, BlockPos posFrom, boolean notify)
void
AbstractBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
Deprecated.void
AbstractRailBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
AbstractRedstoneGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
BellBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
BigDripleafBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
CommandBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
DispenserBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
DoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
FenceGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
FluidBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
FrostedIceBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
HopperBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
NoteBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
PistonBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
PistonHeadBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
RedstoneLampBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
RedstoneTorchBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
RedstoneWireBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
SpongeBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
StructureBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
TntBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
TrapdoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
private static boolean
Blocks.never(BlockState state, BlockView world, BlockPos pos)
A shortcut to always returnfalse
a context predicate, used assettings.solidBlock(Blocks::never)
.private static Boolean
Blocks.never(BlockState state, BlockView world, BlockPos pos, EntityType<?> type)
A shortcut to always returnfalse
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::never)
.void
AbstractBlock.AbstractBlockState.onBlockAdded(World world, BlockPos pos, BlockState state, boolean notify)
void
AbstractBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
Deprecated.void
AbstractFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
AbstractRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
AbstractRedstoneGateBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
CarvedPumpkinBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
ComposterBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
CoralBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
CoralFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
CoralWallFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
DetectorRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
FallingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
FireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
FluidBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
HopperBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
LightningRodBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
MagmaBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
ObserverBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
PistonBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
RedstoneTorchBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
RedstoneWireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
ScaffoldingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
SculkSensorBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
SoulSandBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
SpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
StairsBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
TargetBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
TntBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
TripwireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
TurtleEggBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
WetSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
void
AbstractBlock.AbstractBlockState.onBlockBreakStart(World world, BlockPos pos, PlayerEntity player)
void
AbstractBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)
Deprecated.void
DragonEggBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)
void
NoteBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)
void
RedstoneOreBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)
void
StairsBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)
void
AbstractFireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
BedBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
BeehiveBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
Block.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
DoorBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
PistonHeadBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
ShulkerBoxBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
TallPlantBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
TntBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
void
TripwireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
protected static void
TallPlantBlock.onBreakInCreative(World world, BlockPos pos, BlockState state, PlayerEntity player)
Destroys a bottom half of a tall double block (such as a plant or a door) without dropping an item when broken in creative.void
Block.onBroken(WorldAccess world, BlockPos pos, BlockState state)
void
PistonExtensionBlock.onBroken(WorldAccess world, BlockPos pos, BlockState state)
void
StairsBlock.onBroken(WorldAccess world, BlockPos pos, BlockState state)
void
Block.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Called when this block is destroyed by an explosion.void
InfestedBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Called when this block is destroyed by an explosion.void
StairsBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Called when this block is destroyed by an explosion.void
TntBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Called when this block is destroyed by an explosion.void
AnvilBlock.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)
void
AbstractBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
Deprecated.void
AbstractButtonBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
AbstractFireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
AbstractPressurePlateBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
BigDripleafBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
BubbleColumnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
CactusBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
CampfireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
CobwebBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
CropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
DetectorRailBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
EndPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
HoneyBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
HopperBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
LavaCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
LeveledCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
LilyPadBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
NetherPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
PowderSnowBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
SweetBerryBushBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
TripwireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
WitherRoseBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
protected void
LeveledCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos)
protected void
PowderSnowCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos)
void
BedBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
void
Block.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
void
FarmlandBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
void
HayBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
void
HoneyBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
void
PointedDripstoneBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
void
SlimeBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
void
TurtleEggBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
void
AnvilBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)
void
ConcretePowderBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)
default void
LandingBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)
void
AbstractBannerBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
AbstractFurnaceBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
AbstractRedstoneGateBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
BarrelBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
BeaconBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
BedBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
Block.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
BrewingStandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
ChestBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
CommandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
ConduitBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
DispenserBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
DoorBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
EnchantingTableBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
HopperBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
JukeboxBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
PistonBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
PlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
ShulkerBoxBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
SmallDripleafBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
StructureBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
TallPlantBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
TripwireHookBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
void
WallPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
WallWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
void
WitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)
static void
WitherSkullBlock.onPlaced(World world, BlockPos pos, SkullBlockEntity blockEntity)
void
AbstractBlock.AbstractBlockState.onStacksDropped(ServerWorld world, BlockPos pos, ItemStack stack)
void
AbstractBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
Deprecated.void
InfestedBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
void
OreBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
void
RedstoneOreBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
void
SpawnerBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
void
AbstractBlock.AbstractBlockState.onStateReplaced(World world, BlockPos pos, BlockState state, boolean moved)
void
AbstractBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Deprecated.void
AbstractButtonBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
AbstractFurnaceBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
AbstractPressurePlateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
AbstractRailBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
AbstractRedstoneGateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
BarrelBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
BrewingStandBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
CampfireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
ChestBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
DispenserBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
HopperBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
JukeboxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
LecternBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
LeverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
LightningRodBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
ObserverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
PistonExtensionBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
PistonHeadBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
RedstoneTorchBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
RedstoneWireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
SculkSensorBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
ShulkerBoxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
StairsBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
TripwireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
TripwireHookBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.void
Block.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity)
Called when an entity steps on this block.void
MagmaBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity)
Called when an entity steps on this block.void
RedstoneOreBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity)
Called when an entity steps on this block.void
SlimeBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity)
Called when an entity steps on this block.void
StairsBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity)
Called when an entity steps on this block.void
TurtleEggBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity)
Called when an entity steps on this block.boolean
AbstractBlock.AbstractBlockState.onSyncedBlockEvent(World world, BlockPos pos, int type, int data)
boolean
AbstractBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)
Deprecated.boolean
BlockWithEntity.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)
boolean
ComparatorBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)
boolean
NoteBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)
boolean
PistonBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)
AbstractBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Deprecated.AbstractButtonBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.AbstractCauldronBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.AbstractFurnaceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.AbstractSignBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.AnvilBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.BarrelBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.BeaconBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.BedBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.BeehiveBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.BellBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.BrewingStandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CampfireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CandleBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CandleCakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CartographyTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CaveVinesBodyBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CaveVinesHeadBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CommandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ComparatorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ComposterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.CraftingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.DaylightDetectorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.DispenserBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.DoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.DragonEggBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.EnchantingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.EnderChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.FenceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.FenceGateBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.FletchingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.FlowerPotBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.GrindstoneBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.HopperBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.JigsawBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.JukeboxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.LecternBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.LeverBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.LightBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.LoomBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.NoteBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.PistonExtensionBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.PumpkinBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.RedstoneOreBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.RedstoneWireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.RepeaterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.RespawnAnchorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ShulkerBoxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.SmithingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.StairsBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.StonecutterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.StructureBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.SweetBerryBushBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.TntBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.TrapdoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.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(BlockState state, World world, BlockPos pos)
private static void
PointedDripstoneBlock.place(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness)
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
AbstractButtonBlock.playClickSound(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, boolean powered)
protected abstract void
AbstractPressurePlateBlock.playDepressSound(WorldAccess world, BlockPos pos)
protected void
PressurePlateBlock.playDepressSound(WorldAccess world, BlockPos pos)
protected void
WeightedPressurePlateBlock.playDepressSound(WorldAccess world, BlockPos pos)
static void
ComposterBlock.playEffects(World world, BlockPos pos, boolean fill)
private void
FluidBlock.playExtinguishSound(WorldAccess world, BlockPos pos)
private void
private void
DoorBlock.playOpenCloseSound(World world, BlockPos pos, boolean open)
protected abstract void
AbstractPressurePlateBlock.playPressSound(WorldAccess world, BlockPos pos)
protected void
PressurePlateBlock.playPressSound(WorldAccess world, BlockPos pos)
protected void
WeightedPressurePlateBlock.playPressSound(WorldAccess world, BlockPos pos)
private 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
AbstractButtonBlock.powerOn(BlockState state, World world, BlockPos pos)
void
Block.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)
void
CauldronBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)
void
LeveledCauldronBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)
void
AbstractBlock.AbstractBlockState.prepare(WorldAccess world, BlockPos pos, int flags)
void
AbstractBlock.AbstractBlockState.prepare(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth)
void
AbstractBlock.prepare(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth)
Deprecated.void
RedstoneWireBlock.prepare(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth)
static void
private static void
TntBlock.primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter)
static BlockState
Block.pushEntitiesUpBeforeBlockChange(BlockState from, BlockState to, World world, BlockPos pos)
private static void
LecternBlock.putBook(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)
static boolean
LecternBlock.putBookIfAbsent(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)
void
AbstractCandleBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
AbstractFireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
BeehiveBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
BlastFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
Block.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
BrewingStandBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
BubbleColumnBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
CampfireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
CryingObsidianBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
EnchantingTableBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
EnderChestBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
EndGatewayBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
EndPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
EndRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
FallingBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
FurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
LeavesBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
LeverBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
LightningRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
MyceliumBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
NetherPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
PointedDripstoneBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
RedstoneOreBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
RedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
RedstoneWireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
RepeaterBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
RespawnAnchorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
SculkSensorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
SmokerBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
SporeBlossomBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
StairsBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
TorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
WallRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
WallTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
WetSpongeBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
WitherRoseBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
void
AbstractBlock.AbstractBlockState.randomTick(ServerWorld world, BlockPos pos, Random random)
void
AbstractBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
Deprecated.void
AbstractPlantStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BambooBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BambooSaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BeetrootsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BuddingAmethystBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CactusBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
ChorusFlowerBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CocoaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CropBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
FarmlandBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
FluidBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
FrostedIceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
IceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
LeavesBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
MagmaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
MushroomPlantBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
NetherPortalBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
NetherWartBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
NyliumBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
OxidizableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
OxidizableSlabBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
OxidizableStairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
PointedDripstoneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
RedstoneOreBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
SaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
SnowBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
SpreadableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
StairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
StemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
SugarCaneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
SweetBerryBushBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
TurtleEggBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
VineBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
private boolean
FluidBlock.receiveNeighborFluids(World world, BlockPos pos, BlockState state)
private void
JukeboxBlock.removeRecord(World world, BlockPos pos)
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)
void
AbstractBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
Deprecated.void
AbstractButtonBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
AbstractCauldronBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
AbstractPlantPartBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
AbstractPressurePlateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
AbstractRedstoneGateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BambooBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BarrelBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BigDripleafBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BigDripleafStemBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
BubbleColumnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CactusBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
ChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
ChorusFlowerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
ChorusPlantBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CommandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
ComparatorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
ComposterBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CoralBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CoralBlockBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CoralFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
CoralWallFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
DetectorRailBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
DirtPathBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
DispenserBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
EnderChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
FallingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
FarmlandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
FireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
FrostedIceBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
LeavesBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
LecternBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
LightningRodBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
MagmaBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
ObserverBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
PointedDripstoneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
RedstoneLampBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
RedstoneTorchBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
ScaffoldingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
SculkSensorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
SoulSandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
StairsBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
SugarCaneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
TargetBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
TripwireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
void
TripwireHookBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
private void
PointedDripstoneBlock.scheduleFall(BlockState state, WorldAccess world, BlockPos pos)
private void
ObserverBlock.scheduleTick(WorldAccess world, BlockPos pos)
PointedDripstoneBlock.searchInDirection(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, Predicate<BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range)
static void
SculkSensorBlock.setActive(World world, BlockPos pos, BlockState state, int power)
static void
SculkSensorBlock.setCooldown(World world, BlockPos pos, BlockState state)
static void
LecternBlock.setHasBook(World world, BlockPos pos, BlockState state, boolean hasBook)
private static void
AbstractCandleBlock.setLit(WorldAccess world, BlockState state, BlockPos pos, boolean lit)
void
DoorBlock.setOpen(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open)
private static void
TargetBlock.setPower(WorldAccess world, BlockState state, int power, BlockPos pos, int delay)
static void
LecternBlock.setPowered(World world, BlockPos pos, BlockState state)
private static void
LecternBlock.setPowered(World world, BlockPos pos, BlockState state, boolean powered)
void
LightningRodBlock.setPowered(BlockState state, World world, BlockPos pos)
void
JukeboxBlock.setRecord(WorldAccess world, BlockPos pos, BlockState state, ItemStack stack)
static void
FarmlandBlock.setToDirt(BlockState state, World world, BlockPos pos)
private boolean
ScaffoldingBlock.shouldBeBottom(BlockView world, BlockPos pos, int distance)
boolean
AbstractBlock.AbstractBlockState.shouldBlockVision(BlockView world, BlockPos pos)
static boolean
VineBlock.shouldConnectTo(BlockView world, BlockPos pos, Direction direction)
static boolean
Block.shouldDrawSide(BlockState state, BlockView world, BlockPos pos, Direction side, BlockPos blockPos)
private static boolean
AbstractRailBlock.shouldDropRail(BlockPos pos, World world, RailShape shape)
Checks if this rail should be dropped.private boolean
PistonBlock.shouldExtend(World 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)
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
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 static boolean
NyliumBlock.stayAlive(BlockState state, WorldView world, BlockPos pos)
void
BeehiveBlock.takeHoney(World world, BlockState state, BlockPos pos)
void
BeehiveBlock.takeHoney(World world, BlockState state, BlockPos pos, @Nullable PlayerEntity player, BeehiveBlockEntity.BeeState beeState)
private void
DragonEggBlock.teleport(BlockState state, World world, BlockPos pos)
boolean
AbstractBlock.ContextPredicate.test(BlockState state, BlockView world, BlockPos pos)
boolean
AbstractBlock.TypedContextPredicate.test(BlockState state, BlockView world, BlockPos pos, A type)
private static void
DaylightDetectorBlock.tick(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity)
default void
Degradable.tickDegradation(BlockState state, ServerWorld world, BlockPos pos, Random random)
LeverBlock.togglePower(BlockState state, World world, BlockPos pos)
static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState,DoubleBlockProperties.Type> typeMapper, Function<BlockState,Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess,BlockPos> fallbackTester)
private void
HoneyBlock.triggerAdvancement(Entity entity, BlockPos pos)
private void
TurtleEggBlock.tryBreakEgg(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance)
default void
Degradable.tryDegrade(BlockState state, ServerWorld world, BlockPos pos, Random random)
BubbleColumnBlock.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
FluidBlock.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
FluidDrainable.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
PowderSnowBlock.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
default ItemStack
Waterloggable.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
protected static ActionResult
CakeBlock.tryEat(WorldAccess world, BlockPos pos, BlockState state, PlayerEntity player)
boolean
CampfireBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
boolean
CandleBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
boolean
FluidFillable.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
boolean
KelpBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
boolean
KelpPlantBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
boolean
SeagrassBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
boolean
SlabBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
boolean
TallSeagrassBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
default boolean
Waterloggable.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
static void
PointedDripstoneBlock.tryGrow(BlockState state, ServerWorld world, BlockPos pos, Random random)
private 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)
private void
AbstractButtonBlock.tryPowerWithProjectiles(BlockState state, World world, BlockPos pos)
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 rand, int currentAge)
boolean
AbstractLichenBlock.trySpreadRandomly(BlockState state, ServerWorld world, BlockPos pos, Random random)
boolean
AbstractLichenBlock.trySpreadRandomly(BlockState state, WorldAccess world, BlockPos pos, Direction from, Random random, boolean bool)
boolean
AbstractLichenBlock.trySpreadTo(BlockState state, WorldAccess world, BlockPos pos, Direction from, Direction to, boolean bool)
static void
BubbleColumnBlock.update(WorldAccess world, BlockPos pos, BlockState state)
static void
BubbleColumnBlock.update(WorldAccess world, BlockPos pos, BlockState water, BlockState bubbleSource)
private void
ComparatorBlock.update(World world, BlockPos pos, BlockState state)
private void
RedstoneWireBlock.update(World world, BlockPos pos, BlockState state)
protected void
private void
TripwireBlock.update(World world, BlockPos pos, BlockState state)
void
TripwireHookBlock.update(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean bool, int int2, @Nullable BlockState blockState)
protected void
AbstractRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
protected BlockState
AbstractRailBlock.updateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate)
protected void
PoweredRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
protected void
RailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
protected BlockState
AbstractRailBlock.updateCurves(BlockState state, World world, BlockPos pos, boolean notify)
private static BlockState
LeavesBlock.updateDistanceFromLogs(BlockState state, WorldAccess world, BlockPos pos)
private void
HopperBlock.updateEnabled(World world, BlockPos pos, BlockState state)
private void
RedstoneWireBlock.updateForNewState(World world, BlockPos pos, BlockState oldState, BlockState newState)
protected void
BambooBlock.updateLeaves(BlockState state, World world, BlockPos pos, Random random, int height)
protected void
DetectorRailBlock.updateNearbyRails(World world, BlockPos pos, BlockState state, boolean unpowering)
private static void
LecternBlock.updateNeighborAlways(World world, BlockPos pos, BlockState state)
void
AbstractBlock.AbstractBlockState.updateNeighbors(WorldAccess world, BlockPos pos, int flags)
void
AbstractBlock.AbstractBlockState.updateNeighbors(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth)
private void
AbstractButtonBlock.updateNeighbors(BlockState state, World world, BlockPos pos)
protected void
AbstractPressurePlateBlock.updateNeighbors(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)
private void
TripwireHookBlock.updateNeighborsOnAxis(World world, BlockPos pos, Direction direction)
private void
RedstoneWireBlock.updateOffsetNeighbors(World world, BlockPos pos)
protected void
AbstractPressurePlateBlock.updatePlateState(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output)
protected void
AbstractRedstoneGateBlock.updatePowered(World world, BlockPos pos, BlockState state)
protected void
ComparatorBlock.updatePowered(World world, BlockPos pos, BlockState state)
private void
TripwireBlock.updatePowered(World world, BlockPos pos)
private void
DetectorRailBlock.updatePoweredStatus(World world, BlockPos pos, BlockState state)
private static void
DaylightDetectorBlock.updateState(BlockState state, World world, BlockPos pos)
protected void
AbstractRedstoneGateBlock.updateTarget(World world, BlockPos pos, BlockState state)
ChorusPlantBlock.withConnectionProperties(BlockView world, BlockPos pos)
AbstractLichenBlock.withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction)
Modifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState,DoubleBlockProperties.Type> typeMapper, Function<BlockState,Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess,BlockPos> fallbackTester)
ModifierConstructorDescriptionBurnoutEntry(BlockPos pos, long time)
ComposterInventory(BlockState state, WorldAccess world, BlockPos pos)
FullComposterInventory(BlockState state, WorldAccess world, BlockPos pos, ItemStack outputItem)
RailPlacementHelper(World world, BlockPos pos, BlockState state)
-
Uses of BlockPos in net.minecraft.block.cauldron
Modifier and TypeMethodDescriptionstatic ActionResult
CauldronBehavior.emptyCauldron(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent)
static ActionResult
CauldronBehavior.fillCauldron(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent)
CauldronBehavior.interact(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
-
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)
-
Uses of BlockPos in net.minecraft.block.entity
Modifier and TypeFieldDescriptionEndGatewayBlockEntity.exitPortalPos
BeehiveBlockEntity.flowerPos
private BlockPos
StructureBlockBlockEntity.offset
protected BlockPos
BlockEntity.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()
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 TypeMethodDescriptionboolean
SculkSensorBlockEntity.accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)
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 StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect)
private static void
ConduitBlockEntity.attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity)
static void
BellBlockEntity.clientTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity)
static void
CampfireBlockEntity.clientTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)
static void
ChestBlockEntity.clientTick(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity)
static void
ConduitBlockEntity.clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)
static void
EnderChestBlockEntity.clientTick(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity)
static void
EndGatewayBlockEntity.clientTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)
static void
MobSpawnerBlockEntity.clientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)
void
ChestStateManager.closeChest(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)
static @Nullable BlockEntity
BlockEntity.createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt)
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 Box
ConduitBlockEntity.getAttackZone(BlockPos pos)
PistonBlockEntity.getCollisionShape(BlockView world, BlockPos pos)
private int
ChestStateManager.getInRangeViewerCount(World world, BlockPos pos)
HopperBlockEntity.getInventoryAt(World world, BlockPos pos)
HopperBlockEntity.getOutputInventory(World world, BlockPos pos, BlockState state)
static int
ChestBlockEntity.getPlayersLookingInChestCount(BlockView world, BlockPos pos)
StructureBlockBlockEntity.getStructureBox(BlockPos pos, Stream<BlockPos> corners)
private static void
ConduitBlockEntity.givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks)
private static boolean
HopperBlockEntity.insert(World world, BlockPos pos, BlockState state, Inventory inventory)
private static boolean
HopperBlockEntity.insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier)
BlockEntityType.instantiate(BlockPos pos, BlockState state)
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.static void
CampfireBlockEntity.litServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)
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
ChestStateManager.onChestClosed(World world, BlockPos pos, BlockState state)
Run when this chest closes (when the viewer count reaches zero).protected abstract void
ChestStateManager.onChestOpened(World world, BlockPos pos, BlockState state)
Run when this chest is opened (when the viewer count becomes nonzero).static void
HopperBlockEntity.onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity)
protected abstract void
ChestStateManager.onInteracted(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
Run when a player interacts with this chest.protected void
ChestBlockEntity.onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
protected void
TrappedChestBlockEntity.onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
void
ChestStateManager.openChest(PlayerEntity player, World world, BlockPos pos, BlockState state)
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.Bee bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos)
void
BellBlockEntity.Effect.run(World world, BlockPos pos, List<LivingEntity> hearingEntities)
private static void
ChestStateManager.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)
static void
LootableContainerBlockEntity.setLootTable(BlockView world, Random random, BlockPos pos, Identifier id)
void
private static BlockPos
EndGatewayBlockEntity.setupExitPortalLocation(ServerWorld world, BlockPos pos)
Finds teleport location and creates an island to teleport to (if there is none).private static void
ConduitBlockEntity.spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int int2)
private 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(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity)
static void
BeaconBlockEntity.tick(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity)
private static void
BellBlockEntity.tick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.Effect bellEffect)
void
BlockEntityTicker.tick(World world, BlockPos pos, BlockState state, T blockEntity)
Runs this action on the given block entity.static void
BrewingStandBlockEntity.tick(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity)
static void
EnchantingTableBlockEntity.tick(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity)
static void
PistonBlockEntity.tick(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity)
static void
ShulkerBoxBlockEntity.tick(World world, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity)
static void
SkullBlockEntity.tick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity)
private static void
BeehiveBlockEntity.tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos)
static void
EndGatewayBlockEntity.tryTeleportingEntity(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity)
static void
CampfireBlockEntity.unlitServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)
private static boolean
ConduitBlockEntity.updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks)
private void
ShulkerBoxBlockEntity.updateAnimation(World world, BlockPos pos, BlockState state)
private static void
ShulkerBoxBlockEntity.updateNeighborStates(World world, BlockPos pos, BlockState state)
private static void
ConduitBlockEntity.updateTargetEntity(World world, BlockPos pos, ConduitBlockEntity blockEntity)
void
ChestStateManager.updateViewerCount(World world, BlockPos pos, BlockState state)
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 int2)
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)
CampfireBlockEntity(BlockPos pos, BlockState state)
protected
ChestBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
ChestBlockEntity(BlockPos pos, BlockState state)
CommandBlockBlockEntity(BlockPos pos, BlockState state)
ComparatorBlockEntity(BlockPos pos, BlockState state)
ConduitBlockEntity(BlockPos pos, BlockState state)
DaylightDetectorBlockEntity(BlockPos pos, BlockState state)
protected
DispenserBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
DispenserBlockEntity(BlockPos pos, BlockState state)
DropperBlockEntity(BlockPos pos, BlockState state)
EnchantingTableBlockEntity(BlockPos pos, BlockState state)
EnderChestBlockEntity(BlockPos pos, BlockState state)
EndGatewayBlockEntity(BlockPos pos, BlockState state)
protected
EndPortalBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
EndPortalBlockEntity(BlockPos pos, BlockState state)
FurnaceBlockEntity(BlockPos pos, BlockState state)
HopperBlockEntity(BlockPos pos, BlockState state)
JigsawBlockEntity(BlockPos pos, BlockState state)
JukeboxBlockEntity(BlockPos pos, BlockState state)
LecternBlockEntity(BlockPos pos, BlockState state)
protected
LockableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
protected
LootableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state)
MobSpawnerBlockEntity(BlockPos pos, BlockState state)
PistonBlockEntity(BlockPos pos, BlockState state)
PistonBlockEntity(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source)
SculkSensorBlockEntity(BlockPos pos, BlockState state)
ShulkerBoxBlockEntity(@Nullable DyeColor color, BlockPos pos, BlockState state)
ShulkerBoxBlockEntity(BlockPos pos, BlockState state)
SignBlockEntity(BlockPos pos, BlockState state)
SkullBlockEntity(BlockPos pos, BlockState state)
SmokerBlockEntity(BlockPos pos, BlockState state)
StructureBlockBlockEntity(BlockPos pos, BlockState state)
TrappedChestBlockEntity(BlockPos pos, BlockState state)
-
Uses of BlockPos in net.minecraft.block.pattern
Modifier and TypeFieldDescriptionprivate BlockPos
BlockPattern.Result.frontTopLeft
private BlockPos
CachedBlockPosition.pos
Modifier and TypeFieldDescriptionprivate 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.method_35300(WorldView worldView, BlockPos blockPos, Direction direction, Direction direction2)
BlockPattern.searchAround(WorldView world, BlockPos pos)
private @Nullable BlockPattern.Result
BlockPattern.testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache)
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 BlockPos
PistonHandler.posFrom
private 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.sapling
Modifier and TypeMethodDescriptionprivate boolean
SaplingGenerator.areFlowersNearby(WorldAccess world, BlockPos pos)
static boolean
LargeTreeSaplingGenerator.canGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z)
boolean
LargeTreeSaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random)
boolean
SaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random)
boolean
LargeTreeSaplingGenerator.generateLargeTree(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int x, int z)
-
Uses of 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)
int
BlockColors.getColor(BlockState state, @Nullable BlockRenderView world, @Nullable BlockPos pos, int tint)
int
BlockColors.getColor(BlockState state, World world, BlockPos pos)
-
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.network
Modifier and TypeFieldDescriptionprivate BlockPos
ClientPlayerInteractionManager.currentBreakingPos
Modifier and TypeFieldDescriptionprivate Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos,PlayerActionC2SPacket.Action>,Vec3d>
ClientPlayerInteractionManager.unacknowledgedPlayerActions
Modifier and TypeMethodDescriptionboolean
ClientPlayerInteractionManager.attackBlock(BlockPos pos, Direction direction)
boolean
ClientPlayerInteractionManager.breakBlock(BlockPos pos)
private boolean
ClientPlayerInteractionManager.isCurrentlyBreaking(BlockPos pos)
void
ClientPlayerInteractionManager.processPlayerActionResponse(ClientWorld world, BlockPos pos, BlockState state, PlayerActionC2SPacket.Action action, boolean approved)
void
DataQueryHandler.queryBlockNbt(BlockPos pos, Consumer<NbtCompound> callback)
private void
ClientPlayerInteractionManager.sendPlayerAction(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction)
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 double2, double double3, double double4, BlockPos blockPos, BlockState blockState)
private ChunkBuilder.BuiltChunk
WorldRenderer.getAdjacentChunk(BlockPos pos, ChunkBuilder.BuiltChunk chunk, Direction direction)
static int
WorldRenderer.getLightmapCoordinates(BlockRenderView world, BlockState state, BlockPos pos)
static int
WorldRenderer.getLightmapCoordinates(BlockRenderView world, BlockPos pos)
protected ChunkBuilder.BuiltChunk
BuiltChunkStorage.getRenderedChunk(BlockPos pos)
private void
WorldRenderer.method_34808(Frustum frustum, int int2, boolean bool, Vec3d vec3d, BlockPos blockPos, ChunkBuilder.BuiltChunk builtChunk, int int3, BlockPos blockPos2)
void
WorldRenderer.playSong(@Nullable SoundEvent song, BlockPos songPosition)
void
WorldRenderer.processGlobalEvent(int eventId, BlockPos pos, int int2)
void
WorldRenderer.processWorldEvent(PlayerEntity source, int eventId, BlockPos pos, int data)
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)
private void
WorldRenderer.updateEntitiesForSong(World world, BlockPos pos, boolean playing)
-
Uses of BlockPos in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionvoid
BlockModelRenderer.AmbientOcclusionCalculator.apply(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] box, BitSet flags, boolean bool)
float
BlockModelRenderer.BrightnessCache.getFloat(BlockState state, BlockRenderView blockView, BlockPos pos)
int
BlockModelRenderer.BrightnessCache.getInt(BlockState state, BlockRenderView blockRenderView, BlockPos pos)
private int
FluidRenderer.getLight(BlockRenderView world, BlockPos pos)
private float
FluidRenderer.getNorthWestCornerFluidHeight(BlockView world, BlockPos pos, Fluid fluid)
private void
BlockModelRenderer.getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, @org.jetbrains.annotations.Nullable float[] box, BitSet flags)
private static boolean
FluidRenderer.isSameFluid(BlockView world, BlockPos pos, Direction side, FluidState state)
private static boolean
FluidRenderer.isSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation)
static boolean
FluidRenderer.method_29708(BlockRenderView blockRenderView, BlockPos blockPos, FluidState fluidState, BlockState blockState, Direction direction)
private static boolean
FluidRenderer.method_29709(BlockView blockView, BlockPos blockPos, BlockState blockState, Direction direction)
private static boolean
FluidRenderer.method_29710(BlockView blockView, Direction direction, float float2, BlockPos blockPos, BlockState blockState)
boolean
BlockModelRenderer.render(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrix, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay)
boolean
FluidRenderer.render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, FluidState state)
boolean
BlockRenderManager.renderBlock(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrix, VertexConsumer vertexConsumer, boolean cull, Random random)
void
BlockRenderManager.renderDamage(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrix, VertexConsumer vertexConsumer)
boolean
BlockModelRenderer.renderFlat(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack buffer, VertexConsumer vertexConsumer, boolean cull, Random random, long long2, int int2)
boolean
BlockRenderManager.renderFluid(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, FluidState state)
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 matrix, VertexConsumer vertexConsumer, List<BakedQuad> quads, float[] box, BitSet flags, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay)
boolean
BlockModelRenderer.renderSmooth(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack buffer, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay)
-
Uses of BlockPos in net.minecraft.client.render.block.entity
Modifier and TypeMethodDescriptionprivate void
StructureBlockBlockEntityRenderer.renderInvisibleBlocks(StructureBlockBlockEntity entity, VertexConsumer vertices, BlockPos pos, MatrixStack matrixStack)
private void
PistonBlockEntityRenderer.renderModel(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay)
-
Uses of BlockPos in net.minecraft.client.render.chunk
Modifier and TypeMethodDescriptionChunkBuilder.BuiltChunk.getNeighborPosition(Direction direction)
ChunkBuilder.BuiltChunk.getOrigin()
Modifier and TypeMethodDescriptionstatic @Nullable ChunkRendererRegion
ChunkRendererRegion.getBlockEntity(BlockPos pos)
ChunkRendererRegion.getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
ChunkRendererRegion.getBlockState(BlockPos pos)
int
ChunkRendererRegion.getColor(BlockPos pos, ColorResolver colorResolver)
ChunkRendererRegion.getFluidState(BlockPos pos)
protected int
private boolean
ChunkBuilder.BuiltChunk.isChunkNonEmpty(BlockPos pos)
void
ChunkOcclusionDataBuilder.markClosed(BlockPos pos)
static boolean
ChunkRendererRegion.method_30000(BlockPos blockPos, BlockPos blockPos2, int int2, int int3, WorldChunk[][] worldChunk)
private static int
ModifierConstructorDescriptionChunkRendererRegion(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos)
-
Uses of BlockPos in net.minecraft.client.render.debug
Modifier and TypeFieldDescriptionBeeDebugRenderer.Bee.flower
BeeDebugRenderer.Bee.hive
BeeDebugRenderer.Hive.pos
GoalSelectorDebugRenderer.GoalSelector.pos
VillageDebugRenderer.PointOfInterest.pos
Modifier and TypeFieldDescriptionBeeDebugRenderer.Bee.blacklist
VillageDebugRenderer.Brain.field_25287
WorldGenAttemptDebugRenderer.field_4640
private Map<BlockPos,BeeDebugRenderer.Hive>
BeeDebugRenderer.hives
private Map<BlockPos,GameTestDebugRenderer.Marker>
GameTestDebugRenderer.markers
NeighborUpdateDebugRenderer.neighborUpdates
VillageDebugRenderer.Brain.pointsOfInterest
private Map<BlockPos,VillageDebugRenderer.PointOfInterest>
VillageDebugRenderer.pointsOfInterest
private Collection<BlockPos>
RaidCenterDebugRenderer.raidCenters
Modifier and TypeMethodDescriptionBeeDebugRenderer.getBeesByHive()
BeeDebugRenderer.getBlacklistingBees()
VillageDebugRenderer.getGhostPointsOfInterest()
Modifier and TypeMethodDescriptionvoid
void
void
NeighborUpdateDebugRenderer.addNeighborUpdate(long time, BlockPos pos)
private static void
BeeDebugRenderer.drawBox(BlockPos pos, float expand, float red, float green, float blue, float alpha)
static void
static void
DebugRenderer.drawBox(BlockPos pos1, BlockPos pos2, float red, float green, float blue, float alpha)
private void
VillageDebugRenderer.drawGhostPointOfInterest(BlockPos pos, List<String> brains)
private static void
private void
BeeDebugRenderer.drawHiveBees(BlockPos pos, List<String> bees)
private static void
VillageDebugRenderer.drawPointOfInterest(BlockPos pos)
private static void
RaidCenterDebugRenderer.drawRaidCenter(BlockPos pos)
private static void
BeeDebugRenderer.drawString(String string, BlockPos pos, int line, int color)
private static void
RaidCenterDebugRenderer.drawString(String string, BlockPos pos, int int2)
private static void
VillageDebugRenderer.drawString(String string, BlockPos pos, int offsetY, int color)
private Collection<UUID>
BeeDebugRenderer.getBeesForHive(BlockPos hivePos)
private Collection<UUID>
private static float
PathfindingDebugRenderer.getManhattanDistance(BlockPos pos, double x, double y, double z)
private String
BeeDebugRenderer.getPositionString(BeeDebugRenderer.Bee bee, BlockPos pos)
boolean
(package private) boolean
VillageDebugRenderer.Brain.isPointOfInterest(BlockPos pos)
boolean
boolean
GameEventDebugRenderer.Listener.listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)
Listens to an incoming game event.private void
GameTestDebugRenderer.method_23111(BlockPos blockPos, GameTestDebugRenderer.Marker marker)
private Collection<UUID>
VillageDebugRenderer.method_29386(BlockPos blockPos)
(package private) boolean
VillageDebugRenderer.Brain.method_29388(BlockPos blockPos)
void
WorldGenAttemptDebugRenderer.method_3872(BlockPos blockPos, float float2, float float3, float float4, float float5, float float6)
void
VillageDebugRenderer.removePointOfInterest(BlockPos pos)
void
VillageDebugRenderer.setFreeTicketCount(BlockPos pos, int freeTicketCount)
Modifier and TypeMethodDescriptionvoid
RaidCenterDebugRenderer.setRaidCenters(Collection<BlockPos> centers)
-
Uses of BlockPos in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprotected int
BlazeEntityRenderer.getBlockLight(BlazeEntity blazeEntity, 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
EntityRenderer.getSkyLight(T entity, BlockPos pos)
private static void
EntityRenderDispatcher.renderShadowPart(MatrixStack.Entry entry, VertexConsumer vertices, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity)
-
Uses of BlockPos in net.minecraft.client.sound
ModifierConstructorDescriptionPositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, 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.util
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, UniformIntProvider range)
static void
ParticleUtil.spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect)
-
Uses of BlockPos in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.addBlockBreakParticles(BlockPos pos, BlockState state)
private void
ClientWorld.addParticle(BlockPos pos, BlockState state, ParticleEffect parameters, boolean bool)
private void
ClientWorld.addParticle(BlockPos pos, ParticleEffect parameters, VoxelShape shape, double y)
int
ClientWorld.calculateColor(BlockPos pos, ColorResolver colorResolver)
void
ClientWorld.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
int
BiomeColorCache.getBiomeColor(BlockPos pos, IntSupplier colorFactory)
int
ClientWorld.getColor(BlockPos pos, ColorResolver colorResolver)
boolean
DummyClientTickScheduler.isScheduled(BlockPos pos, T object)
boolean
void
ClientWorld.playSound(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
void
void
DummyClientTickScheduler.schedule(BlockPos pos, T object, int delay, TickPriority priority)
void
ClientWorld.scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated)
void
ClientWorld.setBlockBreakingInfo(int entityId, BlockPos pos, int progress)
void
ClientWorld.setBlockStateWithoutNeighborUpdates(BlockPos pos, BlockState state)
void
ClientWorld.Properties.setSpawnPos(BlockPos pos, float angle)
void
ClientWorld.setSpawnPos(BlockPos pos, float angle)
void
ClientWorld.syncGlobalEvent(int eventId, BlockPos pos, int data)
void
ClientWorld.syncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data)
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)
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.enchantment
Modifier and TypeMethodDescriptionstatic void
FrostWalkerEnchantment.freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level)
-
Uses of BlockPos in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate BlockPos
Entity.blockPos
private BlockPos
LivingEntity.lastBlockPos
protected BlockPos
Entity.lastNetherPortalPosition
Modifier and TypeFieldDescriptionprotected static TrackedData<BlockPos>
FallingBlockEntity.BLOCK_POS
LivingEntity.climbingPos
private static TrackedData<Optional<BlockPos>>
LivingEntity.SLEEPING_POSITION
Modifier and TypeMethodDescriptionprivate BlockPos
LightningEntity.getAffectedBlockPos()
Entity.getBlockPos()
Entity.getCameraBlockPos()
FallingBlockEntity.getFallingBlockPos()
Entity.getLandingPos()
protected BlockPos
Entity.getVelocityAffectingPos()
Modifier and TypeMethodDescriptionLightningEntity.cleanOxidizationAround(World world, BlockPos pos)
LivingEntity.getClimbingPos()
LivingEntity.getSleepingPosition()
Modifier and TypeMethodDescriptionprotected void
LivingEntity.applyMovementEffects(BlockPos pos)
private boolean
LivingEntity.canEnterTrapdoor(BlockPos pos, BlockState state)
boolean
Entity.canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower)
boolean
Entity.canModifyAt(World world, BlockPos pos)
static <T extends Entity>
booleanSpawnRestriction.canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
private static void
LightningEntity.cleanOxidization(World world, BlockPos pos)
LightningEntity.cleanOxidizationAround(World world, BlockPos pos)
private static void
LightningEntity.cleanOxidizationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count)
boolean
Entity.collidesWithStateAtPos(BlockPos pos, BlockState state)
EntityType.create(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
void
Entity.emitGameEvent(GameEvent event, @Nullable Entity entity, BlockPos pos)
void
Entity.emitGameEvent(GameEvent event, BlockPos pos)
protected void
Entity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
protected void
LivingEntity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
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)
protected static double
EntityType.getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox)
protected Optional<PortalUtil.Rectangle>
Entity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether)
void
EyeOfEnderEntity.initTargetPos(BlockPos pos)
Sets where the eye will fly towards.void
FallingBlockEntity.onDestroyedOnLanding(Block block, BlockPos pos)
protected void
Entity.playStepSound(BlockPos pos, BlockState blockState)
void
Entity.refreshPositionAndAngles(BlockPos pos, float yaw, float pitch)
void
FallingBlockEntity.setFallingBlockPos(BlockPos pos)
void
Entity.setInNetherPortal(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 NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
EntityType.spawnFromItemStack(ServerWorld world, @Nullable ItemStack stack, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
boolean
SpawnRestriction.SpawnPredicate.test(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
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.tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos)
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)
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.tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos)
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)
Modifier and TypeMethodDescriptionFuzzyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer)
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 MemoryModuleType<BlockPos>
MemoryModuleType.CELEBRATE_LOCATION
static MemoryModuleType<BlockPos>
MemoryModuleType.NEAREST_BED
static MemoryModuleType<BlockPos>
MemoryModuleType.NEAREST_REPELLENT
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 BlockPos
PrepareRamTask.Ram.end
WanderAroundTask.lookTargetPos
private BlockPos
LongJumpTask.Target.pos
private BlockPos
PrepareRamTask.Ram.start
Modifier and TypeFieldDescriptionHideInHomeTask.homePosition
BoneMealTask.pos
FarmerVillagerTask.targetPositions
Modifier and TypeMethodDescriptionFarmerVillagerTask.chooseRandomTarget(ServerWorld world)
private static BlockPos
private static BlockPos
GoToCelebrateTask.getCelebrateLocation(MobEntity entity)
PrepareRamTask.Ram.getEnd()
LongJumpTask.Target.getPos()
PrepareRamTask.Ram.getStart()
Modifier and TypeMethodDescriptionBoneMealTask.findBoneMealPos(ServerWorld world, VillagerEntity entity)
PrepareRamTask.findRamStart(PathAwareEntity entity, LivingEntity target)
JumpInBedTask.getNearestBed(MobEntity mob)
VillagerBreedTask.getReachableHome(ServerWorld world, VillagerEntity villager)
static GoToRememberedPositionTask<BlockPos>
GoToRememberedPositionTask.toBlock(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget)
Modifier and TypeMethodDescriptionprivate Vec3d
PrepareRamTask.calculateRamTarget(BlockPos start, BlockPos end)
private boolean
BoneMealTask.canBoneMeal(BlockPos pos, ServerWorld world)
private boolean
PrepareRamTask.canReach(PathAwareEntity entity, BlockPos target)
private boolean
VillagerBreedTask.canReachHome(VillagerEntity villager, BlockPos pos)
private boolean
TakeJobSiteTask.canReachJobSite(VillagerEntity villager, BlockPos pos, PointOfInterestType poiType)
private boolean
TakeJobSiteTask.canUseJobSite(PointOfInterestType poiType, VillagerEntity villager, BlockPos pos)
private void
TakeJobSiteTask.claimSite(ServerWorld world, VillagerEntity previousOwner, VillagerEntity newOwner, BlockPos pos, boolean jobSitePresent)
private static BlockPos
private boolean
ForgetCompletedPointOfInterestTask.hasCompletedPointOfInterest(ServerWorld world, BlockPos pos)
private static boolean
OpenDoorsTask.hasOtherMobReachedDoor(ServerWorld world, LivingEntity entity, BlockPos pos)
private static boolean
OpenDoorsTask.hasReached(ServerWorld world, LivingEntity entity, BlockPos pos)
private boolean
JumpInBedTask.isBedAt(ServerWorld world, BlockPos pos)
private 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
OpenDoorsTask.rememberToCloseDoor(ServerWorld world, LivingEntity entity, BlockPos pos)
private void
VillagerBreedTask.setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos)
private void
JumpInBedTask.setWalkTarget(MobEntity mob, BlockPos pos)
private void
FarmerWorkTask.syncComposterEvent(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState)
static void
LookTargetUtil.walkTowards(LivingEntity entity, BlockPos target, float speed, int completionRange)
Modifier and TypeMethodDescriptionstatic GoToRememberedPositionTask<BlockPos>
GoToRememberedPositionTask.toBlock(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget)
-
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 blockView, Entity entity, int rangeX, int rangeY)
StepAndDestroyBlockGoal.tweakToProperPos(BlockPos pos, BlockView world)
Modifier and TypeMethodDescriptionprivate boolean
FollowOwnerGoal.canTeleportTo(BlockPos pos)
private boolean
DolphinJumpGoal.isAirAbove(BlockPos pos, int offsetX, int offsetZ, int multiplier)
private boolean
protected boolean
CatSitOnBlockGoal.isTargetPos(WorldView world, BlockPos pos)
protected boolean
GoToOwnerAndPurrGoal.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 TypeFieldDescriptionprivate BlockPos
EntityNavigation.currentTarget
private BlockPos
Path.target
private BlockPos
SpiderNavigation.targetPos
Modifier and TypeMethodDescriptionPathNode.getBlockPos()
Path.getCurrentNodePos()
Path.getNodePos(int index)
Path.getTarget()
EntityNavigation.getTargetPos()
Modifier and TypeMethodDescriptionprotected PathNodeType
LandPathNodeMaker.adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type)
private boolean
LandPathNodeMaker.canPathThrough(BlockPos pos)
private Path
PathNodeNavigator.createPath(PathNode endNode, BlockPos target, boolean reachesTarget)
LandPathNodeMaker.findNearbyNodeTypes(BlockView world, int x, int y, int z, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors, EnumSet<PathNodeType> nearbyTypes, PathNodeType type, BlockPos pos)
Adds the node types in the box with the given size to the input EnumSet.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)
protected static PathNodeType
LandPathNodeMaker.getCommonNodeType(BlockView world, BlockPos pos)
float
PathNode.getDistance(BlockPos pos)
static double
float
PathNode.getManhattanDistance(BlockPos pos)
protected PathNode
private PathNodeType
LandPathNodeMaker.getNodeType(MobEntity entity, BlockPos pos)
float
PathNode.getSquaredDistance(BlockPos pos)
boolean
BirdNavigation.isValidPosition(BlockPos pos)
boolean
EntityNavigation.isValidPosition(BlockPos pos)
boolean
SwimNavigation.isValidPosition(BlockPos pos)
protected double
AmphibiousPathNodeMaker.method_37003(BlockPos blockPos)
protected double
LandPathNodeMaker.method_37003(BlockPos blockPos)
void
EntityNavigation.onBlockChanged(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(Profiler profiler, PathNode pathNode, Map<TargetPathNode,BlockPos> map, float float2, int int2, float float3)
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 TypeMethodDescriptionvoid
EnderDragonEntity.crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source)
private void
EnderDragonFight.generateEndGateway(BlockPos pos)
abstract void
EnderDragonSpawnState.run(ServerWorld world, EnderDragonFight fight, List<EndCrystalEntity> crystals, int int2, BlockPos pos)
-
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 TrackedDataHandler<BlockPos>
TrackedDataHandlerRegistry.BLOCK_POS
static TrackedDataHandler<Optional<BlockPos>>
TrackedDataHandlerRegistry.OPTIONAL_BLOCK_POS
-
Uses of BlockPos in net.minecraft.entity.decoration
Modifier and TypeFieldDescriptionprivate static TrackedData<Optional<BlockPos>>
EndCrystalEntity.BEAM_TARGET
Modifier and TypeMethodDescriptionEndCrystalEntity.getBeamTarget()
AbstractDecorationEntity.getDecorationBlockPos()
Modifier and TypeMethodDescriptionstatic LeashKnotEntity
LeashKnotEntity.getOrCreate(World world, BlockPos pos)
void
EndCrystalEntity.setBeamTarget(@Nullable BlockPos beamTarget)
ModifierConstructorDescriptionprotected
AbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos)
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
ModifierConstructorDescriptionPaintingEntity(World world, BlockPos pos, Direction direction)
PaintingEntity(World world, BlockPos pos, Direction direction, PaintingMotive motive)
-
Uses of BlockPos in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionVexEntity.bounds
(package private) BlockPos
PhantomEntity.circlingCenter
private BlockPos
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 TypeMethodDescriptionprivate static GoToRememberedPositionTask<BlockPos>
PiglinBrain.makeGoToSoulFireTask()
Modifier and TypeMethodDescriptionprotected PathNodeType
RavagerEntity.PathNodeMaker.adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type)
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
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
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)
static boolean
WaterCreatureEntity.canSpawnUnderground(EntityType<? extends LivingEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
(package private) boolean
protected void
FlyingEntity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
ShulkerEntity.findAttachSide(BlockPos pos)
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)
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)
private boolean
ShulkerEntity.method_33351(BlockPos pos)
void
ZombieEntity.DestroyEggGoal.onDestroyBlock(World world, BlockPos pos)
protected void
AbstractSkeletonEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
EndermiteEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
HoglinEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
PiglinBruteEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
PiglinEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
RavagerEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
SilverfishEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
SpiderEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
ZoglinEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
ZombieEntity.playStepSound(BlockPos pos, BlockState blockState)
void
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 TypeFieldDescriptionprivate BlockPos
CatEntity.SleepWithOwnerGoal.bedPos
BeeEntity.flowerPos
private BlockPos
BatEntity.hangingPosition
BeeEntity.hivePos
private BlockPos
ParrotEntity.songSource
WanderingTraderEntity.wanderTarget
Modifier and TypeFieldDescriptionprivate static TrackedData<BlockPos>
TurtleEntity.HOME_POS
BeeEntity.MoveToHiveGoal.possibleHives
private static TrackedData<BlockPos>
TurtleEntity.TRAVEL_POS
private static TrackedData<BlockPos>
DolphinEntity.TREASURE_POS
Modifier and TypeMethodDescriptionBeeEntity.getFlowerPos()
VillagerEntity.getHighestOpenPositionOnOffset(BlockPos pos, double x, double z)
BeeEntity.getHivePos()
(package private) BlockPos
TurtleEntity.getHomePos()
StriderEntity.GoBackToLavaGoal.getTargetPos()
(package private) BlockPos
TurtleEntity.getTravelPos()
DolphinEntity.getTreasurePos()
WanderingTraderEntity.getWanderTarget()
Modifier and TypeMethodDescriptionBeeEntity.PollinateGoal.findFlower(Predicate<BlockState> predicate, double searchDistance)
BeeEntity.PollinateGoal.getFlower()
BeeEntity.FindHiveGoal.getNearbyFreeHives()
BeeEntity.getPossibleHives()
Modifier and TypeMethodDescriptionprivate void
BeeEntity.MoveToHiveGoal.addPossibleHive(BlockPos pos)
static boolean
BatEntity.canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
DolphinEntity.canSpawn(EntityType<DolphinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
FishEntity.canSpawn(EntityType<? extends FishEntity> type, 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
SquidEntity.canSpawn(EntityType<SquidEntity> type, 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)
private boolean
BeeEntity.doesHiveHaveSpace(BlockPos pos)
protected void
BatEntity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
protected void
BeeEntity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
protected void
ParrotEntity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
protected void
StriderEntity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
VillagerEntity.getHighestOpenPositionOnOffset(BlockPos pos, double x, double z)
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 boolean
BeeEntity.MoveToHiveGoal.isCloseEnough(BlockPos pos)
(package private) boolean
(package private) boolean
BeeEntity.MoveToHiveGoal.isPossibleHive(BlockPos pos)
protected boolean
FoxEntity.EatSweetBerriesGoal.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
AxolotlEntity.AxolotlSwimNavigation.isValidPosition(BlockPos pos)
boolean
StriderEntity.Navigation.isValidPosition(BlockPos pos)
boolean
TurtleEntity.TurtleSwimNavigation.isValidPosition(BlockPos pos)
(package private) boolean
BeeEntity.isWithinDistance(BlockPos pos, int distance)
protected void
BeeEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
ChickenEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
CowEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
FishEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
GoatEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
HorseBaseEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
IronGolemEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
LlamaEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
PandaEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
ParrotEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
PigEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
PolarBearEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
SheepEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
StriderEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
TurtleEntity.playStepSound(BlockPos pos, BlockState blockState)
protected void
WolfEntity.playStepSound(BlockPos pos, BlockState blockState)
void
BeeEntity.setFlowerPos(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 pos)
void
(package private) void
BeeEntity.startMovingTo(BlockPos pos)
private boolean
BeeEntity.MoveToHiveGoal.startMovingToFar(BlockPos pos)
-
Uses of BlockPos in net.minecraft.entity.player
Modifier and TypeMethodDescriptionboolean
PlayerEntity.canPlaceOn(BlockPos pos, Direction facing, ItemStack stack)
protected boolean
PlayerEntity.doesNotSuffocate(BlockPos pos)
PlayerEntity.findRespawnPosition(ServerWorld world, BlockPos pos, float float2, boolean bool, boolean bool2)
boolean
PlayerEntity.isBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode)
com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit>
ModifierConstructorDescriptionPlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile profile)
-
Uses of BlockPos in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionboolean
ProjectileEntity.canModifyAt(World world, BlockPos pos)
float
WitherSkullEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max)
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 TypeMethodDescriptionboolean
TntMinecartEntity.canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower)
protected void
BoatEntity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
float
TntMinecartEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max)
protected void
AbstractMinecartEntity.moveOnRail(BlockPos pos, BlockState state)
protected void
FurnaceMinecartEntity.moveOnRail(BlockPos pos, BlockState state)
private 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 boolean
FlowableFluid.canFill(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
protected boolean
FlowableFluid.canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid)
private boolean
FlowableFluid.canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState)
private boolean
LavaFluid.canLightFire(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)
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.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(WorldView world, BlockPos pos, BlockState state)
protected FluidState
FlowableFluid.getUpdatedState(WorldView 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)
private static boolean
FlowableFluid.isFluidAboveEqual(FluidState state, BlockView world, BlockPos pos)
private boolean
FlowableFluid.method_15736(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
private int
FlowableFluid.method_15740(WorldView world, BlockPos pos)
protected int
FlowableFluid.method_15742(WorldView world, BlockPos blockPos, int int2, Direction direction, BlockState blockState, BlockPos blockPos2, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState,FluidState>> short2ObjectMap, Short2BooleanMap short2BooleanMap)
private void
FlowableFluid.method_15744(WorldAccess world, BlockPos pos, FluidState fluidState, BlockState blockState)
private static short
FlowableFluid.method_15747(BlockPos blockPos, BlockPos blockPos2)
protected boolean
FlowableFluid.method_15749(BlockView world, BlockPos pos, Direction direction)
boolean
FluidState.method_15756(BlockView world, BlockPos pos)
protected void
Fluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random)
void
FluidState.onRandomTick(World world, BlockPos pos, Random random)
void
LavaFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random)
void
FlowableFluid.onScheduledTick(World world, BlockPos pos, FluidState state)
protected void
Fluid.onScheduledTick(World world, BlockPos pos, FluidState state)
void
FluidState.onScheduledTick(World world, BlockPos pos)
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 boolean
FlowableFluid.receivesFlow(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
protected void
FlowableFluid.tryFlow(WorldAccess world, BlockPos fluidPos, FluidState state)
-
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)
Checks if a player can break a block while holding the item.boolean
Item.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner)
Checks if a player can break a block while holding the item.boolean
SwordItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner)
Checks if a player can break a block while holding the item.boolean
TridentItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner)
Checks if a player can break a block while holding the item.protected boolean
DecorationItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos)
protected boolean
ItemFrameItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos)
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.placeFromTag(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)
void
ItemStack.postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner)
boolean
MiningToolItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)
boolean
ShearsItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)
boolean
SwordItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)
boolean
TridentItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)
protected boolean
BlockItem.postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state)
protected boolean
SignItem.postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state)
private void
EntityBucketItem.spawnEntity(ServerWorld world, ItemStack stack, BlockPos pos)
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)
private void
CompassItem.writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt)
static boolean
BlockItem.writeTagToBlockEntity(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack)
-
Uses of BlockPos in net.minecraft.item.map
Modifier and TypeFieldDescriptionprivate BlockPos
MapBannerMarker.pos
private BlockPos
MapFrameMarker.pos
Modifier and TypeMethodDescriptionvoid
MapState.addBanner(WorldAccess world, BlockPos pos)
static void
MapState.addDecorationsNbt(ItemStack stack, BlockPos pos, String id, MapIcon.Type type)
static @Nullable MapBannerMarker
MapBannerMarker.fromWorldBlock(BlockView blockView, BlockPos blockPos)
static String
void
MapState.removeFrame(BlockPos pos, int id)
ModifierConstructorDescriptionMapBannerMarker(BlockPos pos, DyeColor dyeColor, @Nullable Text name)
MapFrameMarker(BlockPos pos, int rotation, int entityId)
-
Uses of BlockPos in net.minecraft.loot.condition
Modifier and TypeMethodDescriptionstatic LootCondition.Builder
LocationCheckLootCondition.builder(LocationPredicate.Builder predicateBuilder, BlockPos pos)
ModifierConstructorDescription(package private)
LocationCheckLootCondition(LocationPredicate locationPredicate, BlockPos blockPos)
-
Uses of BlockPos in net.minecraft.nbt
-
Uses of BlockPos in net.minecraft.network
Modifier and TypeMethodDescriptionPacketByteBuf.readBlockPos()
Reads a block position from this buf.Modifier and TypeMethodDescriptionPacketByteBuf.writeBlockPos(BlockPos pos)
Writes a block position to this buf. -
Uses of BlockPos in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescriptionprivate BlockPos
UpdateStructureBlockC2SPacket.offset
private BlockPos
JigsawGeneratingC2SPacket.pos
private BlockPos
PlayerActionC2SPacket.pos
private BlockPos
QueryBlockNbtC2SPacket.pos
private BlockPos
UpdateCommandBlockC2SPacket.pos
private BlockPos
UpdateJigsawC2SPacket.pos
private BlockPos
UpdateSignC2SPacket.pos
private BlockPos
UpdateStructureBlockC2SPacket.pos
Modifier and TypeMethodDescriptionUpdateCommandBlockC2SPacket.getBlockPos()
UpdateStructureBlockC2SPacket.getOffset()
JigsawGeneratingC2SPacket.getPos()
PlayerActionC2SPacket.getPos()
QueryBlockNbtC2SPacket.getPos()
UpdateJigsawC2SPacket.getPos()
UpdateSignC2SPacket.getPos()
UpdateStructureBlockC2SPacket.getPos()
ModifierConstructorDescriptionJigsawGeneratingC2SPacket(BlockPos pos, int maxDepth, boolean keepJigsaws)
PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction)
QueryBlockNbtC2SPacket(int transactionId, BlockPos pos)
UpdateCommandBlockC2SPacket(BlockPos pos, String command, CommandBlockBlockEntity.Type type, boolean trackOutput, boolean conditional, boolean alwaysActive)
UpdateJigsawC2SPacket(BlockPos pos, Identifier attachmentType, Identifier targetPool, Identifier pool, String finalState, JigsawBlockEntity.Joint jointType)
UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String structureName, 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.play
Modifier and TypeFieldDescriptionprivate BlockPos
BlockBreakingProgressS2CPacket.pos
private BlockPos
BlockEntityUpdateS2CPacket.pos
private BlockPos
BlockEventS2CPacket.pos
private BlockPos
BlockUpdateS2CPacket.pos
private BlockPos
PaintingSpawnS2CPacket.pos
private BlockPos
PlayerActionResponseS2CPacket.pos
private BlockPos
PlayerSpawnPositionS2CPacket.pos
private BlockPos
SignEditorOpenS2CPacket.pos
private BlockPos
WorldEventS2CPacket.pos
Modifier and TypeMethodDescriptionPlayerActionResponseS2CPacket.getBlockPos()
BlockBreakingProgressS2CPacket.getPos()
BlockEntityUpdateS2CPacket.getPos()
BlockEventS2CPacket.getPos()
BlockUpdateS2CPacket.getPos()
PaintingSpawnS2CPacket.getPos()
PlayerSpawnPositionS2CPacket.getPos()
SignEditorOpenS2CPacket.getPos()
WorldEventS2CPacket.getPos()
Modifier and TypeMethodDescriptionvoid
ChunkDeltaUpdateS2CPacket.visitUpdates(BiConsumer<BlockPos,BlockState> biConsumer)
Calls the given consumer for each pair of block position and block state contained in this packet.ModifierConstructorDescriptionBlockBreakingProgressS2CPacket(int entityId, BlockPos pos, int progress)
BlockEntityUpdateS2CPacket(BlockPos pos, int 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, EntityType<?> entityType, int data, BlockPos pos)
PlayerActionResponseS2CPacket(BlockPos pos, BlockState state, PlayerActionC2SPacket.Action action, boolean approved, String reason)
PlayerSpawnPositionS2CPacket(BlockPos pos, float angle)
WorldEventS2CPacket(int eventId, BlockPos pos, int data, boolean global)
ModifierConstructorDescriptionExplosionS2CPacket(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, @Nullable Vec3d playerVelocity)
-
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 TypeMethodDescriptionprivate static int
CloneCommand.execute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode)
private static int
DebugMobSpawningCommand.execute(ServerCommandSource source, SpawnGroup group, BlockPos pos)
private static int
DebugPathCommand.execute(ServerCommandSource source, BlockPos pos)
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, LootFunction modifier)
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, LootFunction modifier)
private static int
ItemCommand.executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, LootFunction modifier)
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, LootFunction modifier)
private static int
LootCommand.executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier 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)
SetBlockCommand.Filter.filter(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world)
private static Inventory
LootCommand.getBlockInventory(ServerCommandSource source, BlockPos pos)
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 void
TestCommand.run(ServerWorld world, BlockPos pos, @Nullable TestSet tests)
static int
LocateCommand.sendCoordinates(ServerCommandSource source, String structure, BlockPos sourcePos, BlockPos structurePos, String successMessage)
private static OptionalInt
ExecuteCommand.testBlocksCondition(ServerWorld world, BlockPos start, BlockPos end, BlockPos destination, boolean masked)
ModifierConstructorDescriptionBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound blockEntityTag)
-
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
Modifier and TypeMethodDescriptionSpawnLocating.findOverworldSpawn(ServerWorld world, int x, int z, boolean validSpawnNeeded)
SpawnLocating.findServerSpawnPoint(ServerWorld world, ChunkPos chunkPos, boolean validSpawnNeeded)
ServerPlayerEntity.getSpawnPointPosition()
Modifier and TypeMethodDescriptionstatic void
DebugInfoSender.addGameTestMarker(ServerWorld world, BlockPos pos, String message, int color, int duration)
protected void
ServerPlayerEntity.applyMovementEffects(BlockPos pos)
boolean
ServerPlayerEntity.canModifyAt(World world, BlockPos pos)
private float
ServerPlayerInteractionManager.continueMining(BlockState state, BlockPos pos, int int2)
private void
ServerPlayerEntity.createEndSpawnPlatform(ServerWorld world, BlockPos centerPos)
protected void
ServerPlayerEntity.fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
void
ServerPlayerInteractionManager.finishMining(BlockPos pos, PlayerActionC2SPacket.Action action, String reason)
protected Optional<PortalUtil.Rectangle>
ServerPlayerEntity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether)
private boolean
ServerPlayerEntity.isBedObstructed(BlockPos pos, Direction direction)
private boolean
ServerPlayerEntity.isBedTooFarAway(BlockPos pos)
private boolean
ServerPlayerEntity.isBedTooFarAway(BlockPos pos, Direction direction)
void
DemoServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight)
void
ServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight)
static void
DebugInfoSender.sendBeehiveDebugData(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity)
static void
DebugInfoSender.sendGameEvent(World world, GameEvent event, BlockPos pos)
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 spawnPointSet, boolean sendMessage)
void
boolean
ServerPlayerInteractionManager.tryBreakBlock(BlockPos pos)
com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit>
-
Uses of BlockPos in net.minecraft.server.world
Modifier and TypeFieldDescriptionstatic BlockPos
ServerWorld.END_SPAWN_POS
private BlockPos
BlockEvent.pos
SimpleTickScheduler.Tick.pos
Modifier and TypeFieldDescriptionstatic ChunkTicketType<BlockPos>
ChunkTicketType.PORTAL
Used by a nether portal to load chunks in the other dimension.Modifier and TypeMethodDescriptionBlockEvent.getPos()
ServerWorld.getSpawnPos()
protected BlockPos
ServerWorld.getSurface(BlockPos pos)
ServerWorld.locateBiome(Biome biome, BlockPos pos, int radius, int int2)
ServerWorld.locateStructure(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks)
Modifier and TypeMethodDescriptionvoid
ServerLightingProvider.addLightSource(BlockPos pos, int level)
void
ServerWorld.addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
boolean
ServerWorld.canPlayerModifyAt(PlayerEntity player, BlockPos pos)
void
ServerLightingProvider.checkBlock(BlockPos pos)
void
ServerTickScheduler.copyScheduledTicks(BlockBox box, BlockPos offset)
void
ServerWorld.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
ServerWorld.getLightningRodPos(BlockPos pos)
protected BlockPos
ServerWorld.getSurface(BlockPos pos)
boolean
boolean
ServerWorld.isNearOccupiedPointOfInterest(BlockPos pos)
boolean
ServerWorld.isNearOccupiedPointOfInterest(BlockPos pos, int maxDistance)
boolean
ServerTickScheduler.isScheduled(BlockPos pos, T object)
boolean
SimpleTickScheduler.isScheduled(BlockPos pos, T object)
boolean
boolean
ServerWorld.locateBiome(Biome biome, BlockPos pos, int radius, int int2)
ServerWorld.locateStructure(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks)
void
ChunkHolder.markForBlockUpdate(BlockPos pos)
void
ServerChunkManager.markForUpdate(BlockPos pos)
boolean
ServerWorld.method_37117(BlockPos blockPos)
boolean
ServerWorld.method_37118(BlockPos blockPos)
boolean
ServerEntityManager.method_37254(BlockPos blockPos)
void
ServerWorld.onBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock)
void
ServerTickScheduler.schedule(BlockPos pos, T object, int delay, TickPriority priority)
void
SimpleTickScheduler.schedule(BlockPos pos, T object, int delay, TickPriority priority)
private void
ChunkHolder.sendBlockEntityUpdatePacket(World world, BlockPos pos)
void
ServerWorld.setBlockBreakingInfo(int entityId, BlockPos pos, int progress)
void
ServerWorld.setSpawnPos(BlockPos pos, float angle)
void
ServerWorld.syncGlobalEvent(int eventId, BlockPos pos, int data)
void
ServerWorld.syncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data)
private void
ChunkHolder.tryUpdateBlockEntityAt(World world, BlockPos pos, BlockState state)
void
ServerWorld.updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags)
void
ServerWorld.updateNeighbors(BlockPos pos, Block block)
ModifierConstructorDescriptionBlockEvent(BlockPos pos, Block block, int type, int data)
(package private)
Tick(T object, BlockPos pos, int delay, TickPriority priority)
-
Uses of BlockPos in net.minecraft.structure
Modifier and TypeFieldDescriptionStructure.StructureEntityInfo.blockPos
(package private) static BlockPos
ShipwreckGenerator.DEFAULT_POSITION
protected BlockPos
PoolStructurePiece.pos
protected BlockPos
SimpleStructurePiece.pos
Structure.StructureBlockInfo.pos
private BlockPos
StructurePlacementData.position
WoodlandMansionGenerator.GenerationPiece.position
Modifier and TypeFieldDescription(package private) static List<Pair<BlockRotation,BlockPos>>
EndCityGenerator.FAT_TOWER_BRIDGE_ATTACHMENTS
(package private) static Map<Identifier,BlockPos>
IglooGenerator.field_14406
(package private) static Map<Identifier,BlockPos>
IglooGenerator.field_14408
(package private) static List<Pair<BlockRotation,BlockPos>>
EndCityGenerator.SMALL_TOWER_BRIDGE_ATTACHMENTS
Modifier and TypeMethodDescriptionstatic BlockPos
Structure.applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ)
StructureStart.getBlockPos()
PoolStructurePiece.getPos()
StructurePlacementData.getPosition()
private static BlockPos
IglooGenerator.Piece.method_35430(Identifier identifier, BlockPos blockPos, int int2)
StrongholdGenerator.Start.method_35458()
StructurePiece.method_35458()
Structure.offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation)
static BlockPos
Structure.transform(StructurePlacementData placementData, BlockPos pos)
static BlockPos
Structure.transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
Structure.transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)
Modifier and TypeMethodDescriptionOceanRuinGenerator.getRoomPositions(Random random, BlockPos blockPos)
Modifier and TypeMethodDescriptionprivate void
WoodlandMansionGenerator.LayoutGenerator.addBigRoom(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, Direction direction, Direction direction2, WoodlandMansionGenerator.RoomPool roomPool)
private void
WoodlandMansionGenerator.LayoutGenerator.addBigSecretRoom(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, WoodlandMansionGenerator.RoomPool roomPool)
protected boolean
StructurePiece.addChest(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, @Nullable BlockState block)
private void
Structure.addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner)
private void
WoodlandMansionGenerator.LayoutGenerator.addMediumRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, Direction direction2, WoodlandMansionGenerator.RoomPool roomPool, boolean staircase)
static void
ShipwreckGenerator.addParts(StructureManager structureManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, ShipwreckFeatureConfig config)
static void
EndCityGenerator.addPieces(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random)
static void
IglooGenerator.addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random)
static void
NetherFossilGenerator.addPieces(StructureManager manager, StructurePiecesHolder structurePiecesHolder, Random random, BlockPos pos)
static void
OceanRuinGenerator.addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, OceanRuinFeatureConfig config)
static void
WoodlandMansionGenerator.addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random)
private void
WoodlandMansionGenerator.LayoutGenerator.addSmallRoom(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, Direction direction, WoodlandMansionGenerator.RoomPool roomPool)
static BlockPos
Structure.applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ)
Structure.calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
Structure.calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos blockPos, BlockMirror mirror)
private boolean
RuinedPortalStructurePiece.canFillNetherrack(WorldAccess world, BlockPos pos)
protected boolean
boolean
EndCityGenerator.Part.create(StructureManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random)
(package private) static boolean
EndCityGenerator.createPart(StructureManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random)
(package private) static EndCityGenerator.Piece
EndCityGenerator.createPiece(StructureManager structureManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir)
boolean
BuriedTreasureGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
DesertTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
IglooGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
JungleTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.Bridge.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeEnd.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgePlatform.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeSmallCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorBalcony.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorExit.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorLeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorNetherWartsRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorRightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFossilGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Base.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.CoreRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Entry.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Penthouse.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoomTop.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.WingRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanRuinGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
RuinedPortalStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
ShipwreckGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SimpleStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.ChestCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Corridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.FiveWayCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.LeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Library.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PortalRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PrisonHall.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.RightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SpiralStaircase.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SquareRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Stairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
abstract boolean
StructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SwampHutGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
void
WoodlandMansionGenerator.LayoutGenerator.generate(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters)
private void
RuinedPortalStructurePiece.generateOvergrownLeaves(Random random, WorldAccess world, BlockPos pos)
private void
RuinedPortalStructurePiece.generateVines(Random random, WorldAccess world, BlockPos pos)
Structure.getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)
Structure.getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed)
StructurePlacementData.getRandomBlockInfos(List<Structure.PalettedBlockInfoList> list, @Nullable BlockPos pos)
OceanRuinGenerator.getRoomPositions(Random random, BlockPos blockPos)
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 static void
OceanRuinGenerator.method_14822(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, OceanRuinFeatureConfig config, boolean large, float integrity)
private static void
OceanRuinGenerator.method_14825(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, StructurePiecesHolder structurePiecesHolder)
private int
OceanRuinGenerator.Piece.method_14829(BlockPos blockPos, BlockView blockView, BlockPos blockPos2)
private void
WoodlandMansionGenerator.LayoutGenerator.method_15055(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, WoodlandMansionGenerator.FlagMatrix flagMatrix, @Nullable WoodlandMansionGenerator.FlagMatrix flagMatrix2)
private boolean
MineshaftGenerator.MineshaftCorridor.method_33877(WorldView worldView, BlockPos blockPos, BlockState blockState)
protected static BlockBox
Structure.method_34400(BlockPos blockPos, BlockRotation blockRotation, BlockPos blockPos2, BlockMirror blockMirror, Vec3i vec3i)
private static BlockPos
IglooGenerator.Piece.method_35430(Identifier identifier, BlockPos blockPos, int int2)
private static StructurePlacementData
RuinedPortalStructurePiece.method_35450(BlockMirror blockMirror, BlockRotation blockRotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos blockPos, RuinedPortalStructurePiece.Properties properties)
Structure.offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation)
static BlockState
StructurePiece.orientateChest(BlockView world, BlockPos pos, BlockState state)
boolean
Structure.place(ServerWorldAccess world, BlockPos pos, BlockPos blockPos, StructurePlacementData placementData, Random random, int int2)
private void
RuinedPortalStructurePiece.placeNetherrackBottom(Random random, WorldAccess world, BlockPos pos)
static List<Structure.StructureBlockInfo>
Structure.process(WorldAccess world, BlockPos pos, BlockPos blockPos, StructurePlacementData placementData, List<Structure.StructureBlockInfo> list)
void
Structure.saveFromWorld(World world, BlockPos start, Vec3i vec3i, boolean includeEntities, @Nullable Block ignoredBlock)
StructurePlacementData.setPosition(BlockPos position)
private void
Structure.spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean bool)
static BlockPos
Structure.transform(StructurePlacementData placementData, BlockPos pos)
static BlockPos
Structure.transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
static Vec3d
Structure.transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
Structure.transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)
private void
RuinedPortalStructurePiece.updateNetherracks(Random random, WorldAccess world, BlockPos pos)
ModifierConstructorDescriptionPiece(StructureManager manager, String template, BlockPos pos, BlockRotation rotation, boolean ignoreAir)
Piece(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset)
Piece(StructureManager manager, Identifier template, BlockPos pos, BlockRotation rotation)
Piece(StructureManager structureManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinFeature.BiomeType biomeType, boolean large)
Piece(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded)
Piece(StructureManager structureManager, String template, BlockPos pos, BlockRotation rotation)
Piece(StructureManager structureManager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror)
PoolStructurePiece(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox)
RuinedPortalStructurePiece(StructureManager structureManager, BlockPos blockPos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier identifier, Structure structure, BlockRotation blockRotation, BlockMirror blockMirror, BlockPos blockPos2)
SimpleStructurePiece(StructurePieceType structurePieceType, int int2, StructureManager structureManager, Identifier identifier, String string, StructurePlacementData structurePlacementData, BlockPos blockPos)
StructureBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound nbt)
StructureEntityInfo(Vec3d pos, BlockPos blockPos, NbtCompound nbt)
-
Uses of BlockPos in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionStructurePoolBasedGenerator.PieceFactory.create(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int int2, BlockRotation rotation, BlockBox elementBounds)
boolean
EmptyPoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
FeaturePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
ListPoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
SinglePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
abstract boolean
StructurePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
EmptyPoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
FeaturePoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
ListPoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
SinglePoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
abstract BlockBox
StructurePoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
SinglePoolElement.getDataStructureBlocks(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated)
EmptyPoolElement.getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
FeaturePoolElement.getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
ListPoolElement.getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
SinglePoolElement.getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
abstract List<Structure.StructureBlockInfo>
StructurePoolElement.getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
void
StructurePoolElement.method_16756(WorldAccess worldAccess, Structure.StructureBlockInfo structureBlockInfo, BlockPos blockPos, BlockRotation blockRotation, Random random, BlockBox blockBox)
static void
StructurePoolBasedGenerator.method_30419(DynamicRegistryManager dynamicRegistryManager, StructurePoolFeatureConfig structurePoolFeatureConfig, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, BlockPos blockPos, StructurePiecesHolder structurePiecesHolder, Random random, boolean bool, boolean bool2, HeightLimitView heightLimitView)
-
Uses of BlockPos in net.minecraft.structure.processor
Modifier and TypeMethodDescriptionBlackstoneReplacementStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
BlockAgeStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
BlockIgnoreStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
BlockRotStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
GravityStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
JigsawReplacementStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
LavaSubmergedBlockStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
NopStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
ProtectedBlocksStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
RuleStructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
abstract Structure.StructureBlockInfo
StructureProcessor.process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
boolean
StructureProcessorRule.test(BlockState input, BlockState location, BlockPos blockPos, BlockPos blockPos2, BlockPos blockPos3, Random random)
-
Uses of BlockPos in net.minecraft.structure.rule
-
Uses of BlockPos in net.minecraft.test
Modifier and TypeFieldDescriptionGameTestState.pos
private BlockPos
PositionedException.pos
private BlockPos
StructureTestListener.pos
private BlockPos
TestRunner.pos
private BlockPos
TestServer.pos
private BlockPos
PositionedException.relativePos
Modifier and TypeMethodDescriptionStructureTestUtil.findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world)
TestContext.getAbsolutePos(BlockPos pos)
GameTestState.getPos()
PositionedException.getPos()
PositionedException.getRelativePos()
TestContext.getRelativePos(BlockPos pos)
Modifier and TypeMethodDescriptionStructureTestUtil.findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world)
static Collection<BlockPos>
StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world)
private Map<GameTestState,BlockPos>
TestRunner.method_29401(Collection<GameTestState> gameTests)
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 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 void
TestUtil.clearTests(ServerWorld world, BlockPos pos, TestManager testManager, int radius)
static StructureBlockBlockEntity
StructureTestUtil.createStructure(String structureName, BlockPos pos, BlockRotation rotation, int int2, ServerWorld world, boolean bool)
static void
StructureTestUtil.createTestArea(String structure, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world)
void
TestContext.dontExpectBlock(Block block, BlockPos pos)
void
TestContext.dontExpectEntityAt(EntityType<?> type, BlockPos pos)
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(BlockPos pos, Item item)
void
TestContext.expectEmptyContainer(BlockPos pos)
void
TestContext.expectEntityAround(EntityType<?> type, BlockPos pos, double radius)
void
TestContext.expectEntityAt(Entity entity, BlockPos pos)
void
TestContext.expectEntityAt(EntityType<?> type, BlockPos pos)
<E extends Entity, T>
voidTestContext.expectEntityWithData(BlockPos pos, EntityType<E> type, Function<? super E,T> entityDataGetter, T data)
void
TestContext.expectItemAt(Item item, BlockPos pos, double radius)
void
TestContext.expectItemsAt(Item item, BlockPos pos, double radius, int amount)
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)
static Collection<BlockPos>
StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world)
private static void
StructureTestUtil.forceLoadNearbyChunks(BlockPos pos, ServerWorld world)
void
TestContext.forceRandomTick(BlockPos pos)
TestContext.getAbsolutePos(BlockPos pos)
TestContext.getBlockEntity(BlockPos pos)
TestContext.getBlockState(BlockPos pos)
TestContext.getRelativePos(BlockPos pos)
static BlockBox
StructureTestUtil.getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation)
void
private static boolean
StructureTestUtil.isInStructureBounds(BlockPos structureBlockPos, BlockPos pos, ServerWorld world)
void
TestContext.method_35949(long long2, BlockPos blockPos)
void
TestContext.method_35950(long long2, BlockPos blockPos, Item item)
TestContext.method_35967(MobEntity entity, BlockPos pos, float float2)
<E extends Entity, T>
voidTestContext.method_36015(BlockPos blockPos, EntityType<E> entityType, Function<E,T> function, T t)
void
TestContext.method_36038(EntityType<?> type, BlockPos pos)
void
TestContext.method_36043(EntityType<?> type, BlockPos pos)
static void
StructureTestUtil.placeStartButton(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world)
private static StructureBlockBlockEntity
StructureTestUtil.placeStructure(String name, BlockPos pos, BlockRotation rotation, ServerWorld world, boolean bool)
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)
static Collection<GameTestState>
TestUtil.runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
static Collection<GameTestState>
TestUtil.runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
void
TestContext.setBlockState(BlockPos pos, Block block)
void
TestContext.setBlockState(BlockPos pos, BlockState state)
(package private) void
<E extends Entity>
ETestContext.spawnEntity(EntityType<E> type, BlockPos pos)
<E extends MobEntity>
ETestContext.spawnMob(EntityType<E> type, BlockPos pos)
static void
TestUtil.startTest(GameTestState test, BlockPos pos, TestManager testManager)
void
TestContext.throwPositionedException(String message, BlockPos pos)
void
TestContext.toggleLever(BlockPos pos)
void
ModifierConstructorDescriptionPositionedException(String message, BlockPos pos, BlockPos relativePos, long tick)
StructureTestListener(GameTestState test, TestManager testManager, BlockPos pos)
TestRunner(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
TestServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, ServerResourceManager serverResourceManager, Collection<GameTestBatch> batches, BlockPos pos, DynamicRegistryManager.Impl registryManager)
private
TestServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, ServerResourceManager serverResourceManager, Collection<GameTestBatch> batches, BlockPos pos, DynamicRegistryManager.Impl registryManager, Registry<Biome> biomeRegistry, Registry<DimensionType> dimensionTypeRegistry)
-
Uses of BlockPos in net.minecraft.util
-
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.dynamic
Modifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.create(RegistryKey<World> dimension, 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)
BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock)
-
Uses of BlockPos in net.minecraft.util.math
Modifier and TypeFieldDescriptionstatic BlockPos
BlockPos.ORIGIN
The block position which x, y, and z values are all zero.private BlockPos
BlockPointerImpl.pos
private BlockPos
GravityField.Point.pos
Modifier and TypeMethodDescriptionBlockPos.add(double double2, double double3, double double4)
BlockPos.add(int int2, int int3, int int4)
BlockPos.Mutable.add(double double2, double double3, double double4)
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)
BlockPointer.getBlockPos()
BlockPointerImpl.getBlockPos()
ChunkPos.getBlockPos(int offsetX, int y, int offsetZ)
BlockBox.getCenter()
ChunkPos.getCenterAtY(int y)
ChunkSectionPos.getCenterPos()
ChunkSectionPos.getMinPos()
ChunkPos.getStartPos()
BlockPos.multiply(int int2)
BlockPos.Mutable.multiply(int int2)
BlockPos.north()
BlockPos.north(int distance)
BlockPos.Mutable.offset(Direction.Axis axis, int int2)
BlockPos.offset(Direction.Axis axis, int int2)
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.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)
Modifier and TypeMethodDescriptionvoid
Adds a point to the gravity field.double
Calculate the gravity on a potential point atpos
withmass
.Expands this box to encompass thepos
.BlockPos.findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition)
static ChunkSectionPos
Direction.fromVector(BlockPos pos)
double
GravityField.Point.getGravityFactor(BlockPos pos)
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 long
ChunkPos.method_37232(BlockPos blockPos)
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)
static long
Modifier and TypeMethodDescriptionBlockBox.encompassPositions(Iterable<BlockPos> positions)
BlockPos.findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition)
void
BlockBox.forEachVertex(Consumer<BlockPos> consumer)
ModifierConstructorDescriptionCreates a box enclosing onlypos
.BlockPointerImpl(ServerWorld world, BlockPos pos)
Creates a box that only contains the given block position.Creates a box of the given positions as corners. -
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.getCenter()
Raid.getRavagerSpawnLocation(int proximity, int tries)
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)
-
Uses of BlockPos in net.minecraft.world
Modifier and TypeFieldDescriptionSpawnHelper.Info.cachedPos
PortalUtil.Rectangle.lowerLeft
private BlockPos
Vibration.origin
ScheduledTick.pos
Modifier and TypeFieldDescriptionprivate BiPredicate<BlockState,BlockPos>
BlockCollisionSpliterator.blockPredicate
private Function<BlockPos,TickScheduler<T>>
MultiTickScheduler.mapper
Modifier and TypeMethodDescriptionprivate static BlockPos
SpawnHelper.getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z)
WanderingTraderManager.getNearbySpawnPos(WorldView world, BlockPos pos, int range)
Vibration.getOrigin()
World.getRandomPosInChunk(int x, int y, int z, int int2)
private static BlockPos
SpawnHelper.getSpawnPos(World world, WorldChunk chunk)
default BlockPos
RegistryWorldView.getTopPosition(Heightmap.Type heightmap, BlockPos pos)
TestableWorld.getTopPosition(Heightmap.Type type, BlockPos blockPos)
default BlockPos
WorldView.getTopPosition(Heightmap.Type heightmap, BlockPos pos)
Modifier and TypeMethodDescriptionPortalUtil.method_34851(BlockView blockView, BlockPos blockPos, Block block, Direction direction, Block block2)
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)
default boolean
ModifiableWorld.breakBlock(BlockPos pos, boolean drop)
default boolean
ModifiableWorld.breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity)
boolean
ModifiableWorld.breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth)
boolean
World.breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth)
default boolean
CollisionView.canPlace(BlockState state, BlockPos pos, ShapeContext context)
boolean
World.canPlayerModifyAt(PlayerEntity player, BlockPos pos)
boolean
World.canSetBlock(BlockPos pos)
static boolean
SpawnHelper.canSpawn(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType)
void
MobSpawnerLogic.clientTick(World world, BlockPos pos)
private static boolean
SpawnHelper.containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos)
PortalForcer.createPortal(BlockPos blockPos, Direction.Axis axis)
private boolean
WanderingTraderManager.doesNotSuffocateAt(BlockView world, BlockPos pos)
void
ChunkRegion.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
protected void
World.emitGameEvent(@Nullable Entity entity, GameEvent gameEvent, BlockPos pos, int range)
void
WorldAccess.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
default void
WorldAccess.emitGameEvent(GameEvent event, BlockPos pos)
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 Biome
(package private) static Biome
SpawnHelper.getBiomeDirectly(BlockPos pos, Chunk chunk)
default Optional<RegistryKey<Biome>>
RegistryWorldView.getBiomeKey(BlockPos pos)
BlockView.getBlockEntity(BlockPos pos)
default <T extends BlockEntity>
Optional<T>BlockView.getBlockEntity(BlockPos pos, BlockEntityType<T> type)
ChunkRegion.getBlockEntity(BlockPos pos)
EmptyBlockView.getBlockEntity(BlockPos pos)
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)
RaycastContext.getBlockShape(BlockState state, BlockView world, BlockPos pos)
BlockView.getBlockState(BlockPos pos)
ChunkRegion.getBlockState(BlockPos pos)
ChunkSectionCache.getBlockState(BlockPos pos)
EmptyBlockView.getBlockState(BlockPos pos)
World.getBlockState(BlockPos pos)
default float
WorldView.getBrightness(BlockPos pos)
Deprecated.default Chunk
int
BlockRenderView.getColor(BlockPos pos, ColorResolver colorResolver)
default int
WorldView.getColor(BlockPos pos, ColorResolver colorResolver)
default double
BlockView.getDismountHeight(BlockPos pos)
int
World.getEmittedRedstonePower(BlockPos pos, Direction direction)
private @Nullable Identifier
MobSpawnerLogic.getEntityId(@Nullable World world, BlockPos pos)
RaycastContext.getFluidShape(FluidState state, BlockView world, BlockPos pos)
BlockView.getFluidState(BlockPos pos)
ChunkRegion.getFluidState(BlockPos pos)
EmptyBlockView.getFluidState(BlockPos pos)
World.getFluidState(BlockPos pos)
static PortalUtil.Rectangle
PortalUtil.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)
PortalForcer.getPortalRect(BlockPos destPos, boolean destIsNether)
int
World.getReceivedRedstonePower(BlockPos pos)
int
World.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 Biome biome)
default int
WorldView.getStrongRedstonePower(BlockPos pos, Direction direction)
default BlockPos
RegistryWorldView.getTopPosition(Heightmap.Type heightmap, BlockPos pos)
TestableWorld.getTopPosition(Heightmap.Type type, BlockPos blockPos)
default BlockPos
WorldView.getTopPosition(Heightmap.Type heightmap, BlockPos pos)
World.getWorldChunk(BlockPos pos)
boolean
World.hasHighHumidity(BlockPos pos)
boolean
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)
boolean
World.isEmittingRedstonePower(BlockPos pos, Direction direction)
boolean
World.isInBuildLimit(BlockPos pos)
default boolean
HeightLimitView.isOutOfHeightLimit(BlockPos pos)
Checks ifpos
is out of the height limit of this view.private boolean
MobSpawnerLogic.isPlayerInRange(World world, BlockPos pos)
boolean
World.isReceivingRedstonePower(BlockPos pos)
default boolean
WorldView.isRegionLoaded(BlockPos min, BlockPos max)
Deprecated.boolean
ChunkTickScheduler.isScheduled(BlockPos pos, T object)
boolean
MultiTickScheduler.isScheduled(BlockPos pos, T object)
boolean
TickScheduler.isScheduled(BlockPos pos, T object)
default boolean
BlockRenderView.isSkyVisible(BlockPos pos)
default boolean
WorldView.isSkyVisibleAllowingSea(BlockPos pos)
boolean
boolean
boolean
boolean
World.isTopSolid(BlockPos pos, Entity entity)
static boolean
private static boolean
World.isValidHorizontally(BlockPos pos)
private boolean
PortalForcer.isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal)
default boolean
private void
ChunkRegion.markBlockForPostProcessing(BlockPos pos)
void
PortalUtil.method_34851(BlockView blockView, BlockPos blockPos, Block block, Direction direction, Block block2)
void
World.onBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock)
private static Optional<SpawnSettings.SpawnEntry>
SpawnHelper.pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos)
void
ChunkRegion.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
void
World.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
void
WorldAccess.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
default @Nullable BlockHitResult
BlockView.raycastBlock(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state)
void
MobSpawnerLogic.readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt)
boolean
ChunkRegion.removeBlock(BlockPos pos, boolean move)
boolean
ModifiableWorld.removeBlock(BlockPos pos, boolean move)
boolean
World.removeBlock(BlockPos pos, boolean move)
void
World.removeBlockEntity(BlockPos pos)
void
ChunkTickScheduler.schedule(BlockPos pos, T object, int delay, TickPriority priority)
void
MultiTickScheduler.schedule(BlockPos pos, T object, int delay, TickPriority priority)
default void
void
TickScheduler.schedule(BlockPos pos, T object, int delay, TickPriority priority)
void
World.scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated)
abstract void
MobSpawnerLogic.sendStatus(World world, BlockPos pos, int int2)
void
MobSpawnerLogic.serverTick(ServerWorld world, BlockPos pos)
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
MobSpawnerLogic.setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry)
default void
MutableWorldProperties.setSpawnPos(BlockPos pos, float angle)
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)
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
World.updateComparators(BlockPos pos, Block block)
abstract void
World.updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags)
void
World.updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos neighborPos)
default void
WorldAccess.updateNeighbors(BlockPos pos, Block block)
void
World.updateNeighborsAlways(BlockPos pos, Block block)
void
World.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction)
private void
MobSpawnerLogic.updateSpawns(World world, BlockPos pos)
MobSpawnerLogic.writeNbt(@Nullable World world, BlockPos pos, NbtCompound nbt)
Modifier and TypeMethodDescriptiondefault Stream<VoxelShape>
CollisionView.getBlockCollisions(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate)
static PortalUtil.Rectangle
PortalUtil.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 boolean
CollisionView.isBlockSpaceEmpty(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate)
private static int
PortalUtil.moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable mutable, 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)
void
ModifierConstructorDescriptionScheduledTick(BlockPos pos, T t)
ScheduledTick(BlockPos pos, T t, long time, TickPriority priority)
Vibration(BlockPos origin, PositionSource destination, int arrivalInTicks)
ModifierConstructorDescriptionBlockCollisionSpliterator(CollisionView world, @Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> blockPredicate)
MultiTickScheduler(Function<BlockPos,TickScheduler<T>> mapper)
-
Uses of BlockPos in net.minecraft.world.biome
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Biome.canSetSnow(WorldView world, BlockPos blockPos)
private float
Biome.computeTemperature(BlockPos pos)
void
Biome.generateFeatureStep(StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, ChunkRegion region, long populationSeed, ChunkRandom random, BlockPos origin)
abstract float
Biome.TemperatureModifier.getModifiedTemperature(BlockPos pos, float temperature)
float
Biome.getTemperature(BlockPos blockPos)
boolean
-
Uses of BlockPos in net.minecraft.world.biome.source
Modifier and TypeMethodDescriptionBiomeSource.locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
BiomeSource.locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)
FixedBiomeSource.locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
-
Uses of BlockPos in net.minecraft.world.border
-
Uses of BlockPos in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate Map<BlockPos,BlockEntity>
ProtoChunk.blockEntities
private Map<BlockPos,BlockEntity>
WorldChunk.blockEntities
private Map<BlockPos,NbtCompound>
ProtoChunk.blockEntityTags
WorldChunk.blockEntityTickers
ProtoChunk.lightSources
private Map<BlockPos,NbtCompound>
WorldChunk.pendingBlockEntityNbts
Modifier and TypeMethodDescriptionBlockEntityTickInvoker.getPos()
WorldChunk.DirectBlockEntityTickInvoker.getPos()
WorldChunk.WrappedBlockEntityTickInvoker.getPos()
static BlockPos
ProtoChunk.joinBlockPos(short sectionRel, int sectionY, ChunkPos chunkPos)
Chunk.method_35319(Heightmap.Type type)
ProtoChunk.method_35319(Heightmap.Type type)
ReadOnlyChunk.method_35319(Heightmap.Type type)
WorldChunk.method_35319(Heightmap.Type type)
Modifier and TypeMethodDescriptionProtoChunk.getBlockEntities()
WorldChunk.getBlockEntities()
ProtoChunk.getBlockEntityNbts()
Chunk.getBlockEntityPositions()
ProtoChunk.getBlockEntityPositions()
WorldChunk.getBlockEntityPositions()
Chunk.getLightSourcesStream()
ProtoChunk.getLightSourcesStream()
ReadOnlyChunk.getLightSourcesStream()
WorldChunk.getLightSourcesStream()
Modifier and TypeMethodDescriptionvoid
ProtoChunk.addLightSource(BlockPos pos)
private 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)
EmptyChunk.getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
ProtoChunk.getBlockEntity(BlockPos pos)
ReadOnlyChunk.getBlockEntity(BlockPos pos)
WorldChunk.getBlockEntity(BlockPos pos)
WorldChunk.getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
Chunk.getBlockEntityNbt(BlockPos pos)
ProtoChunk.getBlockEntityNbt(BlockPos pos)
ReadOnlyChunk.getBlockEntityNbt(BlockPos pos)
WorldChunk.getBlockEntityNbt(BlockPos pos)
ChunkCache.getBlockState(BlockPos pos)
EmptyChunk.getBlockState(BlockPos pos)
ProtoChunk.getBlockState(BlockPos pos)
ReadOnlyChunk.getBlockState(BlockPos pos)
WorldChunk.getBlockState(BlockPos pos)
private Chunk
ChunkCache.getFluidState(BlockPos pos)
EmptyChunk.getFluidState(BlockPos pos)
ProtoChunk.getFluidState(BlockPos pos)
ReadOnlyChunk.getFluidState(BlockPos pos)
WorldChunk.getFluidState(BlockPos pos)
int
EmptyChunk.getLuminance(BlockPos pos)
Chunk.getPackedBlockEntityNbt(BlockPos pos)
ProtoChunk.getPackedBlockEntityNbt(BlockPos pos)
ReadOnlyChunk.getPackedBlockEntityNbt(BlockPos pos)
WorldChunk.getPackedBlockEntityNbt(BlockPos pos)
static short
ProtoChunk.getPackedSectionRelative(BlockPos pos)
UpgradeData.Logic.getUpdatedState(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess world, BlockPos blockPos, BlockPos blockPos2)
private @Nullable BlockEntity
WorldChunk.loadBlockEntity(BlockPos pos, NbtCompound nbt)
default void
Chunk.markBlockForPostProcessing(BlockPos pos)
void
ProtoChunk.markBlockForPostProcessing(BlockPos pos)
void
ReadOnlyChunk.markBlockForPostProcessing(BlockPos pos)
void
Chunk.removeBlockEntity(BlockPos pos)
void
EmptyChunk.removeBlockEntity(BlockPos pos)
void
ProtoChunk.removeBlockEntity(BlockPos pos)
void
ReadOnlyChunk.removeBlockEntity(BlockPos pos)
void
WorldChunk.removeBlockEntity(BlockPos pos)
private void
WorldChunk.removeBlockEntityTicker(BlockPos pos)
Chunk.setBlockState(BlockPos pos, BlockState state, boolean moved)
EmptyChunk.setBlockState(BlockPos pos, BlockState state, boolean moved)
ProtoChunk.setBlockState(BlockPos pos, BlockState state, boolean moved)
ReadOnlyChunk.setBlockState(BlockPos pos, BlockState state, boolean moved)
WorldChunk.setBlockState(BlockPos pos, BlockState state, boolean moved)
-
Uses of BlockPos in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionvoid
ChunkBlockLightProvider.addLightSource(BlockPos pos, int level)
void
ChunkLightingView.Empty.addLightSource(BlockPos pos, int level)
void
ChunkLightProvider.addLightSource(BlockPos pos, int level)
void
LightingProvider.addLightSource(BlockPos pos, int level)
void
LightingView.addLightSource(BlockPos pos, int level)
void
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)
static int
ChunkLightProvider.getRealisticOpacity(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2)
default void
LightingView.setSectionStatus(BlockPos pos, boolean notReady)
-
Uses of BlockPos in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionAreaHelper.getLowerCorner(BlockPos pos)
static Optional<AreaHelper>
AreaHelper.getNewPortal(WorldAccess world, BlockPos pos, Direction.Axis axis)
static Optional<AreaHelper>
AreaHelper.getOrEmpty(WorldAccess world, BlockPos pos, Predicate<AreaHelper> predicate, Direction.Axis axis)
private int
-
Uses of BlockPos in net.minecraft.world.entity
-
Uses of BlockPos in net.minecraft.world.event
Modifier and TypeMethodDescription -
Uses of BlockPos in net.minecraft.world.event.listener
Modifier and TypeMethodDescriptionboolean
SculkSensorListener.Callback.accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)
Returns whether the callback wants to accept this event.void
Dispatches an event to all the listeners in this dispatcher.void
Dispatches an event to all the listeners in this dispatcher.private boolean
SimpleGameEventDispatcher.dispatchTo(World world, GameEvent event, @Nullable Entity entity, BlockPos pos, GameEventListener listener)
private boolean
SculkSensorListener.isOccluded(World world, BlockPos pos, BlockPos sourcePos)
boolean
Listens to an incoming game event.boolean
Listens to an incoming game event.private void
-
Uses of BlockPos in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionboolean
EntityExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
boolean
ExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
EntityExplosionBehavior.getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
ExplosionBehavior.getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
private static void
Explosion.tryMergeStack(ObjectArrayList<com.mojang.datafixers.util.Pair<ItemStack,BlockPos>> stacks, ItemStack stack, BlockPos pos)
Modifier and TypeMethodDescriptionprivate static void
Explosion.tryMergeStack(ObjectArrayList<com.mojang.datafixers.util.Pair<ItemStack,BlockPos>> stacks, ItemStack stack, BlockPos pos)
ModifierConstructorDescriptionExplosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType, List<BlockPos> affectedBlocks)
Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks)
-
Uses of BlockPos in net.minecraft.world.gen
Modifier and TypeMethodDescriptiondefault BlockState
StructureAccessor.getStructureAt(BlockPos pos, boolean matchChildren, StructureFeature<?> feature)
private int
CatSpawner.spawn(BlockPos pos, ServerWorld world)
private int
CatSpawner.spawnInHouse(ServerWorld world, BlockPos pos)
private int
CatSpawner.spawnInSwampHut(ServerWorld world, BlockPos pos)
private boolean
PillagerSpawner.spawnPillager(ServerWorld world, BlockPos pos, Random random, boolean captain)
-
Uses of BlockPos in net.minecraft.world.gen.carver
Modifier and TypeMethodDescriptionprivate @Nullable BlockState
Carver.getState(CarverContext context, C config, BlockPos pos, AquiferSampler sampler)
Modifier and TypeMethodDescriptionabstract boolean
Carver.carve(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, BitSet carvingMask)
boolean
CaveCarver.carve(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, BitSet bitSet)
boolean
ConfiguredCarver.carve(CarverContext context, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, BitSet carvingMask)
boolean
RavineCarver.carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, BitSet bitSet)
protected boolean
Carver.carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, BitSet carvingMask, Random random, BlockPos.Mutable pos, BlockPos.Mutable downPos, AquiferSampler sampler, MutableBoolean foundSurface)
protected boolean
NetherCaveCarver.carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
protected boolean
UnderwaterCanyonCarver.carveAtPoint(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
protected boolean
UnderwaterCaveCarver.carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
protected void
CaveCarver.carveCave(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float yaw, double yawPitchRatio, BitSet carvingMask, Carver.SkipPredicate skipPredicate)
private void
RavineCarver.carveRavine(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, BitSet carvingMask)
protected boolean
Carver.carveRegion(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, AquiferSampler sampler, double x, double y, double z, double horizontalScale, double verticalScale, BitSet carvingMask, Carver.SkipPredicate skipPredicate)
protected void
CaveCarver.carveTunnels(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos,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, BitSet carvingMask, Carver.SkipPredicate skipPredicate)
-
Uses of BlockPos in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionChunkGenerator.locateStructure(ServerWorld world, StructureFeature<?> feature, BlockPos center, int radius, boolean skipExistingChunks)
Tries to find the closest structure of a given type near a given block.Modifier and TypeMethodDescriptionChunkGenerator.getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
NoiseChunkGenerator.getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
ChunkGenerator.locateStructure(ServerWorld world, StructureFeature<?> feature, BlockPos center, int radius, boolean skipExistingChunks)
Tries to find the closest structure of a given type near a given block. -
Uses of BlockPos in net.minecraft.world.gen.decorator
Modifier and TypeMethodDescriptionAbstractCountDecorator.getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
AbstractRangeDecorator.getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
CarvingMaskDecorator.getPositions(DecoratorContext decoratorContext, Random random, CarvingMaskDecoratorConfig carvingMaskDecoratorConfig, BlockPos blockPos)
CaveSurfaceDecorator.getPositions(DecoratorContext decoratorContext, Random random, CaveSurfaceDecoratorConfig caveSurfaceDecoratorConfig, BlockPos blockPos)
ConfiguredDecorator.getPositions(DecoratorContext context, Random random, BlockPos pos)
CountMultilayerDecorator.getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
DarkOakTreeDecorator.getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
DecoratedDecorator.getPositions(DecoratorContext decoratorContext, Random random, DecoratedDecoratorConfig decoratedDecoratorConfig, BlockPos blockPos)
Decorator.getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
HeightmapDecorator.getPositions(DecoratorContext decoratorContext, Random random, HeightmapDecoratorConfig heightmapDecoratorConfig, BlockPos blockPos)
IcebergDecorator.getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
NopeDecorator.getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
SpreadDoubleHeightmapDecorator.getPositions(DecoratorContext decoratorContext, Random random, HeightmapDecoratorConfig heightmapDecoratorConfig, BlockPos blockPos)
SquareDecorator.getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
WaterDepthThresholdDecorator.getPositions(DecoratorContext decoratorContext, Random random, WaterDepthThresholdDecoratorConfig waterDepthThresholdDecoratorConfig, BlockPos blockPos)
Modifier and TypeMethodDescriptionDecoratorContext.getBlockState(BlockPos pos)
protected abstract int
protected int
ChanceDecorator.getCount(Random random, ChanceDecoratorConfig chanceDecoratorConfig, BlockPos blockPos)
protected int
CountDecorator.getCount(Random random, CountConfig countConfig, BlockPos blockPos)
protected int
CountExtraDecorator.getCount(Random random, CountExtraDecoratorConfig countExtraDecoratorConfig, BlockPos blockPos)
protected int
CountNoiseBiasedDecorator.getCount(Random random, CountNoiseBiasedDecoratorConfig countNoiseBiasedDecoratorConfig, BlockPos blockPos)
protected int
CountNoiseDecorator.getCount(Random random, CountNoiseDecoratorConfig countNoiseDecoratorConfig, BlockPos blockPos)
protected int
LavaLakeDecorator.getCount(Random random, ChanceDecoratorConfig chanceDecoratorConfig, BlockPos blockPos)
AbstractCountDecorator.getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
AbstractRangeDecorator.getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
CarvingMaskDecorator.getPositions(DecoratorContext decoratorContext, Random random, CarvingMaskDecoratorConfig carvingMaskDecoratorConfig, BlockPos blockPos)
CaveSurfaceDecorator.getPositions(DecoratorContext decoratorContext, Random random, CaveSurfaceDecoratorConfig caveSurfaceDecoratorConfig, BlockPos blockPos)
ConfiguredDecorator.getPositions(DecoratorContext context, Random random, BlockPos pos)
CountMultilayerDecorator.getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
DarkOakTreeDecorator.getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
DecoratedDecorator.getPositions(DecoratorContext decoratorContext, Random random, DecoratedDecoratorConfig decoratedDecoratorConfig, BlockPos blockPos)
Decorator.getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
HeightmapDecorator.getPositions(DecoratorContext decoratorContext, Random random, HeightmapDecoratorConfig heightmapDecoratorConfig, BlockPos blockPos)
IcebergDecorator.getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
NopeDecorator.getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
SpreadDoubleHeightmapDecorator.getPositions(DecoratorContext decoratorContext, Random random, HeightmapDecoratorConfig heightmapDecoratorConfig, BlockPos blockPos)
SquareDecorator.getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
WaterDepthThresholdDecorator.getPositions(DecoratorContext decoratorContext, Random random, WaterDepthThresholdDecoratorConfig waterDepthThresholdDecoratorConfig, BlockPos blockPos)
-
Uses of BlockPos in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionEndSpikeFeatureConfig.crystalBeamTarget
static BlockPos
EndPortalFeature.ORIGIN
private BlockPos
LargeDripstoneFeature.DripstoneGenerator.pos
private static BlockPos
VoidStartPlatformFeature.START_BLOCK
Modifier and TypeMethodDescriptionBuriedTreasureFeature.Start.getBlockPos()
DefaultFlowerFeature.getPos(Random random, BlockPos blockPos, RandomPatchFeatureConfig randomPatchFeatureConfig)
EndSpikeFeatureConfig.getPos()
abstract BlockPos
StructureFeature.locateStructure(WorldView world, StructureAccessor structureAccessor, BlockPos searchStartPos, int searchRadius, boolean skipExistingChunks, long worldSeed, StructureConfig config)
Tries to find the closest structure of this type near a given block.(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)
private static BlockPos
SmallDripstoneFeature.randomPos(Random random, BlockPos pos, SmallDripstoneFeatureConfig config)
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 mutable, HugeMushroomFeatureConfig config)
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)
static boolean
TreeFeature.canTreeReplace(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 boolean
GlowLichenFeature.generate(StructureWorldAccess world, BlockPos pos, BlockState state, GlowLichenFeatureConfig config, Random random, List<Direction> directions)
static boolean
NetherForestVegetationFeature.generate(WorldAccess world, Random random, BlockPos pos, BlockPileFeatureConfig config, int int2, int int3)
boolean
RandomFeatureEntry.generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos)
private static boolean
SmallDripstoneFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config)
private boolean
TreeFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos,BlockState> biConsumer, BiConsumer<BlockPos,BlockState> biConsumer2, TreeFeatureConfig treeFeatureConfig)
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 boolean
SmallDripstoneFeature.generateDripstone(StructureWorldAccess world, Random random, BlockPos pos, Direction direction, SmallDripstoneFeatureConfig config)
private static void
SmallDripstoneFeature.generateDripstoneBlocks(StructureWorldAccess world, Random random, BlockPos pos)
private boolean
RootSystemFeature.generateFeature(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos pos)
private void
RootSystemFeature.generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos)
private void
HugeFungusFeature.generateHat(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int hatHeight, boolean thickStem)
private void
WeepingVinesFeature.generateNetherWartBlocksInArea(WorldAccess world, Random random, BlockPos pos)
private void
HugeFungusFeature.generateStem(WorldAccess 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 mutable)
private boolean
RootSystemFeature.generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, 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 static void
TwistingVinesFeature.generateVinesInArea(WorldAccess world, Random random, BlockPos pos, int horizontalSpread, int verticalSpread, int length)
private void
WeepingVinesFeature.generateVinesInArea(WorldAccess world, Random random, BlockPos pos)
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)
DefaultFlowerFeature.getFlowerState(Random random, BlockPos blockPos, RandomPatchFeatureConfig randomPatchFeatureConfig)
abstract BlockState
FlowerFeature.getFlowerState(Random random, BlockPos pos, U config)
DefaultFlowerFeature.getPos(Random random, BlockPos blockPos, RandomPatchFeatureConfig randomPatchFeatureConfig)
abstract BlockPos
private int
TreeFeature.getTopPosition(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config)
private boolean
RootSystemFeature.hasSpaceForTree(StructureWorldAccess world, RootSystemFeatureConfig config, BlockPos pos)
static boolean
Feature.isAir(TestableWorld world, 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)
(package private) static boolean
static boolean
Feature.isExposedToAir(Function<BlockPos,BlockState> posToState, BlockPos pos)
boolean
private boolean
private static boolean
TwistingVinesFeature.isNotSuitable(WorldAccess world, BlockPos pos)
boolean
DefaultFlowerFeature.isPosValid(WorldAccess worldAccess, BlockPos blockPos, RandomPatchFeatureConfig randomPatchFeatureConfig)
abstract boolean
FlowerFeature.isPosValid(WorldAccess world, BlockPos pos, U config)
private static boolean
HugeFungusFeature.isReplaceable(WorldAccess world, BlockPos pos, boolean replacePlants)
private static boolean
TreeFeature.isReplaceablePlant(TestableWorld world, BlockPos pos)
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 static boolean
TreeFeature.isWater(TestableWorld world, BlockPos pos)
private boolean
UnderwaterMagmaFeature.isWaterOrAir(WorldAccess world, BlockPos pos)
StructureFeature.locateStructure(WorldView world, StructureAccessor structureAccessor, BlockPos searchStartPos, int searchRadius, boolean skipExistingChunks, long worldSeed, StructureConfig config)
Tries to find the closest structure of this type near a given block.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)
private void
LargeDripstoneFeature.method_35360(StructureWorldAccess structureWorldAccess, BlockPos blockPos, CaveSurface.Bounded bounded, LargeDripstoneFeature.WindModifier windModifier)
protected void
Feature.method_37256(StructureWorldAccess structureWorldAccess, BlockPos blockPos)
(package private) BlockPos
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 static BlockPos
SmallDripstoneFeature.randomPos(Random random, BlockPos pos, SmallDripstoneFeatureConfig config)
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
HugeFungusFeature.tryGenerateVines(WorldAccess world, Random random, BlockPos pos, BlockState state, boolean bool)
static boolean
TwistingVinesFeature.tryGenerateVines(WorldAccess world, Random random, BlockPos pos, int horizontalSpread, int verticalSpread, int length)
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> biConsumer, BiConsumer<BlockPos,BlockState> biConsumer2, TreeFeatureConfig treeFeatureConfig)
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 worldAccess, BlockBox blockBox, Set<BlockPos> set, Set<BlockPos> set2)
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 blockPos, boolean bool, int int2, double double2, double double3)
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(StructureWorldAccess world, BlockPos pos)
protected static void
DripstoneHelper.generatePointedDripstone(StructureWorldAccess world, BlockPos pos, Direction direction, int height, boolean merge)
ModifierConstructorDescriptionFeatureContext(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, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk)
Generates a square of leaves with the given radius.protected static void
FoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos pos)
Modifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
BlobFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
BushFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
DarkOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.void
FoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius)
protected abstract void
FoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
JungleFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
LargeOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
MegaPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
PineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
RandomSpreadFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
SpruceFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset)
This is the main method used to generate foliage.protected void
FoliagePlacer.generateSquare(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk)
Generates a square of leaves with the given radius.protected static void
FoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos pos)
-
Uses of BlockPos in net.minecraft.world.gen.placer
Modifier and TypeMethodDescriptionabstract void
BlockPlacer.generate(WorldAccess world, BlockPos pos, BlockState state, Random random)
void
ColumnPlacer.generate(WorldAccess world, BlockPos pos, BlockState state, Random random)
void
DoublePlantPlacer.generate(WorldAccess world, BlockPos pos, BlockState state, Random random)
void
SimpleBlockPlacer.generate(WorldAccess world, BlockPos pos, BlockState state, Random random)
-
Uses of BlockPos in net.minecraft.world.gen.stateprovider
Modifier and TypeMethodDescriptionabstract BlockState
BlockStateProvider.getBlockState(Random random, BlockPos pos)
ForestFlowerBlockStateProvider.getBlockState(Random random, BlockPos pos)
PillarBlockStateProvider.getBlockState(Random random, BlockPos pos)
PlainsFlowerBlockStateProvider.getBlockState(Random random, BlockPos pos)
RandomizedIntBlockStateProvider.getBlockState(Random random, BlockPos pos)
SimpleBlockStateProvider.getBlockState(Random random, BlockPos pos)
WeightedBlockStateProvider.getBlockState(Random random, BlockPos pos)
-
Uses of BlockPos in net.minecraft.world.gen.treedecorator
Modifier and TypeMethodDescriptionprotected static void
TreeDecorator.placeVine(BiConsumer<BlockPos,BlockState> replacer, BlockPos pos, BooleanProperty facing)
private static void
LeavesVineTreeDecorator.placeVines(TestableWorld world, BlockPos pos, BooleanProperty facing, BiConsumer<BlockPos,BlockState> replacer)
Places a vine at a given position and then up to 4 more vines going downwards.private void
AlterGroundTreeDecorator.setArea(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)
private void
AlterGroundTreeDecorator.setColumn(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)
Modifier and TypeMethodDescriptionvoid
AlterGroundTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
AlterGroundTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
BeehiveTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
BeehiveTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
CocoaBeansTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
CocoaBeansTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
LeavesVineTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
LeavesVineTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
abstract void
TreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
abstract void
TreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
TrunkVineTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
void
TrunkVineTreeDecorator.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, List<BlockPos> logPositions, List<BlockPos> leavesPositions)
protected static void
TreeDecorator.placeVine(BiConsumer<BlockPos,BlockState> replacer, BlockPos pos, BooleanProperty facing)
private static void
LeavesVineTreeDecorator.placeVines(TestableWorld world, BlockPos pos, BooleanProperty facing, BiConsumer<BlockPos,BlockState> replacer)
Places a vine at a given position and then up to 4 more vines going downwards.private void
AlterGroundTreeDecorator.setArea(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)
private void
AlterGroundTreeDecorator.setColumn(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos)
-
Uses of BlockPos in net.minecraft.world.gen.trunk
Modifier and TypeMethodDescriptionprivate static boolean
TrunkPlacer.canGenerate(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 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 aroundprotected static boolean
TrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)
protected static boolean
TrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState,BlockState> stateProvider)
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 static void
GiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config, BlockPos startPos, int x, int y, int z)
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 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 aroundprotected static boolean
TrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)
protected static boolean
TrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState,BlockState> stateProvider)
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 static void
GiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config, BlockPos startPos, int x, int y, int z)
protected static void
TrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)
protected static 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 TypeMethodDescriptionvoid
LevelProperties.setSpawnPos(BlockPos pos, float angle)
void
UnmodifiableLevelProperties.setSpawnPos(BlockPos pos, float angle)
-
Uses of BlockPos in net.minecraft.world.poi
Modifier and TypeMethodDescriptionPointOfInterestStorage.getNearestPosition(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, BlockPos pos, int radius)
PointOfInterestStorage.getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random)
PointOfInterestStorage.getPositions(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.getSortedPositions(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.method_34712(Predicate<PointOfInterestType> predicate, Predicate<BlockPos> predicate2, BlockPos blockPos, int int2, PointOfInterestStorage.OccupationStatus occupationStatus)
Modifier and TypeMethodDescriptionvoid
PointOfInterestSet.add(BlockPos pos, PointOfInterestType type)
void
PointOfInterestStorage.add(BlockPos pos, PointOfInterestType type)
long
PointOfInterestStorage.count(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
private Optional<PointOfInterest>
PointOfInterestStorage.getInCircle(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.getInSquare(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.getNearestPosition(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, BlockPos pos, int radius)
PointOfInterestStorage.getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random)
PointOfInterestStorage.getPositions(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
PointOfInterestStorage.getSortedPositions(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
boolean
PointOfInterestStorage.hasTypeAt(PointOfInterestType type, BlockPos pos)
PointOfInterestStorage.method_34712(Predicate<PointOfInterestType> predicate, Predicate<BlockPos> predicate2, BlockPos blockPos, int int2, PointOfInterestStorage.OccupationStatus occupationStatus)
int
PointOfInterestStorage.method_35155(BlockPos blockPos)
Deprecated.int
PointOfInterestSet.method_35157(BlockPos blockPos)
Deprecated.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<PointOfInterestType> predicate)
boolean
PointOfInterestStorage.test(BlockPos pos, Predicate<PointOfInterestType> predicate)
Modifier and TypeMethodDescriptionprivate void
PointOfInterestStorage.scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos chunkSectionPos, BiConsumer<BlockPos,PointOfInterestType> biConsumer)
void
PointOfInterestSet.updatePointsOfInterest(Consumer<BiConsumer<BlockPos,PointOfInterestType>> consumer)
ModifierConstructorDescriptionprivate
PointOfInterest(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener)
PointOfInterest(BlockPos pos, PointOfInterestType type, Runnable updateListener)