接口 EnderCrystal

所有超级接口:
CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, ServerOperator

public interface EnderCrystal extends Entity
一个末影水晶,能治疗附近的末影龙
  • 方法详细资料

    • isShowingBottom

      boolean isShowingBottom()
      Return whether or not this end crystal is showing the bedrock slate underneath it.
      返回:
      true if the bottom is being shown
    • setShowingBottom

      void setShowingBottom(boolean showing)
      Sets whether or not this end crystal is showing the bedrock slate underneath it.
      参数:
      showing - whether the bedrock slate should be shown
    • getBeamTarget

      @Nullable @Nullable Location getBeamTarget()
      Gets the location that this end crystal is pointing its beam to.
      返回:
      the location that the beam is pointed to, or null if the beam is not shown
    • setBeamTarget

      void setBeamTarget(@Nullable @Nullable Location location)
      Sets the location that this end crystal is pointing to. Passing a null value will remove the current beam.
      参数:
      location - the location to point the beam to
      抛出:
      IllegalArgumentException - for differing worlds