接口 Directional
- 所有已知子接口:
Attachable
,Hanging
,ItemFrame
,LeashHitch
,Painting
- 所有已知实现类:
Banner
,Bed
,Button
,Chest
,CocoaPlant
,Comparator
,Diode
,DirectionalContainer
,Dispenser
,Door
,EnderChest
,Furnace
,FurnaceAndDispenser
,Gate
,Hopper
,Ladder
,Lever
,Observer
,PistonBaseMaterial
,PistonExtensionMaterial
,Pumpkin
,RedstoneTorch
,Sign
,SimpleAttachableMaterialData
,Skull
,Stairs
,Torch
,TrapDoor
,TripwireHook
public interface Directional
-
方法概要
-
方法详细资料
-
setFacingDirection
设置这个方块的朝向.原文:Sets the direction that this block is facing in
- 参数:
face
- 这个方块的朝向
-
getFacing
BlockFace getFacing()获取这个方块的朝向.原文:Gets the direction this block is facing
- 返回:
- 这个方块的朝向
-