#492: Let Tameable extend Animals rather than Entity

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
Bukkit/Spigot 2020-05-02 17:52:20 +10:00
parent 01b8968e4b
commit 8d4eeb1b3d
5 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Represents a Horse-like creature.
*/
public interface AbstractHorse extends Animals, Vehicle, InventoryHolder, Tameable {
public interface AbstractHorse extends Vehicle, InventoryHolder, Tameable {
/**
* Gets the horse's variant.

View file

@ -6,7 +6,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Meow.
*/
public interface Cat extends Animals, Tameable, Sittable {
public interface Cat extends Tameable, Sittable {
/**
* Gets the current type of this cat.

View file

@ -5,7 +5,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Represents a Parrot.
*/
public interface Parrot extends Animals, Tameable, Sittable {
public interface Parrot extends Tameable, Sittable {
/**
* Get the variant of this parrot.

View file

@ -2,7 +2,7 @@ package org.bukkit.entity;
import org.jetbrains.annotations.Nullable;
public interface Tameable extends Entity {
public interface Tameable extends Animals {
/**
* Check if this is tamed

View file

@ -6,7 +6,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Represents a Wolf
*/
public interface Wolf extends Animals, Tameable, Sittable {
public interface Wolf extends Tameable, Sittable {
/**
* Checks if this wolf is angry