Class RavagerMock

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.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Monster, org.bukkit.entity.Raider, org.bukkit.entity.Ravager, 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

public class RavagerMock extends RaiderMock implements org.bukkit.entity.Ravager
Mock implementation of a Ravager.
See Also:
  • Constructor Details

    • RavagerMock

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

    • getAttackTicks

      public int getAttackTicks()
      Specified by:
      getAttackTicks in interface org.bukkit.entity.Ravager
    • setAttackTicks

      public void setAttackTicks(int ticks)
      Specified by:
      setAttackTicks in interface org.bukkit.entity.Ravager
    • getStunnedTicks

      public int getStunnedTicks()
      Specified by:
      getStunnedTicks in interface org.bukkit.entity.Ravager
    • setStunnedTicks

      public void setStunnedTicks(int ticks)
      Specified by:
      setStunnedTicks in interface org.bukkit.entity.Ravager
    • getRoarTicks

      public int getRoarTicks()
      Specified by:
      getRoarTicks in interface org.bukkit.entity.Ravager
    • setRoarTicks

      public void setRoarTicks(int ticks)
      Specified by:
      setRoarTicks in interface org.bukkit.entity.Ravager
    • getCelebrationSound

      @NotNull public @NotNull org.bukkit.Sound getCelebrationSound()
      Specified by:
      getCelebrationSound in interface org.bukkit.entity.Raider
    • getType

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