接口 Directional

所有已知子接口:
Attachable, GlowItemFrame, 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

      void setFacingDirection(@NotNull @NotNull BlockFace face)
      Sets the direction that this block is facing in
      参数:
      face - The facing direction
    • getFacing

      Gets the direction this block is facing
      返回:
      the direction this block is facing