Class CustomAxolotl

java.lang.Object
valorless.rarespawns.ai.CustomAxolotl
All Implemented Interfaces:
org.bukkit.event.Listener

public class CustomAxolotl extends Object implements org.bukkit.event.Listener
Listener that prevents capturing rare axolotls in buckets.
  • Constructor Details

    • CustomAxolotl

      public CustomAxolotl()
  • Method Details

    • init

      public static void init()
      Registers this listener with the server plugin manager.
    • onEntityBucket

      public void onEntityBucket(org.bukkit.event.player.PlayerInteractEntityEvent event)
      Cancels bucket interactions against rare axolotls.
      Parameters:
      event - player right-clicks an entity with an item in hand