mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
#492: Let Tameable extend Animals rather than Entity
This commit is contained in:
parent
941111a02f
commit
3abebc9fbf
5 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
/**
|
/**
|
||||||
* Represents a Horse-like creature.
|
* 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.
|
* Gets the horse's variant.
|
||||||
|
|
|
@ -6,7 +6,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
/**
|
/**
|
||||||
* Meow.
|
* Meow.
|
||||||
*/
|
*/
|
||||||
public interface Cat extends Animals, Tameable, Sittable {
|
public interface Cat extends Tameable, Sittable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the current type of this cat.
|
* Gets the current type of this cat.
|
||||||
|
|
|
@ -5,7 +5,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
/**
|
/**
|
||||||
* Represents a Parrot.
|
* Represents a Parrot.
|
||||||
*/
|
*/
|
||||||
public interface Parrot extends Animals, Tameable, Sittable {
|
public interface Parrot extends Tameable, Sittable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the variant of this parrot.
|
* Get the variant of this parrot.
|
||||||
|
|
|
@ -2,7 +2,7 @@ package org.bukkit.entity;
|
||||||
|
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
public interface Tameable extends Entity {
|
public interface Tameable extends Animals {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if this is tamed
|
* Check if this is tamed
|
||||||
|
|
|
@ -6,7 +6,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
/**
|
/**
|
||||||
* Represents a Wolf
|
* Represents a Wolf
|
||||||
*/
|
*/
|
||||||
public interface Wolf extends Animals, Tameable, Sittable {
|
public interface Wolf extends Tameable, Sittable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if this wolf is angry
|
* Checks if this wolf is angry
|
||||||
|
|
Loading…
Add table
Reference in a new issue