Uses of Class
net.minecraft.util.math.BlockPos
Packages that use BlockPos
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
The basic AI system for Minecraft living entities.
The Named Binary Tag (NBT) data format.
-
Uses of BlockPos in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanPlacedBlockCriterion.Conditions.matches(BlockState state, BlockPos pos, ServerWorld world, ItemStack stack) booleanItemCriterion.Conditions.test(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack) voidItemCriterion.trigger(ServerPlayerEntity player, BlockPos pos, ItemStack stack) voidPlacedBlockCriterion.trigger(ServerPlayerEntity player, BlockPos blockPos, ItemStack stack) voidUsedEnderEyeCriterion.trigger(ServerPlayerEntity player, BlockPos strongholdPos) -
Uses of BlockPos in net.minecraft.block
Fields in net.minecraft.block declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosComposterBlock.ComposterInventory.posprivate final BlockPosComposterBlock.FullComposterInventory.posprivate final BlockPosLichenGrower.GrowPos.posThe field for theposrecord component.private final BlockPosPointedDripstoneBlock.DrippingFluid.posThe field for theposrecord component.private final BlockPosRailPlacementHelper.pos(package private) final BlockPosRedstoneTorchBlock.BurnoutEntry.posFields in net.minecraft.block with type parameters of type BlockPosModifier and TypeFieldDescriptionEnchantingTableBlock.BOOKSHELF_OFFSETSRailPlacementHelper.neighborsMethods in net.minecraft.block that return BlockPosModifier and TypeMethodDescriptionPointedDripstoneBlock.getCauldronPos(World world, BlockPos pos, Fluid fluid) PointedDripstoneBlock.getDripPos(World world, BlockPos pos) PointedDripstoneBlock.getTipPos(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) LichenGrower.GrowPos.pos()Returns the value of theposrecord component.PointedDripstoneBlock.DrippingFluid.pos()Returns the value of theposrecord component.Methods in net.minecraft.block that return types with arguments of type BlockPosModifier and TypeMethodDescriptionRailPlacementHelper.getNeighbors()AbstractPlantBlock.getStemHeadPos(BlockView world, BlockPos pos, Block block) PointedDripstoneBlock.getSupportingPos(World world, BlockPos pos, BlockState state, int range) PointedDripstoneBlock.searchInDirection(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) Methods in net.minecraft.block with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanSpongeBlock.absorbWater(World world, BlockPos pos) private voidBeehiveBlock.addHoneyParticle(World world, BlockPos pos, VoxelShape shape, double height) private voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3) (package private) static BlockStateComposterBlock.addToComposter(BlockState state, WorldAccess world, BlockPos pos, ItemStack item) voidBeehiveBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidIceBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidTallPlantBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidTurtleEggBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) booleanAbstractBlock.AbstractBlockState.allowsSpawning(BlockView world, BlockPos pos, EntityType<?> type) private static booleanBlocks.always(BlockState state, BlockView world, BlockPos pos) A shortcut to always returntruea context predicate, used assettings.solidBlock(Blocks::always).private static BooleanBlocks.always(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returntruein a typed context predicate with anEntityType, used likesettings.allowSpawning(Blocks::always).private voidBeehiveBlock.angerNearbyBees(World world, BlockPos pos) voidCropBlock.applyGrowth(World world, BlockPos pos, BlockState state) private booleanFireBlock.areBlocksAroundFlammable(BlockView world, BlockPos pos) static voidSculkCatalystBlock.bloom(ServerWorld world, BlockPos pos, BlockState state, Random random) private voidTurtleEggBlock.breakEgg(World world, BlockPos pos, BlockState state) private voidFrogspawnBlock.breakWithoutDrop(World world, BlockPos pos) floatAbstractBlock.AbstractBlockState.calcBlockBreakingDelta(PlayerEntity player, BlockView world, BlockPos pos) floatAbstractBlock.calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) Deprecated.floatBambooBlock.calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) floatBambooSaplingBlock.calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) static intScaffoldingBlock.calculateDistance(BlockView world, BlockPos pos) private intComparatorBlock.calculateOutputSignal(World world, BlockPos pos, BlockState state) static booleanEnchantingTableBlock.canAccessBookshelf(World world, BlockPos tablePos, BlockPos bookshelfOffset) private booleanRailPlacementHelper.canConnect(BlockPos pos) booleanCarvedPumpkinBlock.canDispense(WorldView world, BlockPos pos) static booleanWitherSkullBlock.canDispense(World world, BlockPos pos, ItemStack stack) private static booleanPointedDripstoneBlock.canDripThrough(BlockView world, BlockPos pos, BlockState state) Returns whether it can drip through the blockblockatpos.booleanFluidFillable.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanKelpBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanKelpPlantBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanSeagrassBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanSlabBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanTallSeagrassBlock.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) default booleanWaterloggable.canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanAbstractPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanAbstractPlantStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanAzaleaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBambooBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBambooSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBigDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCaveVinesBodyBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCaveVinesHeadBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCocoaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCropBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFernBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFertilizable.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFungusBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanGlowLichenBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanGrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanLichenGrower.canGrow(BlockState state, BlockView world, BlockPos pos, Direction direction) booleanLichenGrower.GrowChecker.canGrow(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) booleanLichenGrower.LichenGrowChecker.canGrow(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) protected booleanLichenGrower.LichenGrowChecker.canGrow(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) booleanMangroveLeavesBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMossBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMushroomPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanNetherrackBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanNyliumBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) private static booleanPointedDripstoneBlock.canGrow(BlockState state, ServerWorld world, BlockPos pos) booleanPropaguleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanRootedDirtBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSculkVeinBlock.SculkVeinGrowChecker.canGrow(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) booleanSeagrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSeaPickleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSmallDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanTallFlowerBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) private booleanprotected static booleanBigDripleafBlock.canGrowInto(HeightLimitView world, BlockPos pos, BlockState state) static booleanMultifaceGrowthBlock.canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state) booleanMultifaceGrowthBlock.canGrowWithDirection(BlockView world, BlockState state, BlockPos pos, Direction direction) private static booleanprivate booleanprivate static booleanShulkerBoxBlock.canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) booleanAbstractBlock.AbstractBlockState.canPathfindThrough(BlockView world, BlockPos pos, NavigationType type) booleanAbstractBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanAbstractCauldronBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanAbstractSkullBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanAnvilBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanBambooBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanBedBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanBellBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanBrewingStandBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanCactusBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanCakeBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanCampfireBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanCandleCakeBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanChainBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanChestBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanChorusPlantBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanCocoaBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanComposterBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanConduitBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanDirtPathBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanDoorBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanDragonEggBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanEnchantingTableBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanEnderChestBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanEndPortalFrameBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanFarmlandBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanFenceBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanFenceGateBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanFlowerPotBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanFluidBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanGrindstoneBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanHopperBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanHorizontalConnectingBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanLanternBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanLecternBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanMudBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanPistonBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanPistonExtensionBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanPistonHeadBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanPlantBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanPointedDripstoneBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanPowderSnowBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanRespawnAnchorBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanRodBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanSculkSensorBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanSeaPickleBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanSlabBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanSnowBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanSoulSandBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanStairsBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanStonecutterBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanTrapdoorBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanWallBlock.canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) booleanAbstractBlock.AbstractBlockState.canPlaceAt(WorldView world, BlockPos pos) booleanAbstractBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Deprecated.static booleanAbstractFireBlock.canPlaceAt(World world, BlockPos pos, Direction direction) booleanAbstractPlantPartBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanAbstractPressurePlateBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanAbstractRailBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanAbstractRedstoneGateBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanAmethystClusterBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanBambooBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanBambooSaplingBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanBannerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanBellBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanBigDripleafBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanBigDripleafStemBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanBubbleColumnBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanCactusBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanCakeBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanCandleBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanCandleCakeBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanCarpetBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanChorusFlowerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanChorusPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanCocoaBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanCoralParentBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanCropBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanDeadCoralWallFanBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanDirtPathBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanDoorBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanFarmlandBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanFireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanFrogspawnBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanGrindstoneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanHangingRootsBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanLadderBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanLanternBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanMultifaceGrowthBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanMushroomPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanPistonHeadBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanPointedDripstoneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanPropaguleBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanRedstoneWireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanScaffoldingBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanSeaPickleBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanSignBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanSmallDripleafBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanSnowBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanSoulFireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanSporeBlossomBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanSugarCaneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanTallPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanTallSeagrassBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanTorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanTripwireHookBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanVineBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanWallBannerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanWallMountedBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) static booleanWallMountedBlock.canPlaceAt(WorldView world, BlockPos pos, Direction direction) booleanWallRedstoneTorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanWallSignBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) booleanWallTorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) private static booleanPointedDripstoneBlock.canPlaceAtWithDirection(WorldView world, BlockPos pos, Direction direction) private booleanLadderBlock.canPlaceOn(BlockView world, BlockPos pos, Direction side) protected booleanAttachedStemBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanAzaleaBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanCropBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanDeadBushBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanFungusBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanLilyPadBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanMushroomPlantBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanNetherWartBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanPlantBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanPropaguleBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanRootsBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanSeagrassBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanSeaPickleBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanSmallDripleafBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanSproutsBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanStemBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanTallSeagrassBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) protected booleanWitherRoseBlock.canPlantOnTop(BlockState floor, BlockView world, BlockPos pos) private booleanRedstoneWireBlock.canRunOnTop(BlockView world, BlockPos pos, BlockState floor) private static BooleanBlocks.canSpawnOnLeaves(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) private static booleanSpreadableBlock.canSpread(BlockState state, WorldView world, BlockPos pos) private static booleanSpreadableBlock.canSurvive(BlockState state, WorldView world, BlockPos pos) private static voidBigDripleafBlock.changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt) private voidBigDripleafBlock.changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound) static voidRespawnAnchorBlock.charge(World world, BlockPos pos, BlockState state) protected voidCoralParentBlock.checkLivingConditions(BlockState state, WorldAccess world, BlockPos pos) static BlockStateComposterBlock.compost(BlockState state, ServerWorld world, ItemStack stack, BlockPos pos) private booleanSculkVeinBlock.convertToBlock(SculkSpreadManager spreadManager, WorldAccess world, BlockPos pos, Random random) protected intBambooBlock.countBambooAbove(BlockView world, BlockPos pos) protected intBambooBlock.countBambooBelow(BlockView world, BlockPos pos) AbstractBannerBlock.createBlockEntity(BlockPos pos, BlockState state) AbstractSignBlock.createBlockEntity(BlockPos pos, BlockState state) AbstractSkullBlock.createBlockEntity(BlockPos pos, BlockState state) BarrelBlock.createBlockEntity(BlockPos pos, BlockState state) BeaconBlock.createBlockEntity(BlockPos pos, BlockState state) BedBlock.createBlockEntity(BlockPos pos, BlockState state) BeehiveBlock.createBlockEntity(BlockPos pos, BlockState state) BellBlock.createBlockEntity(BlockPos pos, BlockState state) BlastFurnaceBlock.createBlockEntity(BlockPos pos, BlockState state) BlockEntityProvider.createBlockEntity(BlockPos pos, BlockState state) BrewingStandBlock.createBlockEntity(BlockPos pos, BlockState state) CampfireBlock.createBlockEntity(BlockPos pos, BlockState state) ChestBlock.createBlockEntity(BlockPos pos, BlockState state) CommandBlock.createBlockEntity(BlockPos pos, BlockState state) ComparatorBlock.createBlockEntity(BlockPos pos, BlockState state) ConduitBlock.createBlockEntity(BlockPos pos, BlockState state) DaylightDetectorBlock.createBlockEntity(BlockPos pos, BlockState state) DispenserBlock.createBlockEntity(BlockPos pos, BlockState state) DropperBlock.createBlockEntity(BlockPos pos, BlockState state) EnchantingTableBlock.createBlockEntity(BlockPos pos, BlockState state) EnderChestBlock.createBlockEntity(BlockPos pos, BlockState state) EndGatewayBlock.createBlockEntity(BlockPos pos, BlockState state) EndPortalBlock.createBlockEntity(BlockPos pos, BlockState state) FurnaceBlock.createBlockEntity(BlockPos pos, BlockState state) HopperBlock.createBlockEntity(BlockPos pos, BlockState state) JigsawBlock.createBlockEntity(BlockPos pos, BlockState state) JukeboxBlock.createBlockEntity(BlockPos pos, BlockState state) LecternBlock.createBlockEntity(BlockPos pos, BlockState state) PistonExtensionBlock.createBlockEntity(BlockPos pos, BlockState state) SculkCatalystBlock.createBlockEntity(BlockPos pos, BlockState state) SculkSensorBlock.createBlockEntity(BlockPos pos, BlockState state) SculkShriekerBlock.createBlockEntity(BlockPos pos, BlockState state) ShulkerBoxBlock.createBlockEntity(BlockPos pos, BlockState state) SmokerBlock.createBlockEntity(BlockPos pos, BlockState state) SpawnerBlock.createBlockEntity(BlockPos pos, BlockState state) StructureBlock.createBlockEntity(BlockPos pos, BlockState state) TrappedChestBlock.createBlockEntity(BlockPos pos, BlockState state) static BlockEntityPistonExtensionBlock.createBlockEntityPiston(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) static voidPointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state) private static voidPointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state, Fluid fluid) AbstractBlock.AbstractBlockState.createScreenHandlerFactory(World world, BlockPos pos) AbstractBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Deprecated.AnvilBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) BlockWithEntity.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) CartographyTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) ChestBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) CraftingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) EnchantingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) GrindstoneBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) LecternBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) LoomBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) SmithingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) StonecutterBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) static voidLeveledCauldronBlock.decrementFluidLevel(BlockState state, World world, BlockPos pos) private voidprotected voidDispenserBlock.dispense(ServerWorld world, BlockPos pos) protected voidDropperBlock.dispense(ServerWorld world, BlockPos pos) static voidPointedDripstoneBlock.dripTick(BlockState state, ServerWorld world, BlockPos pos, float dripChance) private voidLecternBlock.dropBook(BlockState state, World world, BlockPos pos) protected voidBlock.dropExperience(ServerWorld world, BlockPos pos, int size) protected voidBlock.dropExperienceWhenMined(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience) static voidBeehiveBlock.dropHoneycomb(World world, BlockPos pos) static voidstatic voidstatic voidBlock.dropStacks(BlockState state, WorldAccess world, BlockPos pos, @Nullable BlockEntity blockEntity) static voidBlock.dropStacks(BlockState state, World world, BlockPos pos) static voidBlock.dropStacks(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack) (package private) static BlockStateComposterBlock.emptyComposter(BlockState state, WorldAccess world, BlockPos pos) static BlockStateComposterBlock.emptyFullComposter(BlockState state, World world, BlockPos pos) private voidCommandBlock.execute(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand) private static voidCommandBlock.executeCommandChain(World world, BlockPos pos, Direction facing) private voidRespawnAnchorBlock.explode(BlockState state, World world, BlockPos explodedPos) static voidAbstractCandleBlock.extinguish(@Nullable PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos) static voidCampfireBlock.extinguish(@Nullable Entity entity, WorldAccess world, BlockPos pos, BlockState state) protected voidAbstractCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) protected voidCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) protected voidLeveledCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) RespawnAnchorBlock.findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos) RespawnAnchorBlock.findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float spawnAngle) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] possibleOffsets, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection) static voidChorusFlowerBlock.generate(WorldAccess world, BlockPos pos, Random random, int size) private static voidChorusFlowerBlock.generate(WorldAccess world, BlockPos pos, Random random, BlockPos rootPos, int size, int layer) voidSaplingBlock.generate(ServerWorld world, BlockPos pos, BlockState state, Random random) floatAbstractBlock.AbstractBlockState.getAmbientOcclusionLightLevel(BlockView world, BlockPos pos) floatAbstractBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) Deprecated.floatAbstractGlassBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) floatBarrierBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) floatLightBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) floatMudBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) floatSnowBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) floatSoulSandBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) floatStructureVoidBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) private @Nullable ItemFrameEntityComparatorBlock.getAttachedItemFrame(World world, Direction facing, BlockPos pos) protected static floatCropBlock.getAvailableMoisture(Block block, BlockView world, BlockPos pos) abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>AbstractChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) EnderChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) private intFireBlock.getBurnChance(WorldView world, BlockPos pos) AbstractBlock.AbstractBlockState.getCameraCollisionShape(BlockView world, BlockPos pos, ShapeContext context) AbstractBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractGlassBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MudBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PaneBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PowderSnowBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SoulSandBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) private BoxDetectorRailBlock.getCartDetectionBox(BlockPos pos) private <T extends AbstractMinecartEntity>
List<T>DetectorRailBlock.getCarts(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate) PointedDripstoneBlock.getCauldronPos(World world, BlockPos pos, Fluid fluid) AbstractBlock.AbstractBlockState.getCollisionShape(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getCollisionShape(BlockView world, BlockPos pos, ShapeContext context) AbstractBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getCollisionShape(BlockView, BlockPos, ShapeContext)instead.BambooBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BellBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CactusBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ComposterBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceGateBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FluidBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) GrindstoneBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HoneyBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HorizontalConnectingBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LecternBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MudBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonExtensionBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PowderSnowBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ScaffoldingBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SculkShriekerBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SoulSandBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) intAnvilBlock.getColor(BlockState state, BlockView world, BlockPos pos) intConcretePowderBlock.getColor(BlockState state, BlockView world, BlockPos pos) intFallingBlock.getColor(BlockState state, BlockView world, BlockPos pos) intGravelBlock.getColor(BlockState state, BlockView world, BlockPos pos) intSandBlock.getColor(BlockState state, BlockView world, BlockPos pos) intAbstractBlock.AbstractBlockState.getComparatorOutput(World world, BlockPos pos) intAbstractBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Deprecated.intAbstractFurnaceBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intBarrelBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intBeehiveBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intBrewingStandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intCandleCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intChestBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intCommandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intComposterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intDetectorRailBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intDispenserBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intEndPortalFrameBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intHopperBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intJukeboxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intLavaCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intLecternBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intLeveledCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intRespawnAnchorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intSculkSensorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intShulkerBoxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) AbstractBlock.AbstractBlockState.getCullingFace(BlockView world, BlockPos pos, Direction direction) AbstractBlock.AbstractBlockState.getCullingShape(BlockView world, BlockPos pos) AbstractBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) Deprecated.FenceBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) FenceGateBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) LecternBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) PointedDripstoneBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) PowderSnowBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) SculkShriekerBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) SkullBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) private static intSculkBlock.getDecay(SculkSpreadManager spreadManager, BlockPos cursorPos, BlockPos catalystPos, int charge) private BlockStateRedstoneWireBlock.getDefaultWireState(BlockView world, BlockState state, BlockPos pos) BedBlock.getDirection(BlockView world, BlockPos pos) PointedDripstoneBlock.getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction) static FluidPointedDripstoneBlock.getDripFluid(ServerWorld world, BlockPos pos) PointedDripstoneBlock.getDripPos(World world, BlockPos pos) Block.getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity) Block.getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity entity, ItemStack stack) private BlockStateSculkBlock.getExtraBlockState(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) private static Optional<PointedDripstoneBlock.DrippingFluid>PointedDripstoneBlock.getFluid(World world, BlockPos pos, BlockState state) LichenGrower.getGrowPos(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, LichenGrower.GrowPosPredicate predicate) abstract LichenGrower.GrowPosLichenGrower.GrowType.getGrowPos(BlockPos pos, Direction newDirection, Direction oldDirection) floatAbstractBlock.AbstractBlockState.getHardness(BlockView world, BlockPos pos) protected intAbstractRedstoneGateBlock.getInputLevel(WorldView world, BlockPos pos, Direction dir) ChestBlock.getInventory(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ComposterBlock.getInventory(BlockState state, WorldAccess world, BlockPos pos) InventoryProvider.getInventory(BlockState state, WorldAccess world, BlockPos pos) AbstractBlock.AbstractBlockState.getMapColor(BlockView world, BlockPos pos) protected intAbstractRedstoneGateBlock.getMaxInputLevelSides(WorldView world, BlockPos pos, BlockState state) AbstractBlock.AbstractBlockState.getModelOffset(BlockView world, BlockPos pos) private @Nullable RailPlacementHelperRailPlacementHelper.getNeighboringRail(BlockPos pos) intAbstractBlock.AbstractBlockState.getOpacity(BlockView world, BlockPos pos) intAbstractBlock.getOpacity(BlockState state, BlockView world, BlockPos pos) Deprecated.intLeavesBlock.getOpacity(BlockState state, BlockView world, BlockPos pos) intTintedGlassBlock.getOpacity(BlockState state, BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getOutlineShape(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getOutlineShape(BlockView world, BlockPos pos, ShapeContext context) AbstractBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getOutlineShape(BlockView, BlockPos, ShapeContext)instead.AbstractButtonBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractCauldronBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractFireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractPlantPartBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractPressurePlateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractRailBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractRedstoneGateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AbstractSignBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AirBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AmethystClusterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AnvilBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AttachedStemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) AzaleaBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BambooBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BambooSaplingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BannerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BedBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BeetrootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BellBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BigDripleafStemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BrewingStandBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) BubbleColumnBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CactusBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CakeBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CampfireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CandleBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CandleCakeBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CarpetBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CarrotsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ChainBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ChestBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CocoaBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ComposterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ConduitBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ConnectingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CoralBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CoralParentBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) CropBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DaylightDetectorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadBushBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralFanBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DeadCoralWallFanBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DirtPathBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DoorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) DragonEggBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EnchantingTableBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EnderChestBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EndPortalBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) EndPortalFrameBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FarmlandBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FenceGateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FernBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerPotBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FluidBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FrogspawnBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FungusBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) GrindstoneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HangingRootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HopperBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) HorizontalConnectingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LadderBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LanternBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LecternBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LeverBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LightBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) LilyPadBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MultifaceGrowthBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) MushroomPlantBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) NetherPortalBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) NetherWartBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonExtensionBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PistonHeadBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PointedDripstoneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PotatoesBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PropaguleBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RedstoneWireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RodBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SaplingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ScaffoldingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SculkSensorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SeagrassBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SeaPickleBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) ShulkerBoxBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SkullBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SlabBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SmallDripleafBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnowBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SporeBlossomBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SproutsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StairsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StonecutterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) StructureVoidBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SugarCaneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SweetBerryBushBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TallSeagrassBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TorchBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TrapdoorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TripwireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TripwireHookBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TurtleEggBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) VineBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBannerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallRedstoneTorchBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallSignBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallSkullBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) WallTorchBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected intAbstractRedstoneGateBlock.getOutputLevel(BlockView world, BlockPos pos, BlockState state) protected intComparatorBlock.getOutputLevel(BlockView world, BlockPos pos, BlockState state) AbstractBannerBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) AbstractPlantBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) AttachedStemBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) BambooSaplingBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) BigDripleafStemBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) Block.getPickStack(BlockView world, BlockPos pos, BlockState state) CandleCakeBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) CaveVinesBodyBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) CaveVinesHeadBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) CropBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) EndGatewayBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) EndPortalBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) FlowerPotBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) FrostedIceBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) LightBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) NetherPortalBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) NetherWartBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) PistonExtensionBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) PistonHeadBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) ShulkerBoxBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) SpawnerBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) StemBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) SweetBerryBushBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) TallSeagrassBlock.getPickStack(BlockView world, BlockPos pos, BlockState state) private @Nullable PistonBlockEntityPistonExtensionBlock.getPistonBlockEntity(BlockView world, BlockPos pos) private BlockStateVineBlock.getPlacementShape(BlockState state, BlockView world, BlockPos pos) private BlockStateRedstoneWireBlock.getPlacementState(BlockView world, BlockState state, BlockPos pos) protected intAbstractRedstoneGateBlock.getPower(World world, BlockPos pos, BlockState state) protected intComparatorBlock.getPower(World world, BlockPos pos, BlockState state) AbstractBlock.AbstractBlockState.getRaycastShape(BlockView world, BlockPos pos) AbstractBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) Deprecated.AbstractCauldronBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) ComposterBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) HopperBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) ScaffoldingBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) private intRedstoneWireBlock.getReceivedRedstonePower(World world, BlockPos pos) protected abstract intAbstractPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) protected intPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) protected intWeightedPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) private WireConnectionRedstoneWireBlock.getRenderConnectionType(BlockView world, BlockPos pos, Direction direction) private WireConnectionRedstoneWireBlock.getRenderConnectionType(BlockView world, BlockPos pos, Direction direction, boolean bool) longAbstractBlock.AbstractBlockState.getRenderingSeed(BlockPos pos) longAbstractBlock.getRenderingSeed(BlockState state, BlockPos pos) Deprecated.Consider callingAbstractBlock.AbstractBlockState.getRenderingSeed(net.minecraft.util.math.BlockPos)instead.longBedBlock.getRenderingSeed(BlockState state, BlockPos pos) longDoorBlock.getRenderingSeed(BlockState state, BlockPos pos) longTallPlantBlock.getRenderingSeed(BlockState state, BlockPos pos) AbstractBlock.AbstractBlockState.getSidesShape(BlockView world, BlockPos pos) AbstractBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) Deprecated.LeavesBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) MudBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) SnowBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) SoulSandBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) private static StairShapeStairsBlock.getStairShape(BlockState state, BlockView world, BlockPos pos) static BlockStateprivate BlockStateWallBlock.getStateAt(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) AbstractPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPlantStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPressurePlateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractRailBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AmethystClusterBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AttachedStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BambooBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BambooSaplingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BannerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BedBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BeehiveBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BellBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BigDripleafBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BigDripleafStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BubbleColumnBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CactusBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CakeBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CampfireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CandleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CandleCakeBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CarpetBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChainBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChestBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChorusFlowerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChorusPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CocoaBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ConcretePowderBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ConduitBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralBlockBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralParentBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralWallFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DeadCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DirtPathBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DoorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.EnderChestBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FallingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FarmlandBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FenceBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FenceGateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FlowerPotBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FluidBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FrogspawnBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.GlowLichenBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.HangingRootsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LadderBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LanternBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LeavesBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LightBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LightningRodBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MagmaBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MangroveRootsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MultifaceGrowthBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MushroomBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.NetherPortalBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.NoteBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ObserverBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PaneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PistonHeadBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PointedDripstoneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PropaguleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.RedstoneWireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.RepeaterBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ScaffoldingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SculkSensorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SculkShriekerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SculkVeinBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SeagrassBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SeaPickleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SlabBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SmallDripleafBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SnowBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SnowyBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SoulFireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SoulSandBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SporeBlossomBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.StairsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SugarCaneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TallPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TrapdoorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TripwireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TripwireHookBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.VineBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallBannerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallMountedBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallRedstoneTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.protected BlockStateFireBlock.getStateForPosition(BlockView world, BlockPos pos) private BlockStateWallBlock.getStateWith(WorldView world, BlockState state, BlockPos pos, BlockState aboveState, boolean north, boolean east, boolean south, boolean west) private BlockStateFireBlock.getStateWithAge(WorldAccess world, BlockPos pos, int age) LichenGrower.GrowChecker.getStateWithDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) LichenGrower.LichenGrowChecker.getStateWithDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) private BlockStateWallBlock.getStateWithNeighbor(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) AbstractPlantBlock.getStemHeadPos(BlockView world, BlockPos pos, Block block) intAbstractBlock.AbstractBlockState.getStrongRedstonePower(BlockView world, BlockPos pos, Direction direction) intAbstractBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractButtonBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractPressurePlateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractRedstoneGateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intDetectorRailBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLecternBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLeverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLightningRodBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intObserverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneTorchBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneWireBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTrappedChestBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTripwireHookBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) PointedDripstoneBlock.getSupportingPos(World world, BlockPos pos, BlockState state, int range) private static ThicknessPointedDripstoneBlock.getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge) PointedDripstoneBlock.getTipPos(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) intAbstractBlock.AbstractBlockState.getWeakRedstonePower(BlockView world, BlockPos pos, Direction direction) intAbstractBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractButtonBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractPressurePlateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractRedstoneGateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intDaylightDetectorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intDetectorRailBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLecternBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLeverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLightningRodBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intObserverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneWireBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intSculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTargetBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTrappedChestBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTripwireHookBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intWallRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) voidAbstractPlantBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidAbstractPlantStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidAzaleaBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBambooBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBambooSaplingBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) protected voidvoidBigDripleafBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) static voidBigDripleafBlock.grow(WorldAccess world, Random random, BlockPos pos, Direction direction) voidBigDripleafStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCaveVinesBodyBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCaveVinesHeadBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) private voidvoidCocoaBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCropBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFernBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFertilizable.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFungusBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidGlowLichenBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidGrassBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) longLichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, boolean markForPostProcessing) private longLichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, boolean markForPostProcessing) LichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction oldDirection, Direction newDirection, boolean markForPostProcessing) LichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, Random random, boolean markForPostProcessing) LichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Random random) voidMangroveLeavesBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidMossBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidMushroomPlantBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidNetherrackBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidNyliumBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidPropaguleBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidRootedDirtBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSaplingBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSeagrassBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSeaPickleBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSmallDripleafBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSweetBerryBushBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidTallFlowerBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) private static voidPointedDripstoneBlock.growMerged(BlockState state, WorldAccess world, BlockPos pos) private static booleanConcretePowderBlock.hardensOnAnySide(BlockView world, BlockPos pos) private booleanprivate static booleanChestBlock.hasBlockOnTop(BlockView world, BlockPos pos) private static booleanChestBlock.hasCatOnTop(WorldAccess world, BlockPos pos) private static booleanbooleanAbstractBlock.AbstractBlockState.hasEmissiveLighting(BlockView world, BlockPos pos) protected booleanAbstractRedstoneGateBlock.hasPower(World world, BlockPos pos, BlockState state) protected booleanComparatorBlock.hasPower(World world, BlockPos pos, BlockState state) final booleanAbstractBlock.AbstractBlockState.hasSolidTopSurface(BlockView world, BlockPos pos, Entity entity) private static booleanRespawnAnchorBlock.hasStillWater(BlockPos pos, World world) static booleanprivate voidFrogspawnBlock.hatch(ServerWorld world, BlockPos pos, Random random) private booleanFrostedIceBlock.increaseAge(BlockState state, World world, BlockPos pos) booleanEntityShapeContext.isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue) booleanShapeContext.isAbove(VoxelShape shape, BlockPos pos, boolean defaultValue) private static booleanBedBlock.isBedBelow(BlockView world, BlockPos pos) private static booleanRedstoneTorchBlock.isBurnedOut(World world, BlockPos pos, boolean addNew) static booleanChestBlock.isChestBlocked(WorldAccess world, BlockPos pos) booleanAbstractBlock.isCullingShapeFullCube(BlockState state, BlockView world, BlockPos pos) Deprecated.private static booleanStairsBlock.isDifferentOrientation(BlockState state, BlockView world, BlockPos pos, Direction dir) private static booleanBigDripleafBlock.isEntityAbove(BlockPos pos, Entity entity) protected booleanAbstractCauldronBlock.isEntityTouchingFluid(BlockState state, BlockPos pos, Entity entity) booleanAbstractPlantBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanAbstractPlantStemBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanAzaleaBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanBambooBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanBambooSaplingBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanBigDripleafBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanBigDripleafStemBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanCaveVinesBodyBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanCaveVinesHeadBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanCocoaBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanCropBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanFernBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanFertilizable.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanFungusBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanGlowLichenBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanGrassBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanMangroveLeavesBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanMossBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanMushroomPlantBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanNetherrackBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanNyliumBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanPropaguleBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanRootedDirtBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanSaplingBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanSeagrassBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanSeaPickleBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanSmallDripleafBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanStemBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanSweetBerryBushBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanTallFlowerBlock.isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient) booleanAbstractBlock.AbstractBlockState.isFullCube(BlockView world, BlockPos pos) private static booleanPointedDripstoneBlock.isHeldByPointedDripstone(BlockState state, WorldView world, BlockPos pos) protected booleanprotected static booleanCoralParentBlock.isInWater(BlockState state, BlockView world, BlockPos pos) static booleanCampfireBlock.isLitCampfireInRange(World world, BlockPos pos) booleanAbstractRedstoneGateBlock.isLocked(WorldView world, BlockPos pos, BlockState state) booleanRepeaterBlock.isLocked(WorldView world, BlockPos pos, BlockState state) static booleanPistonBlock.isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir) private booleanRailPlacementHelper.isNeighbor(BlockPos pos) booleanAbstractBlock.AbstractBlockState.isOpaqueFullCube(BlockView world, BlockPos pos) protected booleanPoweredRailBlock.isPoweredByOtherRails(World world, BlockPos pos, boolean bool, int distance, RailShape shape) protected booleanPoweredRailBlock.isPoweredByOtherRails(World world, BlockPos pos, BlockState state, boolean bool, int distance) static booleanprotected booleanFireBlock.isRainingAround(World world, BlockPos pos) static booleanstatic booleanTurtleEggBlock.isSandBelow(BlockView world, BlockPos pos) booleanAbstractBlock.isShapeFullCube(BlockState state, BlockView world, BlockPos pos) Deprecated.booleanBambooBlock.isShapeFullCube(BlockState state, BlockView world, BlockPos pos) booleanPointedDripstoneBlock.isShapeFullCube(BlockState state, BlockView world, BlockPos pos) booleanAbstractBlock.AbstractBlockState.isSideSolid(BlockView world, BlockPos pos, Direction direction, SideShapeType shapeType) booleanAbstractBlock.AbstractBlockState.isSideSolidFullSquare(BlockView world, BlockPos pos, Direction direction) private booleanbooleanAbstractBlock.AbstractBlockState.isSolidBlock(BlockView world, BlockPos pos) final booleanAbstractBlock.AbstractBlockState.isSolidSurface(BlockView world, BlockPos pos, Entity entity, Direction direction) private static booleanChorusFlowerBlock.isSurroundedByAir(WorldView world, BlockPos pos, @Nullable Direction exceptDirection) booleanAbstractRedstoneGateBlock.isTargetNotAligned(BlockView world, BlockPos pos, BlockState state) booleanAbstractBlock.AbstractBlockState.isTranslucent(BlockView world, BlockPos pos) booleanAbstractGlassBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanBambooBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanBarrierBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanConnectingBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanFluidBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanGlowLichenBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanHorizontalConnectingBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanLightBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanPlantBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanTintedGlassBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanVineBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) booleanWallBlock.isTranslucent(BlockState state, BlockView world, BlockPos pos) private booleanRailPlacementHelper.isVerticallyNearRail(BlockPos pos) private static booleanFarmlandBlock.isWaterNearby(WorldView world, BlockPos pos) static booleanDoorBlock.isWoodenDoor(World world, BlockPos pos) private static voidRedstoneOreBlock.light(BlockState state, World world, BlockPos pos) abstract booleanSideShapeType.matches(BlockState state, BlockView world, BlockPos pos, Direction direction) protected voidIceBlock.melt(BlockState state, World world, BlockPos pos) default booleanSculkSpreadable.method_41470(WorldAccess world, BlockPos pos, Random random) private booleanvoidAbstractBlock.AbstractBlockState.neighborUpdate(World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Deprecated.voidAbstractBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidAbstractRailBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidAbstractRedstoneGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidBellBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidBigDripleafBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidCommandBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidDispenserBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidDoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidFenceGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidFluidBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidFrostedIceBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidHopperBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidNoteBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidPistonBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidPistonHeadBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidRedstoneLampBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidRedstoneTorchBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidRedstoneWireBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidSpongeBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidStructureBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidTntBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidTrapdoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) private static booleanBlocks.never(BlockState state, BlockView world, BlockPos pos) A shortcut to always returnfalsea context predicate, used assettings.solidBlock(Blocks::never).private static BooleanBlocks.never(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returnfalsein a typed context predicate with anEntityType, used likesettings.allowSpawning(Blocks::never).voidAbstractBlock.AbstractBlockState.onBlockAdded(World world, BlockPos pos, BlockState state, boolean notify) voidAbstractBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.voidAbstractFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidAbstractRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidAbstractRedstoneGateBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidCarvedPumpkinBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidComposterBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidCoralBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidCoralFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidCoralWallFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidDetectorRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidFallingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidFluidBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidFrogspawnBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidHopperBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidLightningRodBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidMagmaBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidObserverBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidPistonBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidRedstoneTorchBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidRedstoneWireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidScaffoldingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidSculkSensorBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidSoulSandBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidStairsBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidTargetBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidTntBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidTripwireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidTurtleEggBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidWetSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidAbstractBlock.AbstractBlockState.onBlockBreakStart(World world, BlockPos pos, PlayerEntity player) voidAbstractBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidDragonEggBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidNoteBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidRedstoneOreBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidStairsBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidAbstractFireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidBedBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidBeehiveBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidDoorBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidPistonHeadBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidShulkerBoxBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidTallPlantBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidTntBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidTripwireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) protected static voidTallPlantBlock.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.voidBlock.onBroken(WorldAccess world, BlockPos pos, BlockState state) voidPistonExtensionBlock.onBroken(WorldAccess world, BlockPos pos, BlockState state) voidStairsBlock.onBroken(WorldAccess world, BlockPos pos, BlockState state) voidBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidStairsBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidTntBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidAnvilBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) default voidLandingBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidPointedDripstoneBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidAbstractBlock.AbstractBlockState.onEntityCollision(World world, BlockPos pos, Entity entity) voidAbstractBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.voidAbstractButtonBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidAbstractFireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidAbstractPressurePlateBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidBigDripleafBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidBubbleColumnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidCactusBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidCampfireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidCobwebBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidCropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidDetectorRailBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidEndPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidFrogspawnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidHoneyBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidHopperBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidLavaCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidLeveledCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidLilyPadBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidNetherPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidPowderSnowBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidSweetBerryBushBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidTripwireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidWitherRoseBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) protected voidLeveledCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos) protected voidPowderSnowCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos) voidBedBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidFarmlandBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidHayBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidHoneyBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidPointedDripstoneBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidPowderSnowBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidSlimeBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidTurtleEggBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidAnvilBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) voidConcretePowderBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) default voidLandingBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) voidAbstractBannerBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidAbstractFurnaceBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidAbstractRedstoneGateBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidBarrelBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBeaconBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidBedBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBrewingStandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidChestBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidCommandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidConduitBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidDispenserBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidDoorBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidEnchantingTableBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidHopperBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidJukeboxBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidPistonBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidShulkerBoxBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidSmallDripleafBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidStructureBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidTallPlantBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidTripwireHookBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidWallPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidWallWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) static voidWitherSkullBlock.onPlaced(World world, BlockPos pos, SkullBlockEntity blockEntity) voidAbstractBlock.AbstractBlockState.onStacksDropped(ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidAbstractBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidInfestedBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidOreBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidRedstoneOreBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidSculkCatalystBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidSculkSensorBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidSculkShriekerBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidSpawnerBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidAbstractBlock.AbstractBlockState.onStateReplaced(World world, BlockPos pos, BlockState state, boolean moved) voidAbstractBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Deprecated.voidAbstractButtonBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractFurnaceBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractPressurePlateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractRailBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractRedstoneGateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBarrelBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBrewingStandBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidCampfireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidChestBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidDispenserBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidHopperBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidJukeboxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLecternBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLeverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLightningRodBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidObserverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidPistonExtensionBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidPistonHeadBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidRedstoneTorchBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidRedstoneWireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidSculkSensorBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidSculkShriekerBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidShulkerBoxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidStairsBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidTripwireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidTripwireHookBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidMagmaBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidRedstoneOreBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSculkSensorBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSculkShriekerBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSlimeBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidStairsBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidTurtleEggBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.booleanAbstractBlock.AbstractBlockState.onSyncedBlockEvent(World world, BlockPos pos, int type, int data) booleanAbstractBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Deprecated.booleanBlockWithEntity.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) booleanComparatorBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) booleanNoteBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) booleanPistonBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) AbstractBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractButtonBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractCauldronBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractFurnaceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractSignBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AnvilBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BarrelBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeaconBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BedBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeehiveBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BellBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BrewingStandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CampfireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleCakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CartographyTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesBodyBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesHeadBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CommandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComparatorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComposterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CraftingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DaylightDetectorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DispenserBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DragonEggBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnchantingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnderChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceGateBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FletchingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FlowerPotBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.GrindstoneBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HopperBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JigsawBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JukeboxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LecternBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LeverBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LightBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LoomBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.NoteBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PistonExtensionBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PumpkinBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneOreBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneWireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RepeaterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RespawnAnchorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ShulkerBoxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SmithingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StairsBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StonecutterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StructureBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SweetBerryBushBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TntBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TrapdoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.protected abstract voidAbstractFurnaceBlock.openScreen(World world, BlockPos pos, PlayerEntity player) protected voidBlastFurnaceBlock.openScreen(World world, BlockPos pos, PlayerEntity player) protected voidFurnaceBlock.openScreen(World world, BlockPos pos, PlayerEntity player) private voidLecternBlock.openScreen(World world, BlockPos pos, PlayerEntity player) protected voidSmokerBlock.openScreen(World world, BlockPos pos, PlayerEntity player) static ActionResultCaveVines.pickBerries(BlockState state, World world, BlockPos pos) private static voidPointedDripstoneBlock.place(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness) static booleanSculkVeinBlock.place(WorldAccess world, BlockPos pos, BlockState state, Collection<Direction> directions) static voidTallPlantBlock.placeAt(WorldAccess world, BlockState state, BlockPos pos, int flags) protected static booleanBigDripleafBlock.placeDripleafAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected static booleanBigDripleafStemBlock.placeStemAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected voidAbstractButtonBlock.playClickSound(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, boolean powered) protected abstract voidAbstractPressurePlateBlock.playDepressSound(WorldAccess world, BlockPos pos) protected voidPressurePlateBlock.playDepressSound(WorldAccess world, BlockPos pos) protected voidWeightedPressurePlateBlock.playDepressSound(WorldAccess world, BlockPos pos) static voidComposterBlock.playEffects(World world, BlockPos pos, boolean fill) private voidFluidBlock.playExtinguishSound(WorldAccess world, BlockPos pos) private voidprivate voidDoorBlock.playOpenCloseSound(World world, BlockPos pos, boolean open) protected abstract voidAbstractPressurePlateBlock.playPressSound(WorldAccess world, BlockPos pos) protected voidPressurePlateBlock.playPressSound(WorldAccess world, BlockPos pos) protected voidWeightedPressurePlateBlock.playPressSound(WorldAccess world, BlockPos pos) private voidTripwireHookBlock.playSound(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off) private static voidBigDripleafBlock.playTiltSound(World world, BlockPos pos, SoundEvent soundEvent) protected voidTrapdoorBlock.playToggleSound(@Nullable PlayerEntity player, World world, BlockPos pos, boolean open) static BlockStateBlock.postProcessState(BlockState state, WorldAccess world, BlockPos pos) voidAbstractButtonBlock.powerOn(BlockState state, World world, BlockPos pos) voidBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) voidCauldronBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) voidLeveledCauldronBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) final voidAbstractBlock.AbstractBlockState.prepare(WorldAccess world, BlockPos pos, int flags) voidAbstractBlock.AbstractBlockState.prepare(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) voidAbstractBlock.prepare(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Deprecated.Consider callingAbstractBlock.AbstractBlockState.prepare(WorldAccess, BlockPos, int, int)instead.voidRedstoneWireBlock.prepare(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) static voidprivate static voidTntBlock.primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter) static BlockStateBlock.pushEntitiesUpBeforeBlockChange(BlockState from, BlockState to, WorldAccess world, BlockPos pos) private static voidLecternBlock.putBook(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack) static booleanLecternBlock.putBookIfAbsent(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack) voidAbstractCandleBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidAbstractFireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBeehiveBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBlastFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBrewingStandBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBubbleColumnBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidCampfireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidCryingObsidianBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEnchantingTableBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEnderChestBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndGatewayBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidFallingBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLeavesBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLeverBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLightningRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidMyceliumBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidNetherPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidPointedDripstoneBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneOreBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneWireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRepeaterBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRespawnAnchorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSculkSensorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSmokerBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSporeBlossomBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidStairsBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWallRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWallTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWetSpongeBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWitherRoseBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidAbstractBlock.AbstractBlockState.randomTick(ServerWorld world, BlockPos pos, Random random) voidAbstractBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractPlantStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBambooBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBambooSaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBeetrootsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBuddingAmethystBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCactusBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidChorusFlowerBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCocoaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCropBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFarmlandBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFluidBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFrostedIceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidIceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidLeavesBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidMagmaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidMushroomPlantBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidNetherPortalBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidNetherWartBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidNyliumBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidOxidizableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidOxidizableSlabBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidOxidizableStairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidPointedDripstoneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidPropaguleBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidRedstoneOreBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSnowBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSpreadableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidStairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSugarCaneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSweetBerryBushBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidTurtleEggBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidVineBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) private booleanFluidBlock.receiveNeighborFluids(World world, BlockPos pos, BlockState state) private voidJukeboxBlock.removeRecord(World world, BlockPos pos) static voidBlock.replace(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags) Replaces thestatewith thenewStateat thepos.static voidBlock.replace(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Replaces thestatewith thenewStateat thepos.private static voidBigDripleafBlock.resetTilt(BlockState state, World world, BlockPos pos) booleanbooleanvoidAbstractBlock.AbstractBlockState.scheduledTick(ServerWorld world, BlockPos pos, Random random) voidAbstractBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractButtonBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractCauldronBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractPlantPartBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractPressurePlateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractRedstoneGateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBambooBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBarrelBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBigDripleafBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBigDripleafStemBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBubbleColumnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCactusBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidChorusFlowerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidChorusPlantBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCommandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidComparatorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidComposterBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCoralBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCoralBlockBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCoralFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCoralWallFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidDetectorRailBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidDirtPathBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidDispenserBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidEnderChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFallingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFarmlandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFrogspawnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFrostedIceBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidLeavesBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidLecternBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidLightningRodBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidMagmaBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidObserverBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidPointedDripstoneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidRedstoneLampBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidRedstoneTorchBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidScaffoldingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSculkCatalystBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSculkSensorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSculkShriekerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSoulSandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidStairsBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSugarCaneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidTargetBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidTripwireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidTripwireHookBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) private voidObserverBlock.scheduleTick(WorldAccess world, BlockPos pos) PointedDripstoneBlock.searchInDirection(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) static voidSculkSensorBlock.setActive(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int power) static voidSculkSensorBlock.setCooldown(World world, BlockPos pos, BlockState state) static voidLecternBlock.setHasBook(World world, BlockPos pos, BlockState state, boolean hasBook) private static voidAbstractCandleBlock.setLit(WorldAccess world, BlockState state, BlockPos pos, boolean lit) voidDoorBlock.setOpen(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open) private static voidTargetBlock.setPower(WorldAccess world, BlockState state, int power, BlockPos pos, int delay) static voidLecternBlock.setPowered(World world, BlockPos pos, BlockState state) private static voidLecternBlock.setPowered(World world, BlockPos pos, BlockState state, boolean powered) voidLightningRodBlock.setPowered(BlockState state, World world, BlockPos pos) voidJukeboxBlock.setRecord(@Nullable Entity user, WorldAccess world, BlockPos pos, BlockState state, ItemStack stack) static voidFarmlandBlock.setToDirt(BlockState state, World world, BlockPos pos) private booleanScaffoldingBlock.shouldBeBottom(BlockView world, BlockPos pos, int distance) booleanAbstractBlock.AbstractBlockState.shouldBlockVision(BlockView world, BlockPos pos) static booleanVineBlock.shouldConnectTo(BlockView world, BlockPos pos, Direction direction) static booleanBlock.shouldDrawSide(BlockState state, BlockView world, BlockPos pos, Direction side, BlockPos otherPos) private static booleanAbstractRailBlock.shouldDropRail(BlockPos pos, World world, RailShape shape) Checks if this rail should be dropped.private booleanPistonBlock.shouldExtend(World world, BlockPos pos, Direction pistonFace) private static booleanConcretePowderBlock.shouldHarden(BlockView world, BlockPos pos, BlockState state) private booleanVineBlock.shouldHaveSide(BlockView world, BlockPos pos, Direction side) private static booleanAbstractFireBlock.shouldLightPortalAt(World world, BlockPos pos, Direction direction) private static booleanSculkBlock.shouldNotDecay(WorldAccess world, BlockPos pos) booleanAbstractBlock.AbstractBlockState.shouldPostProcess(BlockView world, BlockPos pos) booleanAbstractBlock.AbstractBlockState.shouldSuffocate(BlockView world, BlockPos pos) protected booleanRedstoneTorchBlock.shouldUnpower(World world, BlockPos pos, BlockState state) protected booleanWallRedstoneTorchBlock.shouldUnpower(World world, BlockPos pos, BlockState state) static booleanBlock.sideCoversSmallSquare(WorldView world, BlockPos pos, Direction side) protected voidAbstractFireBlock.spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state) protected voidBlock.spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state) private static voidPointedDripstoneBlock.spawnFallingBlock(BlockState state, ServerWorld world, BlockPos pos) private voidBeehiveBlock.spawnHoneyParticles(World world, BlockPos pos, BlockState state) private static voidLeverBlock.spawnParticles(BlockState state, WorldAccess world, BlockPos pos, float alpha) private static voidRedstoneOreBlock.spawnParticles(World world, BlockPos pos) private voidInfestedBlock.spawnSilverfish(ServerWorld world, BlockPos pos) static voidCampfireBlock.spawnSmokeParticle(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke) private voidFrogspawnBlock.spawnTadpoles(ServerWorld world, BlockPos pos, Random random) intSculkBlock.spread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) intSculkSpreadable.spread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) default booleanSculkSpreadable.spread(WorldAccess world, BlockPos pos, BlockState state, @Nullable Collection<Direction> directions, boolean markForPostProcessing) intSculkVeinBlock.spread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) default voidSculkSpreadable.spreadAtSamePosition(WorldAccess world, BlockState state, BlockPos pos, Random random) voidSculkVeinBlock.spreadAtSamePosition(WorldAccess world, BlockState state, BlockPos pos, Random random) private static booleanNyliumBlock.stayAlive(BlockState state, WorldView world, BlockPos pos) voidBeehiveBlock.takeHoney(World world, BlockState state, BlockPos pos) voidBeehiveBlock.takeHoney(World world, BlockState state, BlockPos pos, @Nullable PlayerEntity player, BeehiveBlockEntity.BeeState beeState) private voidDragonEggBlock.teleport(BlockState state, World world, BlockPos pos) booleanAbstractBlock.ContextPredicate.test(BlockState state, BlockView world, BlockPos pos) booleanAbstractBlock.TypedContextPredicate.test(BlockState state, BlockView world, BlockPos pos, A type) booleanLichenGrower.GrowPosPredicate.test(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos) private static voidDaylightDetectorBlock.tick(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) default voidDegradable.tickDegradation(BlockState state, ServerWorld world, BlockPos pos, Random random) LeverBlock.togglePower(BlockState state, World world, BlockPos pos) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) private voidHoneyBlock.triggerAdvancement(Entity entity, BlockPos pos) private voidTurtleEggBlock.tryBreakEgg(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance) default voidDegradable.tryDegrade(BlockState state, ServerWorld world, BlockPos pos, Random random) BubbleColumnBlock.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state) FluidBlock.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state) FluidDrainable.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state) PowderSnowBlock.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state) default ItemStackWaterloggable.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state) protected static ActionResultCakeBlock.tryEat(WorldAccess world, BlockPos pos, BlockState state, PlayerEntity player) booleanCampfireBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanCandleBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanFluidFillable.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanKelpBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanKelpPlantBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanSeagrassBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanSlabBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) booleanTallSeagrassBlock.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) default booleanWaterloggable.tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) static voidPointedDripstoneBlock.tryGrow(BlockState state, ServerWorld world, BlockPos pos, Random random) private static voidPointedDripstoneBlock.tryGrow(ServerWorld world, BlockPos pos, Direction direction) private static voidPointedDripstoneBlock.tryGrowStalagmite(ServerWorld world, BlockPos pos) private voidPistonBlock.tryMove(World world, BlockPos pos, BlockState state) private voidAbstractButtonBlock.tryPowerWithProjectiles(BlockState state, World world, BlockPos pos) private voidCarvedPumpkinBlock.trySpawnEntity(World world, BlockPos pos) booleanMushroomPlantBlock.trySpawningBigMushroom(ServerWorld world, BlockPos pos, BlockState state, Random random) private voidFireBlock.trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random random, int currentAge) static voidBubbleColumnBlock.update(WorldAccess world, BlockPos pos, BlockState state) static voidBubbleColumnBlock.update(WorldAccess world, BlockPos pos, BlockState water, BlockState bubbleSource) private voidComparatorBlock.update(World world, BlockPos pos, BlockState state) private voidRedstoneWireBlock.update(World world, BlockPos pos, BlockState state) protected voidprivate voidTripwireBlock.update(World world, BlockPos pos, BlockState state) voidTripwireHookBlock.update(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean bool, int int2, @Nullable BlockState blockState) protected voidAbstractRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockStateAbstractRailBlock.updateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate) protected voidPoweredRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected voidRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockStateAbstractRailBlock.updateCurves(BlockState state, World world, BlockPos pos, boolean notify) private static BlockStateLeavesBlock.updateDistanceFromLogs(BlockState state, WorldAccess world, BlockPos pos) private voidHopperBlock.updateEnabled(World world, BlockPos pos, BlockState state) private voidRedstoneWireBlock.updateForNewState(World world, BlockPos pos, BlockState oldState, BlockState newState) protected voidBambooBlock.updateLeaves(BlockState state, World world, BlockPos pos, Random random, int height) protected voidDetectorRailBlock.updateNearbyRails(World world, BlockPos pos, BlockState state, boolean unpowering) private static voidLecternBlock.updateNeighborAlways(World world, BlockPos pos, BlockState state) final voidAbstractBlock.AbstractBlockState.updateNeighbors(WorldAccess world, BlockPos pos, int flags) final voidAbstractBlock.AbstractBlockState.updateNeighbors(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) private voidAbstractButtonBlock.updateNeighbors(BlockState state, World world, BlockPos pos) protected voidAbstractPressurePlateBlock.updateNeighbors(World world, BlockPos pos) private voidLeverBlock.updateNeighbors(BlockState state, World world, BlockPos pos) private voidLightningRodBlock.updateNeighbors(BlockState state, World world, BlockPos pos) protected voidObserverBlock.updateNeighbors(World world, BlockPos pos, BlockState state) private voidRedstoneWireBlock.updateNeighbors(World world, BlockPos pos) private static voidSculkSensorBlock.updateNeighbors(World world, BlockPos pos) private voidTripwireHookBlock.updateNeighborsOnAxis(World world, BlockPos pos, Direction direction) private voidRedstoneWireBlock.updateOffsetNeighbors(World world, BlockPos pos) protected voidAbstractPressurePlateBlock.updatePlateState(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output) protected voidAbstractRedstoneGateBlock.updatePowered(World world, BlockPos pos, BlockState state) protected voidComparatorBlock.updatePowered(World world, BlockPos pos, BlockState state) private voidTripwireBlock.updatePowered(World world, BlockPos pos) private voidDetectorRailBlock.updatePoweredStatus(World world, BlockPos pos, BlockState state) private static voidDaylightDetectorBlock.updateState(BlockState state, World world, BlockPos pos) protected voidAbstractRedstoneGateBlock.updateTarget(World world, BlockPos pos, BlockState state) static booleanSculkVeinBlock.veinCoversSculkReplaceable(WorldAccess world, BlockState state, BlockPos pos) private booleanBedBlock.wakeVillager(World world, BlockPos pos) Wakes up a sleeping villager atpos, if any.ChorusPlantBlock.withConnectionProperties(BlockView world, BlockPos pos) MultifaceGrowthBlock.withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) static BlockStateTallPlantBlock.withWaterloggedState(WorldView world, BlockPos pos, BlockState state) Method parameters in net.minecraft.block with type arguments of type BlockPosModifier and TypeMethodDescriptionPointedDripstoneBlock.searchInDirection(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) Constructors in net.minecraft.block with parameters of type BlockPosModifierConstructorDescriptionBurnoutEntry(BlockPos pos, long time) ComposterInventory(BlockState state, WorldAccess world, BlockPos pos) (package private)DrippingFluid(BlockPos blockPos, Fluid fluid, BlockState blockState) FullComposterInventory(BlockState state, WorldAccess world, BlockPos pos, ItemStack outputItem) 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 BlockPosModifier and TypeMethodDescriptionstatic ActionResultCauldronBehavior.emptyCauldron(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent) static ActionResultCauldronBehavior.fillCauldron(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) CauldronBehavior.interact(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) -
Uses of BlockPos in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static booleanShearsDispenserBehavior.tryShearBlock(ServerWorld world, BlockPos pos) private static booleanShearsDispenserBehavior.tryShearEntity(ServerWorld world, BlockPos pos) -
Uses of BlockPos in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as BlockPosModifier and TypeFieldDescriptionEndGatewayBlockEntity.exitPortalPosBeehiveBlockEntity.flowerPosprivate BlockPosStructureBlockBlockEntity.offsetprotected final BlockPosBlockEntity.posprivate BlockPosSculkSpreadManager.Cursor.posFields in net.minecraft.block.entity with type parameters of type BlockPosMethods in net.minecraft.block.entity that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPosEndGatewayBlockEntity.findBestPortalExitPos(World world, BlockPos pos) private static BlockPosEndGatewayBlockEntity.findExitPortalPos(BlockView world, BlockPos pos, int searchRadius, boolean force) EndGatewayBlockEntity.findPortalPosition(WorldChunk chunk) StructureBlockBlockEntity.getOffset()BlockEntity.getPos()SculkSpreadManager.Cursor.getPos()SculkSpreadManager.Cursor.getSpreadPos(WorldAccess world, BlockPos pos, Random random) static BlockPosBlockEntity.posFromNbt(NbtCompound nbt) private static BlockPosEndGatewayBlockEntity.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 BlockPosModifier and TypeMethodDescriptionStructureBlockBlockEntity.streamCornerPos(BlockPos start, BlockPos end) Streams positions ofStructureBlockMode.CORNERmode structure blocks with matching names.Methods in net.minecraft.block.entity with parameters of type BlockPosModifier and TypeMethodDescriptionvoidSculkSensorBlockEntity.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.voidSculkShriekerBlockEntity.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.booleanSculkSensorBlockEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.booleanSculkShriekerBlockEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private static voidBellBlockEntity.applyGlowToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities) private static voidBellBlockEntity.applyParticlesToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities) SpawnsParticleTypes.ENTITY_EFFECTparticles around raiders within 48 blocks.private static voidBeaconBlockEntity.applyPlayerEffects(World world, BlockPos pos, int beaconLevel, @Nullable StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect) private static voidConduitBlockEntity.attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) private static booleanSculkShriekerWarningManager.canIncreaseWarningLevel(ServerWorld serverWorld, BlockPos blockPos) private booleanSculkSpreadManager.Cursor.canSpread(WorldAccess world, BlockPos pos, boolean worldGen) private static booleanSculkSpreadManager.Cursor.canSpread(WorldAccess world, BlockPos sourcePos, BlockPos targetPos) private static booleanSculkSpreadManager.Cursor.canSpread(WorldAccess world, BlockPos pos, Direction direction) static voidBellBlockEntity.clientTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static voidCampfireBlockEntity.clientTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) static voidChestBlockEntity.clientTick(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity) static voidConduitBlockEntity.clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static voidEnderChestBlockEntity.clientTick(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) static voidEndGatewayBlockEntity.clientTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static voidMobSpawnerBlockEntity.clientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) voidViewerCountManager.closeContainer(PlayerEntity player, World world, BlockPos pos, BlockState state) private static voidBrewingStandBlockEntity.craft(World world, BlockPos pos, DefaultedList<ItemStack> slots) BlockEntityType.BlockEntityFactory.create(BlockPos pos, BlockState state) static @Nullable BlockEntityBlockEntity.createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt) private static voidEndGatewayBlockEntity.createPortal(ServerWorld world, BlockPos pos, EndGatewayFeatureConfig config) private static BlockPosEndGatewayBlockEntity.findBestPortalExitPos(World world, BlockPos pos) private static BlockPosEndGatewayBlockEntity.findExitPortalPos(BlockView world, BlockPos pos, int searchRadius, boolean force) private static @Nullable LivingEntityConduitBlockEntity.findTargetEntity(World world, BlockPos pos, UUID uuid) private static Vec3dEndGatewayBlockEntity.findTeleportLocation(ServerWorld world, BlockPos pos) private static BoxConduitBlockEntity.getAttackZone(BlockPos pos) PistonBlockEntity.getCollisionShape(BlockView world, BlockPos pos) private intViewerCountManager.getInRangeViewerCount(World world, BlockPos pos) HopperBlockEntity.getInventoryAt(World world, BlockPos pos) HopperBlockEntity.getOutputInventory(World world, BlockPos pos, BlockState state) private static List<ServerPlayerEntity>SculkShriekerWarningManager.getPlayersInRange(ServerWorld world, BlockPos pos) static intChestBlockEntity.getPlayersLookingInChestCount(BlockView world, BlockPos pos) SculkSpreadManager.Cursor.getSpreadPos(WorldAccess world, BlockPos pos, Random random) StructureBlockBlockEntity.getStructureBox(BlockPos pos, Stream<BlockPos> corners) private static voidConduitBlockEntity.givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static booleanHopperBlockEntity.insert(World world, BlockPos pos, BlockState state, Inventory inventory) private static booleanHopperBlockEntity.insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) BlockEntityType.instantiate(BlockPos pos, BlockState state) private static booleanBellBlockEntity.isRaiderEntity(BlockPos pos, LivingEntity entity) Determines whether the given entity is in theEntityTypeTags.RAIDERSentity type tag and within 48 blocks of the given position.static voidCampfireBlockEntity.litServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) protected static voidBlockEntity.markDirty(World world, BlockPos pos, BlockState state) private static voidPistonBlockEntity.moveEntitiesInHoneyBlock(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) private static BoxPistonBlockEntity.offsetHeadBox(BlockPos pos, Box box, PistonBlockEntity blockEntity) protected abstract voidViewerCountManager.onContainerClose(World world, BlockPos pos, BlockState state) Run when this container closes (when the viewer count reaches zero).protected abstract voidViewerCountManager.onContainerOpen(World world, BlockPos pos, BlockState state) Run when this container is opened (when the viewer count becomes nonzero).static voidHopperBlockEntity.onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) protected voidChestBlockEntity.onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected voidTrappedChestBlockEntity.onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected abstract voidViewerCountManager.onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) Called when the viewer count updates, such as when a player interact with this container or when distance-based checks are run.voidViewerCountManager.openContainer(PlayerEntity player, World world, BlockPos pos, BlockState state) static voidBeaconBlockEntity.playSound(World world, BlockPos pos, SoundEvent sound) (package private) static voidChestBlockEntity.playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) private static voidprivate static voidPistonBlockEntity.pushEntities(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) private voidShulkerBoxBlockEntity.pushEntities(World world, BlockPos pos, BlockState state) private static booleanBellBlockEntity.raidersHearBell(BlockPos pos, List<LivingEntity> hearingEntities) Determines whether at least one of the given entities would be affected by the bell.private static booleanBeehiveBlockEntity.releaseBee(World world, BlockPos pos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) voidBellBlockEntity.Effect.run(World world, BlockPos pos, List<LivingEntity> hearingEntities) private static voidViewerCountManager.scheduleBlockTick(World world, BlockPos pos, BlockState state) static voidBeehiveBlockEntity.serverTick(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static voidBellBlockEntity.serverTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static voidConduitBlockEntity.serverTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static voidEndGatewayBlockEntity.serverTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static voidHopperBlockEntity.serverTick(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity) static voidMobSpawnerBlockEntity.serverTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) voidEndGatewayBlockEntity.setExitPortalPos(BlockPos pos, boolean exactTeleport) static voidLootableContainerBlockEntity.setLootTable(BlockView world, Random random, BlockPos pos, Identifier id) voidprivate static BlockPosEndGatewayBlockEntity.setupExitPortalLocation(ServerWorld world, BlockPos pos) Finds teleport location and creates an island to teleport to (if there is none).private static voidConduitBlockEntity.spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) voidSculkSpreadManager.Cursor.spread(WorldAccess world, BlockPos pos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) voidprivate static voidEndGatewayBlockEntity.startTeleportCooldown(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) StructureBlockBlockEntity.streamCornerPos(BlockPos start, BlockPos end) Streams positions ofStructureBlockMode.CORNERmode structure blocks with matching names.static voidAbstractFurnaceBlockEntity.tick(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) static voidBeaconBlockEntity.tick(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity) private static voidBellBlockEntity.tick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.Effect bellEffect) voidBlockEntityTicker.tick(World world, BlockPos pos, BlockState state, T blockEntity) Runs this action on the given block entity.static voidBrewingStandBlockEntity.tick(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity) static voidEnchantingTableBlockEntity.tick(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity) static voidJukeboxBlockEntity.tick(World world, BlockPos pos, BlockState state, JukeboxBlockEntity blockEntity) static voidPistonBlockEntity.tick(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity) static voidSculkCatalystBlockEntity.tick(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) voidSculkSpreadManager.tick(WorldAccess world, BlockPos pos, Random random, boolean shouldConvertToBlock) static voidShulkerBoxBlockEntity.tick(World world, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity) static voidSkullBlockEntity.tick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) private static voidBeehiveBlockEntity.tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) static voidEndGatewayBlockEntity.tryTeleportingEntity(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity) static voidCampfireBlockEntity.unlitServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private static booleanConduitBlockEntity.updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks) private voidShulkerBoxBlockEntity.updateAnimation(World world, BlockPos pos, BlockState state) private static voidShulkerBoxBlockEntity.updateNeighborStates(World world, BlockPos pos, BlockState state) private static voidConduitBlockEntity.updateTargetEntity(World world, BlockPos pos, ConduitBlockEntity blockEntity) voidViewerCountManager.updateViewerCount(World world, BlockPos pos, BlockState state) static OptionalIntSculkShriekerWarningManager.warnNearbyPlayers(ServerWorld serverWorld, BlockPos blockPos, ServerPlayerEntity serverPlayerEntity) Method parameters in net.minecraft.block.entity with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate static voidConduitBlockEntity.attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) StructureBlockBlockEntity.getStructureBox(BlockPos pos, Stream<BlockPos> corners) private static voidConduitBlockEntity.givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static voidConduitBlockEntity.openEye(ConduitBlockEntity blockEntity, List<BlockPos> activatingBlocks) private static voidConduitBlockEntity.spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) private static booleanConduitBlockEntity.updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks) Constructors in net.minecraft.block.entity with parameters of type BlockPosModifierConstructorDescriptionprotectedAbstractFurnaceBlockEntity(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) BannerBlockEntity(BlockPos pos, BlockState state) BannerBlockEntity(BlockPos pos, BlockState state, DyeColor baseColor) BarrelBlockEntity(BlockPos pos, BlockState state) BeaconBlockEntity(BlockPos pos, BlockState state) BedBlockEntity(BlockPos pos, BlockState state) BedBlockEntity(BlockPos pos, BlockState state, DyeColor color) BeehiveBlockEntity(BlockPos pos, BlockState state) BellBlockEntity(BlockPos pos, BlockState state) BlastFurnaceBlockEntity(BlockPos pos, BlockState state) BlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) BrewingStandBlockEntity(BlockPos pos, BlockState state) CampfireBlockEntity(BlockPos pos, BlockState state) protectedChestBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) ChestBlockEntity(BlockPos pos, BlockState state) CommandBlockBlockEntity(BlockPos pos, BlockState state) ComparatorBlockEntity(BlockPos pos, BlockState state) ConduitBlockEntity(BlockPos pos, BlockState state) privateDaylightDetectorBlockEntity(BlockPos pos, BlockState state) protectedDispenserBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) DispenserBlockEntity(BlockPos pos, BlockState state) DropperBlockEntity(BlockPos pos, BlockState state) EnchantingTableBlockEntity(BlockPos pos, BlockState state) EnderChestBlockEntity(BlockPos pos, BlockState state) EndGatewayBlockEntity(BlockPos pos, BlockState state) protectedEndPortalBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) EndPortalBlockEntity(BlockPos pos, BlockState state) FurnaceBlockEntity(BlockPos pos, BlockState state) HopperBlockEntity(BlockPos pos, BlockState state) JigsawBlockEntity(BlockPos pos, BlockState state) JukeboxBlockEntity(BlockPos pos, BlockState state) LecternBlockEntity(BlockPos pos, BlockState state) protectedLockableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) protectedLootableContainerBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) MobSpawnerBlockEntity(BlockPos pos, BlockState state) PistonBlockEntity(BlockPos pos, BlockState state) PistonBlockEntity(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) SculkCatalystBlockEntity(BlockPos pos, BlockState state) SculkSensorBlockEntity(BlockPos pos, BlockState state) SculkShriekerBlockEntity(BlockPos pos, BlockState state) ShulkerBoxBlockEntity(@Nullable DyeColor color, BlockPos pos, BlockState state) ShulkerBoxBlockEntity(BlockPos pos, BlockState state) SignBlockEntity(BlockPos pos, BlockState state) SkullBlockEntity(BlockPos pos, BlockState state) SmokerBlockEntity(BlockPos pos, BlockState state) StructureBlockBlockEntity(BlockPos pos, BlockState state) TrappedChestBlockEntity(BlockPos pos, BlockState state) -
Uses of BlockPos in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockPattern.Result.frontTopLeftprivate final BlockPosCachedBlockPosition.posFields in net.minecraft.block.pattern with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final LoadingCache<BlockPos,CachedBlockPosition> BlockPattern.Result.cacheMethods in net.minecraft.block.pattern that return BlockPosModifier and TypeMethodDescriptionCachedBlockPosition.getBlockPos()BlockPattern.Result.getFrontTopLeft()protected static BlockPosBlockPattern.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 BlockPosMethods in net.minecraft.block.pattern with parameters of type BlockPosModifier and TypeMethodDescriptionBlockPattern.searchAround(WorldView world, BlockPos pos) private @Nullable BlockPattern.ResultBlockPattern.testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache) BlockPattern.testTransform(WorldView world, BlockPos frontTopLeft, Direction forwards, Direction up) protected static BlockPosBlockPattern.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 BlockPosModifier and TypeMethodDescriptionprivate @Nullable BlockPattern.ResultBlockPattern.testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache) Constructors in net.minecraft.block.pattern with parameters of type BlockPosModifierConstructorDescriptionCachedBlockPosition(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 BlockPosModifierConstructorDescriptionResult(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 BlockPosModifier and TypeFieldDescriptionprivate final BlockPosPistonHandler.posFromprivate final BlockPosPistonHandler.posToFields in net.minecraft.block.piston with type parameters of type BlockPosMethods in net.minecraft.block.piston that return types with arguments of type BlockPosMethods in net.minecraft.block.piston with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanprivate booleanPistonHandler.tryMoveAdjacentBlock(BlockPos pos) Constructors in net.minecraft.block.piston with parameters of type BlockPosModifierConstructorDescriptionPistonHandler(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 BlockPosModifier and TypeMethodDescriptionprivate booleanSaplingGenerator.areFlowersNearby(WorldAccess world, BlockPos pos) static booleanLargeTreeSaplingGenerator.canGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z) booleanLargeTreeSaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) booleanSaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) booleanLargeTreeSaplingGenerator.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 BlockPosModifier and TypeMethodDescriptionprivate voidKeyboard.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 BlockPosModifier and TypeMethodDescriptionintBlockColorProvider.getColor(BlockState state, @Nullable BlockRenderView world, @Nullable BlockPos pos, int tintIndex) Returns the color of the block state for the specified tint index, or -1 if not tinted.intBlockColors.getColor(BlockState state, @Nullable BlockRenderView world, @Nullable BlockPos pos, int tintIndex) intBlockColors.getParticleColor(BlockState state, World world, BlockPos pos) Returns the particle color of the block state. -
Uses of BlockPos in net.minecraft.client.color.world
Methods in net.minecraft.client.color.world with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static intBiomeColors.getColor(BlockRenderView world, BlockPos pos, ColorResolver resolver) static intBiomeColors.getFoliageColor(BlockRenderView world, BlockPos pos) static intBiomeColors.getGrassColor(BlockRenderView world, BlockPos pos) static intBiomeColors.getWaterColor(BlockRenderView world, BlockPos pos) -
Uses of BlockPos in net.minecraft.client.item
Methods in net.minecraft.client.item with parameters of type BlockPosModifier and TypeMethodDescriptionprivate floatCompassAnglePredicateProvider.getAngleTo(Entity entity, long time, BlockPos pos) private doubleCompassAnglePredicateProvider.method_43216(Entity entity, BlockPos blockPos) -
Uses of BlockPos in net.minecraft.client.network
Fields in net.minecraft.client.network declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPosClientPlayerInteractionManager.currentBreakingPosMethods in net.minecraft.client.network with parameters of type BlockPosModifier and TypeMethodDescriptionvoidPendingUpdateManager.addPendingUpdate(BlockPos pos, BlockState state, ClientPlayerEntity player) booleanClientPlayerInteractionManager.attackBlock(BlockPos pos, Direction direction) booleanClientPlayerInteractionManager.breakBlock(BlockPos pos) booleanPendingUpdateManager.hasPendingUpdate(BlockPos pos, BlockState state) private booleanClientPlayerInteractionManager.isCurrentlyBreaking(BlockPos pos) voidDataQueryHandler.queryBlockNbt(BlockPos pos, Consumer<NbtCompound> callback) booleanClientPlayerInteractionManager.updateBlockBreakingProgress(BlockPos pos, Direction direction) private booleanClientPlayerEntity.wouldCollideAt(BlockPos pos) -
Uses of BlockPos in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as BlockPosMethods in net.minecraft.client.particle with parameters of type BlockPosModifier and TypeMethodDescriptionvoidParticleManager.addBlockBreakingParticles(BlockPos pos, Direction direction) voidParticleManager.addBlockBreakParticles(BlockPos pos, BlockState state) Constructors in net.minecraft.client.particle with parameters of type BlockPosModifierConstructorDescriptionBlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state, BlockPos blockPos) -
Uses of BlockPos in net.minecraft.client.render
Fields in net.minecraft.client.render declared as BlockPosFields in net.minecraft.client.render with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos,SoundInstance> WorldRenderer.playingSongsMethods in net.minecraft.client.render that return BlockPosMethods in net.minecraft.client.render with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidWorldRenderer.drawBlockOutline(MatrixStack matrices, VertexConsumer vertexConsumer, Entity entity, double cameraX, double cameraY, double cameraZ, BlockPos pos, BlockState state) private ChunkBuilder.BuiltChunkWorldRenderer.getAdjacentChunk(BlockPos pos, ChunkBuilder.BuiltChunk chunk, Direction direction) static intWorldRenderer.getLightmapCoordinates(BlockRenderView world, BlockState state, BlockPos pos) static intWorldRenderer.getLightmapCoordinates(BlockRenderView world, BlockPos pos) protected ChunkBuilder.BuiltChunkBuiltChunkStorage.getRenderedChunk(BlockPos pos) private booleanWorldRenderer.isOutsideViewDistance(BlockPos pos, ChunkBuilder.BuiltChunk chunk) booleanWorldRenderer.isRenderingReady(BlockPos pos) voidWorldRenderer.playSong(@Nullable SoundEvent song, BlockPos songPosition) voidWorldRenderer.processGlobalEvent(int eventId, BlockPos pos, int data) voidWorldRenderer.processWorldEvent(int eventId, BlockPos pos, int data) voidWorldRenderer.scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated) private voidWorldRenderer.scheduleSectionRender(BlockPos pos, boolean important) voidWorldRenderer.setBlockBreakingInfo(int entityId, BlockPos pos, int stage) voidWorldRenderer.updateBlock(BlockView world, BlockPos pos, BlockState oldState, BlockState newState, int flags) private voidWorldRenderer.updateEntitiesForSong(World world, BlockPos pos, boolean playing) Constructors in net.minecraft.client.render with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.client.render.block
Methods in net.minecraft.client.render.block with parameters of type BlockPosModifier and TypeMethodDescriptionvoidBlockModelRenderer.AmbientOcclusionCalculator.apply(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] box, BitSet flags, boolean shaded) private floatFluidRenderer.calculateFluidHeight(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos) floatBlockModelRenderer.BrightnessCache.getFloat(BlockState state, BlockRenderView blockView, BlockPos pos) private floatFluidRenderer.getFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos) private floatFluidRenderer.getFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) intBlockModelRenderer.BrightnessCache.getInt(BlockState state, BlockRenderView world, BlockPos pos) private intFluidRenderer.getLight(BlockRenderView world, BlockPos pos) private voidBlockModelRenderer.getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, @org.jetbrains.annotations.Nullable float[] box, BitSet flags) private static booleanFluidRenderer.isOppositeSideCovered(BlockView world, BlockPos pos, BlockState state, Direction direction) private static booleanFluidRenderer.isSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state) private static booleanFluidRenderer.isSideCovered(BlockView world, Direction direction, float height, BlockPos pos, BlockState state) voidBlockModelRenderer.render(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) voidFluidRenderer.render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) voidBlockRenderManager.renderBlock(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random) voidBlockRenderManager.renderDamage(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer) voidBlockModelRenderer.renderFlat(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) voidBlockRenderManager.renderFluid(BlockPos pos, BlockRenderView world, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) private voidBlockModelRenderer.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 voidBlockModelRenderer.renderQuadsFlat(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BitSet flags) private voidBlockModelRenderer.renderQuadsSmooth(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, float[] box, BitSet flags, BlockModelRenderer.AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay) voidBlockModelRenderer.renderSmooth(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) static booleanFluidRenderer.shouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState) -
Uses of BlockPos in net.minecraft.client.render.block.entity
Methods in net.minecraft.client.render.block.entity with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidStructureBlockBlockEntityRenderer.renderInvisibleBlocks(StructureBlockBlockEntity entity, VertexConsumer vertices, BlockPos pos, MatrixStack matrices) private voidPistonBlockEntityRenderer.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 with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos,BlockEntity> RenderedChunk.blockEntitiesMethods in net.minecraft.client.render.chunk that return BlockPosModifier and TypeMethodDescriptionChunkBuilder.BuiltChunk.getNeighborPosition(Direction direction) ChunkBuilder.BuiltChunk.getOrigin()Methods in net.minecraft.client.render.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionChunkRendererRegion.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.RenderedChunk.getBlockEntity(BlockPos pos) ChunkRendererRegion.getBlockState(BlockPos pos) Returns the block state atpos.RenderedChunk.getBlockState(BlockPos pos) intChunkRendererRegion.getColor(BlockPos pos, ColorResolver colorResolver) ChunkRendererRegion.getFluidState(BlockPos pos) Returns the fluid state atpos.private booleanChunkBuilder.BuiltChunk.isChunkNonEmpty(BlockPos pos) private static booleanChunkRendererRegionBuilder.isEmptyBetween(BlockPos startPos, BlockPos endPos, int offsetX, int offsetZ, ChunkRendererRegionBuilder.ClientChunk[][] chunks) voidChunkOcclusionDataBuilder.markClosed(BlockPos pos) private static int -
Uses of BlockPos in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug declared as BlockPosModifier and TypeFieldDescriptionBeeDebugRenderer.Bee.flowerBeeDebugRenderer.Bee.hivefinal BlockPosBeeDebugRenderer.Hive.posfinal BlockPosGoalSelectorDebugRenderer.GoalSelector.posfinal BlockPosVillageDebugRenderer.PointOfInterest.posFields in net.minecraft.client.render.debug with type parameters of type BlockPosModifier and TypeFieldDescriptionBeeDebugRenderer.Bee.blacklistprivate final Map<BlockPos,BeeDebugRenderer.Hive> BeeDebugRenderer.hivesprivate final Map<BlockPos,GameTestDebugRenderer.Marker> GameTestDebugRenderer.markersNeighborUpdateDebugRenderer.neighborUpdatesVillageDebugRenderer.Brain.pointsOfInterestprivate final Map<BlockPos,VillageDebugRenderer.PointOfInterest> VillageDebugRenderer.pointsOfInterestWorldGenAttemptDebugRenderer.positionsVillageDebugRenderer.Brain.potentialJobSitesprivate Collection<BlockPos>RaidCenterDebugRenderer.raidCentersMethods in net.minecraft.client.render.debug that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBeeDebugRenderer.getBeesByHive()BeeDebugRenderer.getBlacklistingBees()VillageDebugRenderer.getGhostPointsOfInterest()Methods in net.minecraft.client.render.debug with parameters of type BlockPosModifier and TypeMethodDescriptionvoidWorldGenAttemptDebugRenderer.addBox(BlockPos pos, float size, float red, float green, float blue, float alpha) voidvoidNeighborUpdateDebugRenderer.addNeighborUpdate(long time, BlockPos pos) private static voidBeeDebugRenderer.drawBox(BlockPos pos, float expand, float red, float green, float blue, float alpha) static voidstatic voidDebugRenderer.drawBox(BlockPos pos1, BlockPos pos2, float red, float green, float blue, float alpha) private voidVillageDebugRenderer.drawGhostPointOfInterest(BlockPos pos, List<String> brains) private static voidprivate voidBeeDebugRenderer.drawHiveBees(BlockPos pos, List<String> bees) private static voidVillageDebugRenderer.drawPointOfInterest(BlockPos pos) private static voidRaidCenterDebugRenderer.drawRaidCenter(BlockPos pos) private static voidBeeDebugRenderer.drawString(String string, BlockPos pos, int line, int color) private static voidRaidCenterDebugRenderer.drawString(String string, BlockPos pos, int color) private static voidVillageDebugRenderer.drawString(String string, BlockPos pos, int offsetY, int color) private Collection<UUID>BeeDebugRenderer.getBeesForHive(BlockPos hivePos) private Collection<UUID>VillageDebugRenderer.getBrainsContainingPointOfInterest(BlockPos pointOfInterest) private Collection<UUID>VillageDebugRenderer.getBrainsContainingPotentialJobSite(BlockPos potentialJobSite) private static floatPathfindingDebugRenderer.getManhattanDistance(BlockPos pos, double x, double y, double z) private StringBeeDebugRenderer.getPositionString(BeeDebugRenderer.Bee bee, BlockPos pos) boolean(package private) booleanVillageDebugRenderer.Brain.isPointOfInterest(BlockPos pos) (package private) booleanVillageDebugRenderer.Brain.isPotentialJobSite(BlockPos pos) voidVillageDebugRenderer.removePointOfInterest(BlockPos pos) private voidGameTestDebugRenderer.renderMarker(BlockPos pos, GameTestDebugRenderer.Marker marker) voidVillageDebugRenderer.setFreeTicketCount(BlockPos pos, int freeTicketCount) Method parameters in net.minecraft.client.render.debug with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidRaidCenterDebugRenderer.setRaidCenters(Collection<BlockPos> raidCenters) Constructors in net.minecraft.client.render.debug with parameters of type BlockPosModifierConstructorDescriptionBee(UUID uuid, int entityId, Position position, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks) GoalSelector(BlockPos pos, int int2, String name, boolean bool) 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 BlockPosModifier and TypeMethodDescriptionprotected intAllayEntityRenderer.getBlockLight(AllayEntity allayEntity, BlockPos blockPos) protected intBlazeEntityRenderer.getBlockLight(BlazeEntity blazeEntity, BlockPos blockPos) protected intDragonFireballEntityRenderer.getBlockLight(DragonFireballEntity dragonFireballEntity, BlockPos blockPos) protected intEntityRenderer.getBlockLight(T entity, BlockPos pos) protected intExperienceOrbEntityRenderer.getBlockLight(ExperienceOrbEntity experienceOrbEntity, BlockPos blockPos) protected intFlyingItemEntityRenderer.getBlockLight(T entity, BlockPos pos) protected intGlowSquidEntityRenderer.getBlockLight(GlowSquidEntity glowSquidEntity, BlockPos blockPos) protected intItemFrameEntityRenderer.getBlockLight(T t, BlockPos blockPos) protected intMagmaCubeEntityRenderer.getBlockLight(MagmaCubeEntity magmaCubeEntity, BlockPos blockPos) protected intShulkerBulletEntityRenderer.getBlockLight(ShulkerBulletEntity shulkerBulletEntity, BlockPos blockPos) protected intVexEntityRenderer.getBlockLight(VexEntity vexEntity, BlockPos blockPos) protected intWitherEntityRenderer.getBlockLight(WitherEntity witherEntity, BlockPos blockPos) protected intWitherSkullEntityRenderer.getBlockLight(WitherSkullEntity witherSkullEntity, BlockPos blockPos) protected intEntityRenderer.getSkyLight(T entity, BlockPos pos) private static voidEntityRenderDispatcher.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 BlockPosModifierConstructorDescriptionPositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos) -
Uses of BlockPos in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type BlockPosModifier and TypeMethodDescriptionvoidPunchTreeTutorialStepHandler.onBlockBreaking(ClientWorld client, BlockPos pos, BlockState state, float progress) voidTutorialManager.onBlockBreaking(ClientWorld world, BlockPos pos, BlockState state, float progress) default voidTutorialStepHandler.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 BlockPosModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) static voidParticleUtil.spawnParticle(World world, BlockPos pos, ParticleEffect effect, IntProvider count) static voidParticleUtil.spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) static voidParticleUtil.spawnParticles(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) -
Uses of BlockPos in net.minecraft.client.world
Fields in net.minecraft.client.world with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ToIntFunction<BlockPos>BiomeColorCache.colorFactoryMethods in net.minecraft.client.world with parameters of type BlockPosModifier and TypeMethodDescriptionvoidClientWorld.addBlockBreakParticles(BlockPos pos, BlockState state) private voidClientWorld.addParticle(BlockPos pos, BlockState state, ParticleEffect parameters, boolean bool) private voidClientWorld.addParticle(BlockPos pos, ParticleEffect parameters, VoxelShape shape, double y) intClientWorld.calculateColor(BlockPos pos, ColorResolver colorResolver) intBiomeColorCache.getBiomeColor(BlockPos pos) intClientWorld.getColor(BlockPos pos, ColorResolver colorResolver) voidClientWorld.handleBlockUpdate(BlockPos pos, BlockState state, int flags) voidClientWorld.playSound(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) voidClientWorld.processPendingUpdate(BlockPos pos, BlockState state, Vec3d playerPos) voidClientWorld.scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated) voidClientWorld.setBlockBreakingInfo(int entityId, BlockPos pos, int progress) booleanClientWorld.setBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.voidClientWorld.Properties.setSpawnPos(BlockPos pos, float angle) voidClientWorld.setSpawnPos(BlockPos pos, float angle) voidClientWorld.syncGlobalEvent(int eventId, BlockPos pos, int data) voidClientWorld.syncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) voidClientWorld.updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags) Constructor parameters in net.minecraft.client.world with type arguments of type BlockPos -
Uses of BlockPos in net.minecraft.command
Fields in net.minecraft.command declared as BlockPosConstructors in net.minecraft.command with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return BlockPosModifier and TypeMethodDescriptionstatic BlockPosBlockPosArgumentType.getBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockPosBlockPosArgumentType.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) default BlockPosPosArgument.toAbsoluteBlockPos(ServerCommandSource source) Methods in net.minecraft.command.argument with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanBlockStateArgument.setBlockState(ServerWorld world, BlockPos pos, int flags) booleanBlockStateArgument.test(ServerWorld world, BlockPos pos) -
Uses of BlockPos in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidFrostWalkerEnchantment.freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level) -
Uses of BlockPos in net.minecraft.entity
Fields in net.minecraft.entity declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPosEntity.blockPosprivate BlockPosLivingEntity.lastBlockPosprotected BlockPosEntity.lastNetherPortalPositionFields in net.minecraft.entity with type parameters of type BlockPosModifier and TypeFieldDescriptionprotected static final TrackedData<BlockPos>FallingBlockEntity.BLOCK_POSLivingEntity.climbingPosprivate static final TrackedData<Optional<BlockPos>>LivingEntity.SLEEPING_POSITIONMethods in net.minecraft.entity that return BlockPosModifier and TypeMethodDescriptionprivate BlockPosLightningEntity.getAffectedBlockPos()Entity.getBlockPos()FallingBlockEntity.getFallingBlockPos()Entity.getLandingPos()Deprecated.private BlockPosEntity.getPosWithYOffset(float offset) Entity.getSteppingPos()Returns the stepping position.protected BlockPosEntity.getVelocityAffectingPos()Methods in net.minecraft.entity that return types with arguments of type BlockPosModifier and TypeMethodDescriptionLightningEntity.cleanOxidationAround(World world, BlockPos pos) LivingEntity.getClimbingPos()LivingEntity.getSleepingPosition()Methods in net.minecraft.entity with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidLivingEntity.applyMovementEffects(BlockPos pos) private booleanLivingEntity.canEnterTrapdoor(BlockPos pos, BlockState state) booleanEntity.canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) booleanEntity.canModifyAt(World world, BlockPos pos) static <T extends Entity>
booleanSpawnRestriction.canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleanLargeEntitySpawnHelper.Requirements.canSpawnOn(ServerWorld world, BlockPos pos, BlockState state, BlockPos abovePos, BlockState aboveState) private static voidLightningEntity.cleanOxidation(World world, BlockPos pos) LightningEntity.cleanOxidationAround(World world, BlockPos pos) private static voidLightningEntity.cleanOxidationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) booleanEntity.collidesWithStateAtPos(BlockPos pos, BlockState state) EntityType.create(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY) protected voidEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected voidLivingEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Dismounting.findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) static doubleDismounting.getCeilingHeight(BlockPos pos, int maxDistance, Function<BlockPos, VoxelShape> collisionShapeGetter) static VoxelShapeDismounting.getCollisionShape(BlockView world, BlockPos pos) floatEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) protected static doubleEntityType.getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox) protected Optional<BlockLocating.Rectangle>Entity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether, WorldBorder worldBorder) voidEyeOfEnderEntity.initTargetPos(BlockPos pos) Sets where the eye will fly towards.voidFallingBlockEntity.onDestroyedOnLanding(Block block, BlockPos pos) protected voidEntity.playStepSound(BlockPos pos, BlockState state) voidEntity.refreshPositionAndAngles(BlockPos pos, float yaw, float pitch) voidFallingBlockEntity.setFallingBlockPos(BlockPos pos) voidEntity.setInNetherPortal(BlockPos pos) voidLivingEntity.setNearbySongPlaying(BlockPos songPosition, boolean playing) private voidLivingEntity.setPositionInBed(BlockPos pos) voidLivingEntity.setSleepingPosition(BlockPos pos) voidEntityType.spawn(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY) static FallingBlockEntityFallingBlockEntity.spawnFromBlock(World world, BlockPos pos, BlockState state) Spawns a falling block entity atposfrom the blockstate.EntityType.spawnFromItemStack(ServerWorld world, @Nullable ItemStack stack, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY) booleanSpawnRestriction.SpawnPredicate.test(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) LargeEntitySpawnHelper.trySpawnAt(EntityType<T> entityType, SpawnReason reason, ServerWorld world, BlockPos pos, int tries, int horizontalRange, int verticalRange, LargeEntitySpawnHelper.Requirements requirements) Method parameters in net.minecraft.entity with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic doubleDismounting.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 BlockPosModifier and TypeMethodDescriptionstatic BlockPosCreates a fuzzy offset position within the given horizontal and vertical ranges.FuzzyPositions.localFuzz(Random random, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double angleRange) Tries to create a fuzzy offset position from the direction and the angle range given.static BlockPosFuzzyPositions.towardTarget(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz) FuzzyTargeting.towardTarget(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos) Paths to a random reachable position approaching an entity's chosenposition target.NoPenaltySolidTargeting.tryMake(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle, boolean posTargetInRange) NoPenaltyTargeting.tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz) static BlockPosReturns theextraAbove + 1th closest position higher than the inputposthat does not fulfillcondition, or a position with y set tomaxY.static BlockPosReturns the closest position higher than the inputposthat does not fulfillcondition, or a position with y set tomaxY.FuzzyTargeting.validate(PathAwareEntity entity, BlockPos pos) Checks whether a given position is a valid pathable target.Methods in net.minecraft.entity.ai with parameters of type BlockPosModifier and TypeMethodDescriptionstatic booleanNavigationConditions.hasPathfindingPenalty(PathAwareEntity entity, BlockPos pos) static booleanNavigationConditions.isHeightInvalid(BlockPos pos, PathAwareEntity entity) static booleanNavigationConditions.isInvalidPosition(EntityNavigation navigation, BlockPos pos) static booleanNavigationConditions.isPositionTargetOutOfWalkRange(boolean posTargetInRange, PathAwareEntity entity, BlockPos pos) static booleanNavigationConditions.isSolidAt(PathAwareEntity entity, BlockPos pos) static booleanNavigationConditions.isWaterAt(PathAwareEntity entity, BlockPos pos) static BlockPosFuzzyPositions.towardTarget(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz) FuzzyTargeting.towardTarget(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos) Paths to a random reachable position approaching an entity's chosenposition target.NoPenaltyTargeting.tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz) static BlockPosReturns theextraAbove + 1th closest position higher than the inputposthat does not fulfillcondition, or a position with y set tomaxY.static BlockPosReturns the closest position higher than the inputposthat does not fulfillcondition, or a position with y set tomaxY.FuzzyTargeting.validate(PathAwareEntity entity, BlockPos pos) Checks whether a given position is a valid pathable target.Method parameters in net.minecraft.entity.ai with type arguments of type BlockPosModifier and TypeMethodDescriptionFuzzyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer) Paths to a random reachable position with positive path-finding favorability computed by a given function.FuzzyPositions.guessBest(Supplier<BlockPos> factory, ToDoubleFunction<BlockPos> scorer) Returns thebottom centerof a highest scoring position, as determined byscorer, out of 10 tries on positions obtained fromfactory.FuzzyPositions.guessBest(Supplier<BlockPos> factory, ToDoubleFunction<BlockPos> scorer) Returns thebottom centerof a highest scoring position, as determined byscorer, out of 10 tries on positions obtained fromfactory.FuzzyPositions.guessBestPathTarget(PathAwareEntity entity, Supplier<BlockPos> factory) CallsFuzzyPositions.guessBest(Supplier, ToDoubleFunction)with theentity's path finding favor as thescorer.static BlockPosReturns theextraAbove + 1th closest position higher than the inputposthat does not fulfillcondition, or a position with y set tomaxY.static BlockPosReturns the closest position higher than the inputposthat 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 BlockPosFields in net.minecraft.entity.ai.brain with type parameters of type BlockPosModifier and TypeFieldDescriptionstatic final MemoryModuleType<BlockPos>MemoryModuleType.CELEBRATE_LOCATIONstatic final MemoryModuleType<BlockPos>MemoryModuleType.DISTURBANCE_LOCATIONstatic final MemoryModuleType<BlockPos>MemoryModuleType.NEAREST_BEDstatic final MemoryModuleType<BlockPos>MemoryModuleType.NEAREST_REPELLENTMethods in net.minecraft.entity.ai.brain that return BlockPosModifier and TypeMethodDescriptionBlockPosLookTarget.getBlockPos()EntityLookTarget.getBlockPos()LookTarget.getBlockPos()Constructors in net.minecraft.entity.ai.brain with parameters of type BlockPosModifierConstructorDescriptionBlockPosLookTarget(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 BlockPosModifier and TypeMethodDescriptionHoglinSpecificSensor.findNearestWarpedFungus(ServerWorld world, HoglinEntity hoglin) PiglinSpecificSensor.findPiglinRepellent(ServerWorld world, LivingEntity entity) Methods in net.minecraft.entity.ai.brain.sensor with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static booleanPiglinSpecificSensor.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 BlockPosModifier and TypeFieldDescriptionJumpInBedTask.bedPosFarmerVillagerTask.currentTargetprivate final BlockPosPrepareRamTask.Ram.endWanderAroundTask.lookTargetPosprivate final BlockPosLongJumpTask.Target.posprivate final BlockPosPrepareRamTask.Ram.startFields in net.minecraft.entity.ai.brain.task with type parameters of type BlockPosModifier and TypeFieldDescriptionHideInHomeTask.homePositionprivate final MemoryModuleType<BlockPos>GoToCelebrateTask.memoryModuleTypeBoneMealTask.posFarmerVillagerTask.targetPositionsMethods in net.minecraft.entity.ai.brain.task that return BlockPosModifier and TypeMethodDescriptionFarmerVillagerTask.chooseRandomTarget(ServerWorld world) private static BlockPosprivate BlockPosGoToCelebrateTask.getCelebrateLocation(MobEntity entity) PrepareRamTask.Ram.getEnd()LongJumpTask.Target.getPos()PrepareRamTask.Ram.getStart()Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBoneMealTask.findBoneMealPos(ServerWorld world, VillagerEntity entity) WalkTask.findClosestWater(BlockView world, Entity entity) PrepareRamTask.findRamStart(PathAwareEntity entity, LivingEntity target) JumpInBedTask.getNearestBed(MobEntity mob) VillagerBreedTask.getReachableHome(ServerWorld world, VillagerEntity villager) static GoToRememberedPositionTask<BlockPos>GoToRememberedPositionTask.toBlock(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget) Methods in net.minecraft.entity.ai.brain.task with parameters of type BlockPosModifier and TypeMethodDescriptionprivate Vec3dPrepareRamTask.calculateRamTarget(BlockPos start, BlockPos end) private booleanBoneMealTask.canBoneMeal(BlockPos pos, ServerWorld world) protected booleanBiasedLongJumpTask.canJumpTo(ServerWorld world, E entity, BlockPos pos) protected booleanLongJumpTask.canJumpTo(ServerWorld world, E entity, BlockPos pos) private booleanPrepareRamTask.canReach(PathAwareEntity entity, BlockPos target) private booleanVillagerBreedTask.canReachHome(VillagerEntity villager, BlockPos pos, RegistryEntry<PointOfInterestType> poiType) private booleanTakeJobSiteTask.canReachJobSite(VillagerEntity villager, BlockPos pos, PointOfInterestType poiType) private booleanTakeJobSiteTask.canUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos) private voidTakeJobSiteTask.claimSite(ServerWorld world, VillagerEntity previousOwner, VillagerEntity newOwner, BlockPos pos, boolean jobSitePresent) private static BlockPosprivate booleanForgetCompletedPointOfInterestTask.hasCompletedPointOfInterest(ServerWorld world, BlockPos pos) private static booleanOpenDoorsTask.hasOtherMobReachedDoor(ServerWorld world, LivingEntity entity, BlockPos pos) private static booleanOpenDoorsTask.hasReached(ServerWorld world, LivingEntity entity, BlockPos pos) private booleanJumpInBedTask.isBedAt(ServerWorld world, BlockPos pos) private booleanForgetCompletedPointOfInterestTask.isBedOccupiedByOthers(ServerWorld world, BlockPos pos, LivingEntity entity) private booleanBiasedLongJumpTask.isFluidStateAndBelowEmpty(ServerWorld world, BlockPos pos) static booleanSeekSkyTask.isSkyVisible(ServerWorld world, LivingEntity entity, BlockPos pos) private booleanFarmerVillagerTask.isSuitableTarget(BlockPos pos, ServerWorld world) private voidOpenDoorsTask.rememberToCloseDoor(ServerWorld world, LivingEntity entity, BlockPos pos) private voidVillagerBreedTask.setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos) private voidJumpInBedTask.setWalkTarget(MobEntity mob, BlockPos pos) private voidFarmerWorkTask.syncComposterEvent(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState) static voidLookTargetUtil.walkTowards(LivingEntity entity, BlockPos target, float speed, int completionRange) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type BlockPosModifier and TypeMethodDescriptionFindPointOfInterestTask.findPathToPoi(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) static GoToRememberedPositionTask<BlockPos>GoToRememberedPositionTask.toBlock(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget) Constructors in net.minecraft.entity.ai.brain.task with parameters of type BlockPosConstructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type BlockPosModifierConstructorDescriptionGoToCelebrateTask(MemoryModuleType<BlockPos> memoryModuleType, int completionRange, float speed) -
Uses of BlockPos in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as BlockPosModifier and TypeFieldDescriptionprotected BlockPosDoorInteractGoal.doorPosprivate BlockPosMoveThroughVillageGoal.targetprotected BlockPosMoveToTargetPosGoal.targetPosGoToVillageGoal.targetPositionFields in net.minecraft.entity.ai.goal with type parameters of type BlockPosMethods in net.minecraft.entity.ai.goal that return BlockPosModifier and TypeMethodDescriptionIronGolemWanderAroundGoal.findRandomPosInChunk(ChunkSectionPos pos) protected BlockPosMoveToTargetPosGoal.getTargetPos()EscapeDangerGoal.locateClosestWater(BlockView world, Entity entity, int rangeX) StepAndDestroyBlockGoal.tweakToProperPos(BlockPos pos, BlockView world) Methods in net.minecraft.entity.ai.goal with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanFollowOwnerGoal.canTeleportTo(BlockPos pos) private booleanDolphinJumpGoal.isAirAbove(BlockPos pos, int offsetX, int offsetZ, int multiplier) private booleanprotected booleanCatSitOnBlockGoal.isTargetPos(WorldView world, BlockPos pos) protected booleanGoToBedAndSleepGoal.isTargetPos(WorldView world, BlockPos pos) protected abstract booleanMoveToTargetPosGoal.isTargetPos(WorldView world, BlockPos pos) protected booleanStepAndDestroyBlockGoal.isTargetPos(WorldView world, BlockPos pos) private booleanvoidStepAndDestroyBlockGoal.onDestroyBlock(World world, BlockPos pos) private booleanMoveThroughVillageGoal.shouldVisit(BlockPos pos) voidStepAndDestroyBlockGoal.tickStepping(WorldAccess world, BlockPos pos) StepAndDestroyBlockGoal.tweakToProperPos(BlockPos pos, BlockView world) -
Uses of BlockPos in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as BlockPosModifier and TypeFieldDescriptionEntityNavigation.currentTargetprivate final BlockPosPath.targetSpiderNavigation.targetPosMethods in net.minecraft.entity.ai.pathing that return BlockPosModifier and TypeMethodDescriptionPathNode.getBlockPos()Path.getCurrentNodePos()Path.getNodePos(int index) Path.getTarget()EntityNavigation.getTargetPos()Methods in net.minecraft.entity.ai.pathing with parameters of type BlockPosModifier and TypeMethodDescriptionprotected PathNodeTypeLandPathNodeMaker.adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) private booleanLandPathNodeMaker.canPathThrough(BlockPos pos) private PathPathNodeNavigator.createPath(PathNode endNode, BlockPos target, boolean reachesTarget) LandPathNodeMaker.findNearbyNodeTypes(BlockView world, int x, int y, int z, int sizeX, int sizeY, int sizeZ, boolean canOpenDoors, boolean canEnterOpenDoors, EnumSet<PathNodeType> nearbyTypes, PathNodeType type, BlockPos pos) Adds the node types in the box with the given size to the input EnumSet.EntityNavigation.findPathTo(BlockPos target, int distance) EntityNavigation.findPathTo(BlockPos target, int minDistance, int maxDistance) MobNavigation.findPathTo(BlockPos target, int distance) SpiderNavigation.findPathTo(BlockPos target, int distance) protected static PathNodeTypeLandPathNodeMaker.getCommonNodeType(BlockView world, BlockPos pos) floatPathNode.getDistance(BlockPos pos) protected doubleprotected doublestatic doublefloatPathNode.getManhattanDistance(BlockPos pos) private PathNodeTypeLandPathNodeMaker.getNodeType(MobEntity entity, BlockPos pos) floatPathNode.getSquaredDistance(BlockPos pos) booleanBirdNavigation.isValidPosition(BlockPos pos) booleanEntityNavigation.isValidPosition(BlockPos pos) booleanSwimNavigation.isValidPosition(BlockPos pos) booleanEntityNavigation.shouldRecalculatePath(BlockPos pos) Method parameters in net.minecraft.entity.ai.pathing with type arguments of type BlockPosModifier and TypeMethodDescriptionEntityNavigation.findPathTo(Set<BlockPos> positions, int distance) EntityNavigation.findPathTo(Set<BlockPos> positions, int range, boolean useHeadPos, int distance) EntityNavigation.findPathToAny(Set<BlockPos> positions, int range, boolean useHeadPos, int distance, float followRange) EntityNavigation.findPathToAny(Stream<BlockPos> positions, int distance) PathNodeNavigator.findPathToAny(Profiler profiler, PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier) PathNodeNavigator.findPathToAny(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier) Constructors in net.minecraft.entity.ai.pathing with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.entity.boss.dragon
Fields in net.minecraft.entity.boss.dragon declared as BlockPosMethods in net.minecraft.entity.boss.dragon with parameters of type BlockPosModifier and TypeMethodDescriptionvoidEnderDragonEntity.crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source) private voidEnderDragonFight.generateEndGateway(BlockPos pos) abstract voidEnderDragonSpawnState.run(ServerWorld world, EnderDragonFight fight, List<EndCrystalEntity> crystals, int tick, BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.boss.dragon.phase
Methods in net.minecraft.entity.boss.dragon.phase with parameters of type BlockPosModifier and TypeMethodDescriptionvoidAbstractPhase.crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player) voidHoldingPatternPhase.crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player) voidPhase.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 BlockPosModifier and TypeFieldDescriptionstatic final TrackedDataHandler<BlockPos>TrackedDataHandlerRegistry.BLOCK_POSstatic final TrackedDataHandler<Optional<BlockPos>>TrackedDataHandlerRegistry.OPTIONAL_BLOCK_POS -
Uses of BlockPos in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as BlockPosFields in net.minecraft.entity.decoration with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate static final TrackedData<Optional<BlockPos>>EndCrystalEntity.BEAM_TARGETMethods in net.minecraft.entity.decoration that return BlockPosModifier and TypeMethodDescriptionEndCrystalEntity.getBeamTarget()AbstractDecorationEntity.getDecorationBlockPos()Methods in net.minecraft.entity.decoration with parameters of type BlockPosModifier and TypeMethodDescriptionstatic LeashKnotEntityLeashKnotEntity.getOrCreate(World world, BlockPos pos) voidEndCrystalEntity.setBeamTarget(@Nullable BlockPos beamTarget) Constructors in net.minecraft.entity.decoration with parameters of type BlockPosModifierConstructorDescriptionprotectedAbstractDecorationEntity(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
Methods in net.minecraft.entity.decoration.painting with parameters of type BlockPosModifier and TypeMethodDescriptionstatic Optional<PaintingEntity>PaintingEntity.placePainting(World world, BlockPos pos, Direction facing) Constructors in net.minecraft.entity.decoration.painting with parameters of type BlockPosModifierConstructorDescriptionprivatePaintingEntity(World world, BlockPos pos) PaintingEntity(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of BlockPos in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as BlockPosModifier and TypeFieldDescriptionVexEntity.bounds(package private) BlockPosPhantomEntity.circlingCenterPatrolEntity.patrolTargetprivate BlockPosMobEntity.positionTargetShulkerEntity.prevAttachedBlockMethods in net.minecraft.entity.mob that return BlockPosModifier and TypeMethodDescriptionVexEntity.getBounds()PatrolEntity.getPatrolTarget()Returns the position this patrol entity is walking to.MobEntity.getPositionTarget()Methods in net.minecraft.entity.mob that return types with arguments of type BlockPosModifier and TypeMethodDescriptionMobEntity.getPotentialEscapePositions()Returns the list of positions that the entity should try to pathfind to when escaping.private static GoToRememberedPositionTask<BlockPos>PiglinBrain.makeGoToSoulFireTask()Methods in net.minecraft.entity.mob with parameters of type BlockPosModifier and TypeMethodDescriptionvoidWardenEntity.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.booleanWardenEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.protected PathNodeTypeRavagerEntity.PathNodeMaker.adjustNodeType(BlockView world, boolean canOpenDoors, boolean canEnterOpenDoors, BlockPos pos, PathNodeType type) static booleanMagmaCubeEntity.canMagmaCubeSpawn(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanMobEntity.canMobSpawn(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) private booleanEndermanEntity.PlaceBlockGoal.canPlaceOn(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos) static booleanDrownedEntity.canSpawn(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanEndermiteEntity.canSpawn(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanGhastEntity.canSpawn(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanGuardianEntity.canSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHoglinEntity.canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHuskEntity.canSpawn(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPatrolEntity.canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPiglinEntity.canSpawn(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanSilverfishEntity.canSpawn(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanSlimeEntity.canSpawn(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanStrayEntity.canSpawn(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanWaterCreatureEntity.canSpawn(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanZombifiedPiglinEntity.canSpawn(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHostileEntity.canSpawnIgnoreLightLevel(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHostileEntity.canSpawnInDark(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) (package private) booleanprotected voidFlyingEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) ShulkerEntity.findAttachSide(BlockPos pos) floatGiantEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatGuardianEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatHoglinEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatHostileEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatPathAwareEntity.getPathfindingFavor(BlockPos pos) floatPathAwareEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatPillagerEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatSilverfishEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatWardenEntity.getPathfindingFavor(BlockPos pos, WorldView world) private booleanShulkerEntity.isInvalidPosition(BlockPos pos) booleanMobEntity.isInWalkTargetRange(BlockPos pos) static booleanHostileEntity.isSpawnDark(ServerWorldAccess world, BlockPos pos, Random random) protected booleanDrownedEntity.LeaveWaterGoal.isTargetPos(WorldView world, BlockPos pos) private static booleanDrownedEntity.isValidSpawnDepth(WorldAccess world, BlockPos pos) (package private) static booleanHoglinBrain.isWarpedFungusAround(HoglinEntity hoglin, BlockPos pos) static voidWardenBrain.lookAtDisturbance(WardenEntity warden, BlockPos pos) voidZombieEntity.DestroyEggGoal.onDestroyBlock(World world, BlockPos pos) protected voidAbstractSkeletonEntity.playStepSound(BlockPos pos, BlockState state) protected voidEndermiteEntity.playStepSound(BlockPos pos, BlockState state) protected voidHoglinEntity.playStepSound(BlockPos pos, BlockState state) protected voidPiglinBruteEntity.playStepSound(BlockPos pos, BlockState state) protected voidPiglinEntity.playStepSound(BlockPos pos, BlockState state) protected voidRavagerEntity.playStepSound(BlockPos pos, BlockState state) protected voidSilverfishEntity.playStepSound(BlockPos pos, BlockState state) protected voidSpiderEntity.playStepSound(BlockPos pos, BlockState state) protected voidWardenEntity.playStepSound(BlockPos pos, BlockState state) protected voidZoglinEntity.playStepSound(BlockPos pos, BlockState state) protected voidZombieEntity.playStepSound(BlockPos pos, BlockState state) voidvoidPatrolEntity.setPatrolTarget(BlockPos targetPos) voidMobEntity.setPositionTarget(BlockPos target, int range) voidZombieEntity.DestroyEggGoal.tickStepping(WorldAccess world, BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as BlockPosModifier and TypeFieldDescriptionCatEntity.SleepWithOwnerGoal.bedPosBeeEntity.flowerPosBatEntity.hangingPositionBeeEntity.hivePosAllayEntity.jukeboxPosParrotEntity.songSourceWanderingTraderEntity.wanderTargetFields in net.minecraft.entity.passive with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate static final TrackedData<BlockPos>TurtleEntity.HOME_POSBeeEntity.MoveToHiveGoal.possibleHivesprivate static final TrackedData<BlockPos>TurtleEntity.TRAVEL_POSprivate static final TrackedData<BlockPos>DolphinEntity.TREASURE_POSMethods in net.minecraft.entity.passive that return BlockPosModifier and TypeMethodDescriptionBeeEntity.getFlowerPos()BeeEntity.getHivePos()(package private) BlockPosTurtleEntity.getHomePos()StriderEntity.GoBackToLavaGoal.getTargetPos()(package private) BlockPosTurtleEntity.getTravelPos()DolphinEntity.getTreasurePos()WanderingTraderEntity.getWanderTarget()Methods in net.minecraft.entity.passive that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBeeEntity.PollinateGoal.findFlower(Predicate<BlockState> predicate, double searchDistance) BeeEntity.PollinateGoal.getFlower()BeeEntity.FindHiveGoal.getNearbyFreeHives()BeeEntity.getPossibleHives()AllayEntity.getPotentialEscapePositions()Returns the list of positions that the entity should try to pathfind to when escaping.Methods in net.minecraft.entity.passive with parameters of type BlockPosModifier and TypeMethodDescriptionvoidAllayEntity.VibrationListenerCallback.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, Entity entity, Entity sourceEntity, float distance) Accepts a game event after delay.booleanAllayEntity.VibrationListenerCallback.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private voidBeeEntity.MoveToHiveGoal.addPossibleHive(BlockPos pos) static booleanAxolotlEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanBatEntity.canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanFoxEntity.canSpawn(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanFrogEntity.canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanGlowSquidEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanGoatEntity.canSpawn(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanMooshroomEntity.canSpawn(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanOcelotEntity.canSpawn(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanParrotEntity.canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPolarBearEntity.canSpawn(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanRabbitEntity.canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanStriderEntity.canSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanTurtleEntity.canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanWolfEntity.canSpawn(EntityType<WolfEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanTropicalFishEntity.canTropicalFishSpawn(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) private booleanBeeEntity.doesHiveHaveSpace(BlockPos pos) protected voidAllayEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected voidBatEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected voidBeeEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected voidParrotEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected voidStriderEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) floatAnimalEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatAxolotlEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatBeeEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatMooshroomEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatStriderEntity.getPathfindingFavor(BlockPos pos, WorldView world) floatTurtleEntity.getPathfindingFavor(BlockPos pos, WorldView world) private booleanBeeEntity.MoveToHiveGoal.isCloseEnough(BlockPos pos) (package private) booleanprotected static booleanAnimalEntity.isLightLevelValidForNaturalSpawn(BlockRenderView world, BlockPos pos) (package private) booleanBeeEntity.MoveToHiveGoal.isPossibleHive(BlockPos pos) protected booleanFoxEntity.EatSweetBerriesGoal.isTargetPos(WorldView world, BlockPos pos) protected booleanRabbitEntity.EatCarrotCropGoal.isTargetPos(WorldView world, BlockPos pos) protected booleanStriderEntity.GoBackToLavaGoal.isTargetPos(WorldView world, BlockPos pos) protected booleanTurtleEntity.LayEggGoal.isTargetPos(WorldView world, BlockPos pos) protected booleanTurtleEntity.WanderInWaterGoal.isTargetPos(WorldView world, BlockPos pos) (package private) booleanprivate booleanWanderingTraderEntity.WanderToTargetGoal.isTooFarFrom(BlockPos pos, double proximityDistance) static booleanAnimalEntity.isValidNaturalSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleanAxolotlSwimNavigation.isValidPosition(BlockPos pos) booleanStriderEntity.Navigation.isValidPosition(BlockPos pos) booleanTurtleEntity.TurtleSwimNavigation.isValidPosition(BlockPos pos) (package private) booleanBeeEntity.isWithinDistance(BlockPos pos, int distance) protected voidAbstractHorseEntity.playStepSound(BlockPos pos, BlockState state) protected voidAllayEntity.playStepSound(BlockPos pos, BlockState state) protected voidBeeEntity.playStepSound(BlockPos pos, BlockState state) protected voidChickenEntity.playStepSound(BlockPos pos, BlockState state) protected voidCowEntity.playStepSound(BlockPos pos, BlockState state) protected voidFishEntity.playStepSound(BlockPos pos, BlockState state) protected voidFrogEntity.playStepSound(BlockPos pos, BlockState state) protected voidGoatEntity.playStepSound(BlockPos pos, BlockState state) protected voidIronGolemEntity.playStepSound(BlockPos pos, BlockState state) protected voidLlamaEntity.playStepSound(BlockPos pos, BlockState state) protected voidPandaEntity.playStepSound(BlockPos pos, BlockState state) protected voidParrotEntity.playStepSound(BlockPos pos, BlockState state) protected voidPigEntity.playStepSound(BlockPos pos, BlockState state) protected voidPolarBearEntity.playStepSound(BlockPos pos, BlockState state) protected voidSheepEntity.playStepSound(BlockPos pos, BlockState state) protected voidStriderEntity.playStepSound(BlockPos pos, BlockState state) protected voidTurtleEntity.playStepSound(BlockPos pos, BlockState state) protected voidWolfEntity.playStepSound(BlockPos pos, BlockState state) static voidAllayBrain.rememberNoteBlock(LivingEntity allay, BlockPos pos) voidBeeEntity.setFlowerPos(BlockPos flowerPos) voidTurtleEntity.setHomePos(BlockPos pos) voidParrotEntity.setNearbySongPlaying(BlockPos songPosition, boolean playing) (package private) voidTurtleEntity.setTravelPos(BlockPos pos) voidDolphinEntity.setTreasurePos(BlockPos treasurePos) voidWanderingTraderEntity.setWanderTarget(@Nullable BlockPos wanderTarget) void(package private) voidBeeEntity.startMovingTo(BlockPos pos) private booleanBeeEntity.MoveToHiveGoal.startMovingToFar(BlockPos pos) voidAllayEntity.updateJukeboxPos(BlockPos jukeboxPos, boolean playing) -
Uses of BlockPos in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanPlayerEntity.canPlaceOn(BlockPos pos, Direction facing, ItemStack stack) protected booleanPlayerEntity.doesNotSuffocate(BlockPos pos) PlayerEntity.findRespawnPosition(ServerWorld world, BlockPos pos, float angle, boolean forced, boolean alive) Finds the precise respawn position from aBlockPosin a world.booleanPlayerEntity.isBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode) com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit> Tries to start sleeping on a block.Constructors in net.minecraft.entity.player with parameters of type BlockPosModifierConstructorDescriptionPlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile, @Nullable PlayerPublicKey publicKey) -
Uses of BlockPos in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanProjectileEntity.canModifyAt(World world, BlockPos pos) floatWitherSkullEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) private FishingBobberEntity.PositionTypeFishingBobberEntity.getPositionType(BlockPos pos) private FishingBobberEntity.PositionTypeFishingBobberEntity.getPositionType(BlockPos start, BlockPos end) private booleanFishingBobberEntity.isOpenOrWaterAround(BlockPos pos) private voidFishingBobberEntity.tickFishingLogic(BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.entity.raid
Fields in net.minecraft.entity.raid declared as BlockPosFields in net.minecraft.entity.raid with type parameters of type BlockPosMethods in net.minecraft.entity.raid with parameters of type BlockPosModifier and TypeMethodDescriptionprivate booleanRaiderEntity.AttackHomeGoal.canLootHome(BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle declared as BlockPosMethods in net.minecraft.entity.vehicle with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanTntMinecartEntity.canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) protected voidBoatEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) floatTntMinecartEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) protected voidAbstractMinecartEntity.moveOnRail(BlockPos pos, BlockState state) protected voidFurnaceMinecartEntity.moveOnRail(BlockPos pos, BlockState state) private booleanAbstractMinecartEntity.willHitBlockAt(BlockPos pos) -
Uses of BlockPos in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type BlockPosModifier and TypeMethodDescriptionprotected abstract voidFlowableFluid.beforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state) protected voidLavaFluid.beforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state) protected voidWaterFluid.beforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state) booleanEmptyFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanFluidState.canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) private booleanFlowableFluid.canFill(BlockView world, BlockPos pos, BlockState state, Fluid fluid) protected booleanFlowableFluid.canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid) private booleanFlowableFluid.canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) private booleanLavaFluid.canLightFire(WorldView world, BlockPos pos) protected voidFlowableFluid.flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected voidLavaFluid.flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) floatEmptyFluid.getHeight(FluidState state, BlockView world, BlockPos pos) floatFlowableFluid.getHeight(FluidState state, BlockView world, BlockPos pos) abstract floatFluid.getHeight(FluidState state, BlockView world, BlockPos pos) floatprotected intFlowableFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) intLavaFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) EmptyFluid.getShape(FluidState state, BlockView world, BlockPos pos) FlowableFluid.getShape(FluidState state, BlockView world, BlockPos pos) abstract VoxelShapeFluid.getShape(FluidState state, BlockView world, BlockPos pos) protected Map<Direction,FluidState> FlowableFluid.getSpread(WorldView world, BlockPos pos, BlockState state) protected FluidStateFlowableFluid.getUpdatedState(WorldView world, BlockPos pos, BlockState state) EmptyFluid.getVelocity(BlockView world, BlockPos pos, FluidState state) FlowableFluid.getVelocity(BlockView world, BlockPos pos, FluidState state) protected abstract Vec3dFluid.getVelocity(BlockView world, BlockPos pos, FluidState state) FluidState.getVelocity(BlockView world, BlockPos pos) private booleanLavaFluid.hasBurnableBlock(WorldView world, BlockPos pos) private static booleanFlowableFluid.isFluidAboveEqual(FluidState state, BlockView world, BlockPos pos) private booleanFlowableFluid.method_15736(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) private intFlowableFluid.method_15740(WorldView world, BlockPos pos) protected intFlowableFluid.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 voidFlowableFluid.method_15744(WorldAccess world, BlockPos pos, FluidState fluidState, BlockState blockState) private static shortFlowableFluid.method_15747(BlockPos blockPos, BlockPos blockPos2) protected booleanFlowableFluid.method_15749(BlockView world, BlockPos pos, Direction direction) booleanFluidState.method_15756(BlockView world, BlockPos pos) protected voidFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidFluidState.onRandomTick(World world, BlockPos pos, Random random) voidLavaFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidFlowableFluid.onScheduledTick(World world, BlockPos pos, FluidState state) protected voidFluid.onScheduledTick(World world, BlockPos pos, FluidState state) voidFluidState.onScheduledTick(World world, BlockPos pos) private voidLavaFluid.playExtinguishEvent(WorldAccess world, BlockPos pos) protected voidFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidFluidState.randomDisplayTick(World world, BlockPos pos, Random random) voidLavaFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidWaterFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) private booleanFlowableFluid.receivesFlow(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) protected voidFlowableFluid.tryFlow(WorldAccess world, BlockPos fluidPos, FluidState state) -
Uses of BlockPos in net.minecraft.item
Fields in net.minecraft.item declared as BlockPosMethods in net.minecraft.item that return BlockPosModifier and TypeMethodDescriptionAutomaticItemPlacementContext.getBlockPos()ItemPlacementContext.getBlockPos()ItemUsageContext.getBlockPos()Methods in net.minecraft.item with parameters of type BlockPosModifier and TypeMethodDescriptionstatic ActionResultLeadItem.attachHeldMobsToBlock(PlayerEntity player, World world, BlockPos pos) booleanDebugStickItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.booleanItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.booleanSwordItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.booleanTridentItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.protected booleanDecorationItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) protected booleanItemFrameItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) static voidBoneMealItem.createParticles(WorldAccess world, BlockPos pos, int count) private BlockStateFilledMapItem.getFluidStateIfVisible(World world, BlockState state, BlockPos pos) static ItemPlacementContextItemPlacementContext.offset(ItemPlacementContext context, BlockPos pos, Direction side) voidvoidEntityBucketItem.onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) default voidFluidModificationItem.onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) booleanBucketItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) booleanFluidModificationItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) booleanPowderSnowBucketItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) private BlockStateBlockItem.placeFromNbt(BlockPos pos, World world, ItemStack stack, BlockState state) protected voidBucketItem.playEmptyingSound(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos) protected voidEntityBucketItem.playEmptyingSound(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos) private voidFireChargeItem.playUseSound(World world, BlockPos pos) booleanItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) voidItemStack.postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner) booleanMiningToolItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanShearsItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanSwordItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanTridentItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) protected booleanBlockItem.postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) protected booleanSignItem.postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) private voidEntityBucketItem.spawnEntity(ServerWorld world, ItemStack stack, BlockPos pos) private booleanDebugStickItem.use(PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos, boolean update, ItemStack stack) static booleanBoneMealItem.useOnFertilizable(ItemStack stack, World world, BlockPos pos) static booleanBoneMealItem.useOnGround(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing) private voidCompassItem.writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt) static booleanBlockItem.writeNbtToBlockEntity(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack) Constructors in net.minecraft.item with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.item.map
Fields in net.minecraft.item.map declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosMapBannerMarker.posprivate final BlockPosMapFrameMarker.posMethods in net.minecraft.item.map that return BlockPosMethods in net.minecraft.item.map with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanMapState.addBanner(WorldAccess world, BlockPos pos) static voidMapState.addDecorationsNbt(ItemStack stack, BlockPos pos, String id, MapIcon.Type type) static @Nullable MapBannerMarkerMapBannerMarker.fromWorldBlock(BlockView blockView, BlockPos blockPos) static StringvoidMapState.removeFrame(BlockPos pos, int id) Constructors in net.minecraft.item.map with parameters of type BlockPosModifierConstructorDescriptionMapBannerMarker(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 BlockPosModifier and TypeFieldDescription(package private) final BlockPosLocationCheckLootCondition.offsetMethods in net.minecraft.loot.condition with parameters of type BlockPosModifier and TypeMethodDescriptionstatic LootCondition.BuilderLocationCheckLootCondition.builder(LocationPredicate.Builder predicateBuilder, BlockPos pos) Constructors in net.minecraft.loot.condition with parameters of type BlockPosModifierConstructorDescription(package private)LocationCheckLootCondition(LocationPredicate predicate, BlockPos offset) -
Uses of BlockPos in net.minecraft.nbt
Methods in net.minecraft.nbt that return BlockPosModifier and TypeMethodDescriptionstatic BlockPosNbtHelper.toBlockPos(NbtCompound nbt) Returns the block position from thenbt.Methods in net.minecraft.nbt with parameters of type BlockPosModifier and TypeMethodDescriptionstatic NbtCompoundNbtHelper.fromBlockPos(BlockPos pos) Returns the serialized block position. -
Uses of BlockPos in net.minecraft.network
Methods in net.minecraft.network that return BlockPosModifier and TypeMethodDescriptionPacketByteBuf.readBlockPos()Reads a block position from this buf.Methods in net.minecraft.network with parameters of type BlockPosModifier and TypeMethodDescriptionPacketByteBuf.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 BlockPosModifier and TypeFieldDescriptionprivate final BlockPosUpdateStructureBlockC2SPacket.offsetprivate final BlockPosJigsawGeneratingC2SPacket.posprivate final BlockPosPlayerActionC2SPacket.posprivate final BlockPosQueryBlockNbtC2SPacket.posprivate final BlockPosUpdateCommandBlockC2SPacket.posprivate final BlockPosUpdateJigsawC2SPacket.posprivate final BlockPosUpdateSignC2SPacket.posprivate final BlockPosUpdateStructureBlockC2SPacket.posMethods in net.minecraft.network.packet.c2s.play that return BlockPosModifier and TypeMethodDescriptionUpdateCommandBlockC2SPacket.getBlockPos()UpdateStructureBlockC2SPacket.getOffset()JigsawGeneratingC2SPacket.getPos()PlayerActionC2SPacket.getPos()QueryBlockNbtC2SPacket.getPos()UpdateJigsawC2SPacket.getPos()UpdateSignC2SPacket.getPos()UpdateStructureBlockC2SPacket.getPos()Constructors in net.minecraft.network.packet.c2s.play with parameters of type BlockPosModifierConstructorDescriptionJigsawGeneratingC2SPacket(BlockPos pos, int maxDepth, boolean keepJigsaws) PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction, int sequence) QueryBlockNbtC2SPacket(int transactionId, BlockPos pos) UpdateCommandBlockC2SPacket(BlockPos pos, String command, CommandBlockBlockEntity.Type type, boolean trackOutput, boolean conditional, boolean alwaysActive) UpdateJigsawC2SPacket(BlockPos pos, Identifier name, Identifier target, Identifier pool, String finalState, JigsawBlockEntity.Joint jointType) UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Uses of BlockPos in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosBlockBreakingProgressS2CPacket.posprivate final BlockPosBlockEntityUpdateS2CPacket.posprivate final BlockPosBlockEventS2CPacket.posprivate final BlockPosBlockUpdateS2CPacket.posprivate final BlockPosPlayerSpawnPositionS2CPacket.posprivate final BlockPosSignEditorOpenS2CPacket.posprivate final BlockPosWorldEventS2CPacket.posFields in net.minecraft.network.packet.s2c.play with type parameters of type BlockPosMethods in net.minecraft.network.packet.s2c.play that return BlockPosModifier and TypeMethodDescriptionBlockBreakingProgressS2CPacket.getPos()BlockEntityUpdateS2CPacket.getPos()BlockEventS2CPacket.getPos()BlockUpdateS2CPacket.getPos()PlayerSpawnPositionS2CPacket.getPos()SignEditorOpenS2CPacket.getPos()WorldEventS2CPacket.getPos()Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type BlockPosMethods in net.minecraft.network.packet.s2c.play with parameters of type BlockPosModifier and TypeMethodDescriptionvoidChunkData.BlockEntityVisitor.accept(BlockPos pos, BlockEntityType<?> type, @Nullable NbtCompound nbt) Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidChunkDeltaUpdateS2CPacket.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 BlockPosModifierConstructorDescriptionBlockBreakingProgressS2CPacket(int entityId, BlockPos pos, int progress) privateBlockEntityUpdateS2CPacket(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt) BlockEventS2CPacket(BlockPos pos, Block block, int type, int data) BlockUpdateS2CPacket(BlockPos pos, BlockState state) BlockUpdateS2CPacket(BlockView world, BlockPos pos) EntitySpawnS2CPacket(Entity entity, int entityTypeId, BlockPos pos) PlayerSpawnPositionS2CPacket(BlockPos pos, float angle) WorldEventS2CPacket(int eventId, BlockPos pos, int data, boolean global) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type BlockPosModifierConstructorDescriptionExplosionS2CPacket(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 BlockPosModifier and TypeMethodDescriptionbooleanBlockPredicate.test(ServerWorld world, BlockPos pos) booleanFluidPredicate.test(ServerWorld world, BlockPos pos) booleanLightPredicate.test(ServerWorld world, BlockPos pos) -
Uses of BlockPos in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type BlockPosModifier and TypeMethodDescriptionstatic ScreenHandlerContextReturns an active screen handler context.Method parameters in net.minecraft.screen with type arguments of type BlockPosModifier and TypeMethodDescription<T> Optional<T>ScreenHandlerContext.get(BiFunction<World, BlockPos, T> getter) Gets an optional value from this context's world and position with aBiFunctiongetter.default <T> TScreenHandlerContext.get(BiFunction<World, BlockPos, T> getter, T defaultValue) Gets a value from this context's world and position with aBiFunctiongetter.default voidScreenHandlerContext.run(BiConsumer<World, BlockPos> function) Runs aBiConsumerwith 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 BlockPosModifier and TypeMethodDescriptionbooleanMinecraftServer.isSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player) -
Uses of BlockPos in net.minecraft.server.command
Fields in net.minecraft.server.command declared as BlockPosMethods in net.minecraft.server.command with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static intCloneCommand.execute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode) private static intDebugMobSpawningCommand.execute(ServerCommandSource source, SpawnGroup group, BlockPos pos) private static intDebugPathCommand.execute(ServerCommandSource source, BlockPos pos) private static intSetBlockCommand.execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition) private static intSetWorldSpawnCommand.execute(ServerCommandSource source, BlockPos pos, float angle) private static intSpawnPointCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, BlockPos pos, float angle) private static intLootCommand.executeBlock(ServerCommandSource source, BlockPos targetPos, int slot, int stackCount, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static intItemCommand.executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot) private static intItemCommand.executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, LootFunction modifier) private static intItemCommand.executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot) private static intItemCommand.executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, LootFunction modifier) private static intItemCommand.executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, LootFunction modifier) private static intItemCommand.executeBlockReplace(ServerCommandSource source, BlockPos pos, int slot, ItemStack stack) private static intItemCommand.executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot) private static intItemCommand.executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier) private static intLootCommand.executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier lootTable, BlockPos pos, ItemStack stack, LootCommand.Target constructor) private static intLootCommand.executeInsert(ServerCommandSource source, BlockPos targetPos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) private static intLootCommand.executeMine(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BlockPos pos, ItemStack stack, LootCommand.Target constructor) static intPlaceCommand.executePlaceFeature(ServerCommandSource source, RegistryEntry<ConfiguredFeature<?, ?>> feature, BlockPos pos) static intPlaceCommand.executePlaceJigsaw(ServerCommandSource source, RegistryEntry<StructurePool> structurePool, Identifier id, int maxDepth, BlockPos pos) static intPlaceCommand.executePlaceStructure(ServerCommandSource source, RegistryEntry<Structure> structure, BlockPos pos) static intPlaceCommand.executePlaceTemplate(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed) SetBlockCommand.Filter.filter(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world) private static InventoryLootCommand.getBlockInventory(ServerCommandSource source, BlockPos pos) private static InventoryItemCommand.getInventoryAtPos(ServerCommandSource source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception) private static ItemStackItemCommand.getStackInSlotFromInventoryAt(ServerCommandSource source, BlockPos pos, int slotId) private static voidTestCommand.run(ServerWorld world, BlockPos pos, @Nullable TestSet tests) static intLocateCommand.sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> structurePosAndEntry, String successMessage, boolean bool) private static OptionalIntExecuteCommand.testBlocksCondition(ServerWorld world, BlockPos start, BlockPos end, BlockPos destination, boolean masked) Method parameters in net.minecraft.server.command with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic intLocateCommand.sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> structurePosAndEntry, String successMessage, boolean bool) Constructors in net.minecraft.server.command with parameters of type BlockPosModifierConstructorDescriptionBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound blockEntityNbt) -
Uses of BlockPos in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanMinecraftDedicatedServer.isSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player) -
Uses of BlockPos in net.minecraft.server.network
Fields in net.minecraft.server.network declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPosServerPlayerInteractionManager.failedMiningPosprivate BlockPosServerPlayerInteractionManager.miningPosServerPlayerEntity.spawnPointPositionMethods in net.minecraft.server.network that return BlockPosModifier and TypeMethodDescriptionSpawnLocating.findOverworldSpawn(ServerWorld world, int x, int z) SpawnLocating.findServerSpawnPoint(ServerWorld world, ChunkPos chunkPos) ServerPlayerEntity.getSpawnPointPosition()Methods in net.minecraft.server.network with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidDebugInfoSender.addGameTestMarker(ServerWorld world, BlockPos pos, String message, int color, int duration) protected voidServerPlayerEntity.applyMovementEffects(BlockPos pos) booleanServerPlayerEntity.canModifyAt(World world, BlockPos pos) private floatServerPlayerInteractionManager.continueMining(BlockState state, BlockPos pos, int failedStartMiningTime) private voidServerPlayerEntity.createEndSpawnPlatform(ServerWorld world, BlockPos centerPos) protected voidServerPlayerEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) voidServerPlayerInteractionManager.finishMining(BlockPos pos, int sequence, String reason) protected Optional<BlockLocating.Rectangle>ServerPlayerEntity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether, WorldBorder worldBorder) private booleanServerPlayerEntity.isBedObstructed(BlockPos pos, Direction direction) private booleanServerPlayerEntity.isBedTooFarAway(BlockPos pos) private booleanServerPlayerEntity.isBedTooFarAway(BlockPos pos, Direction direction) private voidServerPlayerInteractionManager.method_41250(BlockPos pos, boolean success, int sequence, String reason) voidDemoServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight, int sequence) voidServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight, int sequence) static voidDebugInfoSender.sendBeehiveDebugData(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static voidDebugInfoSender.sendNeighborUpdate(World world, BlockPos pos) private static voidDebugInfoSender.sendPoi(ServerWorld world, BlockPos pos) static voidDebugInfoSender.sendPoiAddition(ServerWorld world, BlockPos pos) static voidDebugInfoSender.sendPointOfInterest(ServerWorld world, BlockPos pos) static voidDebugInfoSender.sendPoiRemoval(ServerWorld world, BlockPos pos) voidServerPlayerEntity.setSpawnPoint(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean forced, boolean sendMessage) Sets the player's spawn point.voidbooleanServerPlayerInteractionManager.tryBreakBlock(BlockPos pos) com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit> Tries to start sleeping on a block. -
Uses of BlockPos in net.minecraft.server.world
Fields in net.minecraft.server.world declared as BlockPosModifier and TypeFieldDescriptionstatic final BlockPosServerWorld.END_SPAWN_POSprivate final BlockPosBlockEvent.posThe field for theposrecord component.Fields in net.minecraft.server.world with type parameters of type BlockPosModifier and TypeFieldDescriptionstatic final ChunkTicketType<BlockPos>ChunkTicketType.PORTALUsed by a nether portal to load chunks in the other dimension.Methods in net.minecraft.server.world that return BlockPosModifier and TypeMethodDescriptionprotected BlockPosServerWorld.getLightningPos(BlockPos pos) ServerWorld.locateStructure(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.BlockEvent.pos()Returns the value of theposrecord component.Methods in net.minecraft.server.world that return types with arguments of type BlockPosModifier and TypeMethodDescriptionServerWorld.getLightningRodPos(BlockPos pos) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> ServerWorld.locateBiome(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval) Methods in net.minecraft.server.world with parameters of type BlockPosModifier and TypeMethodDescriptionvoidServerLightingProvider.addLightSource(BlockPos pos, int level) voidServerWorld.addSyncedBlockEvent(BlockPos pos, Block block, int type, int data) booleanServerWorld.canPlayerModifyAt(PlayerEntity player, BlockPos pos) Returns whetherplayercan modify blocks atpos.voidServerLightingProvider.checkBlock(BlockPos pos) protected BlockPosServerWorld.getLightningPos(BlockPos pos) ServerWorld.getLightningRodPos(BlockPos pos) Returns the raid occurring within 96 block radius, ornullif there is none.booleanReturnstrueif a raid exists within 96 block radius ofpos.booleanServerWorld.isNearOccupiedPointOfInterest(BlockPos pos) booleanServerWorld.isNearOccupiedPointOfInterest(BlockPos pos, int maxDistance) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> ServerWorld.locateBiome(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval) ServerWorld.locateStructure(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.voidChunkHolder.markForBlockUpdate(BlockPos pos) voidServerChunkManager.markForUpdate(BlockPos pos) voidServerWorld.onBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock) Called when a block state changed.private voidChunkHolder.sendBlockEntityUpdatePacket(World world, BlockPos pos) voidServerWorld.setBlockBreakingInfo(int entityId, BlockPos pos, int progress) voidServerWorld.setSpawnPos(BlockPos pos, float angle) Sets the world spawn point.booleanServerEntityManager.shouldTick(BlockPos pos) booleanServerWorld.shouldTick(BlockPos pos) booleanServerWorld.shouldTickEntity(BlockPos pos) Returns whether to tick entities atpos.voidServerWorld.syncGlobalEvent(int eventId, BlockPos pos, int data) voidServerWorld.syncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) private voidprivate voidprivate voidChunkHolder.tryUpdateBlockEntityAt(World world, BlockPos pos, BlockState state) voidServerWorld.updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags) voidServerWorld.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidServerWorld.updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos sourcePos) Triggers a neighbor update originating fromsourcePosatpos.voidServerWorld.updateNeighbors(BlockPos pos, Block block) voidServerWorld.updateNeighborsAlways(BlockPos pos, Block sourceBlock) Emits a neighbor update to all 6 neighboring blocks ofpos.voidServerWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection.Constructors in net.minecraft.server.world with parameters of type BlockPosModifierConstructorDescriptionBlockEvent(BlockPos pos, Block block, int type, int data) Creates an instance of aBlockEventrecord class. -
Uses of BlockPos in net.minecraft.structure
Fields in net.minecraft.structure declared as BlockPosModifier and TypeFieldDescriptionfinal BlockPosStructureTemplate.StructureEntityInfo.blockPos(package private) static final BlockPosShipwreckGenerator.DEFAULT_POSITIONprotected BlockPosPoolStructurePiece.posprotected BlockPosSimpleStructurePiece.posfinal BlockPosStructureTemplate.StructureBlockInfo.posprivate BlockPosStructurePlacementData.positionWoodlandMansionGenerator.GenerationPiece.positionFields in net.minecraft.structure with type parameters of type BlockPosModifier and TypeFieldDescription(package private) static final List<Pair<BlockRotation,BlockPos>> EndCityGenerator.FAT_TOWER_BRIDGE_ATTACHMENTS(package private) static final Map<Identifier,BlockPos> IglooGenerator.OFFSETS(package private) static final Map<Identifier,BlockPos> IglooGenerator.OFFSETS_FROM_TOP(package private) static final List<Pair<BlockRotation,BlockPos>> EndCityGenerator.SMALL_TOWER_BRIDGE_ATTACHMENTSMethods in net.minecraft.structure that return BlockPosModifier and TypeMethodDescriptionstatic BlockPosStructureTemplate.applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) StrongholdGenerator.Start.getCenter()StructurePiece.getCenter()PoolStructurePiece.getPos()StructurePlacementData.getPosition()private static BlockPosIglooGenerator.Piece.getPosOffset(Identifier identifier, BlockPos pos, int yOffset) SimpleStructurePiece.method_41625()StructureTemplate.offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation) static BlockPosStructureTemplate.transform(StructurePlacementData placementData, BlockPos pos) static BlockPosStructureTemplate.transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) StructureTemplate.transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2) Methods in net.minecraft.structure that return types with arguments of type BlockPosModifier and TypeMethodDescriptionOceanRuinGenerator.getRoomPositions(Random random, BlockPos pos) Methods in net.minecraft.structure with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidWoodlandMansionGenerator.LayoutGenerator.addBigRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool) private voidWoodlandMansionGenerator.LayoutGenerator.addBigSecretRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.RoomPool pool) protected booleanStructurePiece.addChest(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, @Nullable BlockState block) private voidStructureTemplate.addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner) private voidWoodlandMansionGenerator.LayoutGenerator.addMediumRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool, boolean staircase) static voidShipwreckGenerator.addParts(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, boolean bool) static voidEndCityGenerator.addPieces(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static voidIglooGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random) static voidNetherFossilGenerator.addPieces(StructureTemplateManager manager, StructurePiecesHolder holder, Random random, BlockPos pos) static voidOceanRuinGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure oceanRuinStructure) static voidWoodlandMansionGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) private voidWoodlandMansionGenerator.LayoutGenerator.addRoof(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.FlagMatrix layout, @Nullable WoodlandMansionGenerator.FlagMatrix nextFloorLayout) private voidWoodlandMansionGenerator.LayoutGenerator.addSmallRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) static BlockPosStructureTemplate.applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) StructureTemplate.calculateBoundingBox(StructurePlacementData placementData, BlockPos pos) StructureTemplate.calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) private booleanRuinedPortalStructurePiece.canFillNetherrack(WorldAccess world, BlockPos pos) booleanbooleanEndCityGenerator.Part.create(StructureTemplateManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random) protected static BlockBoxStructureTemplate.createBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) (package private) static booleanEndCityGenerator.createPart(StructureTemplateManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random) (package private) static EndCityGenerator.PieceEndCityGenerator.createPiece(StructureTemplateManager structureTemplateManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir) private static StructurePlacementDataRuinedPortalStructurePiece.createPlacementData(BlockMirror mirror, BlockRotation rotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalStructurePiece.Properties properties) voidBuriedTreasureGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidDesertTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidIglooGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidJungleTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidMineshaftGenerator.MineshaftCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidMineshaftGenerator.MineshaftCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidMineshaftGenerator.MineshaftRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidMineshaftGenerator.MineshaftStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.Bridge.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgeCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgeEnd.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgePlatform.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgeSmallCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgeStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorBalcony.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorExit.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorLeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorNetherWartsRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorRightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFossilGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.Base.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.CoreRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.DoubleXRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.DoubleXYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.DoubleYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.DoubleYZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.DoubleZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.Entry.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.Penthouse.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.SimpleRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.SimpleRoomTop.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.WingRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanRuinGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidPoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) voidPoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidRuinedPortalStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidShipwreckGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidSimpleStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.ChestCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.Corridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.FiveWayCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.LeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.Library.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.PortalRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.PrisonHall.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.RightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.SpiralStaircase.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.SquareRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.Stairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) abstract voidStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidSwampHutGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidWoodlandMansionGenerator.LayoutGenerator.generate(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters) private voidRuinedPortalStructurePiece.generateOvergrownLeaves(Random random, WorldAccess world, BlockPos pos) private voidRuinedPortalStructurePiece.generateVines(Random random, WorldAccess world, BlockPos pos) StructureTemplate.getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block) StructureTemplate.getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed) private static BlockPosIglooGenerator.Piece.getPosOffset(Identifier identifier, BlockPos pos, int yOffset) StructurePlacementData.getRandomBlockInfos(List<StructureTemplate.PalettedBlockInfoList> list, @Nullable BlockPos pos) OceanRuinGenerator.getRoomPositions(Random random, BlockPos pos) protected voidEndCityGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidIglooGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidNetherFossilGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidOceanRuinGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidRuinedPortalStructurePiece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidShipwreckGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected abstract voidSimpleStructurePiece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidWoodlandMansionGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) private booleanMineshaftGenerator.MineshaftCorridor.isUpsideSolidFullSquare(WorldView world, BlockPos pos, BlockState state) private static voidOceanRuinGenerator.method_14822(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure oceanRuinStructure, boolean large, float integrity) private static voidOceanRuinGenerator.method_14825(StructureTemplateManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinStructure oceanRuinStructure, StructurePiecesHolder structurePiecesHolder) private intOceanRuinGenerator.Piece.method_14829(BlockPos start, BlockView world, BlockPos end) StructureTemplate.offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation) static BlockStateStructurePiece.orientateChest(BlockView world, BlockPos pos, BlockState state) booleanStructureTemplate.place(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags) private voidRuinedPortalStructurePiece.placeNetherrackBottom(Random random, WorldAccess world, BlockPos pos) StructureTemplate.process(WorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<StructureTemplate.StructureBlockInfo> infos) voidStructureTemplate.saveFromWorld(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, @Nullable Block ignoredBlock) StructurePlacementData.setPosition(BlockPos position) private booleanMineshaftGenerator.MineshaftCorridor.sideCoversSmallSquare(WorldView world, BlockPos pos, BlockState state) private voidStructureTemplate.spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) static BlockPosStructureTemplate.transform(StructurePlacementData placementData, BlockPos pos) static BlockPosStructureTemplate.transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) static Vec3dStructureTemplate.transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) StructureTemplate.transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2) private voidRuinedPortalStructurePiece.updateNetherracks(Random random, WorldAccess world, BlockPos pos) Constructors in net.minecraft.structure with parameters of type BlockPosModifierConstructorDescriptionPiece(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir) Piece(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset) Piece(StructureTemplateManager manager, Identifier template, BlockPos pos, BlockRotation rotation) Piece(StructureTemplateManager structureTemplateManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded) Piece(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation) Piece(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror) PoolStructurePiece(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) RuinedPortalStructurePiece(StructureTemplateManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, StructureTemplate template, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) SimpleStructurePiece(StructurePieceType type, int length, StructureTemplateManager structureTemplateManager, Identifier id, String template, StructurePlacementData placementData, BlockPos pos) StructureBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound nbt) StructureEntityInfo(Vec3d pos, BlockPos blockPos, NbtCompound nbt) -
Uses of BlockPos in net.minecraft.structure.pool
Methods in net.minecraft.structure.pool that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructurePoolBasedGenerator.findStartingJigsawPos(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random) Methods in net.minecraft.structure.pool with parameters of type BlockPosModifier and TypeMethodDescriptionStructurePoolBasedGenerator.findStartingJigsawPos(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random) booleanEmptyPoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanFeaturePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanListPoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanSinglePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) static booleanStructurePoolBasedGenerator.generate(ServerWorld world, RegistryEntry<StructurePool> structurePool, Identifier id, int int2, BlockPos pos, boolean keepJigsaws) static Optional<Structure.StructurePosition>StructurePoolBasedGenerator.generate(Structure.Context context, RegistryEntry<StructurePool> structurePool, Optional<Identifier> id, int size, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter) abstract booleanStructurePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) EmptyPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) abstract BlockBoxStructurePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getDataStructureBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated) EmptyPoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) FeaturePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) ListPoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) SinglePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) abstract List<StructureTemplate.StructureBlockInfo>StructurePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) voidStructurePoolElement.method_16756(WorldAccess world, StructureTemplate.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) -
Uses of BlockPos in net.minecraft.structure.processor
Methods in net.minecraft.structure.processor with parameters of type BlockPosModifier and TypeMethodDescriptionBlackstoneReplacementStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockAgeStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockIgnoreStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockRotStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) GravityStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) JigsawReplacementStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) LavaSubmergedBlockStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) NopStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) ProtectedBlocksStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) RuleStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) abstract StructureTemplate.StructureBlockInfoStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) booleanStructureProcessorRule.test(BlockState input, BlockState location, BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, Random random) -
Uses of BlockPos in net.minecraft.structure.rule
Methods in net.minecraft.structure.rule with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.test
Fields in net.minecraft.test declared as BlockPosModifier and TypeFieldDescriptionGameTestState.posprivate final BlockPosPositionedException.posprivate final BlockPosStructureTestListener.posprivate final BlockPosTestRunner.posprivate final BlockPosTestServer.posprivate final BlockPosPositionedException.relativePosMethods in net.minecraft.test that return BlockPosModifier and TypeMethodDescriptionStructureTestUtil.findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world) TestContext.getAbsolutePos(BlockPos pos) GameTestState.getPos()PositionedException.getPos()PositionedException.getRelativePos()TestContext.getRelativePos(BlockPos pos) Methods in net.minecraft.test that return types with arguments of type BlockPosModifier and TypeMethodDescriptionprivate Map<GameTestState,BlockPos> TestRunner.alignTestStructures(Collection<GameTestState> gameTests) StructureTestUtil.findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world) static Collection<BlockPos>StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world) Methods in net.minecraft.test with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static voidStructureTestListener.addGameTestMarker(ServerWorld world, BlockPos pos, String message) voidTestContext.checkBlock(BlockPos pos, Predicate<Block> predicate, String errorMessage) voidTestContext.checkBlock(BlockPos pos, Predicate<Block> predicate, Supplier<String> errorMessageSupplier) <T extends Comparable<T>>
voidTestContext.checkBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage) voidTestContext.checkBlockState(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> errorMessageSupplier) static voidTestUtil.clearTests(ServerWorld world, BlockPos pos, TestManager testManager, int radius) static TestServerTestServer.create(Thread thread, LevelStorage.Session session, ResourcePackManager resourcePackManager, Collection<GameTestBatch> batches, BlockPos pos) static StructureBlockBlockEntityStructureTestUtil.createStructureTemplate(String templateName, BlockPos pos, BlockRotation rotation, int int2, ServerWorld world, boolean bool) static voidStructureTestUtil.createTestArea(String testName, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world) voidTestContext.dontExpectBlock(Block block, BlockPos pos) voidTestContext.dontExpectEntityAt(EntityType<?> type, BlockPos pos) voidTestContext.dontExpectEntityAtEnd(EntityType<?> type, BlockPos pos) voidTestContext.dontExpectItemAt(Item item, BlockPos pos, double radius) voidTestContext.expectBlock(Block block, BlockPos pos) voidTestContext.expectBlockAtEnd(Block block, BlockPos pos) <T extends Comparable<T>>
voidTestContext.expectBlockProperty(BlockPos pos, Property<T> property, T value) voidTestContext.expectContainerWith(long delay, BlockPos pos, Item item) voidTestContext.expectContainerWith(BlockPos pos, Item item) voidTestContext.expectEmptyContainer(long delay, BlockPos pos) voidTestContext.expectEmptyContainer(BlockPos pos) voidTestContext.expectEntitiesAround(EntityType<?> type, BlockPos pos, int amount, double radius) voidTestContext.expectEntityAround(EntityType<?> type, BlockPos pos, double radius) voidTestContext.expectEntityAt(Entity entity, BlockPos pos) voidTestContext.expectEntityAt(EntityType<?> type, BlockPos pos) voidTestContext.expectEntityAtEnd(EntityType<?> type, BlockPos pos) <E extends Entity,T>
voidTestContext.expectEntityWithData(BlockPos pos, EntityType<E> type, Function<? super E, T> entityDataGetter, T data) <E extends Entity,T>
voidTestContext.expectEntityWithDataEnd(BlockPos pos, EntityType<E> type, Function<E, T> entityDataGetter, T data) voidTestContext.expectItemAt(Item item, BlockPos pos, double radius) voidTestContext.expectItemsAt(Item item, BlockPos pos, double radius, int amount) voidTestContext.expectSameStates(BlockBox checkedBlockBox, BlockPos correctStatePos) voidTestContext.expectSameStates(BlockPos checkedPos, BlockPos correctStatePos) StructureTestUtil.findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world) static Collection<BlockPos>StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world) private static voidStructureTestUtil.forceLoadNearbyChunks(BlockPos pos, ServerWorld world) voidTestContext.forceRandomTick(BlockPos pos) TestContext.getAbsolutePos(BlockPos pos) TestContext.getBlockEntity(BlockPos pos) TestContext.getBlockState(BlockPos pos) TestContext.getEntitiesAround(EntityType<T> type, BlockPos pos, double radius) TestContext.getRelativePos(BlockPos pos) static BlockBoxStructureTestUtil.getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation) voidprivate static booleanStructureTestUtil.isInStructureBounds(BlockPos structureBlockPos, BlockPos pos, ServerWorld world) static voidStructureTestUtil.placeStartButton(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world) private static StructureBlockBlockEntityStructureTestUtil.placeStructureTemplate(String name, BlockPos pos, BlockRotation rotation, ServerWorld world, boolean bool) voidTestContext.pushButton(BlockPos pos) voidTestContext.putAndRemoveRedstoneBlock(BlockPos pos, long delay) voidTestContext.removeBlock(BlockPos pos) private static voidStructureTestUtil.resetBlock(int altitude, BlockPos pos, ServerWorld world) static Collection<GameTestState>TestUtil.runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) static Collection<GameTestState>TestUtil.runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) voidTestContext.setBlockState(BlockPos pos, Block block) voidTestContext.setBlockState(BlockPos pos, BlockState state) (package private) void<E extends Entity>
ETestContext.spawnEntity(EntityType<E> type, BlockPos pos) <E extends MobEntity>
ETestContext.spawnMob(EntityType<E> type, BlockPos pos) TestContext.startMovingTowards(MobEntity entity, BlockPos pos, float speed) static voidTestUtil.startTest(GameTestState test, BlockPos pos, TestManager testManager) voidTestContext.throwPositionedException(String message, BlockPos pos) voidTestContext.toggleLever(BlockPos pos) voidMethod parameters in net.minecraft.test with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidTestContext.forEachRelativePos(Consumer<BlockPos> posConsumer) Constructors in net.minecraft.test with parameters of type BlockPosModifierConstructorDescriptionPositionedException(String message, BlockPos pos, BlockPos relativePos, long tick) StructureTestListener(GameTestState test, TestManager testManager, BlockPos pos) TestRunner(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) privateTestServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<GameTestBatch> batches, BlockPos pos) -
Uses of BlockPos in net.minecraft.util
Methods in net.minecraft.util with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.util.crash
Methods in net.minecraft.util.crash with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidCrashReportSection.addBlockInfo(CrashReportSection element, HeightLimitView world, BlockPos pos, @Nullable BlockState state) static StringCrashReportSection.createPositionString(HeightLimitView world, BlockPos pos) -
Uses of BlockPos in net.minecraft.util.hit
Fields in net.minecraft.util.hit declared as BlockPosMethods in net.minecraft.util.hit that return BlockPosMethods in net.minecraft.util.hit with parameters of type BlockPosModifier and TypeMethodDescriptionstatic BlockHitResultBlockHitResult.createMissed(Vec3d pos, Direction side, BlockPos blockPos) BlockHitResult.withBlockPos(BlockPos blockPos) Constructors in net.minecraft.util.hit with parameters of type BlockPosModifierConstructorDescriptionprivateBlockHitResult(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.mathFields in net.minecraft.util.math declared as BlockPosModifier and TypeFieldDescriptionstatic final BlockPosBlockPos.ORIGINThe block position which x, y, and z values are all zero.private final BlockPosBlockPointerImpl.posprivate final BlockPosGlobalPos.posprivate final BlockPosGravityField.Point.posFields in net.minecraft.util.math with type parameters of type BlockPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockPos>BlockPos.CODECMethods in net.minecraft.util.math that return BlockPosModifier and TypeMethodDescriptionBlockPos.add(double double2, double double3, double double4) BlockPos.add(int int2, int int3, int int4) BlockPos.Mutable.add(double double2, double double3, double double4) BlockPos.Mutable.add(int int2, int int3, int int4) BlockPos.crossProduct(Vec3i pos) BlockPos.down()BlockPos.down(int int2) BlockPos.east()BlockPos.east(int distance) static BlockPosBlockPos.fromLong(long packedPos) ChunkPos.getBlockPos(int offsetX, int y, int offsetZ) BlockBox.getCenter()ChunkPos.getCenterAtY(int y) ChunkSectionPos.getCenterPos()ChunkSectionPos.getMinPos()BlockPointer.getPos()BlockPointerImpl.getPos()GlobalPos.getPos()ChunkPos.getStartPos()BlockPos.multiply(int int2) BlockPos.Mutable.multiply(int int2) BlockPos.north()BlockPos.north(int distance) BlockPos.Mutable.offset(Direction.Axis axis, int int2) BlockPos.offset(Direction.Axis axis, int int2) BlockPos.Mutable.rotate(BlockRotation rotation) BlockPos.rotate(BlockRotation rotation) BlockPos.south()BlockPos.south(int distance) BlockPos.Mutable.toImmutable()Returns an immutable block position with the same x, y, and z as this position.BlockPos.toImmutable()Returns an immutable block position with the same x, y, and z as this position.ChunkSectionPos.unpackBlockPos(short packedLocalPos) Gets the world position of the given local position within this chunk section.BlockPos.up()BlockPos.up(int distance) BlockPos.west()BlockPos.west(int distance) BlockPos.withY(int y) Methods in net.minecraft.util.math that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockPos.findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition) BlockPos.iterate(int startX, int startY, int startZ, int endX, int endY, int endZ) BlockPos.iterateOutwards(BlockPos center, int rangeX, int rangeY, int rangeZ) Iterates block positions around thecenter.BlockPos.iterateRandomly(Random random, int count, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) Iterates throughcountrandom block positions in the given area.BlockPos.iterateRandomly(Random random, int count, BlockPos around, int range) Iterates throughcountrandom block positions in a given range around the given position.BlockPos.stream(int startX, int startY, int startZ, int endX, int endY, int endZ) ChunkSectionPos.streamBlocks()BlockPos.streamOutwards(BlockPos center, int maxX, int maxY, int maxZ) Methods in net.minecraft.util.math with parameters of type BlockPosModifier and TypeMethodDescriptionvoidAdds a point to the gravity field.doubleCalculate the gravity on a potential point atposwithmass.static GlobalPosGlobalPos.create(RegistryKey<World> dimension, BlockPos pos) Deprecated.BlockPos.findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition) static voidChunkSectionPos.forEachChunkSectionAround(BlockPos pos, LongConsumer consumer) static ChunkSectionPosDirection.fromVector(BlockPos pos) doubleGravityField.Point.getGravityFactor(BlockPos pos) static Iterable<BlockPos.Mutable>BlockPos.iterateInSquare(BlockPos center, int radius, Direction firstDirection, Direction secondDirection) Iterates block positions around thecenterin a square of (2 * radius + 1) by (2 * radius + 1).BlockPos.iterateOutwards(BlockPos center, int rangeX, int rangeY, int rangeZ) Iterates block positions around thecenter.BlockPos.iterateRandomly(Random random, int count, BlockPos around, int range) Iterates throughcountrandom block positions in a given range around the given position.Creates a box that is translated byblockPos.getX(),blockPos.getY(),blockPos.getZ()on each axis from this box.static shortReturns the local position of the given block position relative to its respective chunk section, packed into a short.static @Nullable BlockHitResultBlockPos.streamOutwards(BlockPos center, int maxX, int maxY, int maxZ) static longstatic longMethod parameters in net.minecraft.util.math with type arguments of type BlockPosModifier and TypeMethodDescriptionBlockBox.encompassPositions(Iterable<BlockPos> positions) BlockPos.findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition) voidBlockBox.forEachVertex(Consumer<BlockPos> consumer) Constructors in net.minecraft.util.math with parameters of type BlockPosModifierConstructorDescriptionCreates a box enclosing onlypos.BlockPointerImpl(ServerWorld world, BlockPos pos) Creates a box that only contains the given block position.Creates a box of the given positions as corners.privateGlobalPos(RegistryKey<World> dimension, BlockPos pos) -
Uses of BlockPos in net.minecraft.util.math.random
Methods in net.minecraft.util.math.random with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.util.shape
Methods in net.minecraft.util.shape with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.village
Methods in net.minecraft.village with parameters of type BlockPosModifier and TypeMethodDescriptionZombieSiegeManager.getSpawnVector(ServerWorld world, BlockPos pos) -
Uses of BlockPos in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as BlockPosFields in net.minecraft.village.raid with type parameters of type BlockPosModifier and TypeFieldDescriptionMethods in net.minecraft.village.raid that return BlockPosModifier and TypeMethodDescriptionRaid.getCenter()Raid.getRavagerSpawnLocation(int proximity, int tries) Methods in net.minecraft.village.raid that return types with arguments of type BlockPosMethods in net.minecraft.village.raid with parameters of type BlockPosModifier and TypeMethodDescriptionvoidRaid.addRaider(int wave, RaiderEntity raider, @Nullable BlockPos pos, boolean existing) private RaidRaidManager.getOrCreateRaid(ServerWorld world, BlockPos pos) private voidRaid.playRaidHorn(BlockPos pos) private voidprivate voidRaid.spawnNextWave(BlockPos pos) Constructors in net.minecraft.village.raid with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world
Fields in net.minecraft.world declared as BlockPosModifier and TypeFieldDescriptionSpawnHelper.Info.cachedPosfinal BlockPosBlockLocating.Rectangle.lowerLeftMethods in net.minecraft.world that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPosSpawnHelper.getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z) WanderingTraderManager.getNearbySpawnPos(WorldView world, BlockPos pos, int range) World.getRandomPosInChunk(int x, int y, int z, int int2) private static BlockPosSpawnHelper.getRandomPosInChunkSection(World world, WorldChunk chunk) World.getSpawnPos()default BlockPosRegistryWorldView.getTopPosition(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingposusingheightmapheightmap.TestableWorld.getTopPosition(Heightmap.Type heightmap, BlockPos pos) default BlockPosWorldView.getTopPosition(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingposusingheightmapheightmap.Methods in net.minecraft.world that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBlockLocating.findColumnEnd(BlockView world, BlockPos pos, Block intermediateBlock, Direction direction, Block endBlock) Finds an end to a block column starting fromposextending indirection.Methods in net.minecraft.world with parameters of type BlockPosModifier and TypeMethodDescriptionvoidWorld.addBlockBreakParticles(BlockPos pos, BlockState state) voidWorld.addSyncedBlockEvent(BlockPos pos, Block block, int type, int data) booleanChunkRegion.breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.default booleanModifiableWorld.breakBlock(BlockPos pos, boolean drop) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.default booleanModifiableWorld.breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.booleanModifiableWorld.breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.booleanWorld.breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.default booleanCollisionView.canPlace(BlockState state, BlockPos pos, ShapeContext context) booleanWorld.canPlayerModifyAt(PlayerEntity player, BlockPos pos) Returns whetherplayercan modify blocks atpos.booleanWorld.canSetBlock(BlockPos pos) static booleanSpawnHelper.canSpawn(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType) voidMobSpawnerLogic.clientTick(World world, BlockPos pos) private static booleanSpawnHelper.containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos) default voidWorldAccess.createAndScheduleBlockTick(BlockPos pos, Block block, int delay) default voidWorldAccess.createAndScheduleBlockTick(BlockPos pos, Block block, int delay, TickPriority priority) default voidWorldAccess.createAndScheduleFluidTick(BlockPos pos, Fluid fluid, int delay) default voidWorldAccess.createAndScheduleFluidTick(BlockPos pos, Fluid fluid, int delay, TickPriority priority) private <T> OrderedTick<T>WorldAccess.createOrderedTick(BlockPos pos, T type, int delay) private <T> OrderedTick<T>WorldAccess.createOrderedTick(BlockPos pos, T type, int delay, TickPriority priority) PortalForcer.createPortal(BlockPos pos, Direction.Axis axis) private booleanWanderingTraderManager.doesNotSuffocateAt(BlockView world, BlockPos pos) default voidWorldAccess.emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos) default voidWorldAccess.emitGameEvent(GameEvent event, BlockPos pos, GameEvent.Emitter emitter) BlockLocating.findColumnEnd(BlockView world, BlockPos pos, Block intermediateBlock, Direction direction, Block endBlock) Finds an end to a block column starting fromposextending indirection.RaycastContext.ShapeProvider.get(BlockState state, BlockView world, BlockPos pos, ShapeContext context) RaycastContext.ShapeType.get(BlockState state, BlockView world, BlockPos pos, ShapeContext context) default intBlockRenderView.getBaseLightLevel(BlockPos pos, int ambientDarkness) default RegistryEntry<Biome>(package private) static BiomeSpawnHelper.getBiomeDirectly(BlockPos pos, Chunk chunk) BlockView.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.default <T extends BlockEntity>
Optional<T>BlockView.getBlockEntity(BlockPos pos, BlockEntityType<T> type) ChunkRegion.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.EmptyBlockView.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.default <T extends BlockEntity>
Optional<T>RegistryWorldView.getBlockEntity(BlockPos pos, BlockEntityType<T> type) <T extends BlockEntity>
Optional<T>TestableWorld.getBlockEntity(BlockPos pos, BlockEntityType<T> type) World.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.RaycastContext.getBlockShape(BlockState state, BlockView world, BlockPos pos) BlockView.getBlockState(BlockPos pos) Returns the block state atpos.ChunkRegion.getBlockState(BlockPos pos) Returns the block state atpos.ChunkSectionCache.getBlockState(BlockPos pos) EmptyBlockView.getBlockState(BlockPos pos) Returns the block state atpos.World.getBlockState(BlockPos pos) Returns the block state atpos.default floatWorldView.getBrightness(BlockPos pos) Deprecated.default ChunkReturns the chunk that containspos.intBlockRenderView.getColor(BlockPos pos, ColorResolver colorResolver) default intWorldView.getColor(BlockPos pos, ColorResolver colorResolver) default doubleBlockView.getDismountHeight(BlockPos pos) intWorld.getEmittedRedstonePower(BlockPos pos, Direction direction) RaycastContext.getFluidShape(FluidState state, BlockView world, BlockPos pos) BlockView.getFluidState(BlockPos pos) Returns the fluid state atpos.ChunkRegion.getFluidState(BlockPos pos) Returns the fluid state atpos.EmptyBlockView.getFluidState(BlockPos pos) Returns the fluid state atpos.World.getFluidState(BlockPos pos) Returns the fluid state atpos.static BlockLocating.RectangleBlockLocating.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 intBlockRenderView.getLightLevel(LightType type, BlockPos pos) default intWorldView.getLightLevel(BlockPos pos) default intWorldView.getLightLevel(BlockPos pos, int ambientDarkness) ChunkRegion.getLocalDifficulty(BlockPos pos) World.getLocalDifficulty(BlockPos pos) WorldAccess.getLocalDifficulty(BlockPos pos) default intBlockView.getLuminance(BlockPos pos) WanderingTraderManager.getNearbySpawnPos(WorldView world, BlockPos pos, int range) default floatWorldView.getPhototaxisFavor(BlockPos pos) PortalForcer.getPortalRect(BlockPos pos, boolean destIsNether, WorldBorder worldBorder) intWorld.getReceivedRedstonePower(BlockPos pos) intWorld.getReceivedStrongRedstonePower(BlockPos pos) ChunkSectionCache.getSection(BlockPos pos) private static Pool<SpawnSettings.SpawnEntry>SpawnHelper.getSpawnEntries(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) default intWorldView.getStrongRedstonePower(BlockPos pos, Direction direction) default BlockPosRegistryWorldView.getTopPosition(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingposusingheightmapheightmap.TestableWorld.getTopPosition(Heightmap.Type heightmap, BlockPos pos) default BlockPosWorldView.getTopPosition(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingposusingheightmapheightmap.World.getWorldChunk(BlockPos pos) Returns the chunk that containspos.booleanWorld.hasHighHumidity(BlockPos pos) Returns whether the biome atposhas high humidity.booleanReturns whether it can rain atpos.default booleandefault booleanWorldView.isChunkLoaded(BlockPos pos) Deprecated.static booleanSpawnHelper.isClearForSpawn(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType) booleanWorld.isDirectionSolid(BlockPos pos, Entity entity, Direction direction) booleanWorld.isEmittingRedstonePower(BlockPos pos, Direction direction) booleanWorld.isInBuildLimit(BlockPos pos) Returns whether the position is inside the build limit.default booleanHeightLimitView.isOutOfHeightLimit(BlockPos pos) Checks ifposis out of the height limit of this view.private booleanMobSpawnerLogic.isPlayerInRange(World world, BlockPos pos) booleanWorld.isReceivingRedstonePower(BlockPos pos) default booleanWorldView.isRegionLoaded(BlockPos min, BlockPos max) Deprecated.default booleanBlockRenderView.isSkyVisible(BlockPos pos) Returns if the sky is visible atpos.default booleanWorldView.isSkyVisibleAllowingSea(BlockPos pos) Returns whether the sky is visible atpos.booleanWorld.isTopSolid(BlockPos pos, Entity entity) static booleanReturns whether the position is valid.booleanChunkRegion.isValidForSetBlock(BlockPos pos) Returnstrueif the given position is an accessible position for thesetBlockStatefunction.default booleanStructureWorldAccess.isValidForSetBlock(BlockPos pos) Returnstrueif the given position is an accessible position for thesetBlockStatefunction.private static booleanWorld.isValidHorizontally(BlockPos pos) private booleanPortalForcer.isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal) default booleanprivate voidChunkRegion.markBlockForPostProcessing(BlockPos pos) voidvoidWorld.onBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock) Called when a block state changed.private static Optional<SpawnSettings.SpawnEntry>SpawnHelper.pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos) voidChunkRegion.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorldAccess.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) default @Nullable BlockHitResultBlockView.raycastBlock(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state) voidMobSpawnerLogic.readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt) booleanChunkRegion.removeBlock(BlockPos pos, boolean move) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.booleanModifiableWorld.removeBlock(BlockPos pos, boolean move) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.booleanWorld.removeBlock(BlockPos pos, boolean move) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.voidWorld.removeBlockEntity(BlockPos pos) voidWorld.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) default voidWorldAccess.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) voidWorld.scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated) abstract voidMobSpawnerLogic.sendStatus(World world, BlockPos pos, int status) voidMobSpawnerLogic.serverTick(ServerWorld world, BlockPos pos) abstract voidWorld.setBlockBreakingInfo(int entityId, BlockPos pos, int progress) booleanChunkRegion.setBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.default booleanModifiableWorld.setBlockState(BlockPos pos, BlockState state, int flags) Updates the block state at a position, calling appropriate callbacks.booleanModifiableWorld.setBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.booleanWorld.setBlockState(BlockPos pos, BlockState state) booleanWorld.setBlockState(BlockPos pos, BlockState state, int flags) Updates the block state at a position, calling appropriate callbacks.booleanWorld.setBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.voidMobSpawnerLogic.setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) default voidMutableWorldProperties.setSpawnPos(BlockPos pos, float angle) booleanWorld.shouldTickBlockPos(BlockPos pos) static booleanSpawnHelper.shouldUseNetherFortressSpawns(BlockPos pos, ServerWorld world, SpawnGroup spawnGroup, StructureAccessor structureAccessor) static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, BlockPos pos) static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper.Checker checker, SpawnHelper.Runner runner) voidWorld.syncGlobalEvent(int eventId, BlockPos pos, int data) voidChunkRegion.syncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) default voidWorldAccess.syncWorldEvent(int eventId, BlockPos pos, int data) voidWorldAccess.syncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) booleanSpawnHelper.Checker.test(EntityType<?> type, BlockPos pos, Chunk chunk) private booleanSpawnHelper.Info.test(EntityType<?> type, BlockPos pos, Chunk chunk) booleanChunkRegion.testBlockState(BlockPos pos, Predicate<BlockState> state) booleanTestableWorld.testBlockState(BlockPos pos, Predicate<BlockState> state) booleanWorld.testBlockState(BlockPos pos, Predicate<BlockState> state) booleanChunkRegion.testFluidState(BlockPos pos, Predicate<FluidState> state) booleanTestableWorld.testFluidState(BlockPos pos, Predicate<FluidState> state) booleanWorld.testFluidState(BlockPos pos, Predicate<FluidState> state) voidWorld.updateComparators(BlockPos pos, Block block) abstract voidWorld.updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags) voidWorld.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidWorld.updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos sourcePos) Triggers a neighbor update originating fromsourcePosatpos.default voidWorldAccess.updateNeighbors(BlockPos pos, Block block) voidWorld.updateNeighborsAlways(BlockPos pos, Block sourceBlock) Emits a neighbor update to all 6 neighboring blocks ofpos.voidWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection.private voidMobSpawnerLogic.updateSpawns(World world, BlockPos pos) Method parameters in net.minecraft.world with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic BlockLocating.RectangleBlockLocating.getLargestRectangle(BlockPos center, Direction.Axis primaryAxis, int primaryMaxBlocks, Direction.Axis secondaryAxis, int secondaryMaxBlocks, Predicate<BlockPos> predicate) Gets the largest rectangle of blocks along two axes for which all blocks meet a predicate.private static intBlockLocating.moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable pos, Direction direction, int max) static <T,C> T BlockView.raycast(Vec3d start, Vec3d end, C context, BiFunction<C, BlockPos, T> blockHitFactory, Function<C, T> missFactory) Constructors in net.minecraft.world with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.biome
Methods in net.minecraft.world.biome with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanbooleanbooleanBiome.canSetSnow(WorldView world, BlockPos pos) private floatBiome.computeTemperature(BlockPos pos) booleanBiome.doesNotSnow(BlockPos pos) abstract floatBiome.TemperatureModifier.getModifiedTemperature(BlockPos pos, float temperature) private floatBiome.getTemperature(BlockPos blockPos) Deprecated.booleanbooleanbooleanBiome.shouldGenerateLowerFrozenOceanSurface(BlockPos pos) -
Uses of BlockPos in net.minecraft.world.biome.source
Methods in net.minecraft.world.biome.source that return types with arguments of type BlockPosModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> BiomeSource.locateBiome(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> BiomeSource.locateBiome(int x, int y, int z, int radius, Predicate<RegistryEntry<Biome>> predicate, Random random, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> BiomeSource.locateBiome(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> FixedBiomeSource.locateBiome(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> FixedBiomeSource.locateBiome(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) Methods in net.minecraft.world.biome.source with parameters of type BlockPosModifier and TypeMethodDescriptionvoidBiomeSource.addDebugInfo(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) voidMultiNoiseBiomeSource.addDebugInfo(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) BiomeAccess.getBiomeForNoiseGen(BlockPos pos) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> BiomeSource.locateBiome(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> FixedBiomeSource.locateBiome(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) -
Uses of BlockPos in net.minecraft.world.biome.source.util
Fields in net.minecraft.world.biome.source.util declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosMultiNoiseUtil.FittestPositionFinder.Result.locationThe field for thelocationrecord component.Methods in net.minecraft.world.biome.source.util that return BlockPosModifier and TypeMethodDescriptionMultiNoiseUtil.MultiNoiseSampler.findBestSpawnPosition()static BlockPosMultiNoiseUtil.findFittestPosition(List<MultiNoiseUtil.NoiseHypercube> noises, MultiNoiseUtil.MultiNoiseSampler sampler) MultiNoiseUtil.FittestPositionFinder.Result.location()Returns the value of thelocationrecord component.Constructors in net.minecraft.world.biome.source.util with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.block
Fields in net.minecraft.world.block declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosChainRestrictedNeighborUpdater.StateReplacementEntry.neighborPosThe field for theneighborPosrecord component.private final BlockPosChainRestrictedNeighborUpdater.SimpleEntry.posThe field for theposrecord component.private final BlockPosChainRestrictedNeighborUpdater.SixWayEntry.posprivate final BlockPosChainRestrictedNeighborUpdater.StatefulEntry.posThe field for theposrecord component.private final BlockPosChainRestrictedNeighborUpdater.StateReplacementEntry.posThe field for theposrecord component.private final BlockPosChainRestrictedNeighborUpdater.SimpleEntry.sourcePosThe field for thesourcePosrecord component.private final BlockPosChainRestrictedNeighborUpdater.StatefulEntry.sourcePosThe field for thesourcePosrecord component.Methods in net.minecraft.world.block that return BlockPosModifier and TypeMethodDescriptionChainRestrictedNeighborUpdater.StateReplacementEntry.neighborPos()Returns the value of theneighborPosrecord component.ChainRestrictedNeighborUpdater.SimpleEntry.pos()Returns the value of theposrecord component.ChainRestrictedNeighborUpdater.StatefulEntry.pos()Returns the value of theposrecord component.ChainRestrictedNeighborUpdater.StateReplacementEntry.pos()Returns the value of theposrecord component.ChainRestrictedNeighborUpdater.SimpleEntry.sourcePos()Returns the value of thesourcePosrecord component.ChainRestrictedNeighborUpdater.StatefulEntry.sourcePos()Returns the value of thesourcePosrecord component.Methods in net.minecraft.world.block with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidChainRestrictedNeighborUpdater.enqueue(BlockPos pos, ChainRestrictedNeighborUpdater.Entry entry) voidChainRestrictedNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) voidNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) static voidNeighborUpdater.replaceWithStateForNeighborUpdate(WorldAccess world, Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) voidSimpleNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) static voidNeighborUpdater.tryNeighborUpdate(World world, BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidChainRestrictedNeighborUpdater.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidChainRestrictedNeighborUpdater.updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos sourcePos) voidNeighborUpdater.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidNeighborUpdater.updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos sourcePos) voidSimpleNeighborUpdater.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidSimpleNeighborUpdater.updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos sourcePos) voidChainRestrictedNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except) default voidNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except) Constructors in net.minecraft.world.block with parameters of type BlockPosModifierConstructorDescription(package private)SimpleEntry(BlockPos blockPos, Block block, BlockPos blockPos2) (package private)SixWayEntry(BlockPos pos, Block sourceBlock, @Nullable Direction except) (package private)StatefulEntry(BlockState blockState, BlockPos blockPos, Block block, BlockPos blockPos2, boolean bool) (package private)StateReplacementEntry(Direction direction, BlockState blockState, BlockPos blockPos, BlockPos blockPos2, int int2) -
Uses of BlockPos in net.minecraft.world.border
Methods in net.minecraft.world.border that return BlockPosMethods in net.minecraft.world.border with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type BlockPosModifier and TypeFieldDescriptionprotected final Map<BlockPos,BlockEntity> Chunk.blockEntitiesprotected final Map<BlockPos,NbtCompound> Chunk.blockEntityNbtsprivate final Map<BlockPos,WorldChunk.WrappedBlockEntityTickInvoker> WorldChunk.blockEntityTickersProtoChunk.lightSourcesMethods in net.minecraft.world.chunk that return BlockPosModifier and TypeMethodDescriptionBlockEntityTickInvoker.getPos()WorldChunk.DirectBlockEntityTickInvoker.getPos()WorldChunk.WrappedBlockEntityTickInvoker.getPos()static BlockPosProtoChunk.joinBlockPos(short sectionRel, int sectionY, ChunkPos chunkPos) Methods in net.minecraft.world.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionProtoChunk.getBlockEntities()WorldChunk.getBlockEntities()ProtoChunk.getBlockEntityNbts()Chunk.getBlockEntityPositions()Chunk.getLightSourcesStream()ProtoChunk.getLightSourcesStream()ReadOnlyChunk.getLightSourcesStream()WorldChunk.getLightSourcesStream()Methods in net.minecraft.world.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionvoidProtoChunk.addLightSource(BlockPos pos) private static BlockStateUpgradeData.applyAdjacentBlock(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos) (package private) booleanWorldChunk.canTickBlockEntity(BlockPos pos) private @Nullable BlockEntityWorldChunk.createBlockEntity(BlockPos pos) ChunkCache.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.EmptyChunk.getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) ProtoChunk.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.ReadOnlyChunk.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.WorldChunk.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.WorldChunk.getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) Chunk.getBlockEntityNbt(BlockPos pos) ReadOnlyChunk.getBlockEntityNbt(BlockPos pos) ChunkCache.getBlockState(BlockPos pos) Returns the block state atpos.EmptyChunk.getBlockState(BlockPos pos) Returns the block state atpos.ProtoChunk.getBlockState(BlockPos pos) Returns the block state atpos.ReadOnlyChunk.getBlockState(BlockPos pos) Returns the block state atpos.WorldChunk.getBlockState(BlockPos pos) Returns the block state atpos.private ChunkChunkCache.getFluidState(BlockPos pos) Returns the fluid state atpos.EmptyChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.ProtoChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.ReadOnlyChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.WorldChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.intEmptyChunk.getLuminance(BlockPos pos) abstract @Nullable NbtCompoundChunk.getPackedBlockEntityNbt(BlockPos pos) ProtoChunk.getPackedBlockEntityNbt(BlockPos pos) ReadOnlyChunk.getPackedBlockEntityNbt(BlockPos pos) WorldChunk.getPackedBlockEntityNbt(BlockPos pos) static shortProtoChunk.getPackedSectionRelative(BlockPos pos) UpgradeData.Logic.getUpdatedState(BlockState oldState, Direction direction, BlockState otherState, WorldAccess world, BlockPos currentPos, BlockPos otherPos) private @Nullable BlockEntityWorldChunk.loadBlockEntity(BlockPos pos, NbtCompound nbt) voidChunk.markBlockForPostProcessing(BlockPos pos) voidProtoChunk.markBlockForPostProcessing(BlockPos pos) voidReadOnlyChunk.markBlockForPostProcessing(BlockPos pos) abstract voidChunk.removeBlockEntity(BlockPos pos) voidEmptyChunk.removeBlockEntity(BlockPos pos) voidProtoChunk.removeBlockEntity(BlockPos pos) voidReadOnlyChunk.removeBlockEntity(BlockPos pos) voidWorldChunk.removeBlockEntity(BlockPos pos) private voidWorldChunk.removeBlockEntityTicker(BlockPos pos) abstract @Nullable BlockStateChunk.setBlockState(BlockPos pos, BlockState state, boolean moved) EmptyChunk.setBlockState(BlockPos pos, BlockState state, boolean moved) ProtoChunk.setBlockState(BlockPos pos, BlockState state, boolean moved) ReadOnlyChunk.setBlockState(BlockPos pos, BlockState state, boolean moved) WorldChunk.setBlockState(BlockPos pos, BlockState state, boolean moved) Constructors in net.minecraft.world.chunk with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.chunk.light
Methods in net.minecraft.world.chunk.light with parameters of type BlockPosModifier and TypeMethodDescriptionvoidChunkBlockLightProvider.addLightSource(BlockPos pos, int level) voidChunkLightingView.Empty.addLightSource(BlockPos pos, int level) voidChunkLightProvider.addLightSource(BlockPos pos, int level) voidLightingProvider.addLightSource(BlockPos pos, int level) voidLightingView.addLightSource(BlockPos pos, int level) voidChunkLightingView.Empty.checkBlock(BlockPos pos) voidChunkLightProvider.checkBlock(BlockPos pos) voidLightingProvider.checkBlock(BlockPos pos) voidLightingView.checkBlock(BlockPos pos) intintChunkLightingView.Empty.getLightLevel(BlockPos pos) intChunkLightingView.getLightLevel(BlockPos pos) intChunkLightProvider.getLightLevel(BlockPos pos) static intChunkLightProvider.getRealisticOpacity(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2) default voidLightingView.setSectionStatus(BlockPos pos, boolean notReady) -
Uses of BlockPos in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as BlockPosMethods in net.minecraft.world.dimension that return BlockPosMethods in net.minecraft.world.dimension with parameters of type BlockPosModifier and TypeMethodDescriptionAreaHelper.getLowerCorner(BlockPos pos) static Optional<AreaHelper>AreaHelper.getNewPortal(WorldAccess world, BlockPos pos, Direction.Axis axis) static Optional<AreaHelper>AreaHelper.getOrEmpty(WorldAccess world, BlockPos pos, Predicate<AreaHelper> predicate, Direction.Axis axis) private intConstructors in net.minecraft.world.dimension with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return BlockPos -
Uses of BlockPos in net.minecraft.world.event
Fields in net.minecraft.world.event declared as BlockPosConstructors in net.minecraft.world.event with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.event.listener
Methods in net.minecraft.world.event.listener with parameters of type BlockPosModifier and TypeMethodDescriptionvoidVibrationListener.Callback.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.booleanVibrationListener.Callback.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event. -
Uses of BlockPos in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ObjectArrayList<BlockPos>Explosion.affectedBlocksMethods in net.minecraft.world.explosion that return types with arguments of type BlockPosMethods in net.minecraft.world.explosion with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanEntityExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) booleanExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) EntityExplosionBehavior.getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) private static voidExplosion.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 BlockPosModifier and TypeMethodDescriptionprivate static voidExplosion.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 BlockPosModifierConstructorDescriptionExplosion(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 BlockPosModifier and TypeMethodDescriptionStructureAccessor.getStructureAt(BlockPos pos, Structure structure) StructureAccessor.getStructureContaining(BlockPos pos, TagKey<Structure> structureTag) StructureAccessor.getStructureContaining(BlockPos pos, RegistryKey<Structure> structure) StructureAccessor.getStructureContaining(BlockPos pos, Structure structure) Returns a structure that contains the givenpos.StructureAccessor.getStructureReferences(BlockPos pos) booleanStructureAccessor.hasStructureReferences(BlockPos pos) booleanStructureAccessor.structureContains(BlockPos pos, StructureStart structureStart) -
Uses of BlockPos in net.minecraft.world.gen.blockpredicate
Methods in net.minecraft.world.gen.blockpredicate with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanAllOfBlockPredicate.test(StructureWorldAccess structureWorldAccess, BlockPos blockPos) booleanAlwaysTrueBlockPredicate.test(StructureWorldAccess structureWorldAccess, BlockPos blockPos) booleanAnyOfBlockPredicate.test(StructureWorldAccess structureWorldAccess, BlockPos blockPos) booleanHasSturdyFacePredicate.test(StructureWorldAccess structureWorldAccess, BlockPos blockPos) booleanInsideWorldBoundsBlockPredicate.test(StructureWorldAccess structureWorldAccess, BlockPos blockPos) booleanNotBlockPredicate.test(StructureWorldAccess structureWorldAccess, BlockPos blockPos) final booleanOffsetPredicate.test(StructureWorldAccess structureWorldAccess, BlockPos blockPos) booleanWouldSurviveBlockPredicate.test(StructureWorldAccess structureWorldAccess, BlockPos blockPos) -
Uses of BlockPos in net.minecraft.world.gen.carver
Methods in net.minecraft.world.gen.carver that return types with arguments of type BlockPosMethods in net.minecraft.world.gen.carver with parameters of type BlockPosModifier and TypeMethodDescriptionCarverContext.applyMaterialRule(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.private @Nullable BlockStateCarver.getState(CarverContext context, C config, BlockPos pos, AquiferSampler sampler) Method parameters in net.minecraft.world.gen.carver with type arguments of type BlockPosModifier and TypeMethodDescriptionCarverContext.applyMaterialRule(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.abstract booleanCarver.carve(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) booleanCaveCarver.carve(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) booleanConfiguredCarver.carve(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) booleanRavineCarver.carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) protected booleanCarver.carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, CarvingMask mask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected booleanNetherCaveCarver.carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, CarvingMask carvingMask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected voidCaveCarver.carveCave(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, float float2, double double5, CarvingMask mask, Carver.SkipPredicate skipPredicate) private voidRavineCarver.carveRavine(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask) protected booleanCarver.carveRegion(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, double double5, double double6, CarvingMask mask, Carver.SkipPredicate skipPredicate) protected voidCaveCarver.carveTunnels(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, double horizontalScale, double verticalScale, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask, Carver.SkipPredicate skipPredicate) -
Uses of BlockPos in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk that return types with arguments of type BlockPosModifier and TypeMethodDescriptionprivate @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Structure>> ChunkGenerator.locateRandomSpreadStructure(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Structure>> ChunkGenerator.locateStructure(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Structure>> ChunkGenerator.locateStructure(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.Methods in net.minecraft.world.gen.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionabstract voidChunkGenerator.getDebugHudText(List<String> text, NoiseConfig noiseConfig, BlockPos pos) voidDebugChunkGenerator.getDebugHudText(List<String> text, NoiseConfig noiseConfig, BlockPos pos) voidFlatChunkGenerator.getDebugHudText(List<String> text, NoiseConfig noiseConfig, BlockPos pos) voidNoiseChunkGenerator.getDebugHudText(List<String> text, NoiseConfig noiseConfig, BlockPos pos) ChunkGenerator.getEntitySpawnList(RegistryEntry<Biome> biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) private static booleanBlendingData.isCollidableAndNotTreeAt(Chunk chunk, BlockPos pos) private @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Structure>> ChunkGenerator.locateStructure(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.private static voidBlender.tickLeavesAndFluids(Chunk chunk, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.gen.chunk.placement
Methods in net.minecraft.world.gen.chunk.placement that return BlockPos -
Uses of BlockPos in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as BlockPosModifier and TypeFieldDescriptionEndSpikeFeatureConfig.crystalBeamTargetstatic final BlockPosEndPortalFeature.ORIGINprivate BlockPosLargeDripstoneFeature.DripstoneGenerator.posprivate static final BlockPosVoidStartPlatformFeature.START_BLOCKFields in net.minecraft.world.gen.feature with type parameters of type BlockPosMethods in net.minecraft.world.gen.feature that return BlockPosModifier and TypeMethodDescriptionEndSpikeFeatureConfig.getPos()(package private) BlockPosBasaltColumnsFeature.moveDownToGround(WorldAccess world, int seaLevel, BlockPos.Mutable mutablePos, int distance) ReplaceBlobsFeature.moveDownToTarget(WorldAccess world, BlockPos.Mutable mutablePos, Block target) BasaltColumnsFeature.moveUpToAir(WorldAccess world, BlockPos.Mutable mutablePos, int distance) Methods in net.minecraft.world.gen.feature that return types with arguments of type BlockPosModifier and TypeMethodDescriptionEndGatewayFeatureConfig.getExitPos()VegetationPatchFeature.placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) WaterloggedVegetationPatchFeature.placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) Methods in net.minecraft.world.gen.feature with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidBlockPileFeature.addPileBlock(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config) protected booleanHugeMushroomFeature.canGenerate(WorldAccess world, BlockPos pos, int height, BlockPos.Mutable mutablePos, HugeMushroomFeatureConfig config) private booleanSculkPatchFeature.canGenerate(WorldAccess world, BlockPos pos) private booleanBlockPileFeature.canPlace(WorldAccess world, BlockPos pos, Random random) private static booleanDeltaFeature.canPlace(WorldAccess world, BlockPos pos, DeltaFeatureConfig config) static booleanTreeFeature.canReplace(TestableWorld world, BlockPos pos) private booleanDripstoneClusterFeature.canWaterSpawn(StructureWorldAccess world, BlockPos pos) private voidIcebergFeature.clearSnowAbove(WorldAccess world, BlockPos pos) static EndGatewayFeatureConfigEndGatewayFeatureConfig.createConfig(BlockPos exitPortalPosition, boolean exitsAtSpawn) private static LargeDripstoneFeature.DripstoneGeneratorLargeDripstoneFeature.createGenerator(BlockPos pos, boolean isStalagmite, Random random, int scale, FloatProvider bluntness, FloatProvider heightScale) booleanConfiguredFeature.generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos origin) private voidDripstoneClusterFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, int localX, int localZ, float wetness, double dripstoneChance, int height, float density, DripstoneClusterFeatureConfig config) static booleanMultifaceGrowthFeature.generate(StructureWorldAccess world, BlockPos pos, BlockState state, MultifaceGrowthFeatureConfig config, Random random, List<Direction> directions) private booleanPlacedFeature.generate(FeaturePlacementContext context, Random random, BlockPos pos) booleanPlacedFeature.generate(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos) Generates a configured feature at the positions obtained by applying placement modifiers to the given position.booleanRandomFeatureEntry.generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) private booleanTreeFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, BiConsumer<BlockPos, BlockState> foliagePlacerReplacer, TreeFeatureConfig config) protected voidHugeBrownMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected abstract voidHugeMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected voidHugeRedMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected booleanCoralClawFeature.generateCoral(WorldAccess world, Random random, BlockPos pos, BlockState state) protected abstract booleanCoralFeature.generateCoral(WorldAccess world, Random random, BlockPos pos, BlockState state) protected booleanCoralMushroomFeature.generateCoral(WorldAccess world, Random random, BlockPos pos, BlockState state) protected booleanCoralTreeFeature.generateCoral(WorldAccess world, Random random, BlockPos pos, BlockState state) protected booleanCoralFeature.generateCoralPiece(WorldAccess world, Random random, BlockPos pos, BlockState state) private static voidSmallDripstoneFeature.generateDripstoneBlocks(WorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config) private static voidRootSystemFeature.generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos) private voidHugeFungusFeature.generateHat(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int hatHeight, boolean thickStem) booleanFeature.generateIfValid(FC config, StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) private voidWeepingVinesFeature.generateNetherWartBlocksInArea(WorldAccess world, Random random, BlockPos pos) private static voidRootSystemFeature.generateRootsColumn(BlockPos pos, int maxY, StructureWorldAccess world, RootSystemFeatureConfig config, Random random) private voidHugeFungusFeature.generateStem(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int stemHeight, boolean thickStem) protected voidHugeMushroomFeature.generateStem(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutablePos) private static booleanRootSystemFeature.generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos) booleanPlacedFeature.generateUnregistered(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos) protected booleanVegetationPatchFeature.generateVegetationFeature(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos) protected booleanWaterloggedVegetationPatchFeature.generateVegetationFeature(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos) private static voidHugeFungusFeature.generateVines(BlockPos pos, WorldAccess world, Random random) private voidWeepingVinesFeature.generateVinesInArea(WorldAccess world, Random random, BlockPos pos) FeaturePlacementContext.getBlockState(BlockPos pos) SmallDripstoneFeature.getDirection(WorldAccess world, BlockPos pos, Random random) private doubleIcebergFeature.getDistance(int x, int z, BlockPos pos, int divisor1, int divisor2, double randomSine) private static OptionalIntUnderwaterMagmaFeature.getFloorHeight(StructureWorldAccess world, BlockPos pos, UnderwaterMagmaFeatureConfig config) private intTreeFeature.getTopPosition(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config) private static booleanRootSystemFeature.hasSpaceForTree(StructureWorldAccess world, RootSystemFeatureConfig config, BlockPos pos) private booleanIcebergFeature.isAirBelow(BlockView world, BlockPos pos) private static booleanBasaltColumnsFeature.isAirOrLavaOcean(WorldAccess world, int seaLevel, BlockPos pos) static booleanTreeFeature.isAirOrLeaves(TestableWorld world, BlockPos pos) static booleanFeature.isExposedToAir(Function<BlockPos, BlockState> posToState, BlockPos pos) booleanprivate booleanprivate static booleanTwistingVinesFeature.isNotSuitable(WorldAccess world, BlockPos pos) private static booleanHugeFungusFeature.isReplaceable(WorldAccess world, BlockPos pos, boolean replacePlants) private static booleanTreeFeature.isReplaceablePlant(TestableWorld world, BlockPos pos) static booleanFeature.isSoil(TestableWorld world, BlockPos pos) private static booleanWaterloggedVegetationPatchFeature.isSolidBlockAroundPos(StructureWorldAccess world, Set<BlockPos> positions, BlockPos pos, BlockPos.Mutable mutablePos) private static booleanWaterloggedVegetationPatchFeature.isSolidBlockSide(StructureWorldAccess world, BlockPos pos, BlockPos.Mutable mutablePos, Direction direction) private booleanDripstoneClusterFeature.isStoneOrWater(WorldAccess world, BlockPos pos) private booleanUnderwaterMagmaFeature.isValidPosition(StructureWorldAccess world, BlockPos pos) private static booleanTreeFeature.isVine(TestableWorld world, BlockPos pos) static booleanTreeFeature.isWater(TestableWorld world, BlockPos pos) private booleanUnderwaterMagmaFeature.isWaterOrAir(WorldAccess world, BlockPos pos) protected voidFeature.markBlocksAboveForPostProcessing(StructureWorldAccess world, BlockPos pos) private voidIcebergFeature.method_13415(int int2, int y, BlockPos pos, WorldAccess world, boolean placeWater, double double2, BlockPos blockPos, int int3, int int4) private voidIcebergFeature.method_13418(WorldAccess world, BlockPos pos, int int2, int height, boolean bool, int int3) private doubleIcebergFeature.method_13421(int x, int z, BlockPos pos, int int2, Random random) private voidIcebergFeature.method_13428(Random random, WorldAccess world, int int2, int int3, BlockPos pos, boolean bool, int int4, double double2, int int5) (package private) BlockPosprivate voidIcebergFeature.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 booleanBasaltColumnsFeature.placeBasaltColumn(WorldAccess world, int seaLevel, BlockPos pos, int height, int reach) private voidIcebergFeature.placeBlockOrSnow(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state) private voidDripstoneClusterFeature.placeDripstoneBlocks(StructureWorldAccess world, BlockPos pos, int height, Direction direction) VegetationPatchFeature.placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) WaterloggedVegetationPatchFeature.placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) private voidHugeFungusFeature.placeWithOptionalVines(WorldAccess world, Random random, BlockPos pos, BlockState state, boolean vines) protected voidFeature.setBlockState(ModifiableWorld world, BlockPos pos, BlockState state) protected voidTreeFeature.setBlockState(ModifiableWorld world, BlockPos pos, BlockState state) protected voidFeature.setBlockStateIf(StructureWorldAccess world, BlockPos pos, BlockState state, Predicate<BlockState> predicate) private static voidTreeFeature.setBlockStateWithoutUpdatingNeighbors(ModifiableWorld world, BlockPos pos, BlockState state) private voidScatteredOreFeature.setPos(BlockPos.Mutable mutable, Random random, BlockPos origin, int spread) private booleanBasaltPillarFeature.stopOrPlaceBasalt(WorldAccess world, Random random, BlockPos pos) static booleanFeature.testAdjacentStates(Function<BlockPos, BlockState> posToState, BlockPos pos, Predicate<BlockState> predicate) private voidLargeDripstoneFeature.testGeneration(StructureWorldAccess world, BlockPos pos, CaveSurface.Bounded surface, LargeDripstoneFeature.WindModifier wind) private voidBasaltPillarFeature.tryPlaceBasalt(WorldAccess world, Random random, BlockPos pos) Method parameters in net.minecraft.world.gen.feature with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate booleanTreeFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, BiConsumer<BlockPos, BlockState> foliagePlacerReplacer, TreeFeatureConfig config) protected voidVegetationPatchFeature.generateVegetation(FeatureContext<VegetationPatchFeatureConfig> context, StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, Set<BlockPos> positions, int radiusX, int radiusZ) static booleanFeature.isExposedToAir(Function<BlockPos, BlockState> posToState, BlockPos pos) private static booleanWaterloggedVegetationPatchFeature.isSolidBlockAroundPos(StructureWorldAccess world, Set<BlockPos> positions, BlockPos pos, BlockPos.Mutable mutablePos) private static VoxelSetTreeFeature.placeLogsAndLeaves(WorldAccess world, BlockBox box, Set<BlockPos> trunkPositions, Set<BlockPos> decorationPositions, Set<BlockPos> set) static booleanOreFeature.shouldPlace(BlockState state, Function<BlockPos, BlockState> posToState, Random random, OreFeatureConfig config, OreFeatureConfig.Target target, BlockPos.Mutable pos) static booleanFeature.testAdjacentStates(Function<BlockPos, BlockState> posToState, BlockPos pos, Predicate<BlockState> predicate) Constructors in net.minecraft.world.gen.feature with parameters of type BlockPosModifierConstructorDescription(package private)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 BlockPosModifierConstructorDescriptionprivateEndGatewayFeatureConfig(Optional<BlockPos> exitPos, boolean exact) privateEndSpikeFeatureConfig(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 BlockPosMethods in net.minecraft.world.gen.feature.util that return BlockPosMethods in net.minecraft.world.gen.feature.util with parameters of type BlockPosModifier and TypeMethodDescriptionprotected static booleanDripstoneHelper.canGenerate(WorldAccess world, BlockPos pos) protected static booleanDripstoneHelper.canGenerateBase(StructureWorldAccess world, BlockPos pos, int height) protected static booleanDripstoneHelper.canGenerateOrLava(WorldAccess world, BlockPos pos) static Optional<CaveSurface>CaveSurface.create(TestableWorld world, BlockPos pos, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace) protected static booleanDripstoneHelper.generateDripstoneBlock(WorldAccess world, BlockPos pos) protected static voidDripstoneHelper.generatePointedDripstone(WorldAccess world, BlockPos pos, Direction direction, int height, boolean merge) Constructors in net.minecraft.world.gen.feature.util with parameters of type BlockPosModifierConstructorDescriptionFeatureContext(Optional<ConfiguredFeature<?, ?>> feature, 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 BlockPosMethods in net.minecraft.world.gen.foliage that return BlockPosMethods in net.minecraft.world.gen.foliage with parameters of type BlockPosModifier and TypeMethodDescriptionprotected voidFoliagePlacer.generateSquare(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.protected static voidFoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos pos) Method parameters in net.minecraft.world.gen.foliage with type arguments of type BlockPosModifier and TypeMethodDescriptionprotected voidAcaciaFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidBlobFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidBushFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidDarkOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidJungleFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidLargeOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidMegaPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidRandomSpreadFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidSpruceFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidFoliagePlacer.generateSquare(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.protected static voidFoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos pos) Constructors in net.minecraft.world.gen.foliage with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.gen.placementmodifier
Methods in net.minecraft.world.gen.placementmodifier that return types with arguments of type BlockPosModifier and TypeMethodDescriptionAbstractConditionalPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.AbstractCountPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.CarvingMaskPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.CountMultilayerPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Deprecated.Applies this placement modifier to the given position.EnvironmentScanPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightmapPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightRangePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.PlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.RandomOffsetPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.SquarePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.Methods in net.minecraft.world.gen.placementmodifier with parameters of type BlockPosModifier and TypeMethodDescriptionprotected abstract intprotected intprotected intprotected intAbstractConditionalPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.AbstractCountPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.CarvingMaskPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.CountMultilayerPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Deprecated.Applies this placement modifier to the given position.EnvironmentScanPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightmapPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightRangePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.PlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.RandomOffsetPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.SquarePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.protected abstract booleanAbstractConditionalPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanBiomePlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanBlockFilterPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanRarityFilterPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanSurfaceThresholdFilterPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanSurfaceWaterDepthFilterPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) -
Uses of BlockPos in net.minecraft.world.gen.root
Methods in net.minecraft.world.gen.root that return BlockPosMethods in net.minecraft.world.gen.root that return types with arguments of type BlockPosModifier and TypeMethodDescriptionMangroveRootPlacer.getOffshootPositions(BlockPos pos, Direction direction, Random random, BlockPos origin) Methods in net.minecraft.world.gen.root with parameters of type BlockPosModifier and TypeMethodDescriptionprotected BlockStateRootPlacer.applyWaterlogging(TestableWorld world, BlockPos pos, BlockState state) private booleanMangroveRootPlacer.canGrow(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) protected booleanMangroveRootPlacer.canGrowThrough(TestableWorld world, BlockPos pos) protected booleanRootPlacer.canGrowThrough(TestableWorld world, BlockPos pos) booleanMangroveRootPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) abstract booleanRootPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) MangroveRootPlacer.getOffshootPositions(BlockPos pos, Direction direction, Random random, BlockPos origin) protected voidMangroveRootPlacer.placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected voidRootPlacer.placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) RootPlacer.trunkOffset(BlockPos pos, Random random) Method parameters in net.minecraft.world.gen.root with type arguments of type BlockPosModifier and TypeMethodDescriptionprivate booleanMangroveRootPlacer.canGrow(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) booleanMangroveRootPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) abstract booleanRootPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) protected voidMangroveRootPlacer.placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected voidRootPlacer.placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) -
Uses of BlockPos in net.minecraft.world.gen.stateprovider
Methods in net.minecraft.world.gen.stateprovider with parameters of type BlockPosModifier and TypeMethodDescriptionabstract BlockStateBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.DualNoiseBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.NoiseBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.NoiseThresholdBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.PillarBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.PredicatedStateProvider.getBlockState(StructureWorldAccess world, Random random, BlockPos pos) RandomizedIntBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.SimpleBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.WeightedBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.protected doubleAbstractNoiseBlockStateProvider.getNoiseValue(BlockPos pos, double scale) protected doubleDualNoiseBlockStateProvider.getSlowNoiseValue(BlockPos pos) protected BlockStateNoiseBlockStateProvider.getStateFromList(List<BlockState> states, BlockPos pos, double scale) -
Uses of BlockPos in net.minecraft.world.gen.structure
Fields in net.minecraft.world.gen.structure declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosStructure.StructurePosition.positionThe field for thepositionrecord component.Methods in net.minecraft.world.gen.structure that return BlockPosModifier and TypeMethodDescriptionprotected BlockPosStructure.getShiftedPos(Structure.Context context, BlockRotation rotation) Deprecated.Structure.StructurePosition.position()Returns the value of thepositionrecord component.Methods in net.minecraft.world.gen.structure with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidEndCityStructure.addPieces(StructurePiecesCollector collector, BlockPos pos, BlockRotation rotation, Structure.Context context) private voidWoodlandMansionStructure.addPieces(StructurePiecesCollector collector, Structure.Context context, BlockPos pos, BlockRotation rotation) private static booleanRuinedPortalStructure.isColdAt(BlockPos pos, RegistryEntry<Biome> biome) Constructors in net.minecraft.world.gen.structure with parameters of type BlockPosModifierConstructorDescriptionStructurePosition(BlockPos blockPos, com.mojang.datafixers.util.Either<Consumer<StructurePiecesCollector>, StructurePiecesCollector> either) StructurePosition(BlockPos pos, Consumer<StructurePiecesCollector> generator) -
Uses of BlockPos in net.minecraft.world.gen.surfacebuilder
Fields in net.minecraft.world.gen.surfacebuilder with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Function<BlockPos,RegistryEntry<Biome>> MaterialRules.MaterialRuleContext.posToBiomeMethods in net.minecraft.world.gen.surfacebuilder with parameters of type BlockPosModifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.Method parameters in net.minecraft.world.gen.surfacebuilder with type arguments of type BlockPosModifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.Constructor parameters in net.minecraft.world.gen.surfacebuilder with type arguments of type BlockPosModifierConstructorDescriptionprotectedMaterialRuleContext(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> registry, HeightContext heightContext) -
Uses of BlockPos in net.minecraft.world.gen.treedecorator
Fields in net.minecraft.world.gen.treedecorator with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ObjectArrayList<BlockPos>TreeDecorator.Generator.leavesPositionsprivate final ObjectArrayList<BlockPos>TreeDecorator.Generator.logPositionsprivate final BiConsumer<BlockPos,BlockState> TreeDecorator.Generator.replacerprivate final ObjectArrayList<BlockPos>TreeDecorator.Generator.rootPositionsMethods in net.minecraft.world.gen.treedecorator that return types with arguments of type BlockPosModifier and TypeMethodDescriptionTreeDecorator.Generator.getLeavesPositions()TreeDecorator.Generator.getLogPositions()TreeDecorator.Generator.getRootPositions()Methods in net.minecraft.world.gen.treedecorator with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanprivate booleanAttachedToLeavesTreeDecorator.meetsRequiredEmptyBlocks(TreeDecorator.Generator generator, BlockPos pos, Direction direction) private static voidLeavesVineTreeDecorator.placeVines(BlockPos pos, BooleanProperty faceProperty, TreeDecorator.Generator generator) Places a vine at a given position and then up to 4 more vines going downwards.voidTreeDecorator.Generator.replace(BlockPos pos, BlockState state) voidTreeDecorator.Generator.replaceWithVine(BlockPos pos, BooleanProperty faceProperty) private voidAlterGroundTreeDecorator.setArea(TreeDecorator.Generator generator, BlockPos origin) private voidAlterGroundTreeDecorator.setColumn(TreeDecorator.Generator generator, BlockPos origin) Constructor parameters in net.minecraft.world.gen.treedecorator with type arguments of type BlockPosModifierConstructorDescriptionGenerator(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) Generator(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Uses of BlockPos in net.minecraft.world.gen.trunk
Methods in net.minecraft.world.gen.trunk with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static booleanTrunkPlacer.canGenerate(TestableWorld world, BlockPos pos) protected booleanTrunkPlacer.canReplace(TestableWorld world, BlockPos pos) protected booleanUpwardsBranchingTrunkPlacer.canReplace(TestableWorld world, BlockPos pos) booleanTrunkPlacer.canReplaceOrIsLog(TestableWorld world, BlockPos pos) BendingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>TrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprotected booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) private Direction.AxisLargeOakTrunkPlacer.getLogAxis(BlockPos branchStart, BlockPos branchEnd) private intLargeOakTrunkPlacer.getLongestSide(BlockPos offset) private voidLargeOakTrunkPlacer.makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private booleanLargeOakTrunkPlacer.makeOrCheckBranch(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private voidGiantTrunkPlacer.setLog(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static voidTrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) Method parameters in net.minecraft.world.gen.trunk with type arguments of type BlockPosModifier and TypeMethodDescriptionBendingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>TrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate voidUpwardsBranchingTrunkPlacer.generateExtraBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps) protected booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) private voidLargeOakTrunkPlacer.makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private booleanLargeOakTrunkPlacer.makeOrCheckBranch(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private voidGiantTrunkPlacer.setLog(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static voidTrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected voidTrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config) Constructors in net.minecraft.world.gen.trunk with parameters of type BlockPos -
Uses of BlockPos in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type BlockPosModifier and TypeMethodDescriptionvoidLevelProperties.setSpawnPos(BlockPos pos, float angle) voidUnmodifiableLevelProperties.setSpawnPos(BlockPos pos, float angle) -
Uses of BlockPos in net.minecraft.world.poi
Fields in net.minecraft.world.poi declared as BlockPosMethods in net.minecraft.world.poi that return BlockPosMethods in net.minecraft.world.poi that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPointOfInterestStorage.getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Optional<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getNearestTypeAndPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) PointOfInterestStorage.getPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getSortedTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Methods in net.minecraft.world.poi with parameters of type BlockPosModifier and TypeMethodDescriptionvoidPointOfInterestSet.add(BlockPos pos, RegistryEntry<PointOfInterestType> registryEntry) voidPointOfInterestStorage.add(BlockPos pos, RegistryEntry<PointOfInterestType> type) longPointOfInterestStorage.count(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) private Optional<PointOfInterest>intPointOfInterestSet.getFreeTickets(BlockPos pos) Deprecated.intPointOfInterestStorage.getFreeTickets(BlockPos pos) Deprecated.PointOfInterestStorage.getInCircle(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInSquare(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Optional<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getNearestTypeAndPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) PointOfInterestStorage.getPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getSortedTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,BlockPos>> PointOfInterestStorage.getTypesAndPositions(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) booleanPointOfInterestStorage.hasTypeAt(RegistryKey<PointOfInterestType> type, BlockPos pos) voidPointOfInterestStorage.preloadChunks(WorldView world, BlockPos pos, int radius) Preloads chunks in a square area with the given radius.booleanPointOfInterestSet.releaseTicket(BlockPos pos) booleanPointOfInterestStorage.releaseTicket(BlockPos pos) voidvoidbooleanPointOfInterestSet.test(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) booleanPointOfInterestStorage.test(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) Method parameters in net.minecraft.world.poi with type arguments of type BlockPosModifier and TypeMethodDescriptionPointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) private voidPointOfInterestStorage.scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> biConsumer) voidPointOfInterestSet.updatePointsOfInterest(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> consumer) Constructors in net.minecraft.world.poi with parameters of type BlockPosModifierConstructorDescriptionprivatePointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> registryEntry, int freeTickets, Runnable updateListener) PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> registryEntry, Runnable updateListener) -
Uses of BlockPos in net.minecraft.world.spawner
Methods in net.minecraft.world.spawner with parameters of type BlockPosModifier and TypeMethodDescriptionprivate intCatSpawner.spawn(BlockPos pos, ServerWorld world) Spawns a cat.private intCatSpawner.spawnInHouse(ServerWorld world, BlockPos pos) Tries to spawn cats in villages.private intCatSpawner.spawnInSwampHut(ServerWorld world, BlockPos pos) Tries to spawn cats in swamp huts.private booleanPatrolSpawner.spawnPillager(ServerWorld world, BlockPos pos, Random random, boolean captain) -
Uses of BlockPos in net.minecraft.world.tick
Fields in net.minecraft.world.tick declared as BlockPosModifier and TypeFieldDescriptionprivate final BlockPosOrderedTick.posThe field for theposrecord component.private final BlockPosTick.posThe field for theposrecord component.Fields in net.minecraft.world.tick with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Function<BlockPos,BasicTickScheduler<T>> MultiTickScheduler.mapperMethods in net.minecraft.world.tick that return BlockPosModifier and TypeMethodDescriptionOrderedTick.pos()Returns the value of theposrecord component.Tick.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.tick with parameters of type BlockPosModifier and TypeMethodDescriptionstatic <T> OrderedTick<T>static <T> Tick<T>booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprivate static NbtCompoundTick.toNbt(String type, BlockPos pos, int delay, TickPriority priority) Method parameters in net.minecraft.world.tick with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidWorldTickScheduler.tick(long time, int maxTicks, BiConsumer<BlockPos, T> ticker) private voidWorldTickScheduler.tick(BiConsumer<BlockPos, T> ticker) Constructors in net.minecraft.world.tick with parameters of type BlockPosModifierConstructorDescriptionOrderedTick(T type, BlockPos pos, long triggerTick, long subTickOrder) OrderedTick(T t, BlockPos blockPos, long long2, TickPriority tickPriority, long long3) Tick(T t, BlockPos blockPos, int int2, TickPriority tickPriority) Constructor parameters in net.minecraft.world.tick with type arguments of type BlockPosModifierConstructorDescriptionMultiTickScheduler(Function<BlockPos, BasicTickScheduler<T>> mapper)
AbstractBlock.AbstractBlockState.calcBlockBreakingDelta(net.minecraft.entity.player.PlayerEntity, net.minecraft.world.BlockView, net.minecraft.util.math.BlockPos)instead.