程序包 org.bukkit.util

接口 BlockTransformer.TransformationState

封闭接口:
BlockTransformer

public static interface BlockTransformer.TransformationState
The TransformationState allows access to the original block state and the block state of the block that was at the location of the transformation in the world before the transformation started.
  • 方法概要

    修饰符和类型
    方法
    说明
    Creates a clone of the original block state that a structure wanted to place and caches it for the current transformer.
    Creates a clone of the block state that was at the location of the currently modified block at the start of the transformation process and caches it for the current transformer.
  • 方法详细资料

    • getOriginal

      Creates a clone of the original block state that a structure wanted to place and caches it for the current transformer.
      返回:
      a clone of the original block state.
    • getWorld

      Creates a clone of the block state that was at the location of the currently modified block at the start of the transformation process and caches it for the current transformer.
      返回:
      a clone of the world block state.