接口 Shulker

所有超级接口:
Attributable, Colorable, CommandSender, Creature, Damageable, Enemy, Entity, Golem, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface Shulker extends Golem, Colorable, Enemy
  • 方法详细资料

    • getPeek

      float getPeek()
      Gets the peek state of the shulker between 0.0 and 1.0.
      返回:
      the peek state of the shulker between 0.0 and 1.0
    • setPeek

      void setPeek(float value)
      Sets the peek state of the shulker, should be in between 0.0 and 1.0.
      参数:
      value - peek state of the shulker, should be in between 0.0 and 1.0
      抛出:
      IllegalArgumentException - thrown if the value exceeds the valid range in between of 0.0 and 1.0
    • getAttachedFace

      @NotNull @NotNull BlockFace getAttachedFace()
      Gets the face to which the shulker is attached.
      返回:
      the face to which the shulker is attached
    • setAttachedFace

      void setAttachedFace(@NotNull @NotNull BlockFace face)
      Sets the face to which the shulker is attached.
      参数:
      face - the face to attach the shulker to