From 723b6be99be380c1f1cddbd9e0584e889551fc5c Mon Sep 17 00:00:00 2001 From: Maxx <53229958+MBatt1@users.noreply.github.com> Date: Wed, 1 May 2024 10:49:37 -0500 Subject: [PATCH] checkstyle --- .../paradiselost/entities/hostile/EnvoyEntity.java | 1 - .../id/paradiselost/mixin/item/PotionItemMixin.java | 13 +------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/main/java/net/id/paradiselost/entities/hostile/EnvoyEntity.java b/src/main/java/net/id/paradiselost/entities/hostile/EnvoyEntity.java index de9eb0cb6..6356e3232 100644 --- a/src/main/java/net/id/paradiselost/entities/hostile/EnvoyEntity.java +++ b/src/main/java/net/id/paradiselost/entities/hostile/EnvoyEntity.java @@ -10,7 +10,6 @@ import net.minecraft.entity.data.TrackedDataHandlerRegistry; import net.minecraft.entity.effect.StatusEffectInstance; import net.minecraft.entity.effect.StatusEffects; -import net.minecraft.entity.mob.EndermanEntity; import net.minecraft.entity.mob.SkeletonEntity; import net.minecraft.nbt.NbtCompound; import net.minecraft.particle.ParticleTypes; diff --git a/src/main/java/net/id/paradiselost/mixin/item/PotionItemMixin.java b/src/main/java/net/id/paradiselost/mixin/item/PotionItemMixin.java index 3d9605340..949e0c24a 100644 --- a/src/main/java/net/id/paradiselost/mixin/item/PotionItemMixin.java +++ b/src/main/java/net/id/paradiselost/mixin/item/PotionItemMixin.java @@ -1,18 +1,9 @@ package net.id.paradiselost.mixin.item; import net.id.paradiselost.blocks.ParadiseLostBlocks; -import net.id.paradiselost.tag.ParadiseLostBlockTags; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; -import net.minecraft.block.CauldronBlock; -import net.minecraft.block.CryingObsidianBlock; -import net.minecraft.block.RedstoneOreBlock; -import net.minecraft.client.particle.FireworksSparkParticle; -import net.minecraft.entity.Entity; import net.minecraft.entity.player.PlayerEntity; -import net.minecraft.entity.projectile.FireworkRocketEntity; -import net.minecraft.entity.projectile.thrown.PotionEntity; -import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemUsage; import net.minecraft.item.ItemUsageContext; @@ -23,12 +14,10 @@ import net.minecraft.potion.Potions; import net.minecraft.sound.SoundCategory; import net.minecraft.sound.SoundEvents; -import net.minecraft.stat.Stats; import net.minecraft.util.ActionResult; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.random.Random; import net.minecraft.world.World; -import net.minecraft.world.event.GameEvent; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; @@ -53,7 +42,7 @@ public void useOnBlock(ItemUsageContext context, CallbackInfoReturnable