Uses of Class
net.minecraft.util.math.BlockPos
Packages that use BlockPos
Package
Description
Provides the cauldron behavior system,
which determines what happens when a player interacts with a cauldron.
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
The basic AI system for Minecraft living entities.
The Named Binary Tag (NBT) data format.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of BlockPos in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type BlockPosModifier and TypeMethodDescriptionvoidAnyBlockUseCriterion.trigger(ServerPlayerEntity player, BlockPos pos, ItemStack stack) voidDefaultBlockUseCriterion.trigger(ServerPlayerEntity player, BlockPos pos) voidItemCriterion.trigger(ServerPlayerEntity player, BlockPos pos, 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 BlockPosPitcherCropBlock.LowerHalfContext.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 TypeFieldDescriptionRailPlacementHelper.neighborsEnchantingTableBlock.POWER_PROVIDER_OFFSETSMethods in net.minecraft.block that return BlockPosModifier and TypeMethodDescriptionPointedDripstoneBlock.getCauldronPos(World world, BlockPos pos, Fluid fluid) PointedDripstoneBlock.getDripPos(World world, BlockPos pos) default BlockPosFertilizable.getFertilizeParticlePos(BlockPos pos) MangroveLeavesBlock.getFertilizeParticlePos(BlockPos pos) RootedDirtBlock.getFertilizeParticlePos(BlockPos pos) PointedDripstoneBlock.getTipPos(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) LichenGrower.GrowPos.pos()Returns the value of theposrecord component.PitcherCropBlock.LowerHalfContext.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(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos, ItemStack stack) voidBeehiveBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.voidBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.voidIceBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.voidTallPlantBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.voidTurtleEggBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack tool) Called server-side when the block is broken by the player using correct tool.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) private booleanSaplingGenerator.areFlowersNearby(WorldAccess world, BlockPos pos) 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) protected floatAbstractBlock.calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) protected floatBambooBlock.calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos) protected floatBambooShootBlock.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.canAccessPowerProvider(World world, BlockPos tablePos, BlockPos providerOffset) booleanWallHangingSignBlock.canAttachAt(BlockState state, WorldView world, BlockPos pos) booleanWallHangingSignBlock.canAttachTo(WorldView world, BlockState state, BlockPos toPos, Direction direction) 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.booleanBarrierBlock.canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanFluidFillable.canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanKelpBlock.canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanKelpPlantBlock.canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanSeagrassBlock.canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanSlabBlock.canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) booleanTallSeagrassBlock.canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) default booleanWaterloggable.canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) private static booleanSaplingGenerator.canGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z) 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) booleanBambooShootBlock.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) booleanFertilizable.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFlowerbedBlock.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) booleanPitcherCropBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) private booleanPitcherCropBlock.canGrow(WorldView world, BlockPos pos, BlockState state, int age) 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) booleanShortPlantBlock.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 static booleanprivate 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) static booleanDoorBlock.canOpenByHand(World world, BlockPos pos) protected booleanAbstractRedstoneGateBlock.canPlaceAbove(WorldView world, BlockPos pos, BlockState state) booleanAbstractBlock.AbstractBlockState.canPlaceAt(WorldView world, BlockPos pos) protected booleanAbstractBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.static booleanAbstractFireBlock.canPlaceAt(World world, BlockPos pos, Direction direction) protected booleanAbstractPlantPartBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanAbstractPressurePlateBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanAbstractRailBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanAbstractRedstoneGateBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanAbstractTorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanAmethystClusterBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanBambooBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanBambooShootBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanBannerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanBellBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanBigDripleafBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanBigDripleafStemBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanBubbleColumnBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanCactusBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanCakeBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanCandleBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanCandleCakeBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanCarpetBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanChorusFlowerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanChorusPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanCocoaBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanCoralParentBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanCropBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanDeadCoralWallFanBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanDirtPathBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanDoorBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanFarmlandBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanFireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanFrogspawnBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanGrindstoneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanHangingRootsBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanHangingSignBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanLadderBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanLanternBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanMultifaceGrowthBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanMushroomPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanPistonHeadBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.booleanPitcherCropBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.private static booleanPitcherCropBlock.canPlaceAt(WorldView world, BlockPos pos) protected booleanPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanPointedDripstoneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanPropaguleBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanRedstoneWireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanScaffoldingBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanSeaPickleBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanSignBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanSmallDripleafBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanSnowBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanSoulFireBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanSporeBlossomBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanSugarCaneBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanTallPlantBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanTallSeagrassBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanTripwireHookBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanVineBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanWallBannerBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanWallMountedBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.static booleanWallMountedBlock.canPlaceAt(WorldView world, BlockPos pos, Direction direction) protected booleanWallRedstoneTorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanWallSignBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleanWallTorchBlock.canPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.static booleanWallTorchBlock.canPlaceAt(WorldView world, BlockPos pos, Direction facing) 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 booleanPitcherCropBlock.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 voidprotected voidCoralParentBlock.checkLivingConditions(BlockState state, WorldAccess world, BlockPos pos) static BlockStateComposterBlock.compost(Entity user, 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) protected voidCrafterBlock.craft(BlockState state, ServerWorld world, BlockPos pos) AbstractBannerBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.AbstractSignBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.AbstractSkullBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BarrelBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BeaconBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BedBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BeehiveBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BellBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BlastFurnaceBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BlockEntityProvider.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BrewingStandBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.BrushableBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.CalibratedSculkSensorBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.CampfireBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.ChestBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.ChiseledBookshelfBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.CommandBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.ComparatorBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.ConduitBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.CrafterBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.DaylightDetectorBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.DecoratedPotBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.DispenserBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.DropperBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.EnchantingTableBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.EnderChestBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.EndGatewayBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.EndPortalBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.FurnaceBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.HangingSignBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.HopperBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.JigsawBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.JukeboxBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.LecternBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.PistonExtensionBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.SculkCatalystBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.SculkSensorBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.SculkShriekerBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.ShulkerBoxBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.SmokerBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.SpawnerBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.StructureBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.TrappedChestBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.TrialSpawnerBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.VaultBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.WallHangingSignBlock.createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.static 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) protected @Nullable NamedScreenHandlerFactoryAbstractBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryAnvilBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryBlockWithEntity.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryCartographyTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryChestBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected NamedScreenHandlerFactoryCraftingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryEnchantingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected NamedScreenHandlerFactoryGrindstoneBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryLecternBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected NamedScreenHandlerFactoryLoomBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected NamedScreenHandlerFactorySmithingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryStonecutterBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.EndGatewayBlock.createTeleportTarget(ServerWorld world, Entity entity, BlockPos pos) EndPortalBlock.createTeleportTarget(ServerWorld world, Entity entity, BlockPos pos) NetherPortalBlock.createTeleportTarget(ServerWorld world, Entity entity, BlockPos pos) Portal.createTeleportTarget(ServerWorld world, Entity entity, BlockPos pos) static voidLeveledCauldronBlock.decrementFluidLevel(BlockState state, World world, BlockPos pos) private voidprotected voidDispenserBlock.dispense(ServerWorld world, BlockState state, BlockPos pos) protected voidDropperBlock.dispense(ServerWorld world, BlockState state, 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) Drops experience orbs.protected voidBlock.dropExperienceWhenMined(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience) Drops experience orbs.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, @Nullable Entity entity, ItemStack tool) (package private) static BlockStateComposterBlock.emptyComposter(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos) static BlockStateComposterBlock.emptyFullComposter(Entity user, BlockState state, World world, BlockPos pos) AbstractBlock.Offsetter.evaluate(BlockState state, BlockView 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) Fills a cauldron with one level of the specified fluid if possible.protected voidCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected voidLeveledCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.RespawnAnchorBlock.findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos) RespawnAnchorBlock.findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] possibleOffsets, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, float spawnAngle) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection) private voidTrapdoorBlock.flip(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) 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) private voidNyliumBlock.generate(Registry<ConfiguredFeature<?, ?>> registry, RegistryKey<ConfiguredFeature<?, ?>> key, ServerWorld world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) voidSaplingBlock.generate(ServerWorld world, BlockPos pos, BlockState state, Random random) booleanSaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) floatAbstractBlock.AbstractBlockState.getAmbientOcclusionLightLevel(BlockView world, BlockPos pos) protected floatAbstractBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) protected floatBarrierBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) protected floatLightBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) protected floatMudBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) protected floatSnowBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) protected floatSoulSandBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) protected floatStructureVoidBlock.getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos) protected floatTransparentBlock.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) protected VoxelShapeAbstractBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFenceBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeMudBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePaneBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePowderSnowBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSnowBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSoulSandBlock.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeTransparentBlock.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) protected VoxelShapeAbstractBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBambooBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBellBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBigDripleafBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCactusBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeComposterBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFenceGateBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFluidBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeGrindstoneBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeHoneyBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeHorizontalConnectingBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeLecternBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeMudBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePistonExtensionBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePowderSnowBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeScaffoldingBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSculkShriekerBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSnowBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSoulSandBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallHangingSignBlock.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) intAnvilBlock.getColor(BlockState state, BlockView world, BlockPos pos) intColoredFallingBlock.getColor(BlockState state, BlockView world, BlockPos pos) intConcretePowderBlock.getColor(BlockState state, BlockView world, BlockPos pos) intFallingBlock.getColor(BlockState state, BlockView world, BlockPos pos) intAbstractBlock.AbstractBlockState.getComparatorOutput(World world, BlockPos pos) protected intAbstractBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intAbstractFurnaceBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intBarrelBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intBeehiveBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intBrewingStandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intBulbBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCandleCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intChestBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intChiseledBookshelfBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCommandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intComposterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCrafterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intDecoratedPotBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intDetectorRailBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intDispenserBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intEndPortalFrameBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intHopperBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intJukeboxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intLavaCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intLecternBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intLeveledCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intRespawnAnchorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intSculkSensorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intShulkerBoxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.AbstractBlock.AbstractBlockState.getCullingFace(BlockView world, BlockPos pos, Direction direction) AbstractBlock.AbstractBlockState.getCullingShape(BlockView world, BlockPos pos) protected VoxelShapeAbstractBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeFenceBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeFenceGateBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeLecternBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapePointedDripstoneBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapePowderSnowBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeSculkShriekerBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeSkullBlock.getCullingShape(BlockState state, BlockView world, BlockPos pos) private @Nullable IdentifierNoteBlock.getCustomSound(World 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 static TeleportTargetNetherPortalBlock.getExitPortalTarget(Entity entity, BlockPos pos, BlockLocating.Rectangle exitPortalRectangle, ServerWorld world, TeleportTarget.PostDimensionTransition postDimensionTransition) private BlockStateSculkBlock.getExtraBlockState(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) default BlockPosFertilizable.getFertilizeParticlePos(BlockPos pos) MangroveLeavesBlock.getFertilizeParticlePos(BlockPos pos) RootedDirtBlock.getFertilizeParticlePos(BlockPos pos) private static Optional<PointedDripstoneBlock.DrippingFluid> PointedDripstoneBlock.getFluid(World world, BlockPos pos, BlockState state) LichenGrower.getGrowPos(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, LichenGrower.GrowPosPredicate predicate) abstract LichenGrower.GrowPosLichenGrower.GrowType.getGrowPos(BlockPos pos, Direction newDirection, Direction oldDirection) floatAbstractBlock.AbstractBlockState.getHardness(BlockView world, BlockPos pos) ChestBlock.getInventory(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ComposterBlock.getInventory(BlockState state, WorldAccess world, BlockPos pos) InventoryProvider.getInventory(BlockState state, WorldAccess world, BlockPos pos) PitcherCropBlock.getLowerHalfContext(WorldView world, BlockPos pos, BlockState state) AbstractBlock.AbstractBlockState.getMapColor(BlockView world, BlockPos pos) protected intAbstractRedstoneGateBlock.getMaxInputLevelSides(RedstoneView 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) protected intAbstractBlock.getOpacity(BlockState state, BlockView world, BlockPos pos) protected intLeavesBlock.getOpacity(BlockState state, BlockView world, BlockPos pos) protected intTintedGlassBlock.getOpacity(BlockState state, BlockView world, BlockPos pos) private @Nullable TeleportTargetNetherPortalBlock.getOrCreateExitPortalTarget(ServerWorld world, Entity entity, BlockPos pos, BlockPos scaledPos, boolean inNether, WorldBorder worldBorder) AbstractBlock.AbstractBlockState.getOutlineShape(BlockView world, BlockPos pos) AbstractBlock.AbstractBlockState.getOutlineShape(BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractCauldronBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractFireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractPlantPartBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractPressurePlateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractRailBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractRedstoneGateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractSignBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAbstractTorchBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAirBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAmethystClusterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAnvilBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAttachedStemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeAzaleaBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBambooBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBambooShootBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBannerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBedBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBeetrootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBellBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBigDripleafBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBigDripleafStemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBrewingStandBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeBubbleColumnBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeButtonBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCactusBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCakeBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCampfireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCandleBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCandleCakeBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCarpetBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCarrotsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeChainBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeChestBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCocoaBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeComposterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeConduitBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeConnectingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCoralBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCoralParentBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeCropBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDaylightDetectorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDeadBushBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDeadCoralBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDeadCoralFanBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDeadCoralWallFanBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDecoratedPotBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDirtPathBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDoorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeDragonEggBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeEnchantingTableBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeEnderChestBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeEndPortalBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeEndPortalFrameBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFarmlandBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFenceGateBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) FlowerbedBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFlowerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFlowerPotBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFluidBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFrogspawnBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeFungusBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeGrindstoneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeHangingRootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeHangingSignBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeHeavyCoreBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeHopperBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeHorizontalConnectingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeLadderBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeLanternBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeLecternBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeLeverBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeLightBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeLilyPadBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeMultifaceGrowthBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeMushroomPlantBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeNetherPortalBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeNetherWartBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePistonBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePistonExtensionBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePistonHeadBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) PitcherCropBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePointedDripstoneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePotatoesBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapePropaguleBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeRedstoneWireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeRodBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeRootsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSaplingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeScaffoldingBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSculkSensorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSeagrassBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSeaPickleBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeShortPlantBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeShulkerBoxBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSkullBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSlabBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSmallDripleafBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) SnifferEggBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSnowBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSporeBlossomBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSproutsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeStairsBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeStemBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeStonecutterBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeStructureVoidBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSugarCaneBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeSweetBerryBushBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeTallSeagrassBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) TorchflowerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeTrapdoorBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeTripwireBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeTripwireHookBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeTurtleEggBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeVineBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallBannerBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallHangingSignBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallPiglinHeadBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallRedstoneTorchBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallSignBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallSkullBlock.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapeWallTorchBlock.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(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.AbstractPlantBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.AttachedStemBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.BambooShootBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.BigDripleafStemBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.Block.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CandleCakeBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CaveVinesBodyBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CaveVinesHeadBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CropBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.DecoratedPotBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.EndGatewayBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.EndPortalBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.FlowerPotBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.FrostedIceBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.LightBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.NetherPortalBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.NetherWartBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.PistonExtensionBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.PistonHeadBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.ShulkerBoxBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.StemBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.SweetBerryBushBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.TallSeagrassBlock.getPickStack(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.private @Nullable 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) protected VoxelShapeAbstractBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeAbstractCauldronBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeComposterBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeHopperBlock.getRaycastShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeScaffoldingBlock.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) protected longAbstractBlock.getRenderingSeed(BlockState state, BlockPos pos) Returns the seed value for rendering.protected longBedBlock.getRenderingSeed(BlockState state, BlockPos pos) Returns the seed value for rendering.protected longDoorBlock.getRenderingSeed(BlockState state, BlockPos pos) Returns the seed value for rendering.protected longTallPlantBlock.getRenderingSeed(BlockState state, BlockPos pos) Returns the seed value for rendering.AbstractBlock.AbstractBlockState.getSidesShape(BlockView world, BlockPos pos) protected VoxelShapeAbstractBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) ChorusFlowerBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeFenceGateBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeHangingSignBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeLeavesBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeMudBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeShulkerBoxBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeSnowBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeSoulSandBlock.getSidesShape(BlockState state, BlockView world, BlockPos pos) protected VoxelShapeWallHangingSignBlock.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.protected BlockStateAbstractBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPlantStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPressurePlateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractRailBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateAmethystClusterBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateAttachedStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBambooBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBambooShootBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBannerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBarrierBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBedBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBeehiveBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBellBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBigDripleafBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBigDripleafStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BrushableBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateBubbleColumnBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCactusBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCakeBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCampfireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCandleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCandleCakeBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCarpetBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateChainBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateChestBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateChorusFlowerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateChorusPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCocoaBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ComparatorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateConcretePowderBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateConduitBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralBlockBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralParentBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateDeadCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateDecoratedPotBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateDirtPathBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateDoorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateEnderChestBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateFallingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateFarmlandBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateFenceBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateFenceGateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateFireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateFlowerPotBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateFluidBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateFrogspawnBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateGlowLichenBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateGrateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateHangingRootsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateHangingSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateHeavyCoreBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateLadderBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateLanternBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateLeavesBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateLightBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateLightningRodBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateMagmaBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateMangroveRootsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateMultifaceGrowthBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateMushroomBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateNetherPortalBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateNoteBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateObserverBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStatePaneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStatePistonHeadBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PitcherCropBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStatePlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStatePointedDripstoneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStatePropaguleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateRedstoneWireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateRepeaterBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateScaffoldingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSculkSensorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSculkShriekerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSculkVeinBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSeagrassBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSeaPickleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSlabBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSmallDripleafBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSnowBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSnowyBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSoulFireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSoulSandBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSporeBlossomBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateStairsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateSugarCaneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateTallPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateTrapdoorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateTripwireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateTripwireHookBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateVineBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateWallBannerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateWallBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateWallHangingSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateWallMountedBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateWallRedstoneTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateWallSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockStateWallTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.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 BlockStateNoteBlock.getStateWithInstrument(WorldAccess world, BlockPos pos, BlockState state) 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) protected intAbstractBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intAbstractPressurePlateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intAbstractRedstoneGateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intButtonBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intDetectorRailBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLecternBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLeverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLightningRodBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intObserverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intRedstoneTorchBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intRedstoneWireBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.intSculkSensorBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intTrappedChestBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intTripwireHookBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.PointedDripstoneBlock.getSupportingPos(World world, BlockPos pos, BlockState state, int range) private static 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) protected intAbstractBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intAbstractPressurePlateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intAbstractRedstoneGateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intButtonBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.intCalibratedSculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intDaylightDetectorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intDetectorRailBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.intJukeboxBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLecternBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLeverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLightningRodBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intObserverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneWireBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intSculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTargetBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTrappedChestBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTripwireHookBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intWallRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.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) voidBambooShootBlock.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) voidFertilizable.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFlowerbedBlock.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) voidPitcherCropBlock.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) voidShortPlantBlock.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 static booleanCropBlock.hasEnoughLightAt(WorldView 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) static booleanSnifferEggBlock.isAboveHatchBooster(BlockView world, BlockPos pos) 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) protected booleanAbstractBlock.isCullingShapeFullCube(BlockState state, BlockView world, BlockPos pos) 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(WorldView world, BlockPos pos, BlockState state) booleanAbstractPlantStemBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanAzaleaBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanBambooBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanBambooShootBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanBigDripleafBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanCaveVinesBodyBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanCaveVinesHeadBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanCocoaBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanCropBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanFertilizable.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanFlowerbedBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanFungusBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanGlowLichenBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanGrassBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanMossBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanMushroomPlantBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanNetherrackBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanNyliumBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanPitcherCropBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanPropaguleBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanRootedDirtBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanSaplingBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanSeagrassBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanSeaPickleBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanShortPlantBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanSmallDripleafBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanStemBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) booleanTallFlowerBlock.isFertilizable(WorldView world, BlockPos pos, BlockState state) 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) protected booleanAbstractBlock.isShapeFullCube(BlockState state, BlockView world, BlockPos pos) protected booleanBambooBlock.isShapeFullCube(BlockState state, BlockView world, BlockPos pos) protected 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.isTransparent(BlockView world, BlockPos pos) protected booleanAbstractBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanBambooBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanBarrierBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanConnectingBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanFluidBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanGlowLichenBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanHorizontalConnectingBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanLightBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanPlantBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanShulkerBoxBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanTintedGlassBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanTransparentBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanVineBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) protected booleanWallBlock.isTransparent(BlockState state, BlockView world, BlockPos pos) private booleanRailPlacementHelper.isVerticallyNearRail(BlockPos pos) private static booleanFarmlandBlock.isWaterNearby(WorldView 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) protected voidAbstractBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidAbstractRailBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidAbstractRedstoneGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidAbstractSkullBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidBellBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidBigDripleafBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidBulbBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidCommandBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidCrafterBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidDispenserBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidDoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidFenceGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidFluidBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidFrostedIceBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidHopperBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidNoteBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidPistonBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidPistonHeadBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidRedstoneLampBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidRedstoneTorchBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidRedstoneWireBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidSpongeBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidStructureBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidTntBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected voidTrapdoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.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) protected voidAbstractBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidAbstractFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidAbstractRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidAbstractRedstoneGateBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidBrushableBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidBulbBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidCarvedPumpkinBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidComposterBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidCoralBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidCoralFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidCoralWallFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidDetectorRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidFallingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidFluidBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidFrogspawnBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidFrostedIceBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidHopperBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidLightningRodBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidMagmaBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidObserverBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidPistonBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidRedstoneTorchBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidRedstoneWireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidScaffoldingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidSculkSensorBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidSnifferEggBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidSoulSandBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidTargetBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidTntBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidTripwireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidTurtleEggBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected voidWetSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidAbstractBlock.AbstractBlockState.onBlockBreakStart(World world, BlockPos pos, PlayerEntity player) protected voidAbstractBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected voidDragonEggBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected voidNoteBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected voidRedstoneOreBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).AbstractFireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BedBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BeehiveBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.Block.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DecoratedPotBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DoorBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.PistonHeadBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.ShulkerBoxBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TallPlantBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TntBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TripwireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.protected static 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) Called after a player breaks a block and the block is removed from the world.voidPistonExtensionBlock.onBroken(WorldAccess world, BlockPos pos, BlockState state) Called after a player breaks a block and the block is removed from the world.voidBlock.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) voidBrushableBlock.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) protected voidAbstractBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidAbstractFireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidAbstractPressurePlateBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidBigDripleafBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidBubbleColumnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidButtonBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidCactusBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidCampfireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidCobwebBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidCropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidDetectorRailBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidEndGatewayBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidEndPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidFrogspawnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidHoneyBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidHopperBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidLavaCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidLeveledCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidLilyPadBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidNetherPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidPitcherCropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidPowderSnowBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidSweetBerryBushBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidTripwireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidWitherRoseBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidAbstractBlock.AbstractBlockState.onExploded(World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidAbstractBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidAbstractCandleBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidBellBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidButtonBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidDoorBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidFenceGateBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidLeverBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidTrapdoorBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) private voidLeveledCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos) voidBedBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidFarmlandBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidHayBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidHoneyBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidPointedDripstoneBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidPowderSnowBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidSlimeBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidTurtleEggBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.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) voidAbstractRedstoneGateBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidBedBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidCommandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidCrafterBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidDoorBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidJukeboxBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidPistonBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidPitcherCropBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidSmallDripleafBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidStructureBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidTallPlantBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidTripwireHookBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidWallWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static voidvoidWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static voidWitherSkullBlock.onPlaced(World world, BlockPos pos, SkullBlockEntity blockEntity) voidAbstractBlock.AbstractBlockState.onStacksDropped(ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) protected voidAbstractBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected voidExperienceDroppingBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected voidInfestedBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected voidRedstoneOreBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected voidSculkCatalystBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected voidSculkSensorBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected voidSculkShriekerBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.protected voidSpawnerBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.voidAbstractBlock.AbstractBlockState.onStateReplaced(World world, BlockPos pos, BlockState state, boolean moved) protected voidAbstractBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidAbstractFurnaceBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidAbstractPressurePlateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidAbstractRailBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidAbstractRedstoneGateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidBarrelBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidBrewingStandBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidButtonBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidCampfireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidChestBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidChiseledBookshelfBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidCrafterBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidDecoratedPotBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidDispenserBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidHopperBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidJukeboxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidLecternBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidLeverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidLightningRodBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidObserverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidPistonExtensionBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidPistonHeadBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidRedstoneTorchBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidRedstoneWireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidSculkSensorBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidSculkShriekerBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidShulkerBoxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidTripwireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected voidTripwireHookBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.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.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) protected booleanAbstractBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected booleanBlockWithEntity.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected booleanComparatorBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected booleanNoteBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected booleanPistonBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected ActionResultAbstractBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultAbstractFurnaceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultAbstractSignBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultAnvilBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBarrelBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBeaconBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBedBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBellBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBrewingStandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultButtonBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCandleCakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCartographyTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCaveVinesBodyBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCaveVinesHeadBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultChiseledBookshelfBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCommandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultComparatorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultComposterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCrafterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCraftingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDaylightDetectorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDecoratedPotBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDispenserBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDragonEggBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultEnchantingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultEnderChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultFenceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultFenceGateBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultFletchingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultFlowerPotBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultGrindstoneBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultHopperBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultJigsawBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultJukeboxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultLecternBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultLeverBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultLightBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultLoomBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultNoteBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultPistonExtensionBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultRedstoneWireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultRepeaterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultRespawnAnchorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultShulkerBoxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultSmithingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultStonecutterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultStructureBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultSweetBerryBushBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultTrapdoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ItemActionResultAbstractBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultAbstractCauldronBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultAbstractSignBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultBeehiveBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultCakeBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultCampfireBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultCandleBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultCandleCakeBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultChiseledBookshelfBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultComposterBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultDecoratedPotBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultFenceBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultFlowerPotBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultHangingSignBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultJukeboxBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultLecternBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultNoteBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultPumpkinBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultRedstoneOreBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultRespawnAnchorBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultSweetBerryBushBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultTntBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) VaultBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResultWallHangingSignBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) 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(@Nullable Entity picker, 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 voidButtonBlock.playClickSound(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, boolean powered) protected static voidLeverBlock.playClickSound(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) static voidComposterBlock.playEffects(World world, BlockPos pos, boolean fill) private voidFluidBlock.playExtinguishSound(WorldAccess world, BlockPos pos) private voidprivate voidDoorBlock.playOpenCloseSound(@Nullable Entity entity, World world, BlockPos pos, boolean open) private static 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) voidButtonBlock.powerOn(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) voidBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.voidCauldronBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.voidLeveledCauldronBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.final voidAbstractBlock.AbstractBlockState.prepare(WorldAccess world, BlockPos pos, int flags) voidAbstractBlock.AbstractBlockState.prepare(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) protected voidAbstractBlock.prepare(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Called when the block state changes, before the neighbor-triggered state update on the original block, and after the neighbor-triggered state update on the replaced block.protected voidRedstoneWireBlock.prepare(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Called when the block state changes, before the neighbor-triggered state update on the original block, and after the neighbor-triggered state update on the replaced block.static voidprivate static voidTntBlock.primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter) static BlockStateBlock.pushEntitiesUpBeforeBlockChange(BlockState from, BlockState to, WorldAccess world, BlockPos pos) Pushes entities standing on a block up before changing the block to taller ones.private static voidLecternBlock.putBook(@Nullable LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack) static booleanLecternBlock.putBookIfAbsent(@Nullable LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack) voidAbstractCandleBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidAbstractFireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBeehiveBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBlastFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBrewingStandBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBrushableBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBubbleColumnBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidCampfireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidCherryLeavesBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidCryingObsidianBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEnchantingTableBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEnderChestBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEndGatewayBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEndPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEndRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidFallingBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidLeavesBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidLeverBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidLightningRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidMyceliumBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidNetherPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidPointedDripstoneBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRedstoneOreBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRedstoneWireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRepeaterBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRespawnAnchorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidSculkSensorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidSmokerBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidSporeBlossomBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidWallRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidWallTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidWetSpongeBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidWitherRoseBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidAbstractBlock.AbstractBlockState.randomTick(ServerWorld world, BlockPos pos, Random random) protected voidAbstractBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidAbstractPlantStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidBambooBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidBambooShootBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidBeetrootsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidBuddingAmethystBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidCactusBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidChorusFlowerBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidCocoaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidCropBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidFarmlandBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidFluidBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidIceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidLeavesBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidMushroomPlantBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidNetherPortalBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidNetherWartBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidNyliumBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidOxidizableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidOxidizableBulbBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidOxidizableDoorBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidOxidizableGrateBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidOxidizableSlabBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidOxidizableStairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidOxidizableTrapdoorBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidPitcherCropBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidPointedDripstoneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidPropaguleBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidRedstoneOreBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidSaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidSnowBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidSpreadableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidSugarCaneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidSweetBerryBushBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidTorchflowerBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidTurtleEggBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidVineBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.private booleanFluidBlock.receiveNeighborFluids(World world, BlockPos pos, BlockState state) 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) protected voidAbstractBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidAbstractCauldronBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidAbstractPlantPartBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidAbstractPressurePlateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidAbstractRedstoneGateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidBambooBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidBarrelBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidBigDripleafBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidBigDripleafStemBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidBrushableBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidBubbleColumnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidButtonBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidCactusBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidChorusFlowerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidChorusPlantBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidCommandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidComparatorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidComposterBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidCoralBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidCoralBlockBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidCoralFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidCoralWallFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidCrafterBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidDetectorRailBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidDirtPathBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidDispenserBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidEnderChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidFallingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidFarmlandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidFireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidFrogspawnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidFrostedIceBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidLeavesBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidLecternBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidLightningRodBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidMagmaBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidObserverBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidPointedDripstoneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidRedstoneLampBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidRedstoneTorchBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidScaffoldingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidSculkCatalystBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidSculkSensorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidSculkShriekerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidSnifferEggBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidSoulSandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidSugarCaneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidTargetBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidTripwireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.protected voidTripwireHookBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.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) voidSculkSensorBlock.setActive(@Nullable Entity sourceEntity, World world, BlockPos pos, BlockState state, int power, int frequency) static voidSculkSensorBlock.setCooldown(World world, BlockPos pos, BlockState state) static voidLecternBlock.setHasBook(@Nullable Entity user, 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) static voidprivate 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(RedstoneView 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 voidCarvedPumpkinBlock.spawnEntity(World world, BlockPattern.Result patternResult, Entity entity, BlockPos pos) 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) voidLeverBlock.togglePower(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) private voidCrafterBlock.transferOrSpawnStack(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeEntry<CraftingRecipe> recipe) private voidHoneyBlock.triggerAdvancement(Entity entity, BlockPos pos) private static voidChiseledBookshelfBlock.tryAddBook(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, ItemStack stack, int slot) private voidTurtleEggBlock.tryBreakEgg(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance) default Optional<BlockState> Degradable.tryDegrade(BlockState state, ServerWorld world, BlockPos pos, Random random) BarrierBlock.tryDrainFluid(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) BubbleColumnBlock.tryDrainFluid(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) FluidBlock.tryDrainFluid(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) FluidDrainable.tryDrainFluid(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) PowderSnowBlock.tryDrainFluid(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) default ItemStackWaterloggable.tryDrainFluid(@Nullable PlayerEntity player, 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) private voidPitcherCropBlock.tryGrow(ServerWorld world, BlockState state, BlockPos pos, int amount) 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) protected voidButtonBlock.tryPowerWithProjectiles(BlockState state, World world, BlockPos pos) private static voidChiseledBookshelfBlock.tryRemoveBook(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, int slot) static voidSculkSensorBlock.tryResonate(@Nullable Entity sourceEntity, World world, BlockPos pos, int frequency) 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) voidBulbBlock.update(BlockState state, ServerWorld world, BlockPos pos) 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) static voidTripwireHookBlock.update(World world, BlockPos pos, BlockState state, boolean bool, boolean bool2, 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) protected voidAbstractPressurePlateBlock.updateNeighbors(World world, BlockPos pos) private voidButtonBlock.updateNeighbors(BlockState state, 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, BlockState state) private static voidTripwireHookBlock.updateNeighborsOnAxis(Block block, World world, BlockPos pos, Direction direction) private voidRedstoneWireBlock.updateOffsetNeighbors(World world, BlockPos pos) private 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.static BlockStateChorusPlantBlock.withConnectionProperties(BlockView world, BlockPos pos, BlockState state) 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 TypeMethodDescriptionvoidAbstractBlock.AbstractBlockState.onExploded(World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidAbstractBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidAbstractCandleBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidBellBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidButtonBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidDoorBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidFenceGateBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidLeverBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidTrapdoorBlock.onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) PointedDripstoneBlock.searchInDirection(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, 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) (package private)LowerHalfContext(BlockPos blockPos, BlockState blockState) 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 ItemActionResultCauldronBehavior.emptyCauldron(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> fullPredicate, SoundEvent soundEvent) Empties a cauldron if it's full.static ItemActionResultCauldronBehavior.fillCauldron(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) Fills a cauldron from a bucket stack.CauldronBehavior.interact(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) Called when a player interacts with a cauldron. -
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.posprotected final BlockPosSculkSensorBlockEntity.VibrationCallback.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()Returns the block entity's position.SculkSpreadManager.Cursor.getPos()SculkSpreadManager.Cursor.getSpreadPos(WorldAccess world, BlockPos pos, Random random) static BlockPosBlockEntity.posFromNbt(NbtCompound nbt) Returns the block position fromnbt.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.VibrationCallback.accept(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.voidSculkShriekerBlockEntity.VibrationCallback.accept(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.booleanCalibratedSculkSensorBlockEntity.Callback.accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.booleanSculkSensorBlockEntity.VibrationCallback.accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.booleanSculkShriekerBlockEntity.VibrationCallback.accepts(ServerWorld world, BlockPos pos, RegistryEntry<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 RegistryEntry<StatusEffect> primaryEffect, @Nullable RegistryEntry<StatusEffect> secondaryEffect) private static voidConduitBlockEntity.attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) private voidSculkCatalystBlockEntity.Listener.bloom(ServerWorld world, BlockPos pos, BlockState state, Random random) private static booleanPistonBlockEntity.canMoveEntity(Box box, Entity entity, BlockPos pos) 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) (package private) static voidVaultBlockEntity.Server.changeVaultState(ServerWorld world, BlockPos pos, BlockState oldState, BlockState newState, VaultConfig config, VaultSharedData sharedData) 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) private static ServerCommandSourceSignBlockEntity.createCommandSource(@Nullable PlayerEntity player, World world, BlockPos pos) static @Nullable BlockEntityBlockEntity.createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Returns the new block entity loaded fromnbt, ornullif it fails.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 ItemStackVaultBlockEntity.Server.generateDisplayItem(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable) VaultBlockEntity.Server.generateLoot(ServerWorld world, VaultConfig config, BlockPos pos, PlayerEntity player) Returns the block entity instance of this type atpos, ornullif no such block entity exists.private static BoxConduitBlockEntity.getAttackZone(BlockPos pos) HopperBlockEntity.getBlockInventoryAt(World world, BlockPos pos, BlockState state) private intCalibratedSculkSensorBlockEntity.Callback.getCalibrationFrequency(World world, BlockPos pos, BlockState state) PistonBlockEntity.getCollisionShape(BlockView world, BlockPos pos) private static Vec3dVaultBlockEntity.Client.getConnectedParticlesOrigin(BlockPos pos, Direction direction) private static Vec3dVaultBlockEntity.Client.getDeactivateParticlesPos(BlockPos pos, Random random) HopperBlockEntity.getInputInventory(World world, Hopper hopper, BlockPos pos, BlockState state) HopperBlockEntity.getInventoryAt(World world, BlockPos pos) HopperBlockEntity.getInventoryAt(World world, BlockPos pos, BlockState state, double x, double y, double z) EndGatewayBlockEntity.getOrCreateExitPortalPos(ServerWorld world, BlockPos pos) HopperBlockEntity.getOutputInventory(World world, BlockPos pos, HopperBlockEntity blockEntity) private static List<ServerPlayerEntity> SculkShriekerWarningManager.getPlayersInRange(ServerWorld world, BlockPos pos) static intChestBlockEntity.getPlayersLookingInChestCount(BlockView world, BlockPos pos) private static Vec3dVaultBlockEntity.Client.getRegularParticlesPos(BlockPos pos, Random random) SculkSpreadManager.Cursor.getSpreadPos(WorldAccess world, BlockPos pos, Random random) StructureBlockBlockEntity.getStructureBox(BlockPos pos, Stream<BlockPos> corners) private List<PlayerEntity> ViewerCountManager.getViewingPlayers(World world, BlockPos pos) private static voidConduitBlockEntity.givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static booleanHopperBlockEntity.insert(World world, BlockPos pos, HopperBlockEntity blockEntity) private static booleanHopperBlockEntity.insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) BlockEntityType.instantiate(BlockPos pos, BlockState state) Returns a new instance of the block entity.private static booleanVaultBlockEntity.Client.isPlayerWithinConnectedParticlesRange(BlockPos pos, VaultSharedData sharedData, PlayerEntity player) 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.private static booleanSculkShriekerWarningManager.isWardenNearby(ServerWorld world, BlockPos pos) static voidCampfireBlockEntity.litServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) BeehiveBlockEntity.BeeData.loadEntity(World world, BlockPos pos) 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.onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected voidTrappedChestBlockEntity.onViewerCountUpdate(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) private static voidVaultBlockEntity.Client.playAmbientSound(World world, BlockPos pos, VaultSharedData sharedData) private static voidVaultBlockEntity.Server.playFailedUnlockSound(ServerWorld world, VaultServerData serverData, BlockPos pos, SoundEvent sound) 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.BeeData bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) voidBellBlockEntity.Effect.run(World world, BlockPos pos, List<LivingEntity> hearingEntities) booleanSignBlockEntity.runCommandClickEvent(PlayerEntity player, World world, BlockPos pos, boolean front) 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) voidprivate static BlockPosEndGatewayBlockEntity.setupExitPortalLocation(ServerWorld world, BlockPos pos) Finds teleport location and creates an island to teleport to (if there is none).static voidVaultBlockEntity.Client.spawnActivateParticles(World world, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleEffect particle) private static voidVaultBlockEntity.Client.spawnAmbientParticles(World world, BlockPos pos, VaultSharedData sharedData, ParticleEffect particle) private static voidVaultBlockEntity.Client.spawnConnectedParticles(World world, BlockPos pos, BlockState state, VaultSharedData sharedData) static voidVaultBlockEntity.Client.spawnDeactivateParticles(World world, BlockPos pos, ParticleEffect particle) 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) voidstatic 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) Ticks the 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 voidSignBlockEntity.tick(World world, BlockPos pos, BlockState state, SignBlockEntity blockEntity) static voidSkullBlockEntity.tick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) static voidVaultBlockEntity.Client.tick(World world, BlockPos pos, BlockState state, VaultClientData clientData, VaultSharedData sharedData) static voidVaultBlockEntity.Server.tick(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) private static voidBeehiveBlockEntity.tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) static voidCrafterBlockEntity.tickCrafting(World world, BlockPos pos, BlockState state, CrafterBlockEntity blockEntity) static voidVaultBlockEntity.Server.tryUnlock(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, PlayerEntity player, ItemStack stack) static voidCampfireBlockEntity.unlitServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private static voidVaultBlockEntity.Server.unlock(ServerWorld world, BlockState state, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, List<ItemStack> itemsToEject) private static booleanConduitBlockEntity.updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks) private voidShulkerBoxBlockEntity.updateAnimation(World world, BlockPos pos, BlockState state) (package private) static voidVaultBlockEntity.Server.updateDisplayItem(ServerWorld world, VaultState state, VaultConfig config, VaultSharedData sharedData, BlockPos pos) 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 world, BlockPos pos, ServerPlayerEntity player) 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) BrushableBlockEntity(BlockPos pos, BlockState state) CalibratedSculkSensorBlockEntity(BlockPos pos, BlockState state) CampfireBlockEntity(BlockPos pos, BlockState state) protectedChestBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) ChestBlockEntity(BlockPos pos, BlockState state) ChiseledBookshelfBlockEntity(BlockPos pos, BlockState state) CommandBlockBlockEntity(BlockPos pos, BlockState state) ComparatorBlockEntity(BlockPos pos, BlockState state) ConduitBlockEntity(BlockPos pos, BlockState state) CrafterBlockEntity(BlockPos pos, BlockState state) privateDaylightDetectorBlockEntity(BlockPos pos, BlockState state) DecoratedPotBlockEntity(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) HangingSignBlockEntity(BlockPos pos, BlockState state) HopperBlockEntity(BlockPos pos, BlockState state) JigsawBlockEntity(BlockPos pos, BlockState state) JukeboxBlockEntity(BlockPos pos, BlockState state) LecternBlockEntity(BlockPos pos, BlockState state) 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) protectedSculkSensorBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) SculkSensorBlockEntity(BlockPos pos, BlockState state) SculkShriekerBlockEntity(BlockPos pos, BlockState state) ShulkerBoxBlockEntity(@Nullable DyeColor color, BlockPos pos, BlockState state) ShulkerBoxBlockEntity(BlockPos pos, BlockState state) SignBlockEntity(BlockEntityType type, BlockPos pos, BlockState state) SignBlockEntity(BlockPos pos, BlockState state) SkullBlockEntity(BlockPos pos, BlockState state) SmokerBlockEntity(BlockPos pos, BlockState state) StructureBlockBlockEntity(BlockPos pos, BlockState state) TrappedChestBlockEntity(BlockPos pos, BlockState state) TrialSpawnerBlockEntity(BlockPos pos, BlockState state) VaultBlockEntity(BlockPos pos, BlockState state) -
Uses of BlockPos in net.minecraft.block.enums
Methods in net.minecraft.block.enums with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidVaultState.ejectItem(ServerWorld world, BlockPos pos, ItemStack stack, float pitchModifier) voidvoidTrialSpawnerState.emitParticles(World world, BlockPos pos, boolean ominous) TrialSpawnerState.getPosToSpawnItemSpawner(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic, TrialSpawnerData data) TrialSpawnerState.getRandomEntity(List<PlayerEntity> players, Set<UUID> entityUuids, TrialSpawnerLogic logic, BlockPos pos, ServerWorld world) protected voidVaultState.onChangedFrom(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData) protected voidVaultState.onChangedTo(ServerWorld world, BlockPos pos, VaultConfig config, VaultSharedData sharedData, boolean ominous) voidVaultState.onStateChange(ServerWorld world, BlockPos pos, VaultState newState, VaultConfig config, VaultSharedData sharedData, boolean ominous) private voidTrialSpawnerState.spawnOminousItemSpawner(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic) (package private) TrialSpawnerStateTrialSpawnerState.tick(BlockPos pos, TrialSpawnerLogic logic, ServerWorld world) VaultState.update(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) private static VaultStateVaultState.updateActiveState(ServerWorld world, BlockPos pos, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData, double radius) -
Uses of BlockPos in net.minecraft.block.jukebox
Fields in net.minecraft.block.jukebox declared as BlockPosMethods in net.minecraft.block.jukebox with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static voidJukeboxManager.spawnNoteParticles(WorldAccess world, BlockPos pos) Constructors in net.minecraft.block.jukebox with parameters of type BlockPosModifierConstructorDescriptionJukeboxManager(JukeboxManager.ChangeNotifier changeNotifier, BlockPos pos) -
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.spawner
Methods in net.minecraft.block.spawner with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidTrialSpawnerLogic.addDetectionParticles(World world, BlockPos pos, Random random, int playerCount, ParticleEffect particle) static voidTrialSpawnerLogic.addEjectItemParticles(World world, BlockPos pos, Random random) static voidTrialSpawnerLogic.addMobSpawnParticles(World world, BlockPos pos, Random random, SimpleParticleType particle) static voidTrialSpawnerLogic.addTrialOmenParticles(World world, BlockPos pos, Random random) booleanMobSpawnerEntry.CustomSpawnRules.canSpawn(BlockPos pos, ServerWorld world) voidMobSpawnerLogic.clientTick(World world, BlockPos pos) EntityDetector.detect(ServerWorld world, EntityDetector.Selector selector, BlockPos center, double radius, boolean spawner) voidTrialSpawnerLogic.ejectLootTable(ServerWorld world, BlockPos pos, RegistryKey<LootTable> lootTable) intTrialSpawnerData.getAdditionalPlayers(BlockPos pos) TrialSpawnerData.getItemsToDropWhenOminous(ServerWorld world, TrialSpawnerConfig config, BlockPos pos) private static longTrialSpawnerData.getLootSeed(ServerWorld world, BlockPos pos) MobSpawnerLogic.getRenderedEntity(World world, BlockPos pos) private MobSpawnerEntryMobSpawnerLogic.getSpawnEntry(@Nullable World world, Random random, BlockPos pos) private booleanMobSpawnerLogic.isPlayerInRange(World world, BlockPos pos) voidMobSpawnerLogic.readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt) abstract voidMobSpawnerLogic.sendStatus(World world, BlockPos pos, int status) voidMobSpawnerLogic.serverTick(ServerWorld world, BlockPos pos) voidMobSpawnerLogic.setEntityId(EntityType<?> type, @Nullable World world, Random random, BlockPos pos) voidTrialSpawnerLogic.setNotOminous(ServerWorld world, BlockPos pos) voidTrialSpawnerLogic.setOminous(ServerWorld world, BlockPos pos) protected voidMobSpawnerLogic.setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) private static booleanTrialSpawnerLogic.shouldRemoveMobFromData(ServerWorld world, BlockPos pos, UUID uuid) voidTrialSpawnerLogic.tickClient(World world, BlockPos pos, boolean ominous) voidTrialSpawnerLogic.tickServer(ServerWorld world, BlockPos pos, boolean ominous) TrialSpawnerLogic.trySpawnMob(ServerWorld world, BlockPos pos) voidTrialSpawnerData.updatePlayers(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic) private voidMobSpawnerLogic.updateSpawns(World world, BlockPos pos) -
Uses of BlockPos in net.minecraft.block.vault
Methods in net.minecraft.block.vault with parameters of type BlockPosModifier and TypeMethodDescription(package private) voidVaultSharedData.updateConnectedPlayers(ServerWorld world, BlockPos pos, VaultServerData serverData, VaultConfig config, double radius) -
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.getAngleTo(Entity entity, BlockPos pos) -
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 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) static intWorldRenderer.getLightmapCoordinates(BlockRenderView world, BlockState state, BlockPos pos) static intWorldRenderer.getLightmapCoordinates(BlockRenderView world, BlockPos pos) protected ChunkBuilder.BuiltChunkBuiltChunkStorage.getRenderedChunk(BlockPos pos) booleanWorldRenderer.isRenderingReady(BlockPos pos) private ChunkBuilder.BuiltChunkChunkRenderingDataPreparer.method_52831(BlockPos blockPos, ChunkBuilder.BuiltChunk builtChunk, Direction direction) private booleanChunkRenderingDataPreparer.method_52832(BlockPos blockPos, BlockPos blockPos2) voidWorldRenderer.playJukeboxSong(RegistryEntry<JukeboxSong> song, BlockPos jukeboxPos) 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) private voidWorldRenderer.shootParticles(int direction, BlockPos pos, Random random, SimpleParticleType particleType) private voidWorldRenderer.stopJukeboxSong(BlockPos jukeboxPos) voidWorldRenderer.stopJukeboxSongAndUpdate(BlockPos jukeboxPos) voidWorldRenderer.updateBlock(BlockView world, BlockPos pos, BlockState oldState, BlockState newState, int flags) private voidWorldRenderer.updateEntitiesForSong(World world, BlockPos pos, boolean playing) -
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 voidPistonBlockEntityRenderer.renderModel(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay) (package private) voidSignBlockEntityRenderer.renderText(BlockPos pos, SignText signText, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int lineHeight, int lineWidth, boolean front) (package private) static booleanSignBlockEntityRenderer.shouldRender(BlockPos pos, int signColor) -
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) 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 TypeFieldDescriptionprivate final BlockPosGoalSelectorDebugRenderer.Entity.entityPosThe field for theentityPosrecord component.final BlockPosVillageDebugRenderer.PointOfInterest.posFields in net.minecraft.client.render.debug with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final Map<BlockPos, BeeDebugRenderer.Hive> BeeDebugRenderer.hivesprivate final Map<BlockPos, GameTestDebugRenderer.Marker> GameTestDebugRenderer.markersNeighborUpdateDebugRenderer.neighborUpdatesprivate final Map<BlockPos, VillageDebugRenderer.PointOfInterest> VillageDebugRenderer.pointsOfInterestWorldGenAttemptDebugRenderer.positionsprivate Collection<BlockPos> RaidCenterDebugRenderer.raidCentersMethods in net.minecraft.client.render.debug that return BlockPosModifier and TypeMethodDescriptionGoalSelectorDebugRenderer.Entity.entityPos()Returns the value of theentityPosrecord component.Methods 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) static voidDebugRenderer.drawBlockBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, float red, float green, float blue, float alpha) static voidDebugRenderer.drawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, float expand, float red, float green, float blue, float alpha) static voidDebugRenderer.drawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos1, BlockPos pos2, float red, float green, float blue, float alpha) private voidVillageDebugRenderer.drawGhostPointOfInterest(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, List<String> brains) private static voidBeeDebugRenderer.drawHive(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos) private voidBeeDebugRenderer.drawHiveBees(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, List<String> bees) private static voidVillageDebugRenderer.drawPointOfInterest(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos) private static voidRaidCenterDebugRenderer.drawRaidCenter(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos) private static voidBeeDebugRenderer.drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, BlockPos pos, int line, int color) private static voidRaidCenterDebugRenderer.drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, BlockPos pos, int color) private static voidVillageDebugRenderer.drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, BlockPos pos, int offsetY, int color) private Collection<UUID> BeeDebugRenderer.getBeesForHive(BlockPos hivePos) private Collection<UUID> VillageDebugRenderer.getBrainsContainingPointOfInterest(BlockPos pointOfInterest) private Collection<UUID> VillageDebugRenderer.getBrainsContainingPotentialJobSite(BlockPos potentialJobSite) private static floatPathfindingDebugRenderer.getManhattanDistance(BlockPos pos, double x, double y, double z) private StringBeeDebugRenderer.getPositionString(DebugBeeCustomPayload.Bee bee, BlockPos pos) voidVillageDebugRenderer.removePointOfInterest(BlockPos pos) private voidSupportingBlockDebugRenderer.renderBlockHighlight(BlockPos pos, MatrixStack matrices, double cameraX, double cameraY, double cameraZ, VertexConsumerProvider vertexConsumers, double dilation, float red, float green, float blue) private voidGameTestDebugRenderer.renderMarker(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, GameTestDebugRenderer.Marker marker) voidVillageDebugRenderer.setFreeTicketCount(BlockPos pos, int freeTicketCount) voidGoalSelectorDebugRenderer.setGoalSelectorList(int index, BlockPos pos, List<DebugGoalSelectorCustomPayload.Goal> goals) 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 BlockPosModifierConstructorDescription(package private)Entity(BlockPos blockPos, List<DebugGoalSelectorCustomPayload.Goal> list) PointOfInterest(BlockPos pos, String type, int freeTicketCount) -
Uses of BlockPos in net.minecraft.client.render.entity
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, Chunk chunk, 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.world
Fields in net.minecraft.client.world declared as BlockPosFields in net.minecraft.client.world with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final ToIntFunction<BlockPos> BiomeColorCache.colorFactoryMethods in net.minecraft.client.world that return BlockPosMethods 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 solidBelow) 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.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) static BlockPosBlockPosArgumentType.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name) static BlockPosBlockPosArgumentType.getValidBlockPos(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.component.type
Methods in net.minecraft.component.type with parameters of type BlockPosModifier and TypeMethodDescriptionstatic ItemActionResultJukeboxPlayableComponent.tryPlayStack(World world, BlockPos pos, ItemStack stack, PlayerEntity player) -
Uses of BlockPos in net.minecraft.entity
Fields in net.minecraft.entity declared as BlockPosModifier and TypeFieldDescriptionprivate BlockPosEntity.blockPosprivate BlockPosLivingEntity.lastBlockPosFields 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_POSITIONEntity.supportingBlockPosLeashable.LeashData.unresolvedLeashDataMethods in net.minecraft.entity that return BlockPosModifier and TypeMethodDescriptiondefault BlockPosSpawnLocation.adjustPosition(WorldView world, BlockPos pos) private BlockPosLightningEntity.getAffectedBlockPos()Entity.getBlockPos()FallingBlockEntity.getFallingBlockPos()Entity.getLandingPos()Deprecated.protected BlockPosEntity.getPosWithYOffset(float offset) Entity.getSteppingPos()Returns the stepping position.protected BlockPosEntity.getStepSoundPos(BlockPos pos) Entity.getVelocityAffectingPos()ExperienceOrbEntity.getVelocityAffectingPos()ItemEntity.getVelocityAffectingPos()Entity.getWorldSpawnPos(ServerWorld world, BlockPos basePos) 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 TypeMethodDescriptionvoidEntity.addPortalChunkTicketAt(BlockPos pos) default BlockPosSpawnLocation.adjustPosition(WorldView world, BlockPos pos) protected voidLivingEntity.applyMovementEffects(ServerWorld world, BlockPos pos) private booleanLivingEntity.canEnterTrapdoor(BlockPos pos, BlockState state) booleanEntity.canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosionfrom this entity can destroystate.booleanEntity.canModifyAt(World world, BlockPos pos) Returns whether the entity can modify the world atpos.static <T extends Entity>
booleanSpawnRestriction.canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) 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) Returns whether the entity collides with the blockstateatpos.EntityType.create(ServerWorld world, @Nullable Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY) protected voidEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected voidLivingEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.Dismounting.findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) static 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) Returns the blast resistance ofblockStatefor an explosion caused by this entity.protected static doubleEntityType.getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox) protected BlockPosEntity.getStepSoundPos(BlockPos pos) Entity.getWorldSpawnPos(ServerWorld world, BlockPos basePos) voidEyeOfEnderEntity.initTargetPos(BlockPos pos) Sets where the eye will fly towards.static booleanSpawnRestriction.isSpawnPosAllowed(EntityType<?> type, WorldView world, BlockPos pos) booleanSpawnLocation.isSpawnPositionOk(WorldView world, BlockPos pos, @Nullable EntityType<?> entityType) booleanEntity.isSupportedBy(BlockPos pos) voidFallingBlockEntity.onDestroyedOnLanding(Block block, BlockPos pos) protected voidEntity.playStepSound(BlockPos pos, BlockState state) private voidEntity.playStepSounds(BlockPos pos, BlockState state) voidEntity.refreshPositionAndAngles(BlockPos pos, float yaw, float pitch) Sets the entity's position, yaw, and pitch, and refreshes several position-related fields.voidFallingBlockEntity.setFallingBlockPos(BlockPos pos) voidLivingEntity.setNearbySongPlaying(BlockPos songPosition, boolean playing) private voidLivingEntity.setPositionInBed(BlockPos pos) voidLivingEntity.setSleepingPosition(BlockPos pos) voidEntityType.spawn(ServerWorld world, @Nullable Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY) EntityType.spawn(ServerWorld world, BlockPos pos, SpawnReason reason) 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) private booleanEntity.stepOnBlock(BlockPos pos, BlockState state, boolean playSound, boolean emitEvent, Vec3d movement) 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) voidEntity.tryUsePortal(Portal portal, BlockPos pos) Method parameters in net.minecraft.entity with type arguments of type BlockPosModifier and TypeMethodDescriptionstatic doubleDismounting.getCeilingHeight(BlockPos pos, int maxDistance, Function<BlockPos, VoxelShape> collisionShapeGetter) Constructor parameters in net.minecraft.entity with type arguments of type BlockPos -
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.BREEZE_JUMP_TARGETstatic final MemoryModuleType<BlockPos> MemoryModuleType.CELEBRATE_LOCATIONstatic final MemoryModuleType<BlockPos> MemoryModuleType.DISTURBANCE_LOCATIONstatic final MemoryModuleType<BlockPos> MemoryModuleType.NEAREST_BEDstatic final MemoryModuleType<BlockPos> MemoryModuleType.NEAREST_REPELLENTstatic final MemoryModuleType<BlockPos> MemoryModuleType.SNIFFER_SNIFFING_TARGETMethods 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 TypeFieldDescriptionprivate final BiPredicate<E, BlockPos> LongJumpTask.jumpToPredicateBoneMealTask.posFarmerVillagerTask.targetPositionsMethods in net.minecraft.entity.ai.brain.task that return BlockPosModifier and TypeMethodDescriptionFarmerVillagerTask.chooseRandomTarget(ServerWorld world) private static BlockPosPrepareRamTask.Ram.getEnd()LongJumpTask.Target.getPos()BreezeJumpTask.getPosToJumpTo(LivingEntity breeze, Vec3d pos) 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) FleeTask.findClosestWater(BlockView world, Entity entity) PrepareRamTask.findRamStart(PathAwareEntity entity, LivingEntity target) JumpInBedTask.getNearestBed(MobEntity mob) VillagerBreedTask.getReachableHome(ServerWorld world, VillagerEntity villager) 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) private 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 static booleanTakeJobSiteTask.canReachJobSite(PathAwareEntity entity, BlockPos pos, PointOfInterestType poiType) private static booleanTakeJobSiteTask.canUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos) private static BlockPosprivate static booleanOpenDoorsTask.hasOtherMobReachedDoor(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> otherMobs) private static booleanOpenDoorsTask.hasReached(Brain<?> brain, BlockPos pos) private booleanJumpInBedTask.isBedAt(ServerWorld world, BlockPos pos) private static booleanForgetCompletedPointOfInterestTask.isBedOccupiedByOthers(ServerWorld world, BlockPos pos, LivingEntity entity) static booleanSeekSkyTask.isSkyVisible(ServerWorld world, LivingEntity entity, BlockPos pos) private booleanFarmerVillagerTask.isSuitableTarget(BlockPos pos, ServerWorld world) private voidVillagerBreedTask.setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos) private voidJumpInBedTask.setWalkTarget(MobEntity mob, BlockPos pos) static <E extends MobEntity>
booleanLongJumpTask.shouldJumpTo(E entity, BlockPos pos) OpenDoorsTask.storePos(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos) private 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 TypeMethodDescriptionstatic <E extends MobEntity>
SingleTickTask<E> WalkTowardsPosTask.create(MemoryModuleType<BlockPos> posModule, int completionRange, float speed) static Task<PathAwareEntity> GoToRememberedPositionTask.createPosBased(MemoryModuleType<BlockPos> posModule, float speed, int range, boolean requiresWalkTarget) FindPointOfInterestTask.findPathToPoi(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) 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 BlockPosModifierConstructorDescriptionBiasedLongJumpTask(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, TagKey<Block> favoredBlocks, float biasChance, BiPredicate<E, BlockPos> jumpToPredicate) LongJumpTask(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, BiPredicate<E, BlockPos> jumpToPredicate) -
Uses of BlockPos in net.minecraft.entity.ai.goal
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 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 BlockPosPathContext.entityPosprivate final BlockPosPath.targetSpiderNavigation.targetPosMethods in net.minecraft.entity.ai.pathing that return BlockPosModifier and TypeMethodDescriptionPathNode.getBlockPos()Path.getCurrentNodePos()PathContext.getEntityPos()Path.getNodePos(int index) Path.getTarget()EntityNavigation.getTargetPos()Methods in net.minecraft.entity.ai.pathing that return types with arguments of type BlockPosModifier and TypeMethodDescriptionBirdPathNodeMaker.getPotentialEscapePositions(MobEntity entity) Returns the iterable of positions that the entity should try to pathfind to when escaping.Methods in net.minecraft.entity.ai.pathing with parameters of type BlockPosModifier and TypeMethodDescriptionprotected booleanBirdPathNodeMaker.canPathThrough(BlockPos pos) protected booleanLandPathNodeMaker.canPathThrough(BlockPos pos) private PathNodeTypeprivate PathPathNodeNavigator.createPath(PathNode endNode, BlockPos target, boolean reachesTarget) EntityNavigation.findPathTo(BlockPos target, int distance) EntityNavigation.findPathTo(BlockPos target, int minDistance, int maxDistance) MobNavigation.findPathTo(BlockPos target, int distance) SpiderNavigation.findPathTo(BlockPos target, int distance) PathContext.getBlockState(BlockPos pos) protected static PathNodeTypeLandPathNodeMaker.getCommonNodeType(BlockView world, BlockPos pos) PathNodeMaker.getDefaultNodeType(MobEntity entity, BlockPos pos) floatPathNode.getDistance(BlockPos pos) protected doublestatic doublestatic PathNodeTypeLandPathNodeMaker.getLandNodeType(MobEntity entity, BlockPos pos) floatPathNode.getManhattanDistance(BlockPos pos) protected PathNodefloatPathNode.getSquaredDistance(BlockPos pos) protected PathNodevoidPathNodeTypeCache.invalidate(BlockPos pos) booleanAmphibiousSwimNavigation.isValidPosition(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 BlockPosModifier and TypeFieldDescriptionEnderDragonFight.exitPortalLocationprivate BlockPosEnderDragonEntity.fightOriginprivate final BlockPosEnderDragonFight.originFields in net.minecraft.entity.boss.dragon with type parameters of type BlockPosModifier and TypeFieldDescriptionEnderDragonFight.Data.exitPortalLocationThe field for theexitPortalLocationrecord component.Methods in net.minecraft.entity.boss.dragon that return BlockPosMethods in net.minecraft.entity.boss.dragon that return types with arguments of type BlockPosModifier and TypeMethodDescriptionEnderDragonFight.Data.exitPortalLocation()Returns the value of theexitPortalLocationrecord component.Methods in net.minecraft.entity.boss.dragon with parameters of type BlockPosModifier and TypeMethodDescriptionvoidEnderDragonEntity.crystalDestroyed(EndCrystalEntity endCrystal, BlockPos pos, DamageSource source) private voidEnderDragonFight.generateEndGateway(BlockPos pos) abstract voidEnderDragonSpawnState.run(ServerWorld world, EnderDragonFight fight, List<EndCrystalEntity> crystals, int tick, BlockPos pos) voidEnderDragonEntity.setFightOrigin(BlockPos fightOrigin) Constructors in net.minecraft.entity.boss.dragon with parameters of type BlockPosModifierConstructorDescriptionEnderDragonFight(ServerWorld world, long gatewaysSeed, EnderDragonFight.Data data, BlockPos origin) -
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 TypeMethodDescriptionBlockAttachedEntity.getAttachedBlockPos()EndCrystalEntity.getBeamTarget()Methods in net.minecraft.entity.decoration with parameters of type BlockPosModifier and TypeMethodDescriptionprotected abstract BoxAbstractDecorationEntity.calculateBoundingBox(BlockPos pos, Direction side) protected BoxItemFrameEntity.calculateBoundingBox(BlockPos pos, Direction side) static 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) protectedBlockAttachedEntity(EntityType<? extends BlockAttachedEntity> type, World world, BlockPos attachedBlockPos) GlowItemFrameEntity(World world, BlockPos pos, Direction facing) ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing) ItemFrameEntity(World world, BlockPos pos, Direction facing) LeashKnotEntity(World world, BlockPos pos) -
Uses of BlockPos in net.minecraft.entity.decoration.painting
Methods in net.minecraft.entity.decoration.painting with parameters of type BlockPosModifier and TypeMethodDescriptionprotected BoxPaintingEntity.calculateBoundingBox(BlockPos pos, Direction side) static 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.effect
Methods in net.minecraft.entity.effect with parameters of type BlockPosModifier and TypeMethodDescriptionprivate voidWeavingStatusEffect.tryPlaceCobweb(World world, Random random, BlockPos pos) -
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 with parameters of type BlockPosModifier and TypeMethodDescriptionvoidWardenEntity.VibrationCallback.accept(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.booleanWardenEntity.VibrationCallback.accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.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 booleanSkeletonHorseEntity.canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, 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 booleanZombieHorseEntity.canSpawn(EntityType<? extends AnimalEntity> 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) Called when the entity falls.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 TypeMethodDescriptionprivate BlockPosSnifferEntity.getDigPos()BeeEntity.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) SnifferEntity.findSniffingTargetPos()BeeEntity.PollinateGoal.getFlower()BeeEntity.FindHiveGoal.getNearbyFreeHives()BeeEntity.getPossibleHives()Methods in net.minecraft.entity.passive with parameters of type BlockPosModifier and TypeMethodDescriptionvoidAllayEntity.VibrationCallback.accept(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.booleanAllayEntity.VibrationCallback.accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private SnifferEntitySnifferEntity.addExploredPosition(BlockPos pos) private voidBeeEntity.MoveToHiveGoal.addPossibleHive(BlockPos pos) static booleanArmadilloEntity.canSpawn(EntityType<ArmadilloEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) 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) private booleanTameableEntity.canTeleportTo(BlockPos pos) 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) Called when the entity falls.protected voidBatEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected voidBeeEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected voidParrotEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected voidStriderEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.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 static RabbitEntity.RabbitTypeRabbitEntity.getTypeFromPos(WorldAccess world, BlockPos pos) private booleanBeeEntity.MoveToHiveGoal.isCloseEnough(BlockPos pos) private booleanSnifferEntity.isDiggable(BlockPos pos) (package private) booleanprotected static booleanAnimalEntity.isLightLevelValidForNaturalSpawn(BlockRenderView world, BlockPos pos) (package private) booleanBeeEntity.MoveToHiveGoal.isPossibleHive(BlockPos pos) protected booleanFoxEntity.EatBerriesGoal.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) 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 voidArmadilloEntity.playStepSound(BlockPos pos, BlockState state) protected voidBeeEntity.playStepSound(BlockPos pos, BlockState state) protected voidCamelEntity.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 voidSnifferEntity.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) voidBeeEntity.setHivePos(BlockPos pos) 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) private static <E extends MobEntity>
booleanFrogBrain.shouldJumpTo(E frog, BlockPos pos) void(package private) voidBeeEntity.startMovingTo(BlockPos pos) private booleanBeeEntity.MoveToHiveGoal.startMovingToFar(BlockPos pos) private voidTameableEntity.tryTeleportNear(BlockPos pos) voidAllayEntity.updateJukeboxPos(BlockPos jukeboxPos, boolean playing) -
Uses of BlockPos in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as BlockPosMethods in net.minecraft.entity.player that return BlockPosMethods in net.minecraft.entity.player with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanPlayerEntity.canInteractWithBlockAt(BlockPos pos, double additionalRange) Returns whether the player can interact with block atpos.booleanPlayerEntity.canPlaceOn(BlockPos pos, Direction facing, ItemStack stack) protected booleanPlayerEntity.doesNotSuffocate(BlockPos pos) booleanPlayerEntity.isBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode) protected voidPlayerEntity.playStepSound(BlockPos pos, BlockState state) 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 BlockPosModifierConstructorDescriptionBlockBreakingInfo(int breakingEntityId, BlockPos pos) PlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile) -
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) Returns whether the entity can modify the world atpos.floatWitherSkullEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockStatefor an explosion caused by this entity.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
Methods in net.minecraft.entity.vehicle with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanTntMinecartEntity.canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosionfrom this entity can destroystate.protected voidBoatEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.floatTntMinecartEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockStatefor an explosion caused by this entity.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.canFlowDownTo(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) private booleanFlowableFluid.canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) booleanprivate booleanLavaFluid.canLightFire(WorldView world, BlockPos pos) private intFlowableFluid.countNeighboringSources(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) private voidFlowableFluid.flowToSides(World world, BlockPos pos, FluidState fluidState, BlockState blockState) protected intFlowableFluid.getFlowSpeedBetween(WorldView world, BlockPos pos, int int2, Direction direction, BlockState state, BlockPos fromPos, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, Short2BooleanMap flowDownCache) 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(World world, BlockPos pos, BlockState state) protected FluidStateFlowableFluid.getUpdatedState(World 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) protected booleanFlowableFluid.isFlowBlocked(BlockView world, BlockPos pos, Direction direction) private static booleanFlowableFluid.isFluidAboveEqual(FluidState state, 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 static shortFlowableFluid.packXZOffset(BlockPos from, BlockPos to) 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(World world, BlockPos fluidPos, FluidState state) -
Uses of BlockPos in net.minecraft.inventory
Methods in net.minecraft.inventory that return BlockPosMethods in net.minecraft.inventory with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidLootableInventory.setLootTable(BlockView world, Random random, BlockPos pos, RegistryKey<LootTable> lootTableId) Queries the block entity atpos, checks if it is aLootableInventory, and sets the loot table and seed if applicable. -
Uses of BlockPos in net.minecraft.item
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) Returns whether a player can break a block while holding the item.booleanItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.booleanMaceItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.booleanSwordItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.booleanTridentItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.protected booleanHangingSignItem.canPlaceAt(WorldView world, BlockState state, BlockPos pos) protected booleanVerticallyAttachableBlockItem.canPlaceAt(WorldView world, BlockState state, BlockPos pos) protected booleanDecorationItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) protected booleanItemFrameItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) LeadItem.collectLeashablesAround(World world, BlockPos pos, Predicate<Leashable> predicate) private static voidBlockItem.copyComponentsToBlockEntity(World world, BlockPos pos, ItemStack stack) 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) Called on the server when the item is used to break a block.voidItemStack.postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner) booleanShearsItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.protected 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 Optional<BlockState> AxeItem.tryStrip(World world, BlockPos pos, @Nullable PlayerEntity player, BlockState state) 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) 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.posThe field for theposrecord component.private final BlockPosMapFrameMarker.posMethods in net.minecraft.item.map that return BlockPosModifier and TypeMethodDescriptionMapFrameMarker.getPos()MapBannerMarker.pos()Returns the value of theposrecord component.Methods 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, RegistryEntry<MapDecorationType> decorationType) 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, Optional<Text> optional) 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 TypeFieldDescriptionprivate final BlockPosLocationCheckLootCondition.offsetThe field for theoffsetrecord component.Fields in net.minecraft.loot.condition with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec<BlockPos> LocationCheckLootCondition.OFFSET_CODECMethods in net.minecraft.loot.condition that return BlockPosModifier and TypeMethodDescriptionLocationCheckLootCondition.offset()Returns the value of theoffsetrecord component.Methods 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 BlockPosModifierConstructorDescriptionLocationCheckLootCondition(Optional<LocationPredicate> optional, BlockPos offset) -
Uses of BlockPos in net.minecraft.nbt
Methods in net.minecraft.nbt that return types with arguments of type BlockPosModifier and TypeMethodDescriptionNbtHelper.toBlockPos(NbtCompound nbt, String key) Returns the block position from thenbt.Methods in net.minecraft.nbt with parameters of type BlockPosModifier and TypeMethodDescriptionstatic NbtElementNbtHelper.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.static BlockPosPacketByteBuf.readBlockPos(ByteBuf buf) Methods in net.minecraft.network with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidPacketByteBuf.writeBlockPos(ByteBuf buf, BlockPos pos) PacketByteBuf.writeBlockPos(BlockPos pos) Writes a block position to this buf. -
Uses of BlockPos in net.minecraft.network.packet.c2s.play
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 TypeMethodDescriptionUpdateStructureBlockC2SPacket.getOffset()JigsawGeneratingC2SPacket.getPos()PlayerActionC2SPacket.getPos()QueryBlockNbtC2SPacket.getPos()UpdateCommandBlockC2SPacket.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, int selectionPriority, int placementPriority) UpdateSignC2SPacket(BlockPos pos, boolean front, String line1, String line2, String line3, String line4) UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Uses of BlockPos in net.minecraft.network.packet.s2c.custom
Fields in net.minecraft.network.packet.s2c.custom declared as BlockPosModifier and TypeFieldDescriptionDebugBeeCustomPayload.Bee.flowerPosThe field for theflowerPosrecord component.DebugBeeCustomPayload.Bee.hivePosThe field for thehivePosrecord component.private final BlockPosDebugBreezeCustomPayload.BreezeInfo.jumpTargetThe field for thejumpTargetrecord component.private final BlockPosDebugGameTestAddMarkerCustomPayload.posThe field for theposrecord component.private final BlockPosDebugGoalSelectorCustomPayload.posThe field for theposrecord component.private final BlockPosDebugHiveCustomPayload.HiveInfo.posThe field for theposrecord component.private final BlockPosDebugNeighborsUpdateCustomPayload.posThe field for theposrecord component.private final BlockPosDebugPoiAddedCustomPayload.posThe field for theposrecord component.private final BlockPosDebugPoiRemovedCustomPayload.posThe field for theposrecord component.private final BlockPosDebugPoiTicketCountCustomPayload.posThe field for theposrecord component.private final BlockPosDebugWorldgenAttemptCustomPayload.posThe field for theposrecord component.Fields in net.minecraft.network.packet.s2c.custom with type parameters of type BlockPosModifier and TypeFieldDescriptionDebugBeeCustomPayload.Bee.disallowedHivesThe field for thedisallowedHivesrecord component.DebugBrainCustomPayload.Brain.poisThe field for thepoisrecord component.DebugBrainCustomPayload.Brain.potentialPoisThe field for thepotentialPoisrecord component.DebugRaidsCustomPayload.raidCentersThe field for theraidCentersrecord component.Methods in net.minecraft.network.packet.s2c.custom that return BlockPosModifier and TypeMethodDescriptionDebugBeeCustomPayload.Bee.flowerPos()Returns the value of theflowerPosrecord component.DebugBeeCustomPayload.Bee.hivePos()Returns the value of thehivePosrecord component.DebugBreezeCustomPayload.BreezeInfo.jumpTarget()Returns the value of thejumpTargetrecord component.DebugGameTestAddMarkerCustomPayload.pos()Returns the value of theposrecord component.DebugGoalSelectorCustomPayload.pos()Returns the value of theposrecord component.DebugHiveCustomPayload.HiveInfo.pos()Returns the value of theposrecord component.DebugNeighborsUpdateCustomPayload.pos()Returns the value of theposrecord component.DebugPoiAddedCustomPayload.pos()Returns the value of theposrecord component.DebugPoiRemovedCustomPayload.pos()Returns the value of theposrecord component.DebugPoiTicketCountCustomPayload.pos()Returns the value of theposrecord component.DebugWorldgenAttemptCustomPayload.pos()Returns the value of theposrecord component.Methods in net.minecraft.network.packet.s2c.custom that return types with arguments of type BlockPosModifier and TypeMethodDescriptionDebugBeeCustomPayload.Bee.disallowedHives()Returns the value of thedisallowedHivesrecord component.DebugBrainCustomPayload.Brain.pois()Returns the value of thepoisrecord component.DebugBrainCustomPayload.Brain.potentialPois()Returns the value of thepotentialPoisrecord component.DebugRaidsCustomPayload.raidCenters()Returns the value of theraidCentersrecord component.Methods in net.minecraft.network.packet.s2c.custom with parameters of type BlockPosModifier and TypeMethodDescriptionbooleanbooleanDebugBrainCustomPayload.Brain.isPointOfInterest(BlockPos pos) booleanDebugBrainCustomPayload.Brain.isPotentialJobSite(BlockPos pos) Constructors in net.minecraft.network.packet.s2c.custom with parameters of type BlockPosModifierConstructorDescriptionBee(UUID uuid, int entityId, Vec3d vec3d, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks, Set<String> set, List<BlockPos> list) BreezeInfo(UUID uUID, int int2, Integer integer, BlockPos blockPos) DebugGameTestAddMarkerCustomPayload(BlockPos blockPos, int int2, String string, int int3) DebugGoalSelectorCustomPayload(int int2, BlockPos blockPos, List<DebugGoalSelectorCustomPayload.Goal> list) DebugNeighborsUpdateCustomPayload(long long2, BlockPos blockPos) DebugPoiAddedCustomPayload(BlockPos blockPos, String string, int int2) DebugPoiRemovedCustomPayload(BlockPos blockPos) DebugPoiTicketCountCustomPayload(BlockPos blockPos, int int2) DebugWorldgenAttemptCustomPayload(BlockPos blockPos, float float2, float float3, float float4, float float5, float float6) Constructor parameters in net.minecraft.network.packet.s2c.custom with type arguments of type BlockPosModifierConstructorDescriptionBee(UUID uuid, int entityId, Vec3d vec3d, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks, Set<String> set, List<BlockPos> list) Brain(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Vec3d vec3d, String string, @Nullable Path path, boolean wantsGolem, int angerLevel, List<String> list, List<String> list2, List<String> list3, List<String> list4, Set<BlockPos> set, Set<BlockPos> set2) DebugRaidsCustomPayload(List<BlockPos> list) -
Uses of BlockPos in net.minecraft.network.packet.s2c.play
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> visitor) 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 entityData, BlockPos pos) PlayerSpawnPositionS2CPacket(BlockPos pos, float angle) SignEditorOpenS2CPacket(BlockPos pos, boolean front) 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, Explosion.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> registryEntry) -
Uses of BlockPos in net.minecraft.particle
Methods in net.minecraft.particle 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.spawnParticle(World world, BlockPos pos, Random random, ParticleEffect effect) static voidParticleUtil.spawnParticles(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) static voidParticleUtil.spawnParticlesAround(WorldAccess world, BlockPos pos, int count, double horizontalOffset, double verticalOffset, boolean force, ParticleEffect effect) static voidParticleUtil.spawnParticlesAround(WorldAccess world, BlockPos pos, int count, ParticleEffect effect) static voidParticleUtil.spawnSmashAttackParticles(WorldAccess world, BlockPos pos, int count) -
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 BlockPosModifier and TypeFieldDescriptionprivate final BlockPosCloneCommand.BlockInfo.posThe field for theposrecord component.private final BlockPosCloneCommand.DimensionalPos.positionThe field for thepositionrecord component.Fields in net.minecraft.server.command with type parameters of type BlockPosModifier and TypeFieldDescriptionprivate final UnaryOperator<Supplier<Stream<BlockPos>>> TestFinder.Runners.structurePosSupplierMapperMethods in net.minecraft.server.command that return BlockPosModifier and TypeMethodDescriptionprivate static BlockPosFillBiomeCommand.convertPos(BlockPos pos) (package private) static BlockPosTestCommand.getStructurePos(ServerCommandSource source) CloneCommand.BlockInfo.pos()Returns the value of theposrecord component.CloneCommand.DimensionalPos.position()Returns the value of thepositionrecord component.Methods in net.minecraft.server.command that return types with arguments of type BlockPosMethods in net.minecraft.server.command with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static BlockPosFillBiomeCommand.convertPos(BlockPos pos) private static intExecuteCommand.countMatchingItems(ServerCommandSource source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate) private static intDebugMobSpawningCommand.execute(ServerCommandSource source, SpawnGroup group, BlockPos pos) private static intDebugPathCommand.execute(ServerCommandSource source, BlockPos pos) private static intFillBiomeCommand.execute(ServerCommandSource source, BlockPos from, BlockPos to, RegistryEntry.Reference<Biome> biome, Predicate<RegistryEntry<Biome>> filter) 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, RegistryEntry<LootFunction> lootFunction) 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, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) 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, RegistryEntry<LootFunction> lootFunction) private static intLootCommand.executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> 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.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static intPlaceCommand.executePlaceJigsaw(ServerCommandSource source, RegistryEntry<StructurePool> structurePool, Identifier id, int maxDepth, BlockPos pos) static intPlaceCommand.executePlaceStructure(ServerCommandSource source, RegistryEntry.Reference<Structure> structure, BlockPos pos) static intPlaceCommand.executePlaceTemplate(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed) static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome) static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter, Consumer<Supplier<Text>> feedbackConsumer) SetBlockCommand.Filter.filter(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world) private static Optional<GameTestState> TestCommand.find(BlockPos pos, ServerWorld world, TestAttemptConfig config) private static InventoryLootCommand.getBlockInventory(ServerCommandSource source, BlockPos pos) (package 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 booleanExecuteCommand.isLoaded(ServerWorld world, BlockPos pos) static intLocateCommand.sendCoordinates(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<?> predicate, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) static intLocateCommand.sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) private static intLocateCommand.sendCoordinates(ServerCommandSource source, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, String entryString, Duration timeTaken) 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, RegistryEntryPredicateArgumentType.EntryPredicate<?> predicate, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) static intLocateCommand.sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) private static intLocateCommand.sendCoordinates(ServerCommandSource source, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, String entryString, Duration timeTaken) Constructors in net.minecraft.server.command with parameters of type BlockPosModifierConstructorDescription(package private)BlockInfo(BlockPos pos, BlockState state, @Nullable CloneCommand.BlockEntityInfo blockEntityInfo) Creates an instance of aBlockInforecord class.(package private)DimensionalPos(ServerWorld serverWorld, BlockPos blockPos) -
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.spawnPointPositionServerPlayerEntity.startRaidPosMethods 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()ServerPlayerEntity.getStartRaidPos()ServerPlayerEntity.getWorldSpawnPos(ServerWorld world, BlockPos basePos) 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(ServerWorld world, BlockPos pos) booleanServerPlayerEntity.canModifyAt(World world, BlockPos pos) Returns whether the entity can modify the world atpos.private floatServerPlayerInteractionManager.continueMining(BlockState state, BlockPos pos, int failedStartMiningTime) protected voidServerPlayerEntity.fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private static Optional<ServerPlayerEntity.RespawnPos> ServerPlayerEntity.findRespawnPosition(ServerWorld world, BlockPos pos, float spawnAngle, boolean spawnForced, boolean alive) voidServerPlayerInteractionManager.finishMining(BlockPos pos, int sequence, String reason) ServerPlayerEntity.RespawnPos.fromCurrentPos(Vec3d respawnPos, BlockPos currentPos) ServerPlayerEntity.getWorldSpawnPos(ServerWorld world, BlockPos basePos) private static floatprivate booleanServerPlayerEntity.isBedObstructed(BlockPos pos, Direction direction) private booleanServerPlayerEntity.isBedWithinRange(BlockPos pos) private booleanServerPlayerEntity.isBedWithinRange(BlockPos pos, Direction direction) private voidServerPlayerInteractionManager.onBlockBreakingAction(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.voidServerPlayerEntity.setStartRaidPos(BlockPos startRaidPos) 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 TypeMethodDescriptionvoidServerWorld.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(List<ServerPlayerEntity> players, 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 voidvoidServerWorld.tickIceAndSnow(BlockPos pos) private voidChunkHolder.tryUpdateBlockEntityAt(List<ServerPlayerEntity> players, 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 TypeFieldDescriptionprivate BlockPosDesertTempleGenerator.basementMarkerPosfinal BlockPosStructureTemplate.StructureEntityInfo.blockPos(package private) static final BlockPosShipwreckGenerator.DEFAULT_POSITIONprotected BlockPosPoolStructurePiece.posprotected BlockPosSimpleStructurePiece.posprivate final BlockPosStructureTemplate.StructureBlockInfo.posThe field for theposrecord component.private 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_TOPDesertTempleGenerator.potentialSuspiciousSandPositions(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) DesertTempleGenerator.getBasementMarkerPos()StrongholdGenerator.Start.getCenter()StructurePiece.getCenter()PoolStructurePiece.getPos()SimpleStructurePiece.getPos()StructurePlacementData.getPosition()private static BlockPosIglooGenerator.Piece.getPosOffset(Identifier identifier, BlockPos pos, int yOffset) StructureTemplate.offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation) StructureTemplate.StructureBlockInfo.pos()Returns the value of theposrecord component.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 TypeMethodDescriptionDesertTempleGenerator.getPotentialSuspiciousSandPositions()OceanRuinGenerator.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, RegistryKey<LootTable> lootTable, @Nullable BlockState block) private static voidOceanRuinGenerator.addCluster(StructureTemplateManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinStructure structure, StructurePiecesHolder pieces) 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 ShipwreckGenerator.PieceShipwreckGenerator.addParts(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, boolean beached) 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 structure) private static voidOceanRuinGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure, boolean large, float integrity) 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 voidDesertTempleGenerator.generateBasementStairs(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) private voidRuinedPortalStructurePiece.generateOvergrownLeaves(Random random, WorldAccess world, BlockPos pos) private voidDesertTempleGenerator.generateSuspiciousSandRoom(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) private voidRuinedPortalStructurePiece.generateVines(Random random, WorldAccess world, BlockPos pos) private intOceanRuinGenerator.Piece.getGenerationY(BlockPos start, BlockView world, BlockPos end) StructureTemplate.getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block) StructureTemplate.getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed) private static BlockPosIglooGenerator.Piece.getPosOffset(Identifier identifier, BlockPos pos, int yOffset) StructurePlacementData.getRandomBlockInfos(List<StructureTemplate.PalettedBlockInfoList> infoLists, @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) 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(ServerWorldAccess 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) static voidStructureTemplate.updateCorner(WorldAccess world, int flags, VoxelSet set, BlockPos startPos) 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, StructureLiquidSettings liquidSettings) RuinedPortalStructurePiece(StructureTemplateManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, StructureTemplate template, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) SimpleStructurePiece(StructurePieceType type, int length, StructureTemplateManager structureTemplateManager, Identifier id, String template, StructurePlacementData placementData, BlockPos pos) StructureBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound nbt) Creates an instance of aStructureBlockInforecord class.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, StructureLiquidSettings liquidSettings, boolean keepJigsaws) booleanFeaturePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) booleanListPoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) booleanSinglePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) static booleanStructurePoolBasedGenerator.generate(ServerWorld world, RegistryEntry<StructurePool> structurePool, Identifier id, int size, BlockPos pos, boolean keepJigsaws) static Optional<Structure.StructurePosition> StructurePoolBasedGenerator.generate(Structure.Context context, RegistryEntry<StructurePool> structurePool, Optional<Identifier> id, int size, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter, StructurePoolAliasLookup aliasLookup, DimensionPadding dimensionPadding, StructureLiquidSettings liquidSettings) abstract booleanStructurePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) EmptyPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) abstract 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.pool.alias
Methods in net.minecraft.structure.pool.alias with parameters of type BlockPosModifier and TypeMethodDescriptionstatic StructurePoolAliasLookupStructurePoolAliasLookup.create(List<StructurePoolAliasBinding> bindings, BlockPos pos, long seed) -
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) ProtectedBlocksStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) RuleStructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) StructureProcessor.process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) CappedStructureProcessor.reprocess(ServerWorldAccess world, BlockPos pos, BlockPos pivot, List<StructureTemplate.StructureBlockInfo> originalBlockInfos, List<StructureTemplate.StructureBlockInfo> currentBlockInfos, StructurePlacementData data) StructureProcessor.reprocess(ServerWorldAccess world, BlockPos pos, BlockPos pivot, List<StructureTemplate.StructureBlockInfo> originalBlockInfos, List<StructureTemplate.StructureBlockInfo> currentBlockInfos, StructurePlacementData data) booleanStructureProcessorRule.test(BlockState input, BlockState currentState, BlockPos originalPos, BlockPos currentPos, 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.boxMinPosprivate final BlockPosTestStructurePlacer.originGameTestState.posprivate final BlockPosPositionedException.posprivate final BlockPosTestServer.posprivate final BlockPosPositionedException.relativePosMethods in net.minecraft.test that return BlockPosModifier and TypeMethodDescriptionTestContext.getAbsolutePos(BlockPos pos) private static BlockPosStructureTestListener.getBeaconPos(GameTestState state) private BlockPosGameTestState.getBoxMinPos()GameTestState.getPos()PositionedException.getPos()PositionedException.getRelativePos()TestContext.getRelativePos(BlockPos pos) static BlockPosStructureTestUtil.getStructureBlockBoxCornerPos(BlockPos pos, Vec3i size, BlockRotation rotation) static BlockPosStructureTestUtil.getStructureBlockPos(StructureBlockBlockEntity structureBlockEntity) Methods in net.minecraft.test that return types with arguments of type BlockPosModifier and TypeMethodDescriptionStructureTestUtil.findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world) StructureBlockFinder.findStructureBlockPos()StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world, String templateName) StructureTestUtil.findTargetedStructureBlock(BlockPos pos, Entity entity, ServerWorld world) 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 BlockEntity>
voidTestContext.checkBlockEntity(BlockPos pos, Predicate<T> predicate, Supplier<String> errorMessageSupplier) <T extends Comparable<T>>
voidTestContext.checkBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage) voidTestContext.checkBlockState(BlockPos pos, Predicate<BlockState> predicate, Supplier<String> errorMessageSupplier) static TestServerTestServer.create(Thread thread, LevelStorage.Session session, ResourcePackManager resourcePackManager, Collection<TestFunction> batches, BlockPos pos) private static BlockBoxStructureTestUtil.createBox(BlockPos pos, int radius, ServerWorld world) 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 LivingEntity>
voidTestContext.expectEntityHoldingItem(BlockPos pos, EntityType<E> entityType, Item item) <E extends Entity,T>
voidTestContext.expectEntityWithData(BlockPos pos, EntityType<E> type, Function<? super E, T> entityDataGetter, T data) <E extends Entity,T>
voidTestContext.expectEntityWithDataEnd(BlockPos pos, EntityType<E> type, Function<E, T> entityDataGetter, T data) <E extends Entity & InventoryOwner>
voidTestContext.expectEntityWithItem(BlockPos pos, EntityType<E> entityType, Item item) voidTestContext.expectItemAt(Item item, BlockPos pos, double radius) voidTestContext.expectItemsAt(Item item, BlockPos pos, double radius, int amount) voidTestContext.expectRedstonePower(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<String> errorMessage) 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) StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world, String templateName) StructureTestUtil.findTargetedStructureBlock(BlockPos pos, Entity entity, ServerWorld world) voidTestContext.forceRandomTick(BlockPos pos) voidTestContext.forceTickIceAndSnow(BlockPos pos) TestContext.getAbsolutePos(BlockPos pos) <T extends BlockEntity>
TTestContext.getBlockEntity(BlockPos pos) TestContext.getBlockState(BlockPos pos) TestContext.getEntitiesAround(EntityType<T> type, BlockPos pos, double radius) TestContext.getRelativePos(BlockPos pos) static BlockBoxStructureTestUtil.getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation) static BlockPosStructureTestUtil.getStructureBlockBoxCornerPos(BlockPos pos, Vec3i size, BlockRotation rotation) static StructureBlockBlockEntityStructureTestUtil.initStructure(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) private static booleanStructureTestUtil.isInStructureBounds(BlockPos structureBlockPos, BlockPos pos, ServerWorld world) static voidStructureTestUtil.placeStartButton(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world) private static StructureBlockBlockEntityStructureTestUtil.placeStructureTemplate(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) voidTestContext.pushButton(BlockPos pos) voidTestContext.putAndRemoveRedstoneBlock(BlockPos pos, long delay) voidTestContext.removeBlock(BlockPos pos) private static voidStructureTestUtil.resetBlock(int altitude, BlockPos pos, ServerWorld world) voidTestContext.setBlockState(BlockPos pos, Block block) voidTestContext.setBlockState(BlockPos pos, BlockState state) voidGameTestState.setBoxMinPos(BlockPos boxMinPos) (package private) void<E extends Entity>
ETestContext.spawnEntity(EntityType<E> type, BlockPos pos) <E extends MobEntity>
ETestContext.spawnMob(EntityType<E> type, BlockPos pos) TestContext.startMovingTowards(MobEntity entity, BlockPos pos, float speed) voidTestContext.throwPositionedException(String message, BlockPos pos) voidTestContext.toggleLever(BlockPos pos) voidvoidTestContext.useBlock(BlockPos pos, PlayerEntity player) voidTestContext.useBlock(BlockPos pos, PlayerEntity player, BlockHitResult result) voidTestContext.useStackOnBlock(PlayerEntity player, ItemStack stack, BlockPos pos, Direction direction) Method 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) privateTestServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<TestFunction> testFunctions, BlockPos pos) TestStructurePlacer(BlockPos origin, int testsPerRow, boolean clearBeforeBatch) -
Uses of BlockPos in net.minecraft.util
Methods in net.minecraft.util with parameters of type BlockPosModifier and TypeMethodDescriptionstatic voidItemScatterer.onStateReplaced(BlockState state, BlockState newState, World world, BlockPos pos) static voidSpawns item entities frominventoryaroundpos.static voidItemScatterer.spawn(World world, BlockPos pos, DefaultedList<ItemStack> stacks) Spawns item entities fromstacksaroundpos. -
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 TypeFieldDescriptionprivate final BlockPosImmutableBlockBox.maxThe field for themaxrecord component.private final BlockPosImmutableBlockBox.minThe field for theminrecord component.static final BlockPosBlockPos.ORIGINThe block position which x, y, and z values are all zero.private final BlockPosBlockPointer.posThe field for theposrecord component.private final BlockPosGlobalPos.posThe field for theposrecord component.private final BlockPosGravityField.Point.posFields in net.minecraft.util.math with type parameters of type BlockPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockPos> BlockPos.CODECstatic final PacketCodec<ByteBuf, BlockPos> BlockPos.PACKET_CODECMethods in net.minecraft.util.math that return BlockPosModifier and TypeMethodDescriptionBlockPos.add(int int2, int int3, int int4) BlockPos.Mutable.add(int int2, int int3, int int4) BlockPos.crossProduct(Vec3i pos) BlockPos.down()BlockPos.down(int int2) BlockPos.east()BlockPos.east(int distance) static BlockPosBlockPos.fromLong(long packedPos) ChunkPos.getBlockPos(int offsetX, int y, int offsetZ) BlockBox.getCenter()Returns the center of this box.ChunkPos.getCenterAtY(int y) ChunkSectionPos.getCenterPos()ChunkSectionPos.getMinPos()ChunkPos.getStartPos()static BlockPosImmutableBlockBox.max()Returns the value of themaxrecord component.static BlockPosImmutableBlockBox.min()Returns the value of theminrecord component.BlockPos.multiply(int int2) BlockPos.Mutable.multiply(int int2) BlockPos.north()BlockPos.north(int distance) static BlockPosBlockPos.ofFloored(double x, double y, double z) static BlockPosBlockPos.Mutable.offset(Direction.Axis axis, int int2) BlockPos.offset(Direction.Axis axis, int int2) BlockPointer.pos()Returns the value of theposrecord component.GlobalPos.pos()Returns the value of theposrecord component.BlockPos.Mutable.rotate(BlockRotation rotation) BlockPos.rotate(BlockRotation rotation) BlockPos.south()BlockPos.south(int distance) BlockPos.Mutable.toImmutable()Returns an immutable block position with the same x, y, and z as this position.BlockPos.toImmutable()Returns an immutable block position with the same x, y, and z as this position.ChunkSectionPos.unpackBlockPos(short packedLocalPos) Gets the world position of the given local position within this chunk section.BlockPos.up()BlockPos.up(int distance) BlockPos.west()BlockPos.west(int distance) BlockPos.withY(int y) 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.ImmutableBlockBox.iterator()BlockPos.stream(int startX, int startY, int startZ, int endX, int endY, int endZ) ChunkSectionPos.streamBlocks()BlockPos.streamOutwards(BlockPos center, int maxX, int maxY, int maxZ) BlockPos.streamSouthEastSquare(BlockPos pos) Deprecated.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) static BoxReturns a box whose bounds extend to the full block betweenpos1andpos2, both inclusive.Deprecated.BlockPos.findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition) static voidChunkSectionPos.forEachChunkSectionAround(BlockPos pos, LongConsumer consumer) static ChunkSectionPosdoubleGravityField.Point.getGravityFactor(BlockPos pos) booleanstatic 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.static intBlockPos.iterateRecursively(BlockPos pos, int maxDepth, int maxIterations, BiConsumer<BlockPos, Consumer<BlockPos>> nextQueuer, Predicate<BlockPos> callback) Iterates fromposrecursively, like in a fill tool in a raster image editor.static BlockPosstatic BlockPosstatic ImmutableBlockBoxstatic ImmutableBlockBoxCreates 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) BlockPos.streamSouthEastSquare(BlockPos pos) Deprecated.static longReturns the chunk position of the givenposserialized aslong.static longMethod parameters in net.minecraft.util.math with type arguments of type BlockPosModifier and TypeMethodDescriptionBlockBox.encompassPositions(Iterable<BlockPos> positions) Returns the minimum box encompassing all of the givenpositions, or an empty optional ifpositionsis empty.BlockPos.findClosest(BlockPos pos, int horizontalRange, int verticalRange, Predicate<BlockPos> condition) voidBlockBox.forEachVertex(Consumer<BlockPos> consumer) Callsconsumerfor each vertex (corner) of this box.static intBlockPos.iterateRecursively(BlockPos pos, int maxDepth, int maxIterations, BiConsumer<BlockPos, Consumer<BlockPos>> nextQueuer, Predicate<BlockPos> callback) Iterates fromposrecursively, like in a fill tool in a raster image editor.static intBlockPos.iterateRecursively(BlockPos pos, int maxDepth, int maxIterations, BiConsumer<BlockPos, Consumer<BlockPos>> nextQueuer, Predicate<BlockPos> callback) Iterates fromposrecursively, like in a fill tool in a raster image editor.static intBlockPos.iterateRecursively(BlockPos pos, int maxDepth, int maxIterations, BiConsumer<BlockPos, Consumer<BlockPos>> nextQueuer, Predicate<BlockPos> callback) Iterates fromposrecursively, like in a fill tool in a raster image editor.Constructors in net.minecraft.util.math with parameters of type BlockPosModifierConstructorDescriptionCreates a box enclosing onlypos.BlockPointer(ServerWorld serverWorld, BlockPos blockPos, BlockState blockState, DispenserBlockEntity dispenserBlockEntity) Creates a box that only contains the given block position.GlobalPos(RegistryKey<World> dimension, BlockPos pos) Creates an instance of aGlobalPosrecord class.ImmutableBlockBox(BlockPos first, BlockPos second) -
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) RaidManager.startRaid(ServerPlayerEntity player, 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()WorldProperties.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.CollisionView.findSupportingBlockPos(Entity entity, Box box) 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) private static booleanSpawnHelper.containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos) 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) private booleanWanderingTraderManager.doesNotSuffocateAt(BlockView world, BlockPos pos) default voidWorldAccess.emitGameEvent(@Nullable Entity entity, RegistryEntry<GameEvent> event, BlockPos pos) default voidWorldAccess.emitGameEvent(RegistryEntry<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) default voidWorldAccess.emitGameEvent(RegistryKey<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) BlockLocating.findColumnEnd(BlockView world, BlockPos pos, Block intermediateBlock, Direction direction, Block endBlock) Finds an end to a block column starting 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) default intRedstoneView.getEmittedRedstonePower(BlockPos pos, Direction direction) default intRedstoneView.getEmittedRedstonePower(BlockPos pos, Direction direction, boolean onlyFromGate) RaycastContext.getFluidShape(FluidState state, BlockView world, BlockPos pos) BlockView.getFluidState(BlockPos pos) Returns the fluid state atpos.ChunkRegion.getFluidState(BlockPos pos) Returns the fluid state atpos.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) default intRedstoneView.getReceivedRedstonePower(BlockPos pos) default intRedstoneView.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 intRedstoneView.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.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) default booleanRedstoneView.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.default booleanRedstoneView.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) 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 source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSound(@Nullable Entity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSound(@Nullable PlayerEntity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) default voidWorldAccess.playSound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) voidWorldAccess.playSound(@Nullable PlayerEntity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSoundAtBlockCenter(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) default @Nullable BlockHitResultBlockView.raycastBlock(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state) 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) default voidWorldAccess.scheduleBlockTick(BlockPos pos, Block block, int delay) default voidWorldAccess.scheduleBlockTick(BlockPos pos, Block block, int delay, TickPriority priority) default voidWorldAccess.scheduleFluidTick(BlockPos pos, Fluid fluid, int delay) default voidWorldAccess.scheduleFluidTick(BlockPos pos, Fluid fluid, int delay, TickPriority priority) 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.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.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) Biome.getPrecipitation(BlockPos pos) private floatBiome.getTemperature(BlockPos blockPos) Deprecated.booleanbooleanBiome.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, int int3) -
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.blockEntityTickersMethods 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()Methods in net.minecraft.world.chunk with parameters of type BlockPosModifier and TypeMethodDescriptionprivate 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.WorldChunk.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.WorldChunk.getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) WrapperProtoChunk.getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.Chunk.getBlockEntityNbt(BlockPos pos) WrapperProtoChunk.getBlockEntityNbt(BlockPos pos) ChunkCache.getBlockState(BlockPos pos) Returns the block state atpos.EmptyChunk.getBlockState(BlockPos pos) Returns the block state atpos.ProtoChunk.getBlockState(BlockPos pos) Returns the block state atpos.WorldChunk.getBlockState(BlockPos pos) Returns the block state atpos.WrapperProtoChunk.getBlockState(BlockPos pos) Returns the block state atpos.private 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.WorldChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.WrapperProtoChunk.getFluidState(BlockPos pos) Returns the fluid state atpos.intEmptyChunk.getLuminance(BlockPos pos) abstract @Nullable NbtCompoundChunk.getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registryLookup) ProtoChunk.getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registryLookup) WorldChunk.getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registryLookup) WrapperProtoChunk.getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registryLookup) 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) voidWrapperProtoChunk.markBlockForPostProcessing(BlockPos pos) abstract voidChunk.removeBlockEntity(BlockPos pos) voidEmptyChunk.removeBlockEntity(BlockPos pos) voidProtoChunk.removeBlockEntity(BlockPos pos) voidWorldChunk.removeBlockEntity(BlockPos pos) voidWrapperProtoChunk.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) WorldChunk.setBlockState(BlockPos pos, BlockState state, boolean moved) WrapperProtoChunk.setBlockState(BlockPos pos, BlockState state, boolean moved) Method parameters in net.minecraft.world.chunk with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidChunk.forEachBlockMatchingPredicate(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) voidWrapperProtoChunk.forEachBlockMatchingPredicate(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) final voidChunk.forEachLightSource(BiConsumer<BlockPos, BlockState> callback) 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 TypeMethodDescriptionvoidChunkLightingView.Empty.checkBlock(BlockPos pos) voidChunkLightProvider.checkBlock(BlockPos pos) voidLightingProvider.checkBlock(BlockPos pos) voidLightingView.checkBlock(BlockPos pos) private static booleanChunkSkyLight.faceBlocksLight(BlockView blockView, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) intintChunkLightingView.Empty.getLightLevel(BlockPos pos) intChunkLightingView.getLightLevel(BlockPos pos) intChunkLightProvider.getLightLevel(BlockPos pos) protected intChunkLightProvider.getOpacity(BlockState state, BlockPos pos) static VoxelShapeChunkLightProvider.getOpaqueShape(BlockView blockView, BlockPos pos, BlockState blockState, Direction direction) static intChunkLightProvider.getRealisticOpacity(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2) protected BlockStateChunkLightProvider.getStateForLighting(BlockPos pos) private booleanChunkSkyLight.isSkyLightAccessible(BlockView blockView, int packedIndex, int value, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) private intChunkSkyLight.locateLightBlockingBlockBelow(BlockView blockView, BlockPos pos, BlockState blockState) static booleanChunkLightProvider.needsLightUpdate(BlockView blockView, BlockPos pos, BlockState oldState, BlockState newState) default voidLightingView.setSectionStatus(BlockPos pos, boolean notReady) Method parameters in net.minecraft.world.chunk.light with type arguments of type BlockPosModifier and TypeMethodDescriptionvoidLightSourceView.forEachLightSource(BiConsumer<BlockPos, BlockState> callback) -
Uses of BlockPos in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as BlockPosMethods in net.minecraft.world.dimension that return BlockPosModifier and TypeMethodDescriptionNetherPortal.getLowerCorner(BlockPos pos) PortalManager.getPortalPos()Methods in net.minecraft.world.dimension that return types with arguments of type BlockPosModifier and TypeMethodDescriptionPortalForcer.getPortalPos(BlockPos pos, boolean destIsNether, WorldBorder worldBorder) Methods in net.minecraft.world.dimension with parameters of type BlockPosModifier and TypeMethodDescriptionPortalForcer.createPortal(BlockPos pos, Direction.Axis axis) NetherPortal.getLowerCorner(BlockPos pos) static Optional<NetherPortal> NetherPortal.getNewPortal(WorldAccess world, BlockPos pos, Direction.Axis axis) static Optional<NetherPortal> NetherPortal.getOrEmpty(WorldAccess world, BlockPos pos, Predicate<NetherPortal> validator, Direction.Axis axis) PortalForcer.getPortalPos(BlockPos pos, boolean destIsNether, WorldBorder worldBorder) private intprivate booleanPortalForcer.isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal) voidPortalManager.setPortalPos(BlockPos pos) Constructors in net.minecraft.world.dimension with parameters of type BlockPosModifierConstructorDescriptionNetherPortal(WorldAccess world, BlockPos pos, Direction.Axis axis) PortalManager(Portal portal, BlockPos pos) -
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 BlockPosMethods in net.minecraft.world.event with parameters of type BlockPosModifier and TypeMethodDescriptionvoidVibrations.Callback.accept(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.booleanVibrations.Callback.accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private static booleanVibrations.Ticker.areChunksTickingAround(World world, BlockPos pos) static floatVibrations.VibrationListener.getTravelDelay(BlockPos emitterPos, BlockPos listenerPos) Constructors in net.minecraft.world.event with parameters of type BlockPos -
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 TypeMethodDescriptionbooleanAdvancedExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) booleanEntityExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) booleanExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) AdvancedExplosionBehavior.getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) EntityExplosionBehavior.getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) private static voidExplosion.tryMergeStack(List<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(List<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, Explosion.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) -
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, Predicate<RegistryEntry<Structure>> predicate) StructureAccessor.getStructureContaining(BlockPos pos, RegistryEntryList<Structure> structures) StructureAccessor.getStructureContaining(BlockPos pos, TagKey<Structure> tag) StructureAccessor.getStructureContaining(BlockPos pos, Structure structure) Returns a structure that contains the givenpos.StructureAccessor.getStructureReferences(BlockPos pos) 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) booleanUnobstructedBlockPredicate.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 pos, BlockPos.Mutable tmp, AquiferSampler aquiferSampler, MutableBoolean replacedGrassy) 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 x, double y, double z, double width, double height, 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.crystalBeamTargetprivate static 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) static BlockPosEndPortalFeature.offsetOrigin(BlockPos pos) 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 voidEndPlatformFeature.generate(ServerWorldAccess world, BlockPos pos, boolean breakBlocks) 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, FoliagePlacer.BlockPlacer blockPlacer, 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(StructureWorldAccess 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(StructureWorldAccess 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 voidDesertWellFeature.generateSuspiciousSand(StructureWorldAccess world, BlockPos pos) 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(StructureWorldAccess world, BlockPos pos, HugeFungusFeatureConfig config, boolean checkConfig) 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) 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) BlockPosstatic BlockPosEndPortalFeature.offsetOrigin(BlockPos pos) private 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, FoliagePlacer.BlockPlacer blockPlacer, 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> rootPositions) 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, FoliagePlacer.BlockPlacer placer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.protected final voidFoliagePlacer.generateSquareWithHangingLeaves(TestableWorld world, FoliagePlacer.BlockPlacer placer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk, float hangingLeavesChance, float hangingLeavesExtensionChance) booleanFoliagePlacer.BlockPlacer.hasPlacedBlock(BlockPos pos) voidFoliagePlacer.BlockPlacer.placeBlock(BlockPos pos, BlockState state) private static booleanFoliagePlacer.placeFoliageBlock(TestableWorld world, FoliagePlacer.BlockPlacer placer, Random random, TreeFeatureConfig config, float chance, BlockPos origin, BlockPos.Mutable pos) protected static booleanFoliagePlacer.placeFoliageBlock(TestableWorld world, FoliagePlacer.BlockPlacer placer, 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
Fields in net.minecraft.world.gen.placementmodifier with type parameters of type BlockPosMethods 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.FixedPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightmapPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightRangePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.PlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.RandomOffsetPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.SquarePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.Methods in net.minecraft.world.gen.placementmodifier with parameters of type BlockPosModifier and TypeMethodDescriptionprivate static booleanFixedPlacementModifier.chunkSectionMatchesPos(int chunkSectionX, int chunkSectionZ, BlockPos pos) protected 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.FixedPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightmapPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightRangePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.PlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.RandomOffsetPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.SquarePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.static FixedPlacementModifierprotected 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) Constructor parameters in net.minecraft.world.gen.placementmodifier with type arguments of type BlockPos -
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 BlockStateReturns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.Returns a provided block state.PredicatedStateProvider.getBlockState(StructureWorldAccess world, Random random, BlockPos pos) protected 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) private static voidDesertPyramidStructure.placeSuspiciousSand(BlockBox box, StructureWorldAccess world, BlockPos pos) 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 aroundCherryTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode> TrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate FoliagePlacer.TreeNodeCherryTrunkPlacer.generateBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) protected 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 world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private voidGiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable tmpPos, TreeFeatureConfig config, BlockPos startPos, int dx, int dy, int dz) 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 aroundCherryTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode> TrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate FoliagePlacer.TreeNodeCherryTrunkPlacer.generateBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) private 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 world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private voidGiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable tmpPos, TreeFeatureConfig config, BlockPos startPos, int dx, int dy, int dz) 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
Fields in net.minecraft.world.level declared as BlockPosMethods in net.minecraft.world.level that return BlockPosModifier and TypeMethodDescriptionLevelProperties.getSpawnPos()UnmodifiableLevelProperties.getSpawnPos()Methods in net.minecraft.world.level with parameters of type BlockPosModifier and TypeMethodDescriptionvoidLevelProperties.setSpawnPos(BlockPos pos, float angle) voidUnmodifiableLevelProperties.setSpawnPos(BlockPos pos, float angle) Constructors in net.minecraft.world.level with parameters of type BlockPosModifierConstructorDescriptionprivateLevelProperties(@Nullable NbtCompound playerData, boolean modded, BlockPos spawnPos, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable UUID wanderingTraderId, Set<String> serverBrands, Set<String> removedFeatures, Timer<MinecraftServer> scheduledEvents, @Nullable NbtCompound customBossEvents, EnderDragonFight.Data dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle) -
Uses of BlockPos in net.minecraft.world.poi
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> type) 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>> populator) voidPointOfInterestSet.updatePointsOfInterest(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater) Constructors in net.minecraft.world.poi with parameters of type BlockPosModifierConstructorDescriptionprivatePointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener) PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, 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)