From 83f604677d472546c6c77a222bacb240e8448707 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 18 Aug 2021 23:27:57 +0200 Subject: [PATCH] Move effects to the effects package --- .../unicopia/{util => entity/effect}/CustomStatusEffect.java | 2 +- .../unicopia/{item/toxin => entity/effect}/UEffects.java | 3 +-- .../java/com/minelittlepony/unicopia/item/toxin/Toxin.java | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) rename src/main/java/com/minelittlepony/unicopia/{util => entity/effect}/CustomStatusEffect.java (98%) rename src/main/java/com/minelittlepony/unicopia/{item/toxin => entity/effect}/UEffects.java (90%) diff --git a/src/main/java/com/minelittlepony/unicopia/util/CustomStatusEffect.java b/src/main/java/com/minelittlepony/unicopia/entity/effect/CustomStatusEffect.java similarity index 98% rename from src/main/java/com/minelittlepony/unicopia/util/CustomStatusEffect.java rename to src/main/java/com/minelittlepony/unicopia/entity/effect/CustomStatusEffect.java index 5cbb15dc..07a7feae 100644 --- a/src/main/java/com/minelittlepony/unicopia/util/CustomStatusEffect.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/effect/CustomStatusEffect.java @@ -1,4 +1,4 @@ -package com.minelittlepony.unicopia.util; +package com.minelittlepony.unicopia.entity.effect; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; diff --git a/src/main/java/com/minelittlepony/unicopia/item/toxin/UEffects.java b/src/main/java/com/minelittlepony/unicopia/entity/effect/UEffects.java similarity index 90% rename from src/main/java/com/minelittlepony/unicopia/item/toxin/UEffects.java rename to src/main/java/com/minelittlepony/unicopia/entity/effect/UEffects.java index c3f6f88b..83e01594 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/toxin/UEffects.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/effect/UEffects.java @@ -1,6 +1,5 @@ -package com.minelittlepony.unicopia.item.toxin; +package com.minelittlepony.unicopia.entity.effect; -import com.minelittlepony.unicopia.util.CustomStatusEffect; import com.minelittlepony.unicopia.util.MagicalDamageSource; import net.minecraft.entity.effect.StatusEffect; diff --git a/src/main/java/com/minelittlepony/unicopia/item/toxin/Toxin.java b/src/main/java/com/minelittlepony/unicopia/item/toxin/Toxin.java index bfbcde93..665fe811 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/toxin/Toxin.java +++ b/src/main/java/com/minelittlepony/unicopia/item/toxin/Toxin.java @@ -2,6 +2,8 @@ package com.minelittlepony.unicopia.item.toxin; import java.util.List; +import com.minelittlepony.unicopia.entity.effect.UEffects; + import net.minecraft.entity.effect.StatusEffect; import net.minecraft.entity.effect.StatusEffectInstance; import net.minecraft.entity.effect.StatusEffects;