程序包 org.bukkit.block.data

# 接口 Orientable

所有超级接口:
  `BlockData`, `Cloneable`

所有已知子接口:
  `Chain`

public interface Orientable extends BlockData
'axis' represents the axis along whilst this block is oriented.
Some blocks such as the portal block may not be able to be placed in all orientations, use `getAxes()` to retrieve all possible such orientations.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull Set<Axis>`
  `getAxes()`
  Gets the axes which are applicable to this block.
  `@NotNull Axis`
  `getAxis()`
  Gets the value of the 'axis' property.
  `void`
  `setAxis(@NotNull Axis axis)`
  Sets the value of the 'axis' property.

  ### 从接口继承的方法 org.bukkit.block.data.BlockData

  `clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate`

- ## 方法详细资料

  - ### getAxis

    @NotNull @NotNull Axis getAxis()
    Gets the value of the 'axis' property.
    返回:
      the 'axis' value

  - ### setAxis

    void setAxis(@NotNull @NotNull Axis axis)
    Sets the value of the 'axis' property.
    参数:
      `axis` - the new 'axis' value

  - ### getAxes

    @NotNull @NotNull Set<Axis> getAxes()
    Gets the axes which are applicable to this block.
    返回:
      the allowed 'axis' values