Interface Shulker

All Superinterfaces:
Attributable, Audience, Colorable, CommandSender, Creature, Damageable, Entity, Golem, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface Shulker extends Golem, Colorable
  • Method Details

    • getPeek

      float getPeek()
      Gets the peek state of the shulker between 0.0 and 1.0.
      Returns:
      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.
      Parameters:
      value - peek state of the shulker, should be in between 0.0 and 1.0
      Throws:
      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.
      Returns:
      the face to which the shulker is attached
    • setAttachedFace

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