Uses of Enum Class
cn.nukkit.math.BlockFace
Package
Description
与方块实现相关的类,基类
Block
与方块实体(例如TNT方块爆炸时的实体)相关的类
与方块属性相关的类.
与发射器行为相关的类
与实体相关的类,包含友好生物,敌对生物等.
与物品相关的类.
与世界相关的类.
一些数学工具类.
各种工具类.
-
Uses of BlockFace in cn.nukkit
Modifier and TypeMethodDescriptionprotected void
Player.onBlockBreakAbort
(Vector3 pos, BlockFace face) void
PlayerHandle.onBlockBreakAbort
(Vector3 pos, BlockFace face) protected void
Player.onBlockBreakComplete
(BlockVector3 blockPos, BlockFace face) void
PlayerHandle.onBlockBreakComplete
(BlockVector3 blockPos, BlockFace face) protected void
Player.onBlockBreakContinue
(Vector3 pos, BlockFace face) void
PlayerHandle.onBlockBreakContinue
(Vector3 pos, BlockFace face) protected void
Player.onBlockBreakStart
(Vector3 pos, BlockFace face) void
PlayerHandle.onBlockBreakStart
(Vector3 pos, BlockFace face) -
Uses of BlockFace in cn.nukkit.block
Modifier and TypeFieldDescriptionstatic final BlockProperty<BlockFace>
BlockDoor.DOOR_DIRECTION
static final BlockProperty<BlockFace>
BlockObserver.FACING_DIRECTION
static final ArrayBlockProperty<BlockFace>
BlockCoralFanHang.HANG_DIRECTION
static final BlockProperty<BlockFace>
BlockStairs.STAIRS_DIRECTION
static final BlockProperty<BlockFace>
BlockTrapdoor.TRAPDOOR_DIRECTION
Modifier and TypeMethodDescriptionBlockTorch.TorchAttachment.getAttachedFace()
The direction that is touching the attached block.BlockAmethystBud.getBlockFace()
BlockAnvil.getBlockFace()
BlockBanner.getBlockFace()
BlockBarrel.getBlockFace()
BlockBed.getBlockFace()
BlockBeehive.getBlockFace()
BlockBell.getBlockFace()
BlockBigDripleaf.getBlockFace()
BlockBone.getBlockFace()
BlockButton.getBlockFace()
BlockCampfire.getBlockFace()
BlockChest.getBlockFace()
BlockChiseledBookshelf.getBlockFace()
BlockCocoa.getBlockFace()
BlockCommandBlock.getBlockFace()
BlockCoralFan.getBlockFace()
BlockCoralFanHang.getBlockFace()
BlockCropsStem.getBlockFace()
BlockDispenser.getBlockFace()
BlockDoor.getBlockFace()
BlockEnderChest.getBlockFace()
BlockEndPortalFrame.getBlockFace()
BlockEndRod.getBlockFace()
BlockFenceGate.getBlockFace()
BlockFurnaceBurning.getBlockFace()
BlockGrindstone.getBlockFace()
BlockHayBale.getBlockFace()
BlockHopper.getBlockFace()
BlockItemFrame.getBlockFace()
BlockJigsaw.getBlockFace()
BlockLadder.getBlockFace()
BlockLectern.getBlockFace()
BlockLever.getBlockFace()
BlockLightningRod.getBlockFace()
BlockLoom.getBlockFace()
BlockNetherPortal.getBlockFace()
BlockObserver.getBlockFace()
BlockPistonBase.getBlockFace()
BlockPistonHead.getBlockFace()
BlockPumpkin.getBlockFace()
BlockRail.getBlockFace()
BlockRedstoneDiode.getBlockFace()
BlockSignBase.getBlockFace()
BlockSkull.getBlockFace()
BlockSmallDripleaf.getBlockFace()
BlockStairs.getBlockFace()
BlockStemMelon.getBlockFace()
BlockStemPumpkin.getBlockFace()
BlockStonecutterBlock.getBlockFace()
BlockTerracottaGlazed.getBlockFace()
BlockTorch.getBlockFace()
BlockTorch.getBlockFace
(int meta) Deprecated.BlockTrapdoor.getBlockFace()
BlockWallBanner.getBlockFace()
BlockWallSign.getBlockFace()
BlockButton.getFacing()
BlockHopper.getFacing()
Deprecated.BlockItemFrame.getFacing()
BlockLever.LeverOrientation.getFacing()
BlockPistonHead.getFacing()
BlockRedstoneComparator.getFacing()
abstract BlockFace
BlockRedstoneDiode.getFacing()
BlockRedstoneRepeater.getFacing()
BlockTripWireHook.getFacing()
abstract BlockFace
BlockVinesNether.getGrowthDirection()
The direction that the vine will grow, vertical direction is expected but future implementations may also add horizontal directions.BlockVinesTwisting.getGrowthDirection()
BlockVinesWeeping.getGrowthDirection()
BlockLichen.getGrowthSides()
BlockCoralFan.getRootsFace()
BlockCoralFanHang.getRootsFace()
BlockTorch.TorchAttachment.getTorchDirection()
The direction that the flame is pointing.Modifier and TypeMethodDescriptionBlockRail.checkRailsConnected()
BlockConnectable.getConnections()
BlockWallBase.getWallConnections()
Modifier and TypeMethodDescriptionprotected static boolean
BlockRedstoneWire.canConnectTo
(Block block, BlockFace side) static boolean
boolean
boolean
boolean
BlockWallBase.disconnect
(BlockFace blockFace) static BlockLever.LeverOrientation
BlockLever.LeverOrientation.forFacings
(BlockFace clickedSide, BlockFace playerDirection) static BlockTorch.TorchAttachment
BlockTorch.TorchAttachment.getByAttachedFace
(BlockFace face) static BlockTorch.TorchAttachment
BlockTorch.TorchAttachment.getByTorchDirection
(BlockFace face) BlockWallBase.getConnectionType
(BlockFace blockFace) static int
BlockVine.getMetaFromFace
(BlockFace face) protected int
BlockRedstoneDiode.getPowerOnSide
(Vector3 pos, BlockFace side) Block.getSideAtLayer
(int layer, BlockFace face) Block.getSideAtLayer
(int layer, BlockFace face, int step) BlockConnectable.getSideAtLayer
(int layer, BlockFace face) int
Block.getStrongPower
(BlockFace side) int
BlockButton.getStrongPower
(BlockFace side) int
BlockLectern.getStrongPower
(BlockFace face) int
BlockLever.getStrongPower
(BlockFace side) int
BlockObserver.getStrongPower
(BlockFace side) int
BlockPressurePlateBase.getStrongPower
(BlockFace side) int
BlockRailDetector.getStrongPower
(BlockFace side) int
BlockRedstoneDiode.getStrongPower
(BlockFace side) int
BlockRedstoneTorch.getStrongPower
(BlockFace side) int
BlockRedstoneTorchUnlit.getStrongPower
(BlockFace side) int
BlockRedstoneWire.getStrongPower
(BlockFace side) int
BlockSculkSensor.getStrongPower
(BlockFace side) int
BlockTrappedChest.getStrongPower
(BlockFace side) int
BlockTripWireHook.getStrongPower
(BlockFace side) Block.getTickCachedSide
(BlockFace face) Block.getTickCachedSide
(BlockFace face, int step) Block.getTickCachedSideAtLayer
(int layer, BlockFace face) Block.getTickCachedSideAtLayer
(int layer, BlockFace face, int step) int
Block.getWeakPower
(BlockFace face) int
BlockButton.getWeakPower
(BlockFace side) int
BlockDaylightDetector.getWeakPower
(BlockFace face) int
BlockLectern.getWeakPower
(BlockFace face) int
BlockLever.getWeakPower
(BlockFace side) int
BlockObserver.getWeakPower
(BlockFace face) int
BlockPressurePlateBase.getWeakPower
(BlockFace side) int
BlockRailDetector.getWeakPower
(BlockFace side) int
BlockRedstone.getWeakPower
(BlockFace face) int
BlockRedstoneDiode.getWeakPower
(BlockFace side) int
BlockRedstoneTorch.getWeakPower
(BlockFace side) int
BlockRedstoneTorchUnlit.getWeakPower
(BlockFace side) int
BlockRedstoneWire.getWeakPower
(BlockFace side) int
BlockSculkSensor.getWeakPower
(BlockFace face) int
BlockTarget.getWeakPower
(BlockFace face) int
BlockTrappedChest.getWeakPower
(BlockFace face) int
BlockTripWireHook.getWeakPower
(BlockFace face) void
BlockLichen.growToSide
(BlockFace side) boolean
Block.isBreakable
(Vector3 vector, int layer, BlockFace face, Item item, Player player, boolean setBlockDestroy) boolean
BlockAllow.isBreakable
(Vector3 vector, int layer, BlockFace face, Item item, Player player, boolean setBlockDestroy) boolean
BlockBorder.isBreakable
(Vector3 vector, int layer, BlockFace face, Item item, Player player, boolean setBlockDestroy) boolean
BlockDeny.isBreakable
(Vector3 vector, int layer, BlockFace face, Item item, Player player, boolean setBlockDestroy) default boolean
BlockConnectable.isConnected
(BlockFace face) boolean
BlockWallBase.isConnected
(BlockFace face) boolean
BlockLichen.isGrowthToSide
(BlockFace side) boolean
Block.isSideFull
(BlockFace face) Check if the given face is fully occupied by the block bounding box.boolean
Check if blocks can be attached in the given side.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
static boolean
BlockLever.isSupportValid
(Block support, BlockFace face) Check if the given block and its block face is a valid support for a leverstatic boolean
BlockPressurePlateBase.isSupportValid
(Block block, BlockFace blockFace) boolean
boolean
boolean
Block.mustSilkTouch
(Vector3 vector, int layer, BlockFace face, Item item, Player player) boolean
BlockBeehive.mustSilkTouch
(Vector3 vector, int layer, BlockFace face, Item item, Player player) void
Block.onNeighborChange
(BlockFace side) void
BlockObserver.onNeighborChange
(BlockFace side) void
Block.onPlayerRightClick
(Player player, Item item, BlockFace face, Vector3 clickPoint) void
BlockChiseledBookshelf.onPlayerRightClick
(Player player, Item item, BlockFace face, Vector3 clickPoint) void
BlockSignBase.onPlayerRightClick
(Player player, Item item, BlockFace face, Vector3 clickPoint) boolean
Block.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) Place and initialize a this block correctly in the world.boolean
BlockAllow.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockAmethystBud.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockAnvil.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockAzalea.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBamboo.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBambooSapling.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBanner.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBarrel.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBasalt.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBeacon.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBed.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBeehive.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBell.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBigDripleaf.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBone.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBorder.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBrewingStand.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBubbleColumn.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockButton.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCactus.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCake.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCampfire.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCandle.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCandleCake.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCarpet.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCauldron.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockChain.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCherrySapling.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockChest.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockChiseledBookshelf.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockChorusFlower.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockChorusPlant.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCocoa.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCommandBlock.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockConcretePowder.place
(Item item, Block b, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockConduit.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCoral.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCoralFan.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockCrops.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockDaylightDetector.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockDeadBush.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockDeny.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockDispenser.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockDoor.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockDoublePlant.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockEnchantingTable.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockEnderChest.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockEndGateway.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockEndPortal.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockEndPortalFrame.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockEndRod.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockFenceGate.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockFlower.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockFlowerPot.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockFrogSpawn.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockFungus.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockFurnaceBurning.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockGrindstone.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockHangingSign.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockHayBale.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockHopper.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockIceFrosted.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockItemFrame.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockJigsaw.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockJukebox.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockKelp.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLadder.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLantern.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLava.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLeaves.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLectern.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLever.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLichen.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLightningRod.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLodestone.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLog.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockLoom.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockMangrovePropagule.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockMangroveRoots.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockMoving.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockMuddyMangroveRoots.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockMushroom.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockNetherReactor.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockNetherWart.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockNoteblock.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockObserver.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockPinkPetals.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockPistonBase.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockPointedDripstone.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockPressurePlateBase.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockPumpkin.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockPurpur.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockQuartz.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRail.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRedstone.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRedstoneComparator.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRedstoneDiode.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRedstoneLamp.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRedstoneRepeater.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRedstoneTorch.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRedstoneWire.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRoots.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockRootsHanging.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSapling.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockScaffolding.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSeagrass.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSeaPickle.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSignPost.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSkull.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSlab.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSmallDripleaf.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSnowLayer.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSponge.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSporeBlossom.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockStairs.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockStonecutterBlock.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockStructure.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSugarcane.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockSweetBerryBush.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockTallGrass.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockTerracottaGlazed.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockTorch.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockTrapdoor.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockTrappedChest.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockTripWire.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockTripWireHook.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockTurtleEgg.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockUndyedShulkerBox.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockVine.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockVinesNether.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockWallBase.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockWater.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockWaterLily.place
(Item item, Block block, Block target, BlockFace face, double fx, double fy, double fz, Player player) boolean
BlockBell.ring
(Entity causeEntity, BellRingEvent.RingCause cause, BlockFace hitFace) void
BlockAmethystBud.setBlockFace
(BlockFace face) void
BlockAnvil.setBlockFace
(BlockFace face) void
BlockBanner.setBlockFace
(BlockFace face) void
BlockBarrel.setBlockFace
(BlockFace face) void
BlockBed.setBlockFace
(BlockFace face) void
BlockBeehive.setBlockFace
(BlockFace face) void
BlockBell.setBlockFace
(BlockFace face) void
BlockBigDripleaf.setBlockFace
(BlockFace face) void
BlockButton.setBlockFace
(BlockFace face) void
BlockCampfire.setBlockFace
(BlockFace face) void
BlockChiseledBookshelf.setBlockFace
(BlockFace face) void
BlockCropsStem.setBlockFace
(BlockFace face) void
BlockDoor.setBlockFace
(BlockFace face) void
BlockEndPortalFrame.setBlockFace
(BlockFace face) void
BlockFenceGate.setBlockFace
(BlockFace face) void
BlockGrindstone.setBlockFace
(BlockFace face) void
BlockHopper.setBlockFace
(BlockFace face) void
BlockItemFrame.setBlockFace
(BlockFace face) void
BlockLectern.setBlockFace
(BlockFace face) void
BlockLightningRod.setBlockFace
(BlockFace face) void
BlockLoom.setBlockFace
(BlockFace face) void
BlockObserver.setBlockFace
(BlockFace face) void
BlockPumpkin.setBlockFace
(BlockFace face) void
BlockSignBase.setBlockFace
(BlockFace face) void
BlockSmallDripleaf.setBlockFace
(BlockFace face) void
BlockStairs.setBlockFace
(BlockFace face) void
BlockStemMelon.setBlockFace
(BlockFace face) void
BlockStemPumpkin.setBlockFace
(BlockFace face) void
BlockStonecutterBlock.setBlockFace
(BlockFace face) void
BlockTorch.setBlockFace
(BlockFace face) Sets the direction that the flame is pointing.void
BlockTrapdoor.setBlockFace
(BlockFace face) void
BlockWallBanner.setBlockFace
(BlockFace face) void
BlockWallSign.setBlockFace
(BlockFace face) boolean
BlockWallBase.setConnection
(BlockFace blockFace, BlockWall.WallConnectionType type) void
void
BlockLichen.witherAtSide
(BlockFace side) -
Uses of BlockFace in cn.nukkit.blockentity
Modifier and TypeMethodDescriptionBlockEntityBeehive.scanValidSpawnFaces()
BlockEntityBeehive.scanValidSpawnFaces
(boolean preferFront) Modifier and TypeMethodDescriptionboolean
BlockEntityBeehive.isSpawnFaceValid
(BlockFace face) void
BlockEntityMovingBlock.moveCollidedEntities
(BlockEntityPistonArm piston, BlockFace moveDirection) Modifier and TypeMethodDescriptionBlockEntityBeehive.spawnOccupant
(BlockEntityBeehive.Occupant occupant, List<BlockFace> validFaces) -
Uses of BlockFace in cn.nukkit.blockproperty
Modifier and TypeFieldDescriptionstatic final ArrayBlockProperty<BlockFace>
CommonBlockProperties.BLOCK_FACE
static final ArrayBlockProperty<BlockFace>
CommonBlockProperties.CARDINAL_DIRECTION
static final BlockProperty<BlockFace>
CommonBlockProperties.DIRECTION
static final ArrayBlockProperty<BlockFace>
CommonBlockProperties.DIRECTION_ARRAY
static final BlockProperty<BlockFace>
CommonBlockProperties.FACING_DIRECTION
static final ArrayBlockProperty<BlockFace>
CommonBlockProperties.FACING_DIRECTION_ARRAY
-
Uses of BlockFace in cn.nukkit.dispenser
Modifier and TypeMethodDescriptionBoatDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) BucketDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) DefaultDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) DispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) DropperDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) DyeDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) EmptyBucketDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) Deprecated.FireworksDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) FlintAndSteelDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) GlassBottleDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) MinecartDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) ProjectileDispenseBehavior.dispense
(BlockDispenser source, BlockFace face, Item item) ShearsDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) ShulkerBoxDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) SpawnEggDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) TNTDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) WaterBottleDispenseBehavior.dispense
(BlockDispenser block, BlockFace face, Item item) protected Vector3
ProjectileDispenseBehavior.initMotion
(BlockFace face) -
Uses of BlockFace in cn.nukkit.energy
Modifier and TypeMethodDescriptiondefault boolean
EnergyHolder.canAcceptInput
(EnergyType energyType, BlockFace face) default boolean
EnergyHolder.canProvideOutput
(EnergyType energyType, BlockFace face) -
Uses of BlockFace in cn.nukkit.entity
Modifier and TypeMethodDescriptionEntity.getDirection()
EntityHanging.getDirection()
Entity.getHorizontalFacing()
-
Uses of BlockFace in cn.nukkit.event.block
ModifierConstructorDescriptionBlockBreakEvent
(Player player, Block block, BlockFace face, Item item, Item[] drops, boolean instaBreak, boolean fastBreak) BlockPistonEvent
(BlockPistonBase piston, BlockFace direction, List<Block> blocks, List<Block> destroyedBlocks, boolean extending) -
Uses of BlockFace in cn.nukkit.event.player
ModifierConstructorDescriptionPlayerBucketEmptyEvent
(Player who, Block blockClicked, BlockFace blockFace, Block liquid, Item bucket, Item itemInHand) PlayerBucketFillEvent
(Player who, Block blockClicked, BlockFace blockFace, Block liquid, Item bucket, Item itemInHand) PlayerInteractEvent
(Player player, Item item, Vector3 block, BlockFace face) PlayerInteractEvent
(Player player, Item item, Vector3 block, BlockFace face, PlayerInteractEvent.Action action) -
Uses of BlockFace in cn.nukkit.inventory.transaction.data
-
Uses of BlockFace in cn.nukkit.item
Modifier and TypeMethodDescriptionboolean
Item.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) 玩家使用一个物品交互时会调用这个方法boolean
ItemArmorStand.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemBoat.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemBucket.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemChestBoatBase.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemEmptyMap.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemEndCrystal.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemFireCharge.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemFirework.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemFlintSteel.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemGlassBottle.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemGlowBerries.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemMinecart.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemMinecartChest.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemMinecartHopper.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemMinecartTNT.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemPainting.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) boolean
ItemSpawnEgg.onActivate
(Level level, Player player, Block block, Block target, BlockFace face, double fx, double fy, double fz) -
Uses of BlockFace in cn.nukkit.level
Modifier and TypeMethodDescriptionstatic MovingObjectPosition
int
Level.getRedstonePower
(Vector3 pos, BlockFace face) Position.getSidePos
(BlockFace face) int
Level.getStrongPower
(Vector3 pos, BlockFace direction) boolean
Level.isSidePowered
(Vector3 pos, BlockFace face) void
MovingObjectPosition.setFaceHit
(BlockFace face) void
Level.updateAroundRedstone
(Vector3 pos, BlockFace face) Deprecated.Level.useBreakOn
(Vector3 vector, int layer, BlockFace face, Item item, Player player, boolean createParticles, boolean setBlockDestroy) Level.useBreakOn
(Vector3 vector, BlockFace face, Item item, Player player, boolean createParticles) Level.useBreakOn
(Vector3 vector, BlockFace face, Item item, Player player, boolean createParticles, boolean setBlockDestroy) Level.useItemOn
(Vector3 vector, Item item, BlockFace face, float fx, float fy, float fz, Player player) Level.useItemOn
(Vector3 vector, Item item, BlockFace face, float fx, float fy, float fz, Player player, boolean playSound) -
Uses of BlockFace in cn.nukkit.level.generator.populator.impl.structure.mineshaft.structure
Modifier and TypeMethodDescriptionstatic BoundingBox
MineshaftPieces.MineshaftCorridor.findCorridorSize
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation) static BoundingBox
MineshaftPieces.MineshaftCrossing.findCrossing
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation) static BoundingBox
MineshaftPieces.MineshaftStairs.findStairs
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation) ModifierConstructorDescriptionMineshaftCorridor
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation, PopulatorMineshaft.Type type) MineshaftCrossing
(int genDepth, BoundingBox boundingBox, BlockFace orientation, PopulatorMineshaft.Type type) MineshaftStairs
(int genDepth, BoundingBox boundingBox, BlockFace orientation, PopulatorMineshaft.Type type) -
Uses of BlockFace in cn.nukkit.level.generator.populator.impl.structure.netherfortress.structure
Modifier and TypeMethodDescriptionNetherBridgePieces.BridgeCrossing.createPiece
(List<StructurePiece> pieces, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.BridgeEndFiller.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.BridgeStraight.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.CastleCorridorStairsPiece.createPiece
(List<StructurePiece> pieces, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.CastleCorridorTBalconyPiece.createPiece
(List<StructurePiece> pieces, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.CastleEntrance.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.CastleSmallCorridorCrossingPiece.createPiece
(List<StructurePiece> pieces, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.CastleSmallCorridorLeftTurnPiece.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.CastleSmallCorridorPiece.createPiece
(List<StructurePiece> pieces, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.CastleSmallCorridorRightTurnPiece.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.CastleStalkRoom.createPiece
(List<StructurePiece> pieces, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.MonsterThrone.createPiece
(List<StructurePiece> pieces, int x, int y, int z, int genDepth, BlockFace orientation) NetherBridgePieces.RoomCrossing.createPiece
(List<StructurePiece> pieces, int x, int y, int z, BlockFace orientation, int genDepth) NetherBridgePieces.StairsRoom.createPiece
(List<StructurePiece> pieces, int x, int y, int z, int genDepth, BlockFace orientation) ModifierConstructorDescriptionBridgeCrossing
(int genDepth, BoundingBox boundingBox, BlockFace orientation) BridgeEndFiller
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) BridgeStraight
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) CastleCorridorStairsPiece
(int genDepth, BoundingBox boundingBox, BlockFace orientation) CastleCorridorTBalconyPiece
(int genDepth, BoundingBox boundingBox, BlockFace orientation) CastleEntrance
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) CastleSmallCorridorCrossingPiece
(int genDepth, BoundingBox boundingBox, BlockFace orientation) CastleSmallCorridorLeftTurnPiece
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) CastleSmallCorridorPiece
(int genDepth, BoundingBox boundingBox, BlockFace orientation) CastleSmallCorridorRightTurnPiece
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) CastleStalkRoom
(int genDepth, BoundingBox boundingBox, BlockFace orientation) MonsterThrone
(int genDepth, BoundingBox boundingBox, BlockFace orientation) RoomCrossing
(int genDepth, BoundingBox boundingBox, BlockFace orientation) StairsRoom
(int genDepth, BoundingBox boundingBox, BlockFace orientation) -
Uses of BlockFace in cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure
ModifierConstructorDescriptionMonumentBuilding
(NukkitRandom random, int x, int z, BlockFace orientation) OceanMonumentCoreRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition) OceanMonumentDoubleXRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition) OceanMonumentDoubleXYRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition) OceanMonumentDoubleYRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition) OceanMonumentDoubleYZRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition) OceanMonumentDoubleZRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition) OceanMonumentEntryRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition) OceanMonumentPenthouse
(BlockFace orientation, BoundingBox boundingBox) protected
OceanMonumentPiece
(int genDepth, BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition, int x, int y, int z) OceanMonumentPiece
(BlockFace orientation, BoundingBox boundingBox) OceanMonumentSimpleRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition, NukkitRandom random) OceanMonumentSimpleTopRoom
(BlockFace orientation, cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure.OceanMonumentPieces.RoomDefinition roomDefinition) OceanMonumentWingRoom
(BlockFace orientation, BoundingBox roomDefinition, int mainDesign) -
Uses of BlockFace in cn.nukkit.level.generator.populator.impl.structure.stronghold.structure
Modifier and TypeMethodDescriptionStrongholdPieces.ChestCorridor.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) StrongholdPieces.FiveCrossing.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static StrongholdPieces.LeftTurn
StrongholdPieces.LeftTurn.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static StrongholdPieces.Library
StrongholdPieces.Library.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static StrongholdPieces.PortalRoom
StrongholdPieces.PortalRoom.createPiece
(List<StructurePiece> pieces, int x, int y, int z, BlockFace orientation, int genDepth) static StrongholdPieces.PrisonHall
StrongholdPieces.PrisonHall.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static StrongholdPieces.RightTurn
StrongholdPieces.RightTurn.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) StrongholdPieces.RoomCrossing.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static StrongholdPieces.StairsDown
StrongholdPieces.StairsDown.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static StrongholdPieces.Straight
StrongholdPieces.Straight.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) StrongholdPieces.StraightStairsDown.createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static BoundingBox
StrongholdPieces.FillerCorridor.findPieceBox
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation) ModifierConstructorDescriptionChestCorridor
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) FillerCorridor
(int genDepth, BoundingBox boundingBox, BlockFace orientation) FiveCrossing
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) LeftTurn
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) Library
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) PortalRoom
(int genDepth, BoundingBox boundingBox, BlockFace orientation) PrisonHall
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) RightTurn
(int i, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) RoomCrossing
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) StairsDown
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) Straight
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) StraightStairsDown
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) -
Uses of BlockFace in cn.nukkit.level.generator.populator.impl.structure.utils.math
Modifier and TypeMethodDescriptionstatic BoundingBox
BoundingBox.orientBox
(int x, int y, int z, int xOffset, int yOffset, int zOffset, int xLength, int yLength, int zLength, BlockFace orientation) -
Uses of BlockFace in cn.nukkit.level.generator.populator.impl.structure.utils.structure
Modifier and TypeMethodDescriptionprotected void
StructurePiece.generateDoor
(ChunkManager level, BoundingBox boundingBox, NukkitRandom random, int x, int y, int z, BlockFace orientation, BlockState door) void
StructurePiece.setOrientation
(BlockFace orientation) -
Uses of BlockFace in cn.nukkit.level.generator.populator.impl.structure.village.structure
Modifier and TypeMethodDescriptionstatic VillagePieces.BookHouse
VillagePieces.BookHouse.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static VillagePieces.DoubleFarmland
VillagePieces.DoubleFarmland.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static VillagePieces.Farmland
VillagePieces.Farmland.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static VillagePieces.PigHouse
VillagePieces.PigHouse.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static VillagePieces.SimpleHouse
VillagePieces.SimpleHouse.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static VillagePieces.SmallHut
VillagePieces.SmallHut.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static VillagePieces.SmallTemple
VillagePieces.SmallTemple.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static VillagePieces.Smithy
VillagePieces.Smithy.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static VillagePieces.TwoRoomHouse
VillagePieces.TwoRoomHouse.createPiece
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) static BoundingBox
VillagePieces.LightPost.findPieceBox
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation) static BoundingBox
VillagePieces.StraightRoad.findPieceBox
(VillagePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation) ModifierConstructorDescriptionBookHouse
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) DoubleFarmland
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) Farmland
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) LightPost
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) PigHouse
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) SimpleHouse
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) SmallHut
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) SmallTemple
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) Smithy
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) StraightRoad
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) TwoRoomHouse
(VillagePieces.StartPiece start, int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) -
Uses of BlockFace in cn.nukkit.level.particle
ModifierConstructorDescriptionPunchBlockParticle
(Vector3 pos, int blockId, int blockDamage, BlockFace face) PunchBlockParticle
(Vector3 pos, Block block, BlockFace face) -
Uses of BlockFace in cn.nukkit.math
Modifier and TypeMethodDescriptionstatic BlockFace
VectorMath.calculateFace
(Vector3 base, Vector3 side) static BlockFace
BlockFace.fromAxis
(BlockFace.AxisDirection axisDirection, BlockFace.Axis axis) static BlockFace
BlockFace.fromHorizontalAngle
(double angle) Get the BlockFace corresponding to the given angle (0-360).static BlockFace
BlockFace.fromHorizontalIndex
(int index) Get a BlockFace by it's horizontal index (0-3).static BlockFace
BlockFace.fromIndex
(int index) Get a BlockFace by it's index (0-5).CompassRoseDirection.getClosestBlockFace()
Gets the closest face for this direction.static BlockFace[]
BlockFace.getHorizontals()
BlockFace.getOpposite()
Get the opposite BlockFace (e.g.BlockFace.Plane.random()
BlockFace.Plane.random
(NukkitRandom rand) static BlockFace
Choose a random BlockFace using the given RandomBlockFace.rotateY()
Rotate this BlockFace around the Y axis clockwise (NORTH => EAST => SOUTH => WEST => NORTH)BlockFace.rotateYCCW()
Rotate this BlockFace around the Y axis counter-clockwise (NORTH => WEST => SOUTH => EAST => NORTH)static BlockFace
Returns the enum constant of this class with the specified name.static BlockFace[]
BlockFace.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondefault AxisAlignedBB
AxisAlignedBB.getOffsetBoundingBox
(BlockFace face, double x, double y, double z) Vector3.getSideVec
(BlockFace face) BlockVector3.setComponentsAdding
(Vector3 pos, BlockFace face) Vector3.setComponentsAdding
(Vector3 pos, BlockFace face) boolean
boolean
-
Uses of BlockFace in cn.nukkit.positiontracking
Modifier and TypeMethodDescription -
Uses of BlockFace in cn.nukkit.utils
Modifier and TypeMethodDescriptionRail.Orientation.ascendingDirection()
Rail.Orientation.connectingDirections()
Modifier and TypeMethodDescriptionstatic Rail.Orientation
static Rail.Orientation
boolean
Rail.Orientation.hasConnectingDirections
(BlockFace... faces) void
BinaryStream.putBlockFace
(BlockFace face) default void
Faceable.setBlockFace
(BlockFace face) static Rail.Orientation
static Rail.Orientation
Rail.Orientation.straightOrCurved
(BlockFace f1, BlockFace f2) static void
RedstoneComponent.updateAllAroundRedstone
(Position pos, BlockFace... ignoredFaces) Send a redstone update to all blocks around the given position and also around the blocks of those updated blocks.default void
RedstoneComponent.updateAllAroundRedstone
(BlockFace... ignoredFaces) Send a redstone update to all blocks around this block.static void
RedstoneComponent.updateAroundRedstone
(Position pos, BlockFace... ignoredFaces) Send a redstone update to all blocks around the given position.default void
RedstoneComponent.updateAroundRedstone
(BlockFace... ignoredFaces) Send a redstone update to all blocks around this block.Modifier and TypeMethodDescriptionboolean
Rail.Orientation.hasConnectingDirections
(Collection<BlockFace> faces) static void
RedstoneComponent.updateAllAroundRedstone
(Position pos, List<BlockFace> ignoredFaces) Send a redstone update to all blocks around the given position and also around the blocks of those updated blocks.default void
RedstoneComponent.updateAllAroundRedstone
(List<BlockFace> ignoredFaces) Send a redstone update to all blocks around this block and also around the blocks of those updated blocks.static void
RedstoneComponent.updateAroundRedstone
(Position pos, List<BlockFace> ignoredFaces) Send a redstone update to all blocks around the given position.default void
RedstoneComponent.updateAroundRedstone
(List<BlockFace> ignoredFaces) Send a redstone update to all blocks around this block.