Class BeeMock

All Implemented Interfaces:
MessageTarget, 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>, Attributable, CommandSender, Ageable, Animals, Bee, Breedable, Creature, Damageable, Entity, LivingEntity, Mob, Lootable, Metadatable, Nameable, Permissible, ServerOperator, PersistentDataHolder, ProjectileSource

public class BeeMock extends AnimalsMock implements Bee
  • Constructor Details

    • BeeMock

      public BeeMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
  • Method Details

    • getHive

      @Nullable public @Nullable Location getHive()
      Specified by:
      getHive in interface Bee
    • setHive

      public void setHive(@Nullable @Nullable Location location)
      Specified by:
      setHive in interface Bee
    • getFlower

      @Nullable public @Nullable Location getFlower()
      Specified by:
      getFlower in interface Bee
    • setFlower

      public void setFlower(@Nullable @Nullable Location location)
      Specified by:
      setFlower in interface Bee
    • hasNectar

      public boolean hasNectar()
      Specified by:
      hasNectar in interface Bee
    • setHasNectar

      public void setHasNectar(boolean nectar)
      Specified by:
      setHasNectar in interface Bee
    • hasStung

      public boolean hasStung()
      Specified by:
      hasStung in interface Bee
    • setHasStung

      public void setHasStung(boolean stung)
      Specified by:
      setHasStung in interface Bee
    • getAnger

      public int getAnger()
      Specified by:
      getAnger in interface Bee
    • setAnger

      public void setAnger(int anger)
      Specified by:
      setAnger in interface Bee
    • getCannotEnterHiveTicks

      public int getCannotEnterHiveTicks()
      Specified by:
      getCannotEnterHiveTicks in interface Bee
    • setCannotEnterHiveTicks

      public void setCannotEnterHiveTicks(int ticks)
      Specified by:
      setCannotEnterHiveTicks in interface Bee
    • setRollingOverride

      public void setRollingOverride(@NotNull @NotNull net.kyori.adventure.util.TriState rolling)
      Specified by:
      setRollingOverride in interface Bee
    • getRollingOverride

      @NotNull public @NotNull net.kyori.adventure.util.TriState getRollingOverride()
      Specified by:
      getRollingOverride in interface Bee
    • isRolling

      public boolean isRolling()
      Specified by:
      isRolling in interface Bee
    • getType

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