diff --git a/extractor/src/main/java/rs/valence/extractor/DummyPlayerEntity.java b/extractor/src/main/java/rs/valence/extractor/DummyPlayerEntity.java index ef27b94..9e8a497 100644 --- a/extractor/src/main/java/rs/valence/extractor/DummyPlayerEntity.java +++ b/extractor/src/main/java/rs/valence/extractor/DummyPlayerEntity.java @@ -1,7 +1,6 @@ package rs.valence.extractor; import com.mojang.authlib.GameProfile; -import java.lang.reflect.Field; import net.minecraft.entity.Entity; import net.minecraft.entity.data.DataTracker; import net.minecraft.entity.player.PlayerEntity; diff --git a/extractor/src/main/java/rs/valence/extractor/DummyWorld.java b/extractor/src/main/java/rs/valence/extractor/DummyWorld.java index a803132..a33bc35 100644 --- a/extractor/src/main/java/rs/valence/extractor/DummyWorld.java +++ b/extractor/src/main/java/rs/valence/extractor/DummyWorld.java @@ -31,7 +31,6 @@ import net.minecraft.world.entity.EntityLookup; import net.minecraft.world.event.GameEvent; import net.minecraft.world.tick.QueryableTickScheduler; import org.jetbrains.annotations.Nullable; -import java.lang.reflect.Field; import java.util.List; import java.util.function.Supplier; diff --git a/extractor/src/main/java/rs/valence/extractor/Main.java b/extractor/src/main/java/rs/valence/extractor/Main.java index 389b8c0..b314331 100644 --- a/extractor/src/main/java/rs/valence/extractor/Main.java +++ b/extractor/src/main/java/rs/valence/extractor/Main.java @@ -1,12 +1,10 @@ package rs.valence.extractor; -import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonElement; import io.netty.handler.codec.EncoderException; import net.fabricmc.api.ModInitializer; import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents; -import net.minecraft.nbt.NbtCompound; import net.minecraft.nbt.NbtIo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -15,7 +13,6 @@ import sun.reflect.ReflectionFactory; import java.io.FileWriter; import java.io.IOException; -import java.lang.reflect.Constructor; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Blocks.java b/extractor/src/main/java/rs/valence/extractor/extractors/Blocks.java index 75c7541..e22c4dd 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/Blocks.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Blocks.java @@ -4,13 +4,8 @@ import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import net.minecraft.registry.Registries; -import net.minecraft.state.property.Property; -import net.minecraft.block.Block; -import net.minecraft.block.BlockState; -import net.minecraft.block.entity.BlockEntityType; import net.minecraft.item.VerticallyAttachableBlockItem; import net.minecraft.util.math.BlockPos; -import net.minecraft.util.math.Box; import net.minecraft.world.EmptyBlockView; import rs.valence.extractor.Main; import rs.valence.extractor.mixin.ExposeWallBlock; diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Enchants.java b/extractor/src/main/java/rs/valence/extractor/extractors/Enchants.java index 113b509..8bf9bdb 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/Enchants.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Enchants.java @@ -3,7 +3,6 @@ package rs.valence.extractor.extractors; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; -import net.minecraft.enchantment.Enchantment; import net.minecraft.registry.Registries; import rs.valence.extractor.Main; diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Entities.java b/extractor/src/main/java/rs/valence/extractor/extractors/Entities.java index 23544eb..b5697ca 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/Entities.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Entities.java @@ -8,7 +8,6 @@ import net.minecraft.entity.EntityPose; import net.minecraft.entity.EntityType; import net.minecraft.entity.data.DataTracker; import net.minecraft.entity.data.TrackedData; -import net.minecraft.entity.data.TrackedDataHandler; import net.minecraft.entity.data.TrackedDataHandlerRegistry; import net.minecraft.entity.passive.CatVariant; import net.minecraft.entity.passive.FrogVariant; @@ -18,9 +17,7 @@ import net.minecraft.particle.ParticleEffect; import net.minecraft.registry.Registries; import net.minecraft.registry.entry.RegistryEntry; import net.minecraft.text.Text; -import net.minecraft.util.Identifier; import net.minecraft.util.math.BlockPos; -import net.minecraft.util.math.Box; import net.minecraft.util.math.EulerAngle; import net.minecraft.util.math.GlobalPos; import net.minecraft.village.VillagerData; @@ -33,10 +30,8 @@ import rs.valence.extractor.DummyPlayerEntity; import rs.valence.extractor.DummyWorld; import rs.valence.extractor.Main; import rs.valence.extractor.Main.Pair; -import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.util.*; -import java.util.Map.Entry; public class Entities implements Main.Extractor { public Entities() { diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Items.java b/extractor/src/main/java/rs/valence/extractor/extractors/Items.java index cd79751..ed745ba 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/Items.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Items.java @@ -3,10 +3,6 @@ package rs.valence.extractor.extractors; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; -import com.mojang.datafixers.util.Pair; -import net.minecraft.entity.effect.StatusEffectInstance; -import net.minecraft.item.FoodComponent; -import net.minecraft.item.Item; import net.minecraft.registry.Registries; import rs.valence.extractor.Main; diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Misc.java b/extractor/src/main/java/rs/valence/extractor/extractors/Misc.java index e92b17d..371de45 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/Misc.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Misc.java @@ -4,22 +4,13 @@ import com.google.gson.JsonElement; import com.google.gson.JsonObject; import net.minecraft.entity.EntityPose; import net.minecraft.entity.EntityStatuses; -import net.minecraft.entity.EntityType; import net.minecraft.entity.data.TrackedDataHandler; import net.minecraft.entity.data.TrackedDataHandlerRegistry; -import net.minecraft.entity.decoration.painting.PaintingVariant; -import net.minecraft.entity.passive.CatVariant; -import net.minecraft.entity.passive.FrogVariant; import net.minecraft.entity.passive.SnifferEntity; -import net.minecraft.entity.passive.SnifferEntity.State; import net.minecraft.network.packet.s2c.play.EntityAnimationS2CPacket; -import net.minecraft.particle.ParticleType; import net.minecraft.registry.Registries; import net.minecraft.util.math.Direction; -import net.minecraft.village.VillagerProfession; -import net.minecraft.village.VillagerType; import rs.valence.extractor.Main; -import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.Locale; diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Packets.java b/extractor/src/main/java/rs/valence/extractor/extractors/Packets.java index 0e32f26..9f1ae64 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/Packets.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Packets.java @@ -3,7 +3,6 @@ package rs.valence.extractor.extractors; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; -import it.unimi.dsi.fastutil.ints.Int2ObjectMap; import net.minecraft.network.NetworkSide; import net.minecraft.network.NetworkState; import rs.valence.extractor.Main; diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Sounds.java b/extractor/src/main/java/rs/valence/extractor/extractors/Sounds.java index 0c78419..a204be7 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/Sounds.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Sounds.java @@ -4,7 +4,6 @@ import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import net.minecraft.registry.Registries; -import net.minecraft.sound.SoundEvent; import rs.valence.extractor.Main; public class Sounds implements Main.Extractor { diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Tags.java b/extractor/src/main/java/rs/valence/extractor/extractors/Tags.java index 80d0364..4852ac3 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/Tags.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Tags.java @@ -4,16 +4,9 @@ import com.mojang.datafixers.util.Pair; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; -import net.minecraft.entity.SpawnGroup; import net.minecraft.util.Identifier; -import net.minecraft.util.collection.Weighted; -import net.minecraft.registry.Registries; import net.minecraft.registry.Registry; import net.minecraft.registry.RegistryKey; -import net.minecraft.registry.RegistryKeys; -import net.minecraft.registry.RegistryWrapper; -import net.minecraft.registry.BuiltinRegistries; -import net.minecraft.registry.DynamicRegistryManager; import net.minecraft.server.MinecraftServer; import rs.valence.extractor.Main; import net.minecraft.registry.tag.TagKey; @@ -24,7 +17,6 @@ import net.minecraft.registry.entry.RegistryEntryList; import net.minecraft.registry.SerializableRegistries; import java.util.Map; -import java.util.Map.Entry; import java.util.HashMap; import java.util.stream.Collectors; diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/TranslationKeys.java b/extractor/src/main/java/rs/valence/extractor/extractors/TranslationKeys.java index 40ad6d7..a44ee34 100644 --- a/extractor/src/main/java/rs/valence/extractor/extractors/TranslationKeys.java +++ b/extractor/src/main/java/rs/valence/extractor/extractors/TranslationKeys.java @@ -8,7 +8,6 @@ import rs.valence.extractor.Main; import java.lang.reflect.Field; import java.util.Map; -import java.util.Map.Entry; public class TranslationKeys implements Main.Extractor {