All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.craftbukkit.entity.CraftLeash Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package org.bukkit.craftbukkit.entity;

import net.minecraft.server.EntityLeash;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.LeashHitch;

public class CraftLeash extends CraftHanging implements LeashHitch {
  public CraftLeash(CraftServer server, EntityLeash entity) {
    super(server, entity);
  }

  @Override
  public EntityLeash getHandle() {
    return (EntityLeash) entity;
  }

  @Override
  public String toString() {
    return "CraftLeash";
  }

  public EntityType getType() {
    return EntityType.LEASH_HITCH;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy