From 048e94a744d69c864284a5cdcbf375b2312f0ab1 Mon Sep 17 00:00:00 2001 From: ImMorpheus Date: Sat, 29 Jun 2024 22:03:43 +0200 Subject: [PATCH] Update Allay parent interface --- src/main/java/org/spongepowered/api/entity/EntityTypes.java | 2 +- .../spongepowered/api/entity/living/{animal => }/Allay.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) rename src/main/java/org/spongepowered/api/entity/living/{animal => }/Allay.java (93%) diff --git a/src/main/java/org/spongepowered/api/entity/EntityTypes.java b/src/main/java/org/spongepowered/api/entity/EntityTypes.java index 0f9b15998a..bba1ce6098 100644 --- a/src/main/java/org/spongepowered/api/entity/EntityTypes.java +++ b/src/main/java/org/spongepowered/api/entity/EntityTypes.java @@ -35,10 +35,10 @@ import org.spongepowered.api.entity.hanging.ItemFrame; import org.spongepowered.api.entity.hanging.LeashKnot; import org.spongepowered.api.entity.hanging.Painting; +import org.spongepowered.api.entity.living.Allay; import org.spongepowered.api.entity.living.ArmorStand; import org.spongepowered.api.entity.living.Bat; import org.spongepowered.api.entity.living.Human; -import org.spongepowered.api.entity.living.animal.Allay; import org.spongepowered.api.entity.living.animal.Armadillo; import org.spongepowered.api.entity.living.animal.Axolotl; import org.spongepowered.api.entity.living.animal.Bee; diff --git a/src/main/java/org/spongepowered/api/entity/living/animal/Allay.java b/src/main/java/org/spongepowered/api/entity/living/Allay.java similarity index 93% rename from src/main/java/org/spongepowered/api/entity/living/animal/Allay.java rename to src/main/java/org/spongepowered/api/entity/living/Allay.java index 99025de8b8..f3a407f430 100644 --- a/src/main/java/org/spongepowered/api/entity/living/animal/Allay.java +++ b/src/main/java/org/spongepowered/api/entity/living/Allay.java @@ -22,9 +22,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -package org.spongepowered.api.entity.living.animal; +package org.spongepowered.api.entity.living; + /** * Represents an Allay. */ -public interface Allay extends Animal { +public interface Allay extends Creature { }