diff --git a/src/main/java/gripe/_90/arseng/me/key/SourceKey.java b/src/main/java/gripe/_90/arseng/me/key/SourceKey.java index d513938..d4bf3a6 100644 --- a/src/main/java/gripe/_90/arseng/me/key/SourceKey.java +++ b/src/main/java/gripe/_90/arseng/me/key/SourceKey.java @@ -2,15 +2,11 @@ import java.util.List; -import com.hollingsworth.arsnouveau.client.particle.GlowParticleData; -import com.hollingsworth.arsnouveau.client.particle.ParticleColor; - import net.minecraft.core.BlockPos; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.network.chat.Component; import net.minecraft.resources.ResourceLocation; -import net.minecraft.server.level.ServerLevel; import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.Level; @@ -59,23 +55,6 @@ public void writeToPacket(FriendlyByteBuf data) {} @Override public void addDrops(long amount, List drops, Level level, BlockPos pos) { - if (!(level instanceof ServerLevel serverLevel)) { - return; - } - - for (var i = 0; i < Math.min((amount + 999) / 1000, 10); i++) { - var data = GlowParticleData.createData( - ParticleColor.defaultParticleColor(), (float) Math.random() / 3F, 0.8F, 2); - serverLevel.sendParticles( - data, - pos.getX() + 0.3 + Math.random() * 0.5, - pos.getY() + 0.6 + Math.random() * 0.25, - pos.getZ() + Math.random(), - 8, - 0.1, - 0.1, - 0.1, - 0.04); - } + // Source is voided } }