Uses of Class
net.minecraft.util.math.BlockPos
-
Uses of BlockPos in net.minecraft
Fields in net.minecraft declared as BlockPos Modifier and Type Field Description private BlockPos
class_6030.class_6031. field_30147
Methods in net.minecraft that return BlockPos Modifier and Type Method Description BlockPos
class_6030.class_6031. method_35084()
Constructors in net.minecraft with parameters of type BlockPos Constructor Description class_6031(BlockPos blockPos, Vec3d vec3d, int int2)
-
Uses of BlockPos in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type BlockPos Modifier and Type Method Description boolean
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
Fields in net.minecraft.block declared as BlockPos Modifier and Type Field Description private BlockPos
ComposterBlock.ComposterInventory. pos
private BlockPos
ComposterBlock.FullComposterInventory. pos
private BlockPos
RailPlacementHelper. pos
private BlockPos
RedstoneTorchBlock.BurnoutEntry. pos
Fields in net.minecraft.block with type parameters of type BlockPos Modifier and Type Field Description private List<BlockPos>
RailPlacementHelper. neighbors
Methods in net.minecraft.block that return BlockPos Modifier and Type Method Description private static @Nullable BlockPos
PointedDripstoneBlock. getCauldronPos(World world, BlockPos pos, Fluid fluid)
static @Nullable BlockPos
PointedDripstoneBlock. getDripPos(World world, BlockPos pos)
private static @Nullable BlockPos
PointedDripstoneBlock. getTipPos(BlockState state, WorldAccess world, BlockPos pos, int range)
Methods in net.minecraft.block that return types with arguments of type BlockPos Modifier and Type Method Description List<BlockPos>
RailPlacementHelper. getNeighbors()
private Optional<com.mojang.datafixers.util.Pair<BlockPos,Direction>>
AbstractLichenBlock. getSpreadLocation(BlockState state, BlockView world, BlockPos pos, Direction from, Direction to)
private Optional<BlockPos>
AbstractPlantBlock. getStemHeadPos(BlockView world, BlockPos pos, Block block)
private static Optional<BlockPos>
PointedDripstoneBlock. getSupportingPos(World world, BlockPos pos, BlockState state, int range)
private static Optional<BlockPos>
PointedDripstoneBlock. searchInDirection(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, Predicate<BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range)
Methods in net.minecraft.block with parameters of type BlockPos Modifier and Type Method Description private boolean
SpongeBlock. absorbWater(World world, BlockPos pos)
private boolean
AbstractLichenBlock. addDirection(WorldAccess world, BlockPos pos, Direction direction)
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)
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
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)
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
VineBlock. canGrowAt(BlockView world, BlockPos pos)
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
FrostedIceBlock. canMelt(BlockView world, BlockPos pos, int maxNeighbors)
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)
BlockEntity
AbstractBannerBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
AbstractSignBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
AbstractSkullBlock. createBlockEntity(BlockPos pos, BlockState state)
@Nullable BlockEntity
BarrelBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
BeaconBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
BedBlock. createBlockEntity(BlockPos pos, BlockState state)
@Nullable BlockEntity
BeehiveBlock. createBlockEntity(BlockPos pos, BlockState state)
@Nullable BlockEntity
BellBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
BlastFurnaceBlock. createBlockEntity(BlockPos pos, BlockState state)
@Nullable BlockEntity
BlockEntityProvider. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
BrewingStandBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
CampfireBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
ChestBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
CommandBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
ComparatorBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
ConduitBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
DaylightDetectorBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
DispenserBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
DropperBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
EnchantingTableBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
EnderChestBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
EndGatewayBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
EndPortalBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
FurnaceBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
HopperBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
JigsawBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
JukeboxBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
LecternBlock. createBlockEntity(BlockPos pos, BlockState state)
@Nullable BlockEntity
PistonExtensionBlock. createBlockEntity(BlockPos pos, BlockState state)
@Nullable BlockEntity
SculkSensorBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
ShulkerBoxBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
SmokerBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
SpawnerBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
StructureBlock. createBlockEntity(BlockPos pos, BlockState state)
BlockEntity
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)
@Nullable NamedScreenHandlerFactory
AbstractBlock.AbstractBlockState. createScreenHandlerFactory(World world, BlockPos pos)
@Nullable NamedScreenHandlerFactory
AbstractBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
Deprecated.@Nullable NamedScreenHandlerFactory
AnvilBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
@Nullable NamedScreenHandlerFactory
BlockWithEntity. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
@Nullable NamedScreenHandlerFactory
CartographyTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
@Nullable NamedScreenHandlerFactory
ChestBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
NamedScreenHandlerFactory
CraftingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
@Nullable NamedScreenHandlerFactory
EnchantingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
NamedScreenHandlerFactory
GrindstoneBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
@Nullable NamedScreenHandlerFactory
LecternBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
NamedScreenHandlerFactory
LoomBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
NamedScreenHandlerFactory
SmithingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
@Nullable NamedScreenHandlerFactory
StonecutterBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
static void
LeveledCauldronBlock. decrementFluidLevel(BlockState state, World world, BlockPos pos)
private void
ChorusFlowerBlock. die(World world, BlockPos pos)
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
Block. dropStack(World world, BlockPos pos, ItemStack stack)
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)
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)
static Optional<Vec3d>
RespawnAnchorBlock. findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos)
private static Optional<Vec3d>
RespawnAnchorBlock. findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean bool)
static Optional<Vec3d>
BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float float2)
private static Optional<Vec3d>
BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] int2, boolean bool)
private static Optional<Vec3d>
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)
DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>
ChestBlock. getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)
DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>
EnderChestBlock. getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)
private int
FireBlock. getBurnChance(WorldView world, BlockPos pos)
VoxelShape
AbstractBlock.AbstractBlockState. getCameraCollisionShape(BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractBlock. getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Deprecated.VoxelShape
AbstractGlassBlock. getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FenceBlock. getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PaneBlock. getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PowderSnowBlock. getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SnowBlock. getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
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)
private static @Nullable BlockPos
PointedDripstoneBlock. getCauldronPos(World world, BlockPos pos, Fluid fluid)
VoxelShape
AbstractBlock.AbstractBlockState. getCollisionShape(BlockView world, BlockPos pos)
VoxelShape
AbstractBlock.AbstractBlockState. getCollisionShape(BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Deprecated.VoxelShape
BambooBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BellBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BigDripleafBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CactusBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ComposterBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FenceGateBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FluidBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
GrindstoneBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
HoneyBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
HorizontalConnectingBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
LecternBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PistonExtensionBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PowderSnowBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ScaffoldingBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SnowBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SoulSandBlock. getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
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)
VoxelShape
AbstractBlock.AbstractBlockState. getCullingFace(BlockView world, BlockPos pos, Direction direction)
VoxelShape
AbstractBlock.AbstractBlockState. getCullingShape(BlockView world, BlockPos pos)
VoxelShape
AbstractBlock. getCullingShape(BlockState state, BlockView world, BlockPos pos)
Deprecated.VoxelShape
FenceBlock. getCullingShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
FenceGateBlock. getCullingShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
LecternBlock. getCullingShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
PointedDripstoneBlock. getCullingShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
PowderSnowBlock. getCullingShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
SkullBlock. getCullingShape(BlockState state, BlockView world, BlockPos pos)
static @Nullable Direction
BedBlock. getDirection(BlockView world, BlockPos pos)
private static @Nullable Direction
PointedDripstoneBlock. getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction)
static Fluid
PointedDripstoneBlock. getDripFluid(World world, BlockPos pos)
static @Nullable BlockPos
PointedDripstoneBlock. getDripPos(World world, BlockPos pos)
static List<ItemStack>
Block. getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity)
static List<ItemStack>
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)
private static Optional<Fluid>
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)
static @Nullable Inventory
ChestBlock. getInventory(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked)
SidedInventory
ComposterBlock. getInventory(BlockState state, WorldAccess world, BlockPos pos)
SidedInventory
InventoryProvider. getInventory(BlockState state, WorldAccess world, BlockPos pos)
MapColor
AbstractBlock.AbstractBlockState. getMapColor(BlockView world, BlockPos pos)
protected int
AbstractRedstoneGateBlock. getMaxInputLevelSides(WorldView world, BlockPos pos, BlockState state)
Vec3d
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)
VoxelShape
AbstractBlock.AbstractBlockState. getOutlineShape(BlockView world, BlockPos pos)
VoxelShape
AbstractBlock.AbstractBlockState. getOutlineShape(BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Deprecated.VoxelShape
AbstractButtonBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractCauldronBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractFireBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractLichenBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractPlantPartBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractPressurePlateBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractRailBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractRedstoneGateBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AbstractSignBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AirBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AmethystClusterBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AnvilBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
AttachedStemBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BambooBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BambooSaplingBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BannerBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BedBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BeetrootsBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BellBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BigDripleafBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BigDripleafStemBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BrewingStandBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
BubbleColumnBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CactusBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CakeBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CampfireBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CandleBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CandleCakeBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CarpetBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CarrotsBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ChainBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ChestBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CocoaBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ComposterBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ConduitBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ConnectingBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CoralBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CoralParentBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
CropBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
DaylightDetectorBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
DeadBushBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
DeadCoralBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
DeadCoralFanBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
DeadCoralWallFanBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
DirtPathBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
DoorBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
DragonEggBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
EnchantingTableBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
EnderChestBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
EndPortalBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
EndPortalFrameBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FarmlandBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FenceGateBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FernBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FireBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FlowerBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FlowerPotBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FluidBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
FungusBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
GrindstoneBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
HangingRootsBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
HopperBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
HorizontalConnectingBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
LadderBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
LanternBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
LecternBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
LeverBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
LightBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
LilyPadBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
MushroomPlantBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
NetherPortalBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
NetherWartBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PistonBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PistonExtensionBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PistonHeadBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PointedDripstoneBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
PotatoesBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
RedstoneWireBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
RodBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
RootsBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SaplingBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ScaffoldingBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SculkSensorBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SeagrassBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SeaPickleBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
ShulkerBoxBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SkullBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SlabBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SmallDripleafBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SnowBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SporeBlossomBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SproutsBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
StairsBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
StemBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
StonecutterBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
StructureVoidBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SugarCaneBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
SweetBerryBushBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
TallSeagrassBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
TorchBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
TrapdoorBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
TripwireBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
TripwireHookBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
TurtleEggBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
VineBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
WallBannerBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
WallBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
WallRedstoneTorchBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
WallSignBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
WallSkullBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
WallTorchBlock. getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
protected int
AbstractRedstoneGateBlock. getOutputLevel(BlockView world, BlockPos pos, BlockState state)
protected int
ComparatorBlock. getOutputLevel(BlockView world, BlockPos pos, BlockState state)
ItemStack
AbstractBannerBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
AbstractPlantBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
AttachedStemBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
BambooSaplingBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
BigDripleafStemBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
Block. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
CandleCakeBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
CaveVinesBodyBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
CaveVinesHeadBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
CropBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
EndGatewayBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
EndPortalBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
FlowerPotBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
FrostedIceBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
LightBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
NetherPortalBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
NetherWartBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
PistonExtensionBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
PistonHeadBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
ShulkerBoxBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
SpawnerBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
StemBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
SweetBerryBushBlock. getPickStack(BlockView world, BlockPos pos, BlockState state)
ItemStack
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)
VoxelShape
AbstractBlock.AbstractBlockState. getRaycastShape(BlockView world, BlockPos pos)
VoxelShape
AbstractBlock. getRaycastShape(BlockState state, BlockView world, BlockPos pos)
Deprecated.VoxelShape
AbstractCauldronBlock. getRaycastShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
ComposterBlock. getRaycastShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
HopperBlock. getRaycastShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
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)
VoxelShape
AbstractBlock.AbstractBlockState. getSidesShape(BlockView world, BlockPos pos)
VoxelShape
AbstractBlock. getSidesShape(BlockState state, BlockView world, BlockPos pos)
Deprecated.VoxelShape
AzaleaBlock. getSidesShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
LeavesBlock. getSidesShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
SnowBlock. getSidesShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
SoulSandBlock. getSidesShape(BlockState state, BlockView world, BlockPos pos)
private Optional<com.mojang.datafixers.util.Pair<BlockPos,Direction>>
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
AbstractFireBlock. getState(BlockView world, BlockPos pos)
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.BlockState
AbstractBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Deprecated.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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.BlockState
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)
private Optional<BlockPos>
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)
private static Optional<BlockPos>
PointedDripstoneBlock. getSupportingPos(World world, BlockPos pos, BlockState state, int range)
private static Thickness
PointedDripstoneBlock. getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge)
private static @Nullable BlockPos
PointedDripstoneBlock. getTipPos(BlockState state, WorldAccess world, BlockPos pos, int range)
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
BambooBlock. grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
void
BambooSaplingBlock. grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
protected void
BambooSaplingBlock. grow(World world, BlockPos pos)
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
ChorusFlowerBlock. grow(World world, BlockPos pos, int age)
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 boolean
ConcretePowderBlock. hardensOnAnySide(BlockView world, BlockPos pos)
private boolean
BeehiveBlock. hasBees(World world, BlockPos pos)
private static boolean
ChestBlock. hasBlockOnTop(BlockView world, BlockPos pos)
private static boolean
FarmlandBlock. hasCrop(BlockView world, BlockPos pos)
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
Block. hasTopRim(BlockView world, BlockPos pos)
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
BedBlock. isBed(BlockView world, BlockPos pos)
private static boolean
RedstoneTorchBlock. isBurnedOut(World world, BlockPos pos, boolean addNew)
static boolean
ChestBlock. isChestBlocked(WorldAccess world, BlockPos pos)
private static boolean
StairsBlock. isDifferentOrientation(BlockState state, BlockView world, BlockPos pos, Direction dir)
private static boolean
BigDripleafBlock. isEntityAbove(BlockPos pos, Entity entity)
protected boolean
AbstractCauldronBlock. isEntityTouchingFluid(BlockState state, BlockPos pos, Entity entity)
boolean
AbstractPlantBlock. isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
boolean
AbstractPlantStemBlock. 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
BedBlock. isFree(World world, BlockPos pos)
boolean
AbstractBlock.AbstractBlockState. isFullCube(BlockView world, BlockPos pos)
private static boolean
PointedDripstoneBlock. isHeldByPointedDripstone(BlockState state, WorldView world, BlockPos pos)
protected boolean
CoralBlockBlock. isInWater(BlockView world, BlockPos pos)
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
AbstractRailBlock. isRail(World world, BlockPos pos)
protected boolean
FireBlock. isRainingAround(World world, BlockPos pos)
static boolean
TurtleEggBlock. isSand(BlockView world, BlockPos pos)
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
HoneyBlock. isSliding(BlockPos pos, Entity entity)
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
PistonBlock. move(World world, BlockPos pos, Direction dir, boolean retract)
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
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)
void
BedBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
void
Block. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
void
FarmlandBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
void
HayBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
void
HoneyBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
void
PointedDripstoneBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
void
SlimeBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
void
TurtleEggBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
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, Entity entity)
Called when an entity steps on this block.void
MagmaBlock. onSteppedOn(World world, BlockPos pos, Entity entity)
Called when an entity steps on this block.void
RedstoneOreBlock. onSteppedOn(World world, BlockPos pos, Entity entity)
Called when an entity steps on this block.void
SlimeBlock. onSteppedOn(World world, BlockPos pos, Entity entity)
Called when an entity steps on this block.void
StairsBlock. onSteppedOn(World world, BlockPos pos, Entity entity)
Called when an entity steps on this block.void
TurtleEggBlock. onSteppedOn(World world, BlockPos pos, 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)
ActionResult
AbstractBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Deprecated.ActionResult
AbstractButtonBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
AbstractCauldronBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
AbstractFurnaceBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
AbstractSignBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
AnvilBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
BarrelBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
BeaconBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
BedBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
BeehiveBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
BellBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
BrewingStandBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CakeBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CampfireBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CandleBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CandleCakeBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CartographyTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CaveVinesBodyBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CaveVinesHeadBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
ChestBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CommandBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
ComparatorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
ComposterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
CraftingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
DaylightDetectorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
DispenserBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
DoorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
DragonEggBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
EnchantingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
EnderChestBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
FenceBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
FenceGateBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
FletchingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
FlowerPotBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
GrindstoneBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
HopperBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
JigsawBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
JukeboxBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
LecternBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
LeverBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
LightBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
LoomBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
NoteBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
PistonExtensionBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
PumpkinBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
RedstoneOreBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
RedstoneWireBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
RepeaterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
RespawnAnchorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
ShulkerBoxBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
SmithingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
StairsBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
StonecutterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
StructureBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
SweetBerryBushBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
TntBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player.ActionResult
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)
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
NoteBlock. playNote(World world, BlockPos pos)
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
TntBlock. primeTnt(World world, BlockPos pos)
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
BellBlock. ring(@Nullable Entity entity, World world, BlockPos pos, @Nullable Direction direction)
boolean
BellBlock. ring(World world, BlockPos pos, @Nullable Direction direction)
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)
private static Optional<BlockPos>
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)
BlockState
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, BlockPos pos, Entity entity, int inverseChance)
default void
Degradable. tryDegrade(BlockState state, ServerWorld world, BlockPos pos, Random random)
ItemStack
BubbleColumnBlock. tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
ItemStack
FluidBlock. tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
ItemStack
FluidDrainable. tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
ItemStack
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)
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
AbstractLichenBlock. trySpreadTo(BlockState state, WorldAccess world, BlockPos pos, Direction from, Direction to)
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
SpongeBlock. update(World world, BlockPos pos)
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)
BlockState
ChorusPlantBlock. withConnectionProperties(BlockView world, BlockPos pos)
@Nullable BlockState
AbstractLichenBlock. withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction)
Method parameters in net.minecraft.block with type arguments of type BlockPos Modifier and Type Method Description 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)
Constructors in net.minecraft.block with parameters of type BlockPos Constructor Description BurnoutEntry(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
Methods in net.minecraft.block.cauldron with parameters of type BlockPos Modifier and Type Method Description static 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)
ActionResult
CauldronBehavior. interact(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack)
-
Uses of BlockPos in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type BlockPos Modifier and Type Method Description private 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
Fields in net.minecraft.block.entity declared as BlockPos Modifier and Type Field Description private @Nullable BlockPos
EndGatewayBlockEntity. exitPortalPos
private @Nullable BlockPos
BeehiveBlockEntity. flowerPos
private BlockPos
StructureBlockBlockEntity. offset
protected BlockPos
BlockEntity. pos
Fields in net.minecraft.block.entity with type parameters of type BlockPos Modifier and Type Field Description private List<BlockPos>
ConduitBlockEntity. activatingBlocks
Methods in net.minecraft.block.entity that return BlockPos Modifier and Type Method Description 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 BlockPos
EndGatewayBlockEntity. findPortalPosition(WorldChunk chunk)
BlockPos
StructureBlockBlockEntity. getOffset()
BlockPos
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).Methods in net.minecraft.block.entity that return types with arguments of type BlockPos Modifier and Type Method Description private Stream<BlockPos>
StructureBlockBlockEntity. streamCornerPos(BlockPos start, BlockPos end)
Streams positions ofStructureBlockMode.CORNER
mode structure blocks with matching names.Methods in net.minecraft.block.entity with parameters of type BlockPos Modifier and Type Method Description boolean
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)
T
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 endGatewayFeatureConfig)
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)
T
BlockEntityType. get(BlockView world, BlockPos pos)
private static Box
ConduitBlockEntity. getAttackZone(BlockPos pos)
VoxelShape
PistonBlockEntity. getCollisionShape(BlockView world, BlockPos pos)
private int
ChestStateManager. getInRangeViewerCount(World world, BlockPos pos)
static @Nullable Inventory
HopperBlockEntity. getInventoryAt(World world, BlockPos pos)
private static @Nullable Inventory
HopperBlockEntity. getOutputInventory(World world, BlockPos pos, BlockState state)
static int
ChestBlockEntity. getPlayersLookingInChestCount(BlockView world, BlockPos pos)
private static Optional<BlockBox>
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)
T
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)
private static void
ChestBlockEntity. playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent)
private static void
PistonBlockEntity. push(BlockPos pos, Entity entity, Direction direction, double amount)
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 blockPos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> list, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos blockPos2)
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
StructureBlockBlockEntity. setOffset(BlockPos pos)
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)
private Stream<BlockPos>
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 blockPos, BlockState blockState, List<BeehiveBlockEntity.Bee> list, @Nullable BlockPos blockPos2)
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)
Method parameters in net.minecraft.block.entity with type arguments of type BlockPos Modifier and Type Method Description private static void
ConduitBlockEntity. attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity)
private static Optional<BlockBox>
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)
-
Uses of BlockPos in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern declared as BlockPos Modifier and Type Field Description private BlockPos
BlockPattern.Result. frontTopLeft
private BlockPos
CachedBlockPosition. pos
Fields in net.minecraft.block.pattern with type parameters of type BlockPos Modifier and Type Field Description private LoadingCache<BlockPos,CachedBlockPosition>
BlockPattern.Result. cache
Methods in net.minecraft.block.pattern that return BlockPos Modifier and Type Method Description BlockPos
CachedBlockPosition. getBlockPos()
BlockPos
BlockPattern.Result. getFrontTopLeft()
protected static BlockPos
BlockPattern. translate(BlockPos pos, Direction forwards, Direction up, int offsetLeft, int offsetDown, int offsetForwards)
Methods in net.minecraft.block.pattern that return types with arguments of type BlockPos Modifier and Type Method Description static LoadingCache<BlockPos,CachedBlockPosition>
BlockPattern. makeCache(WorldView world, boolean forceLoad)
Methods in net.minecraft.block.pattern with parameters of type BlockPos Modifier and Type Method Description CachedBlockPosition
BlockPattern.BlockStateCacheLoader. load(BlockPos blockPos)
@Nullable BlockPattern.Result
BlockPattern. method_35300(WorldView worldView, BlockPos blockPos, Direction direction, Direction direction2)
@Nullable BlockPattern.Result
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)
Method parameters in net.minecraft.block.pattern with type arguments of type BlockPos Modifier and Type Method Description private @Nullable BlockPattern.Result
BlockPattern. testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache)
Constructors in net.minecraft.block.pattern with parameters of type BlockPos Constructor Description CachedBlockPosition(WorldView world, BlockPos pos, boolean forceLoad)
Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth)
Constructor parameters in net.minecraft.block.pattern with type arguments of type BlockPos Constructor Description Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth)
-
Uses of BlockPos in net.minecraft.block.piston
Fields in net.minecraft.block.piston declared as BlockPos Modifier and Type Field Description private BlockPos
PistonHandler. posFrom
private BlockPos
PistonHandler. posTo
Fields in net.minecraft.block.piston with type parameters of type BlockPos Modifier and Type Field Description private List<BlockPos>
PistonHandler. brokenBlocks
private List<BlockPos>
PistonHandler. movedBlocks
Methods in net.minecraft.block.piston that return types with arguments of type BlockPos Modifier and Type Method Description List<BlockPos>
PistonHandler. getBrokenBlocks()
List<BlockPos>
PistonHandler. getMovedBlocks()
Methods in net.minecraft.block.piston with parameters of type BlockPos Modifier and Type Method Description private boolean
PistonHandler. tryMove(BlockPos pos, Direction dir)
private boolean
PistonHandler. tryMoveAdjacentBlock(BlockPos pos)
Constructors in net.minecraft.block.piston with parameters of type BlockPos Constructor Description PistonHandler(World world, BlockPos pos, Direction dir, boolean retracted)
-
Uses of BlockPos in net.minecraft.block.sapling
Methods in net.minecraft.block.sapling with parameters of type BlockPos Modifier and Type Method Description private 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
Methods in net.minecraft.client with parameters of type BlockPos Modifier and Type Method Description private void
Keyboard. copyBlock(BlockState state, BlockPos pos, @Nullable NbtCompound nbt)
-
Uses of BlockPos in net.minecraft.client.color.block
Methods in net.minecraft.client.color.block with parameters of type BlockPos Modifier and Type Method Description int
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
Methods in net.minecraft.client.color.world with parameters of type BlockPos Modifier and Type Method Description private 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
Fields in net.minecraft.client.network declared as BlockPos Modifier and Type Field Description private BlockPos
ClientPlayerInteractionManager. currentBreakingPos
Fields in net.minecraft.client.network with type parameters of type BlockPos Modifier and Type Field Description private Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos,PlayerActionC2SPacket.Action>,Vec3d>
ClientPlayerInteractionManager. unacknowledgedPlayerActions
Methods in net.minecraft.client.network with parameters of type BlockPos Modifier and Type Method Description boolean
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
Fields in net.minecraft.client.particle declared as BlockPos Modifier and Type Field Description private BlockPos
BlockDustParticle. blockPos
Methods in net.minecraft.client.particle with parameters of type BlockPos Modifier and Type Method Description void
ParticleManager. addBlockBreakingParticles(BlockPos pos, Direction direction)
void
ParticleManager. addBlockBreakParticles(BlockPos pos, BlockState state)
Constructors in net.minecraft.client.particle with parameters of type BlockPos Constructor Description BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState blockState, BlockPos blockPos)
-
Uses of BlockPos in net.minecraft.client.render
Fields in net.minecraft.client.render declared as BlockPos Modifier and Type Field Description private BlockPos
BlockBreakingInfo. pos
Fields in net.minecraft.client.render with type parameters of type BlockPos Modifier and Type Field Description private Map<BlockPos,SoundInstance>
WorldRenderer. playingSongs
Methods in net.minecraft.client.render that return BlockPos Modifier and Type Method Description BlockPos
Camera. getBlockPos()
BlockPos
BlockBreakingInfo. getPos()
Methods in net.minecraft.client.render with parameters of type BlockPos Modifier and Type Method Description private 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)
Constructors in net.minecraft.client.render with parameters of type BlockPos Constructor Description BlockBreakingInfo(int breakingEntityId, BlockPos pos)
-
Uses of BlockPos in net.minecraft.client.render.block
Methods in net.minecraft.client.render.block with parameters of type BlockPos Modifier and Type Method Description void
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
Methods in net.minecraft.client.render.block.entity with parameters of type BlockPos Modifier and Type Method Description private void
StructureBlockBlockEntityRenderer. renderInvisibleBlocks(StructureBlockBlockEntity entity, VertexConsumer vertices, BlockPos pos, boolean bool, MatrixStack matrices)
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
Fields in net.minecraft.client.render.chunk declared as BlockPos Modifier and Type Field Description protected BlockPos
ChunkRendererRegion. offset
Methods in net.minecraft.client.render.chunk that return BlockPos Modifier and Type Method Description BlockPos
ChunkBuilder.BuiltChunk. getNeighborPosition(Direction direction)
BlockPos
ChunkBuilder.BuiltChunk. getOrigin()
Methods in net.minecraft.client.render.chunk with parameters of type BlockPos Modifier and Type Method Description static @Nullable ChunkRendererRegion
ChunkRendererRegion. create(World world, BlockPos startPos, BlockPos endPos, int chunkRadius)
@Nullable BlockEntity
ChunkRendererRegion. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
ChunkRendererRegion. getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
BlockState
ChunkRendererRegion. getBlockState(BlockPos pos)
int
ChunkRendererRegion. getColor(BlockPos pos, ColorResolver colorResolver)
FluidState
ChunkRendererRegion. getFluidState(BlockPos pos)
protected int
ChunkRendererRegion. getIndex(BlockPos pos)
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
ChunkOcclusionDataBuilder. pack(BlockPos pos)
Constructors in net.minecraft.client.render.chunk with parameters of type BlockPos Constructor Description ChunkRendererRegion(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos)
-
Uses of BlockPos in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug declared as BlockPos Modifier and Type Field Description @Nullable BlockPos
BeeDebugRenderer.Bee. flower
@Nullable BlockPos
BeeDebugRenderer.Bee. hive
BlockPos
BeeDebugRenderer.Hive. pos
BlockPos
GoalSelectorDebugRenderer.GoalSelector. pos
BlockPos
VillageDebugRenderer.PointOfInterest. pos
Fields in net.minecraft.client.render.debug with type parameters of type BlockPos Modifier and Type Field Description Set<BlockPos>
BeeDebugRenderer.Bee. blacklist
Set<BlockPos>
VillageDebugRenderer.Brain. field_25287
private List<BlockPos>
WorldGenAttemptDebugRenderer. field_4640
private Map<BlockPos,BeeDebugRenderer.Hive>
BeeDebugRenderer. hives
private Map<BlockPos,GameTestDebugRenderer.Marker>
GameTestDebugRenderer. markers
private Map<Long,Map<BlockPos,Integer>>
NeighborUpdateDebugRenderer. neighborUpdates
Set<BlockPos>
VillageDebugRenderer.Brain. pointsOfInterest
private Map<BlockPos,VillageDebugRenderer.PointOfInterest>
VillageDebugRenderer. pointsOfInterest
private Collection<BlockPos>
RaidCenterDebugRenderer. raidCenters
Methods in net.minecraft.client.render.debug that return types with arguments of type BlockPos Modifier and Type Method Description private Map<BlockPos,List<String>>
BeeDebugRenderer. getBeesByHive()
private Map<BlockPos,Set<UUID>>
BeeDebugRenderer. getBlacklistingBees()
private Map<BlockPos,List<String>>
VillageDebugRenderer. getGhostPointsOfInterest()
Optional<BlockPos>
GameEventDebugRenderer.Listener. getPos(World world)
Methods in net.minecraft.client.render.debug with parameters of type BlockPos Modifier and Type Method Description void
GameTestDebugRenderer. addMarker(BlockPos pos, int color, String message, int duration)
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
DebugRenderer. drawBox(BlockPos pos, float expand, float red, float green, float blue, float alpha)
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
BeeDebugRenderer. drawHive(BlockPos pos)
private void
BeeDebugRenderer. drawHiveBees(BlockPos pos, List<String> bees)
private static void
VillageDebugRenderer. drawPointOfInterest(BlockPos pos)
private static void
BeeDebugRenderer. drawString(String string, BlockPos pos, int line, int color)
private static void
VillageDebugRenderer. drawString(String string, BlockPos pos, int offsetY, int color)
private Collection<UUID>
BeeDebugRenderer. getBeesForHive(BlockPos hivePos)
private Collection<UUID>
VillageDebugRenderer. getBrains(BlockPos pointOfInterest)
private static float
PathfindingDebugRenderer. getManhattanDistance(BlockPos pos, double x, double y, double z)
private String
BeeDebugRenderer. getPositionString(BeeDebugRenderer.Bee bee, BlockPos pos)
boolean
BeeDebugRenderer.Bee. isHiveAt(BlockPos pos)
private boolean
VillageDebugRenderer.Brain. isPointOfInterest(BlockPos pos)
boolean
GameEventDebugRenderer.Listener. isTooFar(World world, BlockPos pos)
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 static void
RaidCenterDebugRenderer. method_23122(BlockPos blockPos)
private static void
RaidCenterDebugRenderer. method_23123(String string, BlockPos blockPos, int int2)
private Collection<UUID>
VillageDebugRenderer. method_29386(BlockPos blockPos)
private boolean
VillageDebugRenderer.Brain. method_29388(BlockPos blockPos)
void
GameEventDebugRenderer. method_33087(GameEvent gameEvent, 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)
Method parameters in net.minecraft.client.render.debug with type arguments of type BlockPos Modifier and Type Method Description void
RaidCenterDebugRenderer. setRaidCenters(Collection<BlockPos> centers)
Constructors in net.minecraft.client.render.debug with parameters of type BlockPos Constructor Description Bee(UUID uuid, int entityId, Position position, Path path, BlockPos hive, BlockPos flower, int travelTicks)
GoalSelector(BlockPos pos, int int2, String name, boolean bool)
Hive(BlockPos pos, String label, int beeCount, int honeyLevel, boolean sedated, long time)
PointOfInterest(BlockPos pos, String string, int freeTicketCount)
-
Uses of BlockPos in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type BlockPos Modifier and Type Method Description protected 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
Constructors in net.minecraft.client.sound with parameters of type BlockPos Constructor Description PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, BlockPos pos)
-
Uses of BlockPos in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type BlockPos Modifier and Type Method Description void
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
Methods in net.minecraft.client.util with parameters of type BlockPos Modifier and Type Method Description static 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
Methods in net.minecraft.client.world that return BlockPos Modifier and Type Method Description BlockPos
ClientWorld. getSpawnPos()
Methods in net.minecraft.client.world with parameters of type BlockPos Modifier and Type Method Description void
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
DummyClientTickScheduler. isTicking(BlockPos pos, T object)
void
ClientWorld. playSound(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
void
DummyClientTickScheduler. schedule(BlockPos pos, T object, int delay)
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)
boolean
ClientChunkManager. shouldTickBlock(BlockPos pos)
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
Fields in net.minecraft.command declared as BlockPos Modifier and Type Field Description private BlockPos
BlockDataObject. pos
Constructors in net.minecraft.command with parameters of type BlockPos Constructor Description BlockDataObject(BlockEntity blockEntity, BlockPos pos)
-
Uses of BlockPos in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return BlockPos Modifier and Type Method Description static 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)
Methods in net.minecraft.command.argument with parameters of type BlockPos Modifier and Type Method Description boolean
BlockStateArgument. method_35758(ServerWorld serverWorld, BlockPos blockPos)
boolean
BlockStateArgument. setBlockState(ServerWorld serverWorld, BlockPos blockPos, int int2)
-
Uses of BlockPos in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type BlockPos Modifier and Type Method Description static void
FrostWalkerEnchantment. freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level)
-
Uses of BlockPos in net.minecraft.entity
Fields in net.minecraft.entity declared as BlockPos Modifier and Type Field Description private BlockPos
Entity. blockPos
private BlockPos
LivingEntity. lastBlockPos
protected BlockPos
Entity. lastNetherPortalPosition
Fields in net.minecraft.entity with type parameters of type BlockPos Modifier and Type Field Description protected static TrackedData<BlockPos>
FallingBlockEntity. BLOCK_POS
private Optional<BlockPos>
LivingEntity. climbingPos
private static TrackedData<Optional<BlockPos>>
LivingEntity. SLEEPING_POSITION
Methods in net.minecraft.entity that return BlockPos Modifier and Type Method Description BlockPos
Entity. getBlockPos()
BlockPos
Entity. getCameraBlockPos()
BlockPos
FallingBlockEntity. getFallingBlockPos()
protected BlockPos
Entity. getLandingPos()
protected BlockPos
Entity. getVelocityAffectingPos()
Methods in net.minecraft.entity that return types with arguments of type BlockPos Modifier and Type Method Description private static Optional<BlockPos>
LightningEntity. cleanOxidizationAround(World world, BlockPos pos)
Optional<BlockPos>
LivingEntity. getClimbingPos()
Optional<BlockPos>
LivingEntity. getSleepingPosition()
Methods in net.minecraft.entity with parameters of type BlockPos Modifier and Type Method Description protected 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)
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)
private static Optional<BlockPos>
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)
T
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)
static @Nullable Vec3d
Dismounting. findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean bool)
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 state)
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
LivingEntity. sleep(BlockPos pos)
T
EntityType. spawn(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
@Nullable Entity
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)
Method parameters in net.minecraft.entity with type arguments of type BlockPos Modifier and Type Method Description static double
Dismounting. getCeilingHeight(BlockPos pos, int maxDistance, Function<BlockPos,VoxelShape> collisionShapeGetter)
-
Uses of BlockPos in net.minecraft.entity.ai
Methods in net.minecraft.entity.ai that return BlockPos Modifier and Type Method Description static BlockPos
FuzzyPositions. localFuzz(Random random, int horizontalRange, int verticalRange)
Creates a fuzzy offset position within the given horizontal and vertical ranges.static @Nullable BlockPos
FuzzyPositions. localFuzz(Random random, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, 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)
static @Nullable BlockPos
FuzzyTargeting. tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos)
static @Nullable BlockPos
NoPenaltySolidTargeting. tryMake(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle, boolean posTargetInRange)
private static @Nullable BlockPos
NoPenaltyTargeting. tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz)
static BlockPos
FuzzyPositions. upWhile(BlockPos pos, int extraAbove, int max, Predicate<BlockPos> condition)
Returns theextraAbove + 1
th closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.static BlockPos
FuzzyPositions. upWhile(BlockPos pos, int maxY, Predicate<BlockPos> condition)
Returns the closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.static @Nullable BlockPos
FuzzyTargeting. validate(PathAwareEntity entity, BlockPos pos)
Methods in net.minecraft.entity.ai with parameters of type BlockPos Modifier and Type Method Description static 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)
static @Nullable BlockPos
FuzzyTargeting. tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos)
private static @Nullable BlockPos
NoPenaltyTargeting. tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz)
static BlockPos
FuzzyPositions. upWhile(BlockPos pos, int extraAbove, int max, Predicate<BlockPos> condition)
Returns theextraAbove + 1
th closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.static BlockPos
FuzzyPositions. upWhile(BlockPos pos, int maxY, Predicate<BlockPos> condition)
Returns the closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.static @Nullable BlockPos
FuzzyTargeting. validate(PathAwareEntity entity, BlockPos pos)
Method parameters in net.minecraft.entity.ai with type arguments of type BlockPos Modifier and Type Method Description static @Nullable Vec3d
FuzzyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer)
static @Nullable Vec3d
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
.static @Nullable Vec3d
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
.static @Nullable Vec3d
FuzzyPositions. guessBestPathTarget(PathAwareEntity entity, Supplier<BlockPos> factory)
CallsFuzzyPositions.guessBest(Supplier, ToDoubleFunction)
with theentity
's path finding favor as thescorer
.static BlockPos
FuzzyPositions. upWhile(BlockPos pos, int extraAbove, int max, Predicate<BlockPos> condition)
Returns theextraAbove + 1
th closest position higher than the inputpos
that does not fulfillcondition
, or a position with y set tomaxY
.static BlockPos
FuzzyPositions. upWhile(BlockPos pos, int maxY, Predicate<BlockPos> condition)
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
Fields in net.minecraft.entity.ai.brain declared as BlockPos Modifier and Type Field Description private BlockPos
BlockPosLookTarget. blockPos
Fields in net.minecraft.entity.ai.brain with type parameters of type BlockPos Modifier and Type Field Description static MemoryModuleType<BlockPos>
MemoryModuleType. CELEBRATE_LOCATION
static MemoryModuleType<BlockPos>
MemoryModuleType. NEAREST_BED
static MemoryModuleType<BlockPos>
MemoryModuleType. NEAREST_REPELLENT
Methods in net.minecraft.entity.ai.brain that return BlockPos Modifier and Type Method Description BlockPos
BlockPosLookTarget. getBlockPos()
BlockPos
EntityLookTarget. getBlockPos()
BlockPos
LookTarget. getBlockPos()
Constructors in net.minecraft.entity.ai.brain with parameters of type BlockPos Constructor Description BlockPosLookTarget(BlockPos blockPos)
WalkTarget(BlockPos pos, float speed, int completionRange)
-
Uses of BlockPos in net.minecraft.entity.ai.brain.sensor
Methods in net.minecraft.entity.ai.brain.sensor that return types with arguments of type BlockPos Modifier and Type Method Description private Optional<BlockPos>
HoglinSpecificSensor. findNearestWarpedFungus(ServerWorld world, HoglinEntity hoglin)
private static Optional<BlockPos>
PiglinSpecificSensor. findPiglinRepellent(ServerWorld world, LivingEntity entity)
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type BlockPos Modifier and Type Method Description private static boolean
PiglinSpecificSensor. isPiglinRepellent(ServerWorld world, BlockPos pos)
-
Uses of BlockPos in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as BlockPos Modifier and Type Field Description private @Nullable BlockPos
JumpInBedTask. bedPos
private @Nullable BlockPos
FarmerVillagerTask. currentTarget
private @Nullable BlockPos
WanderAroundTask. lookTargetPos
Fields in net.minecraft.entity.ai.brain.task with type parameters of type BlockPos Modifier and Type Field Description private Optional<BlockPos>
HideInHomeTask. homePosition
private Optional<BlockPos>
BoneMealTask. pos
private List<BlockPos>
FarmerVillagerTask. targetPositions
Methods in net.minecraft.entity.ai.brain.task that return BlockPos Modifier and Type Method Description private @Nullable BlockPos
FarmerVillagerTask. chooseRandomTarget(ServerWorld world)
private static BlockPos
GoToCelebrateTask. fuzz(MobEntity mob, BlockPos pos)
private static BlockPos
GoToCelebrateTask. getCelebrateLocation(MobEntity entity)
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type BlockPos Modifier and Type Method Description private Optional<BlockPos>
BoneMealTask. findBoneMealPos(ServerWorld world, VillagerEntity entity)
private Optional<BlockPos>
JumpInBedTask. getNearestBed(MobEntity mob)
private Optional<BlockPos>
VillagerBreedTask. getReachableHome(ServerWorld world, VillagerEntity villager)
static GoToRememberedPositionTask<BlockPos>
GoToRememberedPositionTask. toBlock(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget)
Methods in net.minecraft.entity.ai.brain.task with parameters of type BlockPos Modifier and Type Method Description private boolean
BoneMealTask. canBoneMeal(BlockPos pos, ServerWorld world)
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
GoToCelebrateTask. fuzz(MobEntity mob, BlockPos pos)
private boolean
ForgetCompletedPointOfInterestTask. hasCompletedPointOfInterest(ServerWorld world, 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 static boolean
OpenDoorsTask. method_30761(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos)
private static boolean
OpenDoorsTask. method_30766(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos)
private void
OpenDoorsTask. method_30767(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos)
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)
Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type BlockPos Modifier and Type Method Description static GoToRememberedPositionTask<BlockPos>
GoToRememberedPositionTask. toBlock(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget)
-
Uses of BlockPos in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as BlockPos Modifier and Type Field Description protected BlockPos
DoorInteractGoal. doorPos
private BlockPos
MoveThroughVillageGoal. target
protected BlockPos
MoveToTargetPosGoal. targetPos
private @Nullable BlockPos
GoToVillageGoal. targetPosition
Fields in net.minecraft.entity.ai.goal with type parameters of type BlockPos Modifier and Type Field Description private List<BlockPos>
MoveThroughVillageGoal. visitedTargets
Methods in net.minecraft.entity.ai.goal that return BlockPos Modifier and Type Method Description protected BlockPos
MoveToTargetPosGoal. getTargetPos()
protected @Nullable BlockPos
EscapeDangerGoal. locateClosestWater(BlockView blockView, Entity entity, int rangeX, int rangeY)
private @Nullable BlockPos
IronGolemWanderAroundGoal. method_27923(ChunkSectionPos chunkSectionPos)
private @Nullable BlockPos
StepAndDestroyBlockGoal. tweakToProperPos(BlockPos pos, BlockView world)
Methods in net.minecraft.entity.ai.goal with parameters of type BlockPos Modifier and Type Method Description private boolean
FollowOwnerGoal. canTeleportTo(BlockPos pos)
private boolean
DolphinJumpGoal. isAirAbove(BlockPos pos, int xOffset, int zOffset, int multiplier)
private boolean
BreatheAirGoal. isAirPos(WorldView world, BlockPos pos)
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
DolphinJumpGoal. isWater(BlockPos pos, int xOffset, int zOffset, int multiplier)
void
StepAndDestroyBlockGoal. onDestroyBlock(World world, BlockPos pos)
private boolean
MoveThroughVillageGoal. shouldVisit(BlockPos pos)
void
StepAndDestroyBlockGoal. tickStepping(WorldAccess world, BlockPos pos)
private @Nullable BlockPos
StepAndDestroyBlockGoal. tweakToProperPos(BlockPos pos, BlockView world)
-
Uses of BlockPos in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as BlockPos Modifier and Type Field Description private BlockPos
EntityNavigation. currentTarget
private BlockPos
Path. target
private BlockPos
SpiderNavigation. targetPos
Methods in net.minecraft.entity.ai.pathing that return BlockPos Modifier and Type Method Description BlockPos
PathNode. getPos()
BlockPos
Path. getTarget()
BlockPos
EntityNavigation. getTargetPos()
BlockPos
Path. method_31031(int int2)
BlockPos
Path. method_31032()
Methods in net.minecraft.entity.ai.pathing with parameters of type BlockPos Modifier and Type Method Description protected PathNodeType
AmphibiousPathNodeMaker. adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type)
protected PathNodeType
LandPathNodeMaker. adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type)
private Path
PathNodeNavigator. createPath(PathNode endNode, BlockPos target, boolean reachesTarget)
PathNodeType
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.@Nullable Path
EntityNavigation. findPathTo(BlockPos target, int distance)
Path
MobNavigation. findPathTo(BlockPos target, int distance)
Path
SpiderNavigation. findPathTo(BlockPos target, int distance)
protected static PathNodeType
LandPathNodeMaker. getCommonNodeType(BlockView world, BlockPos pos)
private double
AmphibiousPathNodeMaker. getFeetY(BlockPos pos)
static double
LandPathNodeMaker. getFeetY(BlockView world, BlockPos pos)
float
PathNode. getManhattanDistance(BlockPos pos)
protected PathNode
PathNodeMaker. getNode(BlockPos pos)
private PathNodeType
LandPathNodeMaker. getNodeType(MobEntity entity, BlockPos pos)
boolean
BirdNavigation. isValidPosition(BlockPos pos)
boolean
EntityNavigation. isValidPosition(BlockPos pos)
boolean
SwimNavigation. isValidPosition(BlockPos pos)
private boolean
LandPathNodeMaker. method_27139(BlockPos blockPos)
@Nullable Path
EntityNavigation. method_35141(BlockPos blockPos, int int2, int int3)
float
PathNode. method_35494(BlockPos blockPos)
float
PathNode. method_35497(BlockPos blockPos)
void
EntityNavigation. onBlockChanged(BlockPos pos)
Method parameters in net.minecraft.entity.ai.pathing with type arguments of type BlockPos Modifier and Type Method Description protected @Nullable Path
EntityNavigation. findPathToAny(Set<BlockPos> positions, int range, boolean bool, int distance, float float2)
@Nullable Path
EntityNavigation. findPathToAny(Stream<BlockPos> positions, int distance)
private @Nullable Path
PathNodeNavigator. findPathToAny(PathNode startNode, Map<TargetPathNode,BlockPos> positions, float followRange, int distance, float rangeMultiplier)
@Nullable Path
PathNodeNavigator. findPathToAny(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier)
@Nullable Path
EntityNavigation. method_29934(Set<BlockPos> set, int int2)
protected @Nullable Path
EntityNavigation. method_35142(Set<BlockPos> set, int int2, boolean bool, int int3)
-
Uses of BlockPos in net.minecraft.entity.boss.dragon
Fields in net.minecraft.entity.boss.dragon declared as BlockPos Modifier and Type Field Description private BlockPos
EnderDragonFight. exitPortalLocation
Methods in net.minecraft.entity.boss.dragon with parameters of type BlockPos Modifier and Type Method Description void
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
Methods in net.minecraft.entity.boss.dragon.phase with parameters of type BlockPos Modifier and Type Method Description void
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
Fields in net.minecraft.entity.data with type parameters of type BlockPos Modifier and Type Field Description static TrackedDataHandler<BlockPos>
TrackedDataHandlerRegistry. BLOCK_POS
static TrackedDataHandler<Optional<BlockPos>>
TrackedDataHandlerRegistry. OPTIONAL_BLOCK_POS
-
Uses of BlockPos in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as BlockPos Modifier and Type Field Description protected BlockPos
AbstractDecorationEntity. attachmentPos
Fields in net.minecraft.entity.decoration with type parameters of type BlockPos Modifier and Type Field Description private static TrackedData<Optional<BlockPos>>
EndCrystalEntity. BEAM_TARGET
Methods in net.minecraft.entity.decoration that return BlockPos Modifier and Type Method Description @Nullable BlockPos
EndCrystalEntity. getBeamTarget()
BlockPos
AbstractDecorationEntity. getDecorationBlockPos()
Methods in net.minecraft.entity.decoration with parameters of type BlockPos Modifier and Type Method Description static LeashKnotEntity
LeashKnotEntity. getOrCreate(World world, BlockPos pos)
void
EndCrystalEntity. setBeamTarget(@Nullable BlockPos beamTarget)
Constructors in net.minecraft.entity.decoration with parameters of type BlockPos Constructor Description 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
Constructors in net.minecraft.entity.decoration.painting with parameters of type BlockPos Constructor Description PaintingEntity(World world, BlockPos pos, Direction direction)
PaintingEntity(World world, BlockPos pos, Direction direction, PaintingMotive motive)
-
Uses of BlockPos in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as BlockPos Modifier and Type Field Description private @Nullable BlockPos
VexEntity. bounds
private BlockPos
PhantomEntity. circlingCenter
private BlockPos
PatrolEntity. patrolTarget
private BlockPos
MobEntity. positionTarget
private @Nullable BlockPos
ShulkerEntity. prevAttachedBlock
Methods in net.minecraft.entity.mob that return BlockPos Modifier and Type Method Description @Nullable BlockPos
VexEntity. getBounds()
BlockPos
PatrolEntity. getPatrolTarget()
Returns the position this patrol entity is walking to.BlockPos
MobEntity. getPositionTarget()
Methods in net.minecraft.entity.mob that return types with arguments of type BlockPos Modifier and Type Method Description private static GoToRememberedPositionTask<BlockPos>
PiglinBrain. makeGoToSoulFireTask()
Methods in net.minecraft.entity.mob with parameters of type BlockPos Modifier and Type Method Description protected 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)
private boolean
ShulkerEntity. canStay(BlockPos pos, Direction direction)
protected void
FlyingEntity. fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
protected @Nullable Direction
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 blockPos)
void
ZombieEntity.DestroyEggGoal. onDestroyBlock(World world, BlockPos pos)
protected void
AbstractSkeletonEntity. playStepSound(BlockPos pos, BlockState state)
protected void
EndermiteEntity. playStepSound(BlockPos pos, BlockState state)
protected void
HoglinEntity. playStepSound(BlockPos pos, BlockState state)
protected void
PiglinBruteEntity. playStepSound(BlockPos pos, BlockState state)
protected void
PiglinEntity. playStepSound(BlockPos pos, BlockState state)
protected void
RavagerEntity. playStepSound(BlockPos pos, BlockState state)
protected void
SilverfishEntity. playStepSound(BlockPos pos, BlockState state)
protected void
SpiderEntity. playStepSound(BlockPos pos, BlockState state)
protected void
ZoglinEntity. playStepSound(BlockPos pos, BlockState state)
protected void
ZombieEntity. playStepSound(BlockPos pos, BlockState state)
void
VexEntity. setBounds(@Nullable BlockPos pos)
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
Fields in net.minecraft.entity.passive declared as BlockPos Modifier and Type Field Description private BlockPos
CatEntity.SleepWithOwnerGoal. bedPos
private @Nullable BlockPos
BeeEntity. flowerPos
private BlockPos
BatEntity. hangingPosition
private @Nullable BlockPos
BeeEntity. hivePos
private BlockPos
ParrotEntity. songSource
private @Nullable BlockPos
WanderingTraderEntity. wanderTarget
Fields in net.minecraft.entity.passive with type parameters of type BlockPos Modifier and Type Field Description private static TrackedData<BlockPos>
TurtleEntity. HOME_POS
private List<BlockPos>
BeeEntity.MoveToHiveGoal. possibleHives
private static TrackedData<BlockPos>
TurtleEntity. TRAVEL_POS
private static TrackedData<BlockPos>
DolphinEntity. TREASURE_POS
Methods in net.minecraft.entity.passive that return BlockPos Modifier and Type Method Description @Nullable BlockPos
BeeEntity. getFlowerPos()
private @Nullable BlockPos
VillagerEntity. getHighestOpenPositionOnOffset(BlockPos pos, double x, double z)
@Nullable BlockPos
BeeEntity. getHivePos()
private BlockPos
TurtleEntity. getHomePos()
BlockPos
StriderEntity.GoBackToLavaGoal. getTargetPos()
private BlockPos
TurtleEntity. getTravelPos()
BlockPos
DolphinEntity. getTreasurePos()
private @Nullable BlockPos
WanderingTraderEntity. getWanderTarget()
Methods in net.minecraft.entity.passive that return types with arguments of type BlockPos Modifier and Type Method Description private Optional<BlockPos>
BeeEntity.PollinateGoal. findFlower(Predicate<BlockState> predicate, double searchDistance)
private Optional<BlockPos>
BeeEntity.PollinateGoal. getFlower()
private List<BlockPos>
BeeEntity.FindHiveGoal. getNearbyFreeHives()
List<BlockPos>
BeeEntity. method_35162()
Methods in net.minecraft.entity.passive with parameters of type BlockPos Modifier and Type Method Description private 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)
private @Nullable BlockPos
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)
private boolean
BeeEntity. isFlowers(BlockPos pos)
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)
private boolean
BeeEntity. isTooFar(BlockPos pos)
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)
private boolean
BeeEntity. isWithinDistance(BlockPos pos, int distance)
protected void
BeeEntity. playStepSound(BlockPos pos, BlockState state)
protected void
ChickenEntity. playStepSound(BlockPos pos, BlockState state)
protected void
CowEntity. playStepSound(BlockPos pos, BlockState state)
protected void
FishEntity. playStepSound(BlockPos pos, BlockState state)
protected void
GoatEntity. playStepSound(BlockPos pos, BlockState state)
protected void
HorseBaseEntity. playStepSound(BlockPos pos, BlockState state)
protected void
IronGolemEntity. playStepSound(BlockPos pos, BlockState state)
protected void
LlamaEntity. playStepSound(BlockPos pos, BlockState state)
protected void
PandaEntity. playStepSound(BlockPos pos, BlockState state)
protected void
ParrotEntity. playStepSound(BlockPos pos, BlockState state)
protected void
PigEntity. playStepSound(BlockPos pos, BlockState state)
protected void
PolarBearEntity. playStepSound(BlockPos pos, BlockState state)
protected void
SheepEntity. playStepSound(BlockPos pos, BlockState state)
protected void
StriderEntity. playStepSound(BlockPos pos, BlockState state)
protected void
TurtleEntity. playStepSound(BlockPos pos, BlockState state)
protected void
WolfEntity. playStepSound(BlockPos pos, BlockState state)
void
BeeEntity. setFlowerPos(BlockPos pos)
void
TurtleEntity. setHomePos(BlockPos pos)
void
ParrotEntity. setNearbySongPlaying(BlockPos songPosition, boolean playing)
private void
TurtleEntity. setTravelPos(BlockPos pos)
void
DolphinEntity. setTreasurePos(BlockPos treasurePos)
void
WanderingTraderEntity. setWanderTarget(@Nullable BlockPos pos)
void
VillagerEntity. sleep(BlockPos pos)
private void
BeeEntity. startMovingTo(BlockPos pos)
private boolean
BeeEntity.MoveToHiveGoal. startMovingToFar(BlockPos pos)
-
Uses of BlockPos in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type BlockPos Modifier and Type Method Description boolean
PlayerEntity. canPlaceOn(BlockPos pos, Direction facing, ItemStack stack)
protected boolean
PlayerEntity. doesNotSuffocate(BlockPos pos)
static Optional<Vec3d>
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>
PlayerEntity. trySleep(BlockPos pos)
Constructors in net.minecraft.entity.player with parameters of type BlockPos Constructor Description PlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile profile)
-
Uses of BlockPos in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type BlockPos Modifier and Type Method Description 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
Methods in net.minecraft.entity.projectile.thrown with parameters of type BlockPos Modifier and Type Method Description private void
PotionEntity. extinguishFire(BlockPos pos, Direction direction)
-
Uses of BlockPos in net.minecraft.entity.raid
Fields in net.minecraft.entity.raid declared as BlockPos Modifier and Type Field Description private BlockPos
RaiderEntity.AttackHomeGoal. home
Fields in net.minecraft.entity.raid with type parameters of type BlockPos Modifier and Type Field Description private List<BlockPos>
RaiderEntity.AttackHomeGoal. lastHomes
Methods in net.minecraft.entity.raid with parameters of type BlockPos Modifier and Type Method Description private boolean
RaiderEntity.AttackHomeGoal. canLootHome(BlockPos pos)
-
Uses of BlockPos in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle declared as BlockPos Modifier and Type Field Description private BlockPos
HopperMinecartEntity. currentBlockPos
Methods in net.minecraft.entity.vehicle with parameters of type BlockPos Modifier and Type Method Description boolean
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
Methods in net.minecraft.fluid with parameters of type BlockPos Modifier and Type Method Description protected 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
FluidState. getHeight(BlockView world, BlockPos pos)
protected int
FlowableFluid. getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState)
int
LavaFluid. getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState)
VoxelShape
EmptyFluid. getShape(FluidState state, BlockView world, BlockPos pos)
VoxelShape
FlowableFluid. getShape(FluidState state, BlockView world, BlockPos pos)
abstract VoxelShape
Fluid. getShape(FluidState state, BlockView world, BlockPos pos)
VoxelShape
FluidState. getShape(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)
Vec3d
EmptyFluid. getVelocity(BlockView world, BlockPos pos, FluidState state)
Vec3d
FlowableFluid. getVelocity(BlockView world, BlockPos pos, FluidState state)
protected abstract Vec3d
Fluid. getVelocity(BlockView world, BlockPos pos, FluidState state)
Vec3d
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
Fields in net.minecraft.item declared as BlockPos Modifier and Type Field Description private BlockPos
ItemPlacementContext. placementPos
Methods in net.minecraft.item that return BlockPos Modifier and Type Method Description BlockPos
AutomaticItemPlacementContext. getBlockPos()
BlockPos
ItemPlacementContext. getBlockPos()
BlockPos
ItemUsageContext. getBlockPos()
Methods in net.minecraft.item with parameters of type BlockPos Modifier and Type Method Description static 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
BucketItem. onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos)
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 void
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)
Constructors in net.minecraft.item with parameters of type BlockPos Constructor Description AutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side)
-
Uses of BlockPos in net.minecraft.item.map
Fields in net.minecraft.item.map declared as BlockPos Modifier and Type Field Description private BlockPos
MapBannerMarker. pos
private BlockPos
MapFrameMarker. pos
Methods in net.minecraft.item.map that return BlockPos Modifier and Type Method Description BlockPos
MapBannerMarker. getPos()
BlockPos
MapFrameMarker. getPos()
Methods in net.minecraft.item.map with parameters of type BlockPos Modifier and Type Method Description void
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
MapFrameMarker. getKey(BlockPos pos)
void
MapState. removeFrame(BlockPos pos, int id)
Constructors in net.minecraft.item.map with parameters of type BlockPos Constructor Description MapBannerMarker(BlockPos pos, DyeColor dyeColor, @Nullable Text name)
MapFrameMarker(BlockPos pos, int rotation, int entityId)
-
Uses of BlockPos in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as BlockPos Modifier and Type Field Description private BlockPos
LocationCheckLootCondition. offset
Methods in net.minecraft.loot.condition with parameters of type BlockPos Modifier and Type Method Description static LootCondition.Builder
LocationCheckLootCondition. builder(LocationPredicate.Builder predicateBuilder, BlockPos pos)
Constructors in net.minecraft.loot.condition with parameters of type BlockPos Constructor Description LocationCheckLootCondition(LocationPredicate predicate, BlockPos offset)
-
Uses of BlockPos in net.minecraft.nbt
Methods in net.minecraft.nbt that return BlockPos Modifier and Type Method Description static BlockPos
NbtHelper. toBlockPos(NbtCompound compound)
Methods in net.minecraft.nbt with parameters of type BlockPos Modifier and Type Method Description static NbtCompound
NbtHelper. fromBlockPos(BlockPos pos)
-
Uses of BlockPos in net.minecraft.network
Methods in net.minecraft.network that return BlockPos Modifier and Type Method Description BlockPos
PacketByteBuf. readBlockPos()
Reads a block position from this buf.Methods in net.minecraft.network with parameters of type BlockPos Modifier and Type Method Description PacketByteBuf
PacketByteBuf. writeBlockPos(BlockPos pos)
Writes a block position to this buf. -
Uses of BlockPos in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as BlockPos Modifier and Type Field Description private 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
Methods in net.minecraft.network.packet.c2s.play that return BlockPos Modifier and Type Method Description BlockPos
UpdateCommandBlockC2SPacket. getBlockPos()
BlockPos
UpdateStructureBlockC2SPacket. getOffset()
BlockPos
JigsawGeneratingC2SPacket. getPos()
BlockPos
PlayerActionC2SPacket. getPos()
BlockPos
QueryBlockNbtC2SPacket. getPos()
BlockPos
UpdateJigsawC2SPacket. getPos()
BlockPos
UpdateSignC2SPacket. getPos()
BlockPos
UpdateStructureBlockC2SPacket. getPos()
Constructors in net.minecraft.network.packet.c2s.play with parameters of type BlockPos Constructor Description JigsawGeneratingC2SPacket(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)
UpdateSignC2SPacket(BlockPos pos, String line1, String line2, String line3, String line4)
UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String structureName, BlockPos offset, Vec3i vec3i, 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
Fields in net.minecraft.network.packet.s2c.play declared as BlockPos Modifier and Type Field Description private 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
Fields in net.minecraft.network.packet.s2c.play with type parameters of type BlockPos Modifier and Type Field Description private List<BlockPos>
ExplosionS2CPacket. affectedBlocks
Methods in net.minecraft.network.packet.s2c.play that return BlockPos Modifier and Type Method Description BlockPos
PlayerActionResponseS2CPacket. getBlockPos()
BlockPos
BlockBreakingProgressS2CPacket. getPos()
BlockPos
BlockEntityUpdateS2CPacket. getPos()
BlockPos
BlockEventS2CPacket. getPos()
BlockPos
BlockUpdateS2CPacket. getPos()
BlockPos
PaintingSpawnS2CPacket. getPos()
BlockPos
PlayerSpawnPositionS2CPacket. getPos()
BlockPos
SignEditorOpenS2CPacket. getPos()
BlockPos
WorldEventS2CPacket. getPos()
Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type BlockPos Modifier and Type Method Description List<BlockPos>
ExplosionS2CPacket. getAffectedBlocks()
Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type BlockPos Modifier and Type Method Description void
ChunkDeltaUpdateS2CPacket. visitUpdates(BiConsumer<BlockPos,BlockState> biConsumer)
Calls the given consumer for each pair of block position and block state contained in this packet.Constructors in net.minecraft.network.packet.s2c.play with parameters of type BlockPos Constructor Description BlockBreakingProgressS2CPacket(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)
SignEditorOpenS2CPacket(BlockPos pos)
WorldEventS2CPacket(int eventId, BlockPos pos, int data, boolean global)
Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type BlockPos Constructor Description ExplosionS2CPacket(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, @Nullable Vec3d playerVelocity)
-
Uses of BlockPos in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type BlockPos Modifier and Type Method Description boolean
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
Methods in net.minecraft.screen with parameters of type BlockPos Modifier and Type Method Description static ScreenHandlerContext
ScreenHandlerContext. create(World world, BlockPos pos)
Returns an active screen handler context.Method parameters in net.minecraft.screen with type arguments of type BlockPos Modifier and Type Method Description <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
Methods in net.minecraft.server with parameters of type BlockPos Modifier and Type Method Description boolean
MinecraftServer. isSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player)
-
Uses of BlockPos in net.minecraft.server.command
Fields in net.minecraft.server.command declared as BlockPos Modifier and Type Field Description BlockPos
CloneCommand.BlockInfo. pos
Methods in net.minecraft.server.command with parameters of type BlockPos Modifier and Type Method Description private 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)
@Nullable BlockStateArgument
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)
Constructors in net.minecraft.server.command with parameters of type BlockPos Constructor Description BlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound blockEntityTag)
-
Uses of BlockPos in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type BlockPos Modifier and Type Method Description boolean
MinecraftDedicatedServer. isSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player)
-
Uses of BlockPos in net.minecraft.server.network
Fields in net.minecraft.server.network declared as BlockPos Modifier and Type Field Description private BlockPos
ServerPlayerInteractionManager. failedMiningPos
private BlockPos
ServerPlayerInteractionManager. miningPos
private @Nullable BlockPos
ServerPlayerEntity. spawnPointPosition
Methods in net.minecraft.server.network that return BlockPos Modifier and Type Method Description protected static @Nullable BlockPos
SpawnLocating. findOverworldSpawn(ServerWorld world, int x, int z, boolean validSpawnNeeded)
static @Nullable BlockPos
SpawnLocating. findServerSpawnPoint(ServerWorld world, ChunkPos chunkPos, boolean validSpawnNeeded)
@Nullable BlockPos
ServerPlayerEntity. getSpawnPointPosition()
Methods in net.minecraft.server.network with parameters of type BlockPos Modifier and Type Method Description static void
DebugInfoSender. addGameTestMarker(ServerWorld world, BlockPos pos, String message, int color, int duration)
protected void
ServerPlayerEntity. applyMovementEffects(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 bool)
void
ServerPlayerEntity. sleep(BlockPos pos)
boolean
ServerPlayerInteractionManager. tryBreakBlock(BlockPos pos)
com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit>
ServerPlayerEntity. trySleep(BlockPos pos)
-
Uses of BlockPos in net.minecraft.server.world
Fields in net.minecraft.server.world declared as BlockPos Modifier and Type Field Description static BlockPos
ServerWorld. END_SPAWN_POS
private BlockPos
BlockEvent. pos
BlockPos
SimpleTickScheduler.Tick. pos
Fields in net.minecraft.server.world with type parameters of type BlockPos Modifier and Type Field Description static ChunkTicketType<BlockPos>
ChunkTicketType. PORTAL
Used by a nether portal to load chunks in the other dimension.Methods in net.minecraft.server.world that return BlockPos Modifier and Type Method Description BlockPos
BlockEvent. getPos()
BlockPos
ServerWorld. getSpawnPos()
protected BlockPos
ServerWorld. getSurface(BlockPos pos)
@Nullable BlockPos
ServerWorld. locateBiome(Biome biome, BlockPos pos, int radius, int int2)
@Nullable BlockPos
ServerWorld. locateStructure(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks)
Methods in net.minecraft.server.world that return types with arguments of type BlockPos Modifier and Type Method Description private Optional<BlockPos>
ServerWorld. method_31418(BlockPos blockPos)
Methods in net.minecraft.server.world with parameters of type BlockPos Modifier and Type Method Description void
ServerLightingProvider. addLightSource(BlockPos blockPos, int int2)
void
ServerWorld. addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
boolean
ServerWorld. canPlayerModifyAt(PlayerEntity player, BlockPos pos)
void
ServerLightingProvider. checkBlock(BlockPos blockPos)
void
ServerTickScheduler. copyScheduledTicks(BlockBox box, BlockPos offset)
void
ServerWorld. emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)
@Nullable Raid
ServerWorld. getRaidAt(BlockPos pos)
protected BlockPos
ServerWorld. getSurface(BlockPos pos)
boolean
ServerWorld. hasRaidAt(BlockPos pos)
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
ServerTickScheduler. isTicking(BlockPos pos, T object)
boolean
SimpleTickScheduler. isTicking(BlockPos pos, T object)
@Nullable BlockPos
ServerWorld. locateBiome(Biome biome, BlockPos pos, int radius, int int2)
@Nullable BlockPos
ServerWorld. locateStructure(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks)
void
ChunkHolder. markForBlockUpdate(BlockPos pos)
void
ServerChunkManager. markForUpdate(BlockPos pos)
private Optional<BlockPos>
ServerWorld. method_31418(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)
boolean
ServerChunkManager. shouldTickBlock(BlockPos pos)
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)
Constructors in net.minecraft.server.world with parameters of type BlockPos Constructor Description BlockEvent(BlockPos pos, Block block, int type, int data)
Tick(T object, BlockPos pos, int delay, TickPriority priority)
-
Uses of BlockPos in net.minecraft.structure
Fields in net.minecraft.structure declared as BlockPos Modifier and Type Field Description BlockPos
Structure.StructureEntityInfo. blockPos
private static BlockPos
ShipwreckGenerator. DEFAULT_POSITION
protected BlockPos
PoolStructurePiece. pos
protected BlockPos
SimpleStructurePiece. pos
BlockPos
Structure.StructureBlockInfo. pos
private BlockPos
StructurePlacementData. position
BlockPos
WoodlandMansionGenerator.GenerationPiece. position
Fields in net.minecraft.structure with type parameters of type BlockPos Modifier and Type Field Description private static List<Pair<BlockRotation,BlockPos>>
EndCityGenerator. FAT_TOWER_BRIDGE_ATTACHMENTS
private static Map<Identifier,BlockPos>
IglooGenerator. field_14406
private static Map<Identifier,BlockPos>
IglooGenerator. field_14408
private static List<Pair<BlockRotation,BlockPos>>
EndCityGenerator. SMALL_TOWER_BRIDGE_ATTACHMENTS
Methods in net.minecraft.structure that return BlockPos Modifier and Type Method Description static BlockPos
Structure. applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ)
BlockPos
StructureStart. getBlockPos()
BlockPos
PoolStructurePiece. getPos()
BlockPos
StructurePlacementData. getPosition()
private static BlockPos
IglooGenerator.Piece. method_35430(Identifier identifier, BlockPos blockPos, int int2)
BlockPos
StrongholdGenerator.Start. method_35458()
BlockPos
StructurePiece. method_35458()
BlockPos
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)
BlockPos
Structure. transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)
Methods in net.minecraft.structure that return types with arguments of type BlockPos Modifier and Type Method Description private static List<BlockPos>
OceanRuinGenerator. getRoomPositions(Random random, BlockPos blockPos)
Methods in net.minecraft.structure with parameters of type BlockPos Modifier and Type Method Description private 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, class_6130 class_6130, 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, class_6130 class_6130, Random random)
static void
NetherFossilGenerator. addPieces(StructureManager manager, class_6130 class_6130, Random random, BlockPos pos)
static void
OceanRuinGenerator. addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, class_6130 class_6130, 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)
BlockBox
Structure. calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
BlockBox
Structure. calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos blockPos, BlockMirror mirror)
private boolean
RuinedPortalStructurePiece. canFillNetherrack(WorldAccess world, BlockPos pos)
protected boolean
StructureStart. contains(BlockPos pos)
boolean
EndCityGenerator.Part. create(StructureManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random)
private static boolean
EndCityGenerator. createPart(StructureManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random)
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)
List<Structure.StructureBlockInfo>
Structure. getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)
List<Structure.StructureBlockInfo>
Structure. getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed)
Random
StructurePlacementData. getRandom(@Nullable BlockPos pos)
Structure.PalettedBlockInfoList
StructurePlacementData. getRandomBlockInfos(List<Structure.PalettedBlockInfoList> list, @Nullable BlockPos pos)
private static List<BlockPos>
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, class_6130 class_6130, Random random, OceanRuinFeatureConfig config, boolean large, float integrity)
private static void
OceanRuinGenerator. method_14825(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, class_6130 class_6130)
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)
BlockPos
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
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)
BlockPos
Structure. transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)
private void
RuinedPortalStructurePiece. updateNetherracks(Random random, WorldAccess world, BlockPos pos)
-
Uses of BlockPos in net.minecraft.structure.pool
Methods in net.minecraft.structure.pool with parameters of type BlockPos Modifier and Type Method Description PoolStructurePiece
StructurePoolBasedGenerator.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)
BlockBox
EmptyPoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
BlockBox
FeaturePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
BlockBox
ListPoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
BlockBox
SinglePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
abstract BlockBox
StructurePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
List<Structure.StructureBlockInfo>
SinglePoolElement. getDataStructureBlocks(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated)
List<Structure.StructureBlockInfo>
EmptyPoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
List<Structure.StructureBlockInfo>
FeaturePoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
List<Structure.StructureBlockInfo>
ListPoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
List<Structure.StructureBlockInfo>
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, class_6130 class_6130, Random random, boolean bool, boolean bool2, HeightLimitView heightLimitView)
-
Uses of BlockPos in net.minecraft.structure.processor
-
Uses of BlockPos in net.minecraft.structure.rule
Methods in net.minecraft.structure.rule with parameters of type BlockPos Modifier and Type Method Description boolean
AlwaysTruePosRuleTest. test(BlockPos blockPos, BlockPos blockPos2, BlockPos blockPos3, Random random)
boolean
AxisAlignedLinearPosRuleTest. test(BlockPos blockPos, BlockPos blockPos2, BlockPos blockPos3, Random random)
boolean
LinearPosRuleTest. test(BlockPos blockPos, BlockPos blockPos2, BlockPos blockPos3, Random random)
abstract boolean
PosRuleTest. test(BlockPos blockPos, BlockPos blockPos2, BlockPos blockPos3, Random random)
-
Uses of BlockPos in net.minecraft.test
Fields in net.minecraft.test declared as BlockPos Modifier and Type Field Description private @Nullable BlockPos
GameTest. pos
private BlockPos
PositionedException. pos
private BlockPos
StructureTestListener. pos
private BlockPos
TestRunner. pos
private BlockPos
TestServer. pos
private BlockPos
PositionedException. relativePos
Methods in net.minecraft.test that return BlockPos Modifier and Type Method Description static @Nullable BlockPos
StructureTestUtil. findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world)
BlockPos
GameTest. getPos()
@Nullable BlockPos
PositionedException. getPos()
@Nullable BlockPos
PositionedException. getRelativePos()
BlockPos
StartupParameter. method_36052(BlockPos blockPos)
BlockPos
StartupParameter. method_36054(BlockPos blockPos)
Methods in net.minecraft.test that return types with arguments of type BlockPos Modifier and Type Method Description static Optional<BlockPos>
StructureTestUtil. findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world)
static Collection<BlockPos>
StructureTestUtil. findStructureBlocks(BlockPos pos, int radius, ServerWorld world)
private Map<GameTest,BlockPos>
TestRunner. method_29401(Collection<GameTest> gameTests)
Methods in net.minecraft.test with parameters of type BlockPos Modifier and Type Method Description private static void
StructureTestListener. addGameTestMarker(ServerWorld world, BlockPos pos, String message)
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)
static Optional<BlockPos>
StructureTestUtil. findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world)
static @Nullable BlockPos
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)
static BlockBox
StructureTestUtil. getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation)
void
GameTest. init(BlockPos pos, int int2)
private static boolean
StructureTestUtil. isInStructureBounds(BlockPos structureBlockPos, BlockPos pos, ServerWorld world)
void
StartupParameter. method_35949(long long2, BlockPos blockPos)
void
StartupParameter. method_35950(long long2, BlockPos blockPos, Item item)
void
StartupParameter. method_35955(Entity entity, BlockPos blockPos)
<E extends Entity>
EStartupParameter. method_35964(EntityType<E> entityType, BlockPos blockPos)
void
StartupParameter. method_35965(EntityType<?> entityType, BlockPos blockPos, double double2)
TimedTaskRunner
StartupParameter. method_35967(MobEntity mobEntity, BlockPos blockPos, float float2)
void
StartupParameter. method_35969(Item item, BlockPos blockPos, double double2)
void
StartupParameter. method_35970(Item item, BlockPos blockPos, double double2, int int2)
void
StartupParameter. method_35972(Block block, BlockPos blockPos)
void
StartupParameter. method_35977(BlockBox blockBox, BlockPos blockPos)
BlockState
StartupParameter. method_35980(BlockPos blockPos)
void
StartupParameter. method_35981(BlockPos blockPos, long long2)
<E extends Entity, T>
voidStartupParameter. method_35982(BlockPos blockPos, EntityType<E> entityType, Function<? super E,T> function, T t)
void
StartupParameter. method_35983(BlockPos blockPos, Item item)
void
StartupParameter. method_35984(BlockPos blockPos, Block block)
void
StartupParameter. method_35986(BlockPos blockPos, BlockState blockState)
<T extends Comparable<T>>
voidStartupParameter. method_35987(BlockPos blockPos, Property<T> property, T t)
<T extends Comparable<T>>
voidStartupParameter. method_35988(BlockPos blockPos, Property<T> property, Predicate<T> predicate, String string)
void
StartupParameter. method_35990(BlockPos blockPos, BlockPos blockPos2)
void
StartupParameter. method_35991(BlockPos blockPos, Predicate<Block> predicate, String string)
void
StartupParameter. method_35992(BlockPos blockPos, Predicate<Block> predicate, Supplier<String> supplier)
void
StartupParameter. method_35997(String string, BlockPos blockPos)
<E extends MobEntity>
EStartupParameter. method_36009(EntityType<E> entityType, BlockPos blockPos)
void
StartupParameter. method_36012(Block block, BlockPos blockPos)
@Nullable BlockEntity
StartupParameter. method_36014(BlockPos blockPos)
<E extends Entity, T>
voidStartupParameter. method_36015(BlockPos blockPos, EntityType<E> entityType, Function<E,T> function, T t)
void
StartupParameter. method_36017(BlockPos blockPos, Predicate<BlockState> predicate, Supplier<String> supplier)
void
StartupParameter. method_36023(EntityType<?> entityType, BlockPos blockPos)
void
StartupParameter. method_36025(Block block, BlockPos blockPos)
void
StartupParameter. method_36026(BlockPos blockPos)
void
StartupParameter. method_36032(EntityType<?> entityType, BlockPos blockPos)
void
StartupParameter. method_36034(BlockPos blockPos)
void
StartupParameter. method_36038(EntityType<?> entityType, BlockPos blockPos)
void
StartupParameter. method_36039(BlockPos blockPos)
void
StartupParameter. method_36043(EntityType<?> entityType, BlockPos blockPos)
void
StartupParameter. method_36044(BlockPos blockPos)
void
StartupParameter. method_36047(BlockPos blockPos)
void
StartupParameter. method_36050(BlockPos blockPos)
BlockPos
StartupParameter. method_36052(BlockPos blockPos)
BlockPos
StartupParameter. method_36054(BlockPos blockPos)
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)
private static void
StructureTestUtil. resetBlock(int altitude, BlockPos pos, ServerWorld world)
static Collection<GameTest>
TestUtil. runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
static Collection<GameTest>
TestUtil. runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
(package private) void
GameTest. setPos(BlockPos pos)
static void
TestUtil. startTest(GameTest test, BlockPos pos, TestManager testManager)
Method parameters in net.minecraft.test with type arguments of type BlockPos Modifier and Type Method Description void
StartupParameter. method_35998(Consumer<BlockPos> consumer)
Constructors in net.minecraft.test with parameters of type BlockPos Constructor Description PositionedException(String message, BlockPos pos, BlockPos relativePos, long tick)
StructureTestListener(GameTest 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)
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
Methods in net.minecraft.util.crash with parameters of type BlockPos Modifier and Type Method Description static 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
Fields in net.minecraft.util.dynamic declared as BlockPos Modifier and Type Field Description private BlockPos
GlobalPos. pos
Methods in net.minecraft.util.dynamic that return BlockPos Modifier and Type Method Description BlockPos
GlobalPos. getPos()
Methods in net.minecraft.util.dynamic with parameters of type BlockPos Modifier and Type Method Description static GlobalPos
GlobalPos. create(RegistryKey<World> dimension, BlockPos pos)
Constructors in net.minecraft.util.dynamic with parameters of type BlockPos Constructor Description GlobalPos(RegistryKey<World> dimension, BlockPos pos)
-
Uses of BlockPos in net.minecraft.util.hit
Fields in net.minecraft.util.hit declared as BlockPos Modifier and Type Field Description private BlockPos
BlockHitResult. blockPos
Methods in net.minecraft.util.hit that return BlockPos Modifier and Type Method Description BlockPos
BlockHitResult. getBlockPos()
Methods in net.minecraft.util.hit with parameters of type BlockPos Modifier and Type Method Description static BlockHitResult
BlockHitResult. createMissed(Vec3d pos, Direction side, BlockPos blockPos)
BlockHitResult
BlockHitResult. withBlockPos(BlockPos blockPos)
Constructors in net.minecraft.util.hit with parameters of type BlockPos Constructor Description 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
Subclasses of BlockPos in net.minecraft.util.math Modifier and Type Class Description static class
BlockPos.Mutable
Fields in net.minecraft.util.math declared as BlockPos Modifier and Type Field Description static BlockPos
BlockPos. ORIGIN
The block position which x, y, and z values are all zero.private BlockPos
BlockPointerImpl. pos
private BlockPos
GravityField.Point. pos
Fields in net.minecraft.util.math with type parameters of type BlockPos Modifier and Type Field Description static com.mojang.serialization.Codec<BlockPos>
BlockPos. CODEC
Methods in net.minecraft.util.math that return BlockPos Modifier and Type Method Description BlockPos
BlockPos. add(double double2, double double3, double double4)
BlockPos
BlockPos. add(int int2, int int3, int int4)
BlockPos
BlockPos. add(Vec3i vec3i)
BlockPos
BlockPos.Mutable. add(double double2, double double3, double double4)
BlockPos
BlockPos.Mutable. add(int int2, int int3, int int4)
BlockPos
BlockPos. crossProduct(Vec3i pos)
BlockPos
BlockPos. down()
BlockPos
BlockPos. down(int int2)
BlockPos
BlockPos. east()
BlockPos
BlockPos. east(int distance)
static BlockPos
BlockPos. fromLong(long packedPos)
BlockPos
BlockPointer. getBlockPos()
BlockPos
BlockPointerImpl. getBlockPos()
BlockPos
BlockBox. getCenter()
BlockPos
ChunkPos. getCenterAtY(int y)
BlockPos
ChunkSectionPos. getCenterPos()
BlockPos
ChunkSectionPos. getMinPos()
BlockPos
ChunkPos. getStartPos()
BlockPos
ChunkPos. method_35231(int int2, int int3, int int4)
BlockPos
BlockPos. multiply(int int2)
BlockPos
BlockPos.Mutable. multiply(int int2)
BlockPos
BlockPos. north()
BlockPos
BlockPos. north(int distance)
BlockPos
BlockPos.Mutable. offset(Direction.Axis axis, int int2)
BlockPos
BlockPos.Mutable. offset(Direction direction, int int2)
BlockPos
BlockPos. offset(Direction direction)
BlockPos
BlockPos. offset(Direction.Axis axis, int int2)
BlockPos
BlockPos. offset(Direction direction, int int2)
BlockPos
BlockPos.Mutable. rotate(BlockRotation rotation)
BlockPos
BlockPos. rotate(BlockRotation rotation)
BlockPos
BlockPos. south()
BlockPos
BlockPos. south(int distance)
BlockPos
BlockPos. subtract(Vec3i vec3i)
BlockPos
BlockPos.Mutable. toImmutable()
Returns an immutable block position with the same x, y, and z as this position.BlockPos
BlockPos. toImmutable()
Returns an immutable block position with the same x, y, and z as this position.BlockPos
ChunkSectionPos. unpackBlockPos(short packedLocalPos)
Gets the world position of the given local position within this chunk section.BlockPos
BlockPos. up()
BlockPos
BlockPos. up(int distance)
BlockPos
BlockPos. west()
BlockPos
BlockPos. west(int distance)
BlockPos
BlockPos. withY(int y)
Methods in net.minecraft.util.math that return types with arguments of type BlockPos Modifier and Type Method Description static Optional<BlockPos>
BlockPos. findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition)
static Iterable<BlockPos>
BlockPos. iterate(int startX, int startY, int startZ, int endX, int endY, int endZ)
static Iterable<BlockPos>
BlockPos. iterate(BlockPos start, BlockPos end)
static Iterable<BlockPos>
BlockPos. iterateOutwards(BlockPos center, int xRange, int yRange, int zRange)
Iterates block positions around thecenter
.static Iterable<BlockPos>
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.static Iterable<BlockPos>
BlockPos. iterateRandomly(Random random, int count, BlockPos around, int range)
Iterates throughcount
random block positions in a given range around the given position.static Stream<BlockPos>
BlockPos. stream(int startX, int startY, int startZ, int endX, int endY, int endZ)
static Stream<BlockPos>
BlockPos. stream(BlockBox box)
static Stream<BlockPos>
BlockPos. stream(BlockPos start, BlockPos end)
static Stream<BlockPos>
BlockPos. stream(Box box)
Stream<BlockPos>
ChunkSectionPos. streamBlocks()
static Stream<BlockPos>
BlockPos. streamOutwards(BlockPos center, int maxX, int maxY, int maxZ)
Methods in net.minecraft.util.math with parameters of type BlockPos Modifier and Type Method Description void
GravityField. addPoint(BlockPos pos, double mass)
Adds a point to the gravity field.double
GravityField. calculate(BlockPos pos, double mass)
Calculate the gravity on a potential point atpos
withmass
.BlockBox
BlockBox. encompass(BlockPos pos)
Expands this box to encompass thepos
.static Optional<BlockPos>
BlockPos. findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition)
static ChunkSectionPos
ChunkSectionPos. from(BlockPos pos)
double
GravityField.Point. getGravityFactor(BlockPos pos)
static Iterable<BlockPos>
BlockPos. iterate(BlockPos start, BlockPos end)
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
).static Iterable<BlockPos>
BlockPos. iterateOutwards(BlockPos center, int xRange, int yRange, int zRange)
Iterates block positions around thecenter
.static Iterable<BlockPos>
BlockPos. iterateRandomly(Random random, int count, BlockPos around, int range)
Iterates throughcount
random block positions in a given range around the given position.static @Nullable Direction
Direction. method_35832(BlockPos blockPos)
Box
Box. offset(BlockPos blockPos)
static short
ChunkSectionPos. packLocal(BlockPos pos)
Returns the local position of the given block position relative to its respective chunk section, packed into a short.static @Nullable BlockHitResult
Box. raycast(Iterable<Box> boxes, Vec3d from, Vec3d to, BlockPos pos)
static Stream<BlockPos>
BlockPos. stream(BlockPos start, BlockPos end)
static Stream<BlockPos>
BlockPos. streamOutwards(BlockPos center, int maxX, int maxY, int maxZ)
static long
ChunkSectionPos. toLong(BlockPos pos)
Method parameters in net.minecraft.util.math with type arguments of type BlockPos Modifier and Type Method Description static Optional<BlockPos>
BlockPos. findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition)
void
BlockBox. forEachVertex(Consumer<BlockPos> consumer)
static Optional<BlockBox>
BlockBox. method_35411(Iterable<BlockPos> iterable)
Constructors in net.minecraft.util.math with parameters of type BlockPos Constructor Description BlockBox(BlockPos pos)
Creates a box enclosing onlypos
.BlockPointerImpl(ServerWorld world, BlockPos pos)
Box(BlockPos pos)
Box(BlockPos pos1, BlockPos pos2)
ChunkPos(BlockPos pos)
ColumnPos(BlockPos pos)
Point(BlockPos pos, double mass)
-
Uses of BlockPos in net.minecraft.util.shape
Methods in net.minecraft.util.shape with parameters of type BlockPos Modifier and Type Method Description @Nullable BlockHitResult
VoxelShape. raycast(Vec3d start, Vec3d end, BlockPos pos)
-
Uses of BlockPos in net.minecraft.village
Methods in net.minecraft.village with parameters of type BlockPos Modifier and Type Method Description private @Nullable Vec3d
ZombieSiegeManager. getSpawnVector(ServerWorld world, BlockPos pos)
-
Uses of BlockPos in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as BlockPos Modifier and Type Field Description private BlockPos
Raid. center
Fields in net.minecraft.village.raid with type parameters of type BlockPos Modifier and Type Field Description private Optional<BlockPos>
Raid. preCalculatedRavagerSpawnLocation
Methods in net.minecraft.village.raid that return BlockPos Modifier and Type Method Description BlockPos
Raid. getCenter()
private @Nullable BlockPos
Raid. getRavagerSpawnLocation(int proximity, int tries)
Methods in net.minecraft.village.raid that return types with arguments of type BlockPos Modifier and Type Method Description private Optional<BlockPos>
Raid. preCalculateRavagerSpawnLocation(int proximity)
Methods in net.minecraft.village.raid with parameters of type BlockPos Modifier and Type Method Description void
Raid. addRaider(int wave, RaiderEntity raider, @Nullable BlockPos pos, boolean existing)
private Raid
RaidManager. getOrCreateRaid(ServerWorld world, BlockPos pos)
@Nullable Raid
RaidManager. getRaidAt(BlockPos pos, int searchDistance)
private void
Raid. playRaidHorn(BlockPos pos)
private void
Raid. setCenter(BlockPos center)
private void
Raid. spawnNextWave(BlockPos pos)
Constructors in net.minecraft.village.raid with parameters of type BlockPos Constructor Description Raid(int id, ServerWorld world, BlockPos pos)
-
Uses of BlockPos in net.minecraft.world
Fields in net.minecraft.world declared as BlockPos Modifier and Type Field Description private @Nullable BlockPos
SpawnHelper.Info. cachedPos
BlockPos
PortalUtil.Rectangle. lowerLeft
private BlockPos
Vibration. origin
BlockPos
ScheduledTick. pos
Fields in net.minecraft.world with type parameters of type BlockPos Modifier and Type Field Description private BiPredicate<BlockState,BlockPos>
BlockCollisionSpliterator. blockPredicate
private Function<BlockPos,TickScheduler<T>>
MultiTickScheduler. mapper
Methods in net.minecraft.world that return BlockPos Modifier and Type Method Description private static BlockPos
SpawnHelper. getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z)
private @Nullable BlockPos
WanderingTraderManager. getNearbySpawnPos(WorldView world, BlockPos pos, int range)
BlockPos
Vibration. getOrigin()
BlockPos
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)
BlockPos
TestableWorld. getTopPosition(Heightmap.Type type, BlockPos blockPos)
default BlockPos
WorldView. getTopPosition(Heightmap.Type heightmap, BlockPos pos)
Methods in net.minecraft.world that return types with arguments of type BlockPos Modifier and Type Method Description static Optional<BlockPos>
PortalUtil. method_34851(BlockView blockView, BlockPos blockPos, Block block, Direction direction, Block block2)
Methods in net.minecraft.world with parameters of type BlockPos Modifier and Type Method Description void
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)
Optional<PortalUtil.Rectangle>
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)
VoxelShape
RaycastContext.ShapeProvider. get(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
RaycastContext.ShapeType. get(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
default int
BlockRenderView. getBaseLightLevel(BlockPos pos, int ambientDarkness)
default Biome
WorldView. getBiome(BlockPos pos)
private static Biome
SpawnHelper. getBiomeDirectly(BlockPos pos, Chunk chunk)
default Optional<RegistryKey<Biome>>
RegistryWorldView. getBiomeKey(BlockPos pos)
@Nullable BlockEntity
BlockView. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
ChunkRegion. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
EmptyBlockView. getBlockEntity(BlockPos pos)
@Nullable BlockEntity
World. getBlockEntity(BlockPos pos)
VoxelShape
RaycastContext. getBlockShape(BlockState state, BlockView world, BlockPos pos)
BlockState
BlockView. getBlockState(BlockPos pos)
BlockState
ChunkRegion. getBlockState(BlockPos pos)
BlockState
ChunkSectionCache. getBlockState(BlockPos pos)
BlockState
EmptyBlockView. getBlockState(BlockPos pos)
BlockState
World. getBlockState(BlockPos pos)
default float
WorldView. getBrightness(BlockPos pos)
Deprecated.default Chunk
WorldView. getChunk(BlockPos pos)
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)
VoxelShape
RaycastContext. getFluidShape(FluidState state, BlockView world, BlockPos pos)
FluidState
BlockView. getFluidState(BlockPos pos)
FluidState
ChunkRegion. getFluidState(BlockPos pos)
FluidState
EmptyBlockView. getFluidState(BlockPos pos)
FluidState
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)
LocalDifficulty
ChunkRegion. getLocalDifficulty(BlockPos pos)
LocalDifficulty
World. getLocalDifficulty(BlockPos pos)
LocalDifficulty
WorldAccess. getLocalDifficulty(BlockPos pos)
default int
BlockView. getLuminance(BlockPos pos)
private @Nullable BlockPos
WanderingTraderManager. getNearbySpawnPos(WorldView world, BlockPos pos, int range)
Optional<PortalUtil.Rectangle>
PortalForcer. getPortalRect(BlockPos destPos, boolean destIsNether)
int
World. getReceivedRedstonePower(BlockPos pos)
int
World. getReceivedStrongRedstonePower(BlockPos pos)
ChunkSection
ChunkSectionCache. getSection(BlockPos pos)
private static class_6012<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)
BlockPos
TestableWorld. getTopPosition(Heightmap.Type type, BlockPos blockPos)
default BlockPos
WorldView. getTopPosition(Heightmap.Type heightmap, BlockPos pos)
WorldChunk
World. getWorldChunk(BlockPos pos)
boolean
World. hasHighHumidity(BlockPos pos)
boolean
World. hasRain(BlockPos pos)
default boolean
WorldView. isAir(BlockPos pos)
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
ChunkTickScheduler. isTicking(BlockPos pos, T object)
boolean
MultiTickScheduler. isTicking(BlockPos pos, T object)
boolean
TickScheduler. isTicking(BlockPos pos, T object)
boolean
World. isTopSolid(BlockPos pos, Entity entity)
static boolean
World. isValid(BlockPos pos)
private static boolean
World. isValidHorizontally(BlockPos pos)
private boolean
PortalForcer. isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal)
default boolean
WorldView. isWater(BlockPos pos)
private void
ChunkRegion. markBlockForPostProcessing(BlockPos pos)
void
World. markDirty(BlockPos pos)
static Optional<BlockPos>
PortalUtil. method_34851(BlockView blockView, BlockPos blockPos, Block block, Direction direction, Block block2)
default <T extends BlockEntity>
Optional<T>BlockView. method_35230(BlockPos blockPos, BlockEntityType<T> blockEntityType)
default <T extends BlockEntity>
Optional<T>RegistryWorldView. method_35230(BlockPos blockPos, BlockEntityType<T> blockEntityType)
<T extends BlockEntity>
Optional<T>TestableWorld. method_35230(BlockPos blockPos, BlockEntityType<T> blockEntityType)
boolean
ChunkRegion. method_35237(BlockPos blockPos, Predicate<FluidState> predicate)
boolean
TestableWorld. method_35237(BlockPos blockPos, Predicate<FluidState> predicate)
boolean
World. method_35237(BlockPos blockPos, Predicate<FluidState> predicate)
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
TickScheduler. schedule(BlockPos pos, T object, int delay)
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)
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)
NbtCompound
MobSpawnerLogic. writeNbt(@Nullable World world, BlockPos pos, NbtCompound nbt)
Method parameters in net.minecraft.world with type arguments of type BlockPos Modifier and Type Method Description default 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
ChunkTickScheduler. tick(TickScheduler<T> scheduler, Function<BlockPos,T> dataMapper)
Constructors in net.minecraft.world with parameters of type BlockPos Constructor Description Rectangle(BlockPos lowerLeft, int width, int height)
ScheduledTick(BlockPos pos, T t)
ScheduledTick(BlockPos pos, T t, long time, TickPriority priority)
Vibration(BlockPos origin, PositionSource destination, int arrivalInTicks)
Constructor parameters in net.minecraft.world with type arguments of type BlockPos Constructor Description BlockCollisionSpliterator(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
Methods in net.minecraft.world.biome with parameters of type BlockPos Modifier and Type Method Description boolean
Biome. canSetIce(WorldView world, BlockPos blockPos)
boolean
Biome. canSetIce(WorldView world, BlockPos pos, boolean doWaterCheck)
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
Biome. isCold(BlockPos pos)
-
Uses of BlockPos in net.minecraft.world.biome.source
Methods in net.minecraft.world.biome.source that return BlockPos Modifier and Type Method Description @Nullable BlockPos
BiomeSource. locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
@Nullable BlockPos
BiomeSource. locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)
@Nullable BlockPos
FixedBiomeSource. locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
Methods in net.minecraft.world.biome.source with parameters of type BlockPos Modifier and Type Method Description Biome
BiomeAccess. getBiome(BlockPos pos)
Biome
BiomeAccess. getBiomeForNoiseGen(BlockPos pos)
-
Uses of BlockPos in net.minecraft.world.border
Methods in net.minecraft.world.border with parameters of type BlockPos Modifier and Type Method Description boolean
WorldBorder. contains(BlockPos pos)
-
Uses of BlockPos in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type BlockPos Modifier and Type Field Description private Map<BlockPos,BlockEntity>
ProtoChunk. blockEntities
private Map<BlockPos,BlockEntity>
WorldChunk. blockEntities
private Map<BlockPos,NbtCompound>
ProtoChunk. blockEntityTags
private Map<BlockPos,WorldChunk.WrappedBlockEntityTickInvoker>
WorldChunk. blockEntityTickers
private List<BlockPos>
ProtoChunk. lightSources
private Map<BlockPos,NbtCompound>
WorldChunk. pendingBlockEntityNbts
Methods in net.minecraft.world.chunk that return BlockPos Modifier and Type Method Description BlockPos
BlockEntityTickInvoker. getPos()
BlockPos
WorldChunk.DirectBlockEntityTickInvoker. getPos()
BlockPos
WorldChunk.WrappedBlockEntityTickInvoker. getPos()
static BlockPos
ProtoChunk. joinBlockPos(short sectionRel, int sectionY, ChunkPos chunkPos)
BlockPos
Chunk. method_35319(Heightmap.Type type)
BlockPos
ProtoChunk. method_35319(Heightmap.Type type)
BlockPos
ReadOnlyChunk. method_35319(Heightmap.Type type)
BlockPos
WorldChunk. method_35319(Heightmap.Type type)
Methods in net.minecraft.world.chunk that return types with arguments of type BlockPos Modifier and Type Method Description Map<BlockPos,BlockEntity>
ProtoChunk. getBlockEntities()
Map<BlockPos,BlockEntity>
WorldChunk. getBlockEntities()
Map<BlockPos,NbtCompound>
ProtoChunk. getBlockEntityNbts()
Set<BlockPos>
Chunk. getBlockEntityPositions()
Set<BlockPos>
ProtoChunk. getBlockEntityPositions()
Set<BlockPos>
WorldChunk. getBlockEntityPositions()
Stream<BlockPos>
Chunk. getLightSourcesStream()
Stream<BlockPos>
ProtoChunk. getLightSourcesStream()
Stream<BlockPos>
ReadOnlyChunk. getLightSourcesStream()
Stream<BlockPos>
WorldChunk. getLightSourcesStream()
Constructors in net.minecraft.world.chunk with parameters of type BlockPos Constructor Description ChunkCache(World world, BlockPos minPos, BlockPos maxPos)
-
Uses of BlockPos in net.minecraft.world.chunk.light
Methods in net.minecraft.world.chunk.light with parameters of type BlockPos Modifier and Type Method Description void
ChunkBlockLightProvider. addLightSource(BlockPos blockPos, int int2)
void
ChunkLightingView.Empty. addLightSource(BlockPos blockPos, int int2)
void
ChunkLightProvider. addLightSource(BlockPos blockPos, int int2)
void
LightingProvider. addLightSource(BlockPos blockPos, int int2)
void
LightingView. addLightSource(BlockPos blockPos, int int2)
void
ChunkLightingView.Empty. checkBlock(BlockPos blockPos)
void
ChunkLightProvider. checkBlock(BlockPos blockPos)
void
LightingProvider. checkBlock(BlockPos blockPos)
void
LightingView. checkBlock(BlockPos blockPos)
int
LightingProvider. getLight(BlockPos pos, int ambientDarkness)
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
Fields in net.minecraft.world.dimension declared as BlockPos Modifier and Type Field Description private @Nullable BlockPos
AreaHelper. lowerCorner
Methods in net.minecraft.world.dimension that return BlockPos Modifier and Type Method Description private @Nullable BlockPos
AreaHelper. getLowerCorner(BlockPos pos)
Methods in net.minecraft.world.dimension with parameters of type BlockPos Modifier and Type Method Description private @Nullable BlockPos
AreaHelper. 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
AreaHelper. getWidth(BlockPos pos, Direction direction)
Constructors in net.minecraft.world.dimension with parameters of type BlockPos Constructor Description AreaHelper(WorldAccess world, BlockPos pos, Direction.Axis axis)
-
Uses of BlockPos in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return BlockPos Modifier and Type Method Description BlockPos
EntityLike. getBlockPos()
-
Uses of BlockPos in net.minecraft.world.event
Fields in net.minecraft.world.event with type parameters of type BlockPos Modifier and Type Field Description private Optional<BlockPos>
BlockPositionSource. pos
Methods in net.minecraft.world.event that return types with arguments of type BlockPos Modifier and Type Method Description Optional<BlockPos>
BlockPositionSource. getPos(World world)
Optional<BlockPos>
EntityPositionSource. getPos(World world)
Optional<BlockPos>
PositionSource. getPos(World world)
Constructors in net.minecraft.world.event with parameters of type BlockPos Constructor Description BlockPositionSource(BlockPos pos)
Constructor parameters in net.minecraft.world.event with type arguments of type BlockPos Constructor Description BlockPositionSource(Optional<BlockPos> pos)
-
Uses of BlockPos in net.minecraft.world.event.listener
Methods in net.minecraft.world.event.listener with parameters of type BlockPos Modifier and Type Method Description boolean
SculkSensorListener.Callback. accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)
Returns whether the callback wants to accept this event.void
GameEventDispatcher. dispatch(GameEvent event, @Nullable Entity entity, BlockPos pos)
Dispatches an event to all the listeners in this dispatcher.void
SimpleGameEventDispatcher. dispatch(GameEvent event, @Nullable Entity entity, BlockPos pos)
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
GameEventListener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)
Listens to an incoming game event.boolean
SculkSensorListener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)
Listens to an incoming game event.private void
SculkSensorListener. listen(World world, GameEvent event, BlockPos pos, BlockPos sourcePos)
-
Uses of BlockPos in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion with type parameters of type BlockPos Modifier and Type Field Description private List<BlockPos>
Explosion. affectedBlocks
Methods in net.minecraft.world.explosion that return types with arguments of type BlockPos Modifier and Type Method Description List<BlockPos>
Explosion. getAffectedBlocks()
Methods in net.minecraft.world.explosion with parameters of type BlockPos Modifier and Type Method Description boolean
EntityExplosionBehavior. canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
boolean
ExplosionBehavior. canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
Optional<Float>
EntityExplosionBehavior. getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
Optional<Float>
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)
Method parameters in net.minecraft.world.explosion with type arguments of type BlockPos Modifier and Type Method Description private static void
Explosion. tryMergeStack(ObjectArrayList<com.mojang.datafixers.util.Pair<ItemStack,BlockPos>> stacks, ItemStack stack, BlockPos pos)
Constructor parameters in net.minecraft.world.explosion with type arguments of type BlockPos Constructor Description Explosion(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
Methods in net.minecraft.world.gen with parameters of type BlockPos Modifier and Type Method Description StructureStart<?>
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
Method parameters in net.minecraft.world.gen.carver with type arguments of type BlockPos Modifier and Type Method Description abstract boolean
Carver. carve(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, int seaLevel, ChunkPos pos, BitSet carvingMask)
boolean
CaveCarver. carve(CarverContext carverContext, class_6108 class_6108, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, ChunkPos chunkPos, BitSet bitSet)
boolean
ConfiguredCarver. carve(CarverContext context, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, int chunkX, ChunkPos pos, BitSet carvingMask)
boolean
RavineCarver. carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, 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, int mainChunkX, MutableBoolean foundSurface)
protected boolean
NetherCaveCarver. carveAtPoint(CarverContext carverContext, class_6108 class_6108, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, int int2, MutableBoolean mutableBoolean)
protected void
CaveCarver. carveCave(CarverContext context, class_6108 config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, 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, int seaLevel, 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, int seaLevel, double x, double y, double z, double horizontalScale, double verticalScale, BitSet carvingMask, Carver.SkipPredicate skipPredicate)
protected void
CaveCarver. carveTunnels(CarverContext context, class_6108 config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, 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
Methods in net.minecraft.world.gen.chunk that return BlockPos Modifier and Type Method Description @Nullable BlockPos
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.Methods in net.minecraft.world.gen.chunk with parameters of type BlockPos Modifier and Type Method Description class_6012<SpawnSettings.SpawnEntry>
ChunkGenerator. getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
class_6012<SpawnSettings.SpawnEntry>
NoiseChunkGenerator. getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
BlockState
VerticalBlockSample. getState(BlockPos pos)
@Nullable BlockPos
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
Methods in net.minecraft.world.gen.decorator that return types with arguments of type BlockPos Modifier and Type Method Description Stream<BlockPos>
AbstractCountDecorator. getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
Stream<BlockPos>
AbstractRangeDecorator. getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
Stream<BlockPos>
CarvingMaskDecorator. getPositions(DecoratorContext decoratorContext, Random random, CarvingMaskDecoratorConfig carvingMaskDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
CaveSurfaceDecorator. getPositions(DecoratorContext decoratorContext, Random random, CaveSurfaceDecoratorConfig caveSurfaceDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
ConfiguredDecorator. getPositions(DecoratorContext context, Random random, BlockPos pos)
Stream<BlockPos>
CountMultilayerDecorator. getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
Stream<BlockPos>
DarkOakTreeDecorator. getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
DecoratedDecorator. getPositions(DecoratorContext decoratorContext, Random random, DecoratedDecoratorConfig decoratedDecoratorConfig, BlockPos blockPos)
abstract Stream<BlockPos>
Decorator. getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
Stream<BlockPos>
HeightmapDecorator. getPositions(DecoratorContext decoratorContext, Random random, HeightmapDecoratorConfig heightmapDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
IcebergDecorator. getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
NopeDecorator. getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
SpreadDoubleHeightmapDecorator. getPositions(DecoratorContext decoratorContext, Random random, HeightmapDecoratorConfig heightmapDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
SquareDecorator. getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
WaterDepthThresholdDecorator. getPositions(DecoratorContext decoratorContext, Random random, WaterDepthThresholdDecoratorConfig waterDepthThresholdDecoratorConfig, BlockPos blockPos)
Methods in net.minecraft.world.gen.decorator with parameters of type BlockPos Modifier and Type Method Description BlockState
DecoratorContext. getBlockState(BlockPos pos)
protected abstract int
AbstractCountDecorator. getCount(Random random, DC config, BlockPos pos)
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
GlowstoneDecorator. getCount(Random random, CountConfig countConfig, BlockPos blockPos)
protected int
LavaLakeDecorator. getCount(Random random, ChanceDecoratorConfig chanceDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
AbstractCountDecorator. getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
Stream<BlockPos>
AbstractRangeDecorator. getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
Stream<BlockPos>
CarvingMaskDecorator. getPositions(DecoratorContext decoratorContext, Random random, CarvingMaskDecoratorConfig carvingMaskDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
CaveSurfaceDecorator. getPositions(DecoratorContext decoratorContext, Random random, CaveSurfaceDecoratorConfig caveSurfaceDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
ConfiguredDecorator. getPositions(DecoratorContext context, Random random, BlockPos pos)
Stream<BlockPos>
CountMultilayerDecorator. getPositions(DecoratorContext decoratorContext, Random random, CountConfig countConfig, BlockPos blockPos)
Stream<BlockPos>
DarkOakTreeDecorator. getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
DecoratedDecorator. getPositions(DecoratorContext decoratorContext, Random random, DecoratedDecoratorConfig decoratedDecoratorConfig, BlockPos blockPos)
abstract Stream<BlockPos>
Decorator. getPositions(DecoratorContext context, Random random, DC config, BlockPos pos)
Stream<BlockPos>
HeightmapDecorator. getPositions(DecoratorContext decoratorContext, Random random, HeightmapDecoratorConfig heightmapDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
IcebergDecorator. getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
NopeDecorator. getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
SpreadDoubleHeightmapDecorator. getPositions(DecoratorContext decoratorContext, Random random, HeightmapDecoratorConfig heightmapDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
SquareDecorator. getPositions(DecoratorContext decoratorContext, Random random, NopeDecoratorConfig nopeDecoratorConfig, BlockPos blockPos)
Stream<BlockPos>
WaterDepthThresholdDecorator. getPositions(DecoratorContext decoratorContext, Random random, WaterDepthThresholdDecoratorConfig waterDepthThresholdDecoratorConfig, BlockPos blockPos)
-
Uses of BlockPos in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as BlockPos Modifier and Type Field Description private @Nullable BlockPos
EndSpikeFeatureConfig. crystalBeamTarget
static BlockPos
EndPortalFeature. ORIGIN
private BlockPos
LargeDripstoneFeature.DripstoneGenerator. pos
private static BlockPos
VoidStartPlatformFeature. START_BLOCK
Fields in net.minecraft.world.gen.feature with type parameters of type BlockPos Modifier and Type Field Description private Optional<BlockPos>
EndGatewayFeatureConfig. exitPos
Methods in net.minecraft.world.gen.feature that return BlockPos Modifier and Type Method Description BlockPos
BuriedTreasureFeature.Start. getBlockPos()
BlockPos
DefaultFlowerFeature. getPos(Random random, BlockPos blockPos, RandomPatchFeatureConfig randomPatchFeatureConfig)
@Nullable BlockPos
EndSpikeFeatureConfig. getPos()
abstract BlockPos
FlowerFeature. getPos(Random random, BlockPos pos, U config)
@Nullable 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.private BlockPos
LargeDripstoneFeature.WindModifier. modify(BlockPos pos)
private static @Nullable BlockPos
BasaltColumnsFeature. moveDownToGround(WorldAccess world, int seaLevel, BlockPos.Mutable mutablePos, int distance)
private static @Nullable BlockPos
ReplaceBlobsFeature. moveDownToTarget(WorldAccess world, BlockPos.Mutable mutablePos, Block target)
private static @Nullable BlockPos
BasaltColumnsFeature. moveUpToAir(WorldAccess world, BlockPos.Mutable mutablePos, int distance)
private static BlockPos
SmallDripstoneFeature. randomPos(Random random, BlockPos pos, SmallDripstoneFeatureConfig config)
Methods in net.minecraft.world.gen.feature that return types with arguments of type BlockPos Modifier and Type Method Description Optional<BlockPos>
EndGatewayFeatureConfig. getExitPos()
protected Set<BlockPos>
VegetationPatchFeature. placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ)
protected Set<BlockPos>
WaterloggedVegetationPatchFeature. placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ)
Methods in net.minecraft.world.gen.feature with parameters of type BlockPos Modifier and Type Method Description private 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)
private static boolean
TreeFeature. canPlaceTreeOn(TestableWorld world, BlockPos pos)
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)
BlockState
DefaultFlowerFeature. getFlowerState(Random random, BlockPos blockPos, RandomPatchFeatureConfig randomPatchFeatureConfig)
abstract BlockState
FlowerFeature. getFlowerState(Random random, BlockPos pos, U config)
BlockPos
DefaultFlowerFeature. getPos(Random random, BlockPos blockPos, RandomPatchFeatureConfig randomPatchFeatureConfig)
abstract BlockPos
FlowerFeature. getPos(Random random, BlockPos pos, U config)
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)
private static boolean
RuinedPortalFeature. isColdAt(BlockPos pos, Biome biome)
static boolean
Feature. isExposedToAir(Function<BlockPos,BlockState> posToState, BlockPos pos)
boolean
EndSpikeFeature.Spike. isInChunk(BlockPos pos)
private boolean
DripstoneClusterFeature. isLava(WorldView world, BlockPos pos)
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)
@Nullable 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.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)
private BlockPos
LargeDripstoneFeature.WindModifier. modify(BlockPos pos)
private void
IcebergFeature. placeAt(WorldAccess world, Random random, BlockPos pos, int height, int offsetX, int offsetY, int offsetZ, int int2, int int3, boolean bool, int int4, double randomSine, boolean placeSnow, BlockState state)
private boolean
BasaltColumnsFeature. placeBasaltColumn(WorldAccess world, int seaLevel, BlockPos pos, int height, int reach)
private void
IcebergFeature. placeBlockOrSnow(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state)
private void
DripstoneClusterFeature. placeDripstoneBlocks(StructureWorldAccess world, BlockPos pos, int height, Direction direction)
protected Set<BlockPos>
VegetationPatchFeature. placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ)
protected Set<BlockPos>
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)
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)
Method parameters in net.minecraft.world.gen.feature with type arguments of type BlockPos Modifier and Type Method Description private 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)
Constructors in net.minecraft.world.gen.feature with parameters of type BlockPos Constructor Description DripstoneGenerator(BlockPos pos, boolean isStalagmite, int scale, double bluntness, double heightScale)
EndSpikeFeatureConfig(boolean crystalInvulnerable, List<EndSpikeFeature.Spike> spikes, @Nullable BlockPos crystalBeamTarget)
Constructor parameters in net.minecraft.world.gen.feature with type arguments of type BlockPos Constructor Description EndGatewayFeatureConfig(Optional<BlockPos> exitPos, boolean exact)
EndSpikeFeatureConfig(boolean crystalInvulnerable, List<EndSpikeFeature.Spike> spikes, Optional<BlockPos> crystalBeamTarget)
-
Uses of BlockPos in net.minecraft.world.gen.feature.util
Fields in net.minecraft.world.gen.feature.util declared as BlockPos Modifier and Type Field Description private BlockPos
FeatureContext. origin
Methods in net.minecraft.world.gen.feature.util that return BlockPos Modifier and Type Method Description BlockPos
FeatureContext. getOrigin()
Methods in net.minecraft.world.gen.feature.util with parameters of type BlockPos Modifier and Type Method Description protected 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)
Constructors in net.minecraft.world.gen.feature.util with parameters of type BlockPos Constructor Description FeatureContext(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config)
-
Uses of BlockPos in net.minecraft.world.gen.foliage
Fields in net.minecraft.world.gen.foliage declared as BlockPos Modifier and Type Field Description private BlockPos
FoliagePlacer.TreeNode. center
Methods in net.minecraft.world.gen.foliage that return BlockPos Modifier and Type Method Description BlockPos
FoliagePlacer.TreeNode. getCenter()
Methods in net.minecraft.world.gen.foliage with parameters of type BlockPos Modifier and Type Method Description protected void
FoliagePlacer. generateSquare(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int y, boolean giantTrunk)
Generates a square of leaves with the given radius.protected static void
FoliagePlacer. placeFoliageBlock(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig config, BlockPos blockPos)
Method parameters in net.minecraft.world.gen.foliage with type arguments of type BlockPos Modifier and Type Method Description protected void
AcaciaFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
BlobFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
BushFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
DarkOakFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.void
FoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int int3, int int4)
protected abstract void
FoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
JungleFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
LargeOakFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
MegaPineFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
PineFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
RandomSpreadFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
SpruceFoliagePlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, int int2, FoliagePlacer.TreeNode treeNode, int radius, int int3, int offset)
This is the main method used to generate foliage.protected void
FoliagePlacer. generateSquare(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int y, boolean giantTrunk)
Generates a square of leaves with the given radius.protected static void
FoliagePlacer. placeFoliageBlock(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, TreeFeatureConfig config, BlockPos blockPos)
Constructors in net.minecraft.world.gen.foliage with parameters of type BlockPos Constructor Description TreeNode(BlockPos center, int foliageRadius, boolean giantTrunk)
-
Uses of BlockPos in net.minecraft.world.gen.placer
Methods in net.minecraft.world.gen.placer with parameters of type BlockPos Modifier and Type Method Description abstract 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
Methods in net.minecraft.world.gen.stateprovider with parameters of type BlockPos Modifier and Type Method Description abstract BlockState
BlockStateProvider. getBlockState(Random random, BlockPos pos)
BlockState
ForestFlowerBlockStateProvider. getBlockState(Random random, BlockPos pos)
BlockState
PillarBlockStateProvider. getBlockState(Random random, BlockPos pos)
BlockState
PlainsFlowerBlockStateProvider. getBlockState(Random random, BlockPos pos)
BlockState
RandomizedIntBlockStateProvider. getBlockState(Random random, BlockPos pos)
BlockState
SimpleBlockStateProvider. getBlockState(Random random, BlockPos pos)
BlockState
WeightedBlockStateProvider. getBlockState(Random random, BlockPos pos)
-
Uses of BlockPos in net.minecraft.world.gen.treedecorator
Methods in net.minecraft.world.gen.treedecorator with parameters of type BlockPos Modifier and Type Method Description protected static void
TreeDecorator. placeVine(BiConsumer<BlockPos,BlockState> biConsumer, BlockPos blockPos, BooleanProperty booleanProperty)
private static void
LeavesVineTreeDecorator. placeVines(TestableWorld testableWorld, BlockPos blockPos, BooleanProperty booleanProperty, BiConsumer<BlockPos,BlockState> biConsumer)
Places a vine at a given position and then up to 4 more vines going downwards.private void
AlterGroundTreeDecorator. setArea(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos)
private void
AlterGroundTreeDecorator. setColumn(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos)
Method parameters in net.minecraft.world.gen.treedecorator with type arguments of type BlockPos Modifier and Type Method Description void
AlterGroundTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
AlterGroundTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
BeehiveTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
BeehiveTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
CocoaBeansTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
CocoaBeansTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
LeavesVineTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
LeavesVineTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
abstract void
TreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
abstract void
TreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
TrunkVineTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
void
TrunkVineTreeDecorator. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, List<BlockPos> leavesPositions, List<BlockPos> list)
protected static void
TreeDecorator. placeVine(BiConsumer<BlockPos,BlockState> biConsumer, BlockPos blockPos, BooleanProperty booleanProperty)
private static void
LeavesVineTreeDecorator. placeVines(TestableWorld testableWorld, BlockPos blockPos, BooleanProperty booleanProperty, BiConsumer<BlockPos,BlockState> biConsumer)
Places a vine at a given position and then up to 4 more vines going downwards.private void
AlterGroundTreeDecorator. setArea(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos)
private void
AlterGroundTreeDecorator. setColumn(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos)
-
Uses of BlockPos in net.minecraft.world.gen.trunk
Methods in net.minecraft.world.gen.trunk with parameters of type BlockPos Modifier and Type Method Description private static boolean
TrunkPlacer. canGenerate(TestableWorld world, BlockPos pos)
List<FoliagePlacer.TreeNode>
BendingTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
DarkOakTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
ForkingTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
GiantTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
LargeOakTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
MegaJungleTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
StraightTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>
TrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundprotected static boolean
TrunkPlacer. getAndSetState(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig, Function<BlockState,BlockState> function)
private Direction.Axis
LargeOakTrunkPlacer. getLogAxis(BlockPos branchStart, BlockPos branchEnd)
private int
LargeOakTrunkPlacer. getLongestSide(BlockPos offset)
private void
LargeOakTrunkPlacer. makeBranches(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, List<LargeOakTrunkPlacer.BranchPosition> list, TreeFeatureConfig treeFeatureConfig)
private boolean
LargeOakTrunkPlacer. makeOrCheckBranch(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos, BlockPos blockPos2, boolean bool, TreeFeatureConfig treeFeatureConfig)
protected static boolean
TrunkPlacer. method_35375(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
private static void
GiantTrunkPlacer. setLog(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4)
protected static void
TrunkPlacer. setToDirt(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Method parameters in net.minecraft.world.gen.trunk with type arguments of type BlockPos Modifier and Type Method Description List<FoliagePlacer.TreeNode>
BendingTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
DarkOakTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
ForkingTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
GiantTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
LargeOakTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
MegaJungleTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundList<FoliagePlacer.TreeNode>
StraightTrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>
TrunkPlacer. generate(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
Generates the trunk blocks and return a list of tree nodes to place foliage aroundprotected static boolean
TrunkPlacer. getAndSetState(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig, Function<BlockState,BlockState> function)
private void
LargeOakTrunkPlacer. makeBranches(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, int int2, BlockPos blockPos, List<LargeOakTrunkPlacer.BranchPosition> list, TreeFeatureConfig treeFeatureConfig)
private boolean
LargeOakTrunkPlacer. makeOrCheckBranch(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos, BlockPos blockPos2, boolean bool, TreeFeatureConfig treeFeatureConfig)
protected static boolean
TrunkPlacer. method_35375(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
private static void
GiantTrunkPlacer. setLog(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4)
protected static void
TrunkPlacer. setToDirt(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig)
protected static void
TrunkPlacer. trySetState(TestableWorld testableWorld, BiConsumer<BlockPos,BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig)
Constructors in net.minecraft.world.gen.trunk with parameters of type BlockPos Constructor Description BranchPosition(BlockPos pos, int width)
-
Uses of BlockPos in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type BlockPos Modifier and Type Method Description void
LevelProperties. setSpawnPos(BlockPos pos, float angle)
void
UnmodifiableLevelProperties. setSpawnPos(BlockPos pos, float angle)
-
Uses of BlockPos in net.minecraft.world.poi
Fields in net.minecraft.world.poi declared as BlockPos Modifier and Type Field Description private BlockPos
PointOfInterest. pos
Methods in net.minecraft.world.poi that return BlockPos Modifier and Type Method Description BlockPos
PointOfInterest. getPos()
Methods in net.minecraft.world.poi with parameters of type BlockPos Modifier and Type Method Description void
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>
PointOfInterestSet. get(BlockPos pos)
Stream<PointOfInterest>
PointOfInterestStorage. getInCircle(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
Stream<PointOfInterest>
PointOfInterestStorage. getInSquare(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
Optional<BlockPos>
PointOfInterestStorage. getNearestPosition(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
Optional<BlockPos>
PointOfInterestStorage. getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, BlockPos pos, int radius)
Optional<BlockPos>
PointOfInterestStorage. getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
Optional<BlockPos>
PointOfInterestStorage. getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random)
Stream<BlockPos>
PointOfInterestStorage. getPositions(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
Stream<BlockPos>
PointOfInterestStorage. getSortedPositions(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus)
Optional<PointOfInterestType>
PointOfInterestSet. getType(BlockPos pos)
Optional<PointOfInterestType>
PointOfInterestStorage. getType(BlockPos pos)
boolean
PointOfInterestStorage. hasTypeAt(PointOfInterestType type, BlockPos pos)
Optional<BlockPos>
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
PointOfInterestSet. remove(BlockPos pos)
void
PointOfInterestStorage. remove(BlockPos pos)
boolean
PointOfInterestSet. test(BlockPos pos, Predicate<PointOfInterestType> predicate)
boolean
PointOfInterestStorage. test(BlockPos pos, Predicate<PointOfInterestType> predicate)
Method parameters in net.minecraft.world.poi with type arguments of type BlockPos Modifier and Type Method Description private void
PointOfInterestStorage. scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos chunkSectionPos, BiConsumer<BlockPos,PointOfInterestType> biConsumer)
void
PointOfInterestSet. updatePointsOfInterest(Consumer<BiConsumer<BlockPos,PointOfInterestType>> consumer)
Constructors in net.minecraft.world.poi with parameters of type BlockPos Constructor Description PointOfInterest(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener)
PointOfInterest(BlockPos pos, PointOfInterestType type, Runnable updateListener)