类 Torch

所有已实现的接口:
Cloneable, Attachable, Directional
直接已知子类:
RedstoneTorch

@Deprecated public class Torch extends SimpleAttachableMaterialData
已过时。
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
MaterialData for torches
  • 构造器详细资料

    • Torch

      public Torch()
      已过时。
    • Torch

      public Torch(Material type)
      已过时。
    • Torch

      @Deprecated public Torch(Material type, byte data)
      已过时。
      Magic value
      参数:
      type - the type
      data - the raw data value
  • 方法详细资料

    • getAttachedFace

      public BlockFace getAttachedFace()
      已过时。
      Gets the face that this block is attached on
      返回:
      BlockFace attached to
    • setFacingDirection

      public void setFacingDirection(BlockFace face)
      已过时。
      从接口复制的说明: Directional
      Sets the direction that this block is facing in
      参数:
      face - The facing direction
    • clone

      public Torch clone()
      已过时。
      覆盖:
      clone 在类中 SimpleAttachableMaterialData