mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
#492: Let Tameable extend Animals rather than Entity
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
01b8968e4b
commit
8d4eeb1b3d
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…
Reference in a new issue