Class GolemMock

All Implemented Interfaces:
MessageTarget, io.papermc.paper.entity.Frictional, 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.Entity, org.bukkit.entity.Golem, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.loot.Lootable, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.ProjectileSource
Direct Known Subclasses:
IronGolemMock, ShulkerMock, SnowmanMock

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

    • GolemMock

      protected GolemMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
      Constructs a new GolemMock 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

    • getAmbientSound

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

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

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