Class ShulkerMock

All Implemented Interfaces:
MessageTarget, io.papermc.paper.entity.Frictional, io.papermc.paper.entity.Leashable, io.papermc.paper.persistence.PersistentDataViewHolder, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.Creature, org.bukkit.entity.Damageable, org.bukkit.entity.Enemy, org.bukkit.entity.Entity, org.bukkit.entity.Golem, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Shulker, org.bukkit.loot.Lootable, org.bukkit.material.Colorable, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.ProjectileSource

public class ShulkerMock extends GolemMock implements org.bukkit.entity.Shulker
Mock implementation of a Shulker.
See Also:
  • Constructor Details

    • ShulkerMock

      public ShulkerMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
      Constructs a new ShulkerMock on the provided ServerMock with a specified UUID.
      Parameters:
      server - The server to create the entity on.
      uuid - The UUID of the entity.
  • Method Details

    • getPeek

      public float getPeek()
      Specified by:
      getPeek in interface org.bukkit.entity.Shulker
    • setPeek

      public void setPeek(float value)
      Specified by:
      setPeek in interface org.bukkit.entity.Shulker
    • getAttachedFace

      @NotNull public @NotNull org.bukkit.block.BlockFace getAttachedFace()
      Specified by:
      getAttachedFace in interface org.bukkit.entity.Shulker
    • setAttachedFace

      public void setAttachedFace(@NotNull @NotNull org.bukkit.block.BlockFace face)
      Specified by:
      setAttachedFace in interface org.bukkit.entity.Shulker
    • getColor

      @Nullable public @Nullable org.bukkit.DyeColor getColor()
      Specified by:
      getColor in interface org.bukkit.material.Colorable
    • setColor

      public void setColor(org.bukkit.DyeColor color)
      Specified by:
      setColor in interface org.bukkit.material.Colorable
    • getAmbientSound

      @Nullable public @Nullable org.bukkit.Sound getAmbientSound()
      Specified by:
      getAmbientSound in interface org.bukkit.entity.Mob
      Overrides:
      getAmbientSound in class GolemMock
    • getHurtSound

      @Nullable public @Nullable org.bukkit.Sound getHurtSound()
      Specified by:
      getHurtSound in interface org.bukkit.entity.LivingEntity
      Overrides:
      getHurtSound in class GolemMock
    • getDeathSound

      @Nullable public @Nullable org.bukkit.Sound getDeathSound()
      Specified by:
      getDeathSound in interface org.bukkit.entity.LivingEntity
      Overrides:
      getDeathSound in class GolemMock
    • getType

      @NotNull public @NotNull org.bukkit.entity.EntityType getType()
      Specified by:
      getType in interface org.bukkit.entity.Entity
      Overrides:
      getType in class EntityMock