mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31:30 +11:00
Use valence.rs domain in extractor package
This commit is contained in:
parent
1fcc5bd527
commit
886d036b97
|
@ -1,4 +1,4 @@
|
||||||
package dev._00a.valence_extractor;
|
package rs.valence.extractor;
|
||||||
|
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package dev._00a.valence_extractor;
|
package rs.valence.extractor;
|
||||||
|
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
|
@ -1,4 +1,4 @@
|
||||||
package dev._00a.valence_extractor;
|
package rs.valence.extractor;
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
|
@ -1,11 +1,11 @@
|
||||||
package dev._00a.valence_extractor;
|
package rs.valence.extractor;
|
||||||
|
|
||||||
import com.google.gson.GsonBuilder;
|
import com.google.gson.GsonBuilder;
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import dev._00a.valence_extractor.extractors.*;
|
|
||||||
import net.fabricmc.api.ModInitializer;
|
import net.fabricmc.api.ModInitializer;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import rs.valence.extractor.extractors.*;
|
||||||
import sun.reflect.ReflectionFactory;
|
import sun.reflect.ReflectionFactory;
|
||||||
|
|
||||||
import java.io.FileWriter;
|
import java.io.FileWriter;
|
||||||
|
@ -36,7 +36,7 @@ public class Main implements ModInitializer {
|
||||||
@Override
|
@Override
|
||||||
public void onInitialize() {
|
public void onInitialize() {
|
||||||
LOGGER.info("Starting extractors...");
|
LOGGER.info("Starting extractors...");
|
||||||
|
|
||||||
var extractors = new Extractor[]{new Blocks(), new Entities(), new EntityData(), new Packets(), new Items(), new Enchants()};
|
var extractors = new Extractor[]{new Blocks(), new Entities(), new EntityData(), new Packets(), new Items(), new Enchants()};
|
||||||
|
|
||||||
Path outputDirectory;
|
Path outputDirectory;
|
|
@ -1,12 +1,12 @@
|
||||||
package dev._00a.valence_extractor.extractors;
|
package rs.valence.extractor.extractors;
|
||||||
|
|
||||||
import com.google.gson.JsonArray;
|
import com.google.gson.JsonArray;
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
import dev._00a.valence_extractor.Main;
|
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.util.registry.Registry;
|
import net.minecraft.util.registry.Registry;
|
||||||
import net.minecraft.world.EmptyBlockView;
|
import net.minecraft.world.EmptyBlockView;
|
||||||
|
import rs.valence.extractor.Main;
|
||||||
|
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
|
@ -1,10 +1,10 @@
|
||||||
package dev._00a.valence_extractor.extractors;
|
package rs.valence.extractor.extractors;
|
||||||
|
|
||||||
import com.google.gson.JsonArray;
|
import com.google.gson.JsonArray;
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
import dev._00a.valence_extractor.Main;
|
|
||||||
import net.minecraft.util.registry.Registry;
|
import net.minecraft.util.registry.Registry;
|
||||||
|
import rs.valence.extractor.Main;
|
||||||
|
|
||||||
public class Enchants implements Main.Extractor {
|
public class Enchants implements Main.Extractor {
|
||||||
public Enchants() {
|
public Enchants() {
|
|
@ -1,11 +1,6 @@
|
||||||
package dev._00a.valence_extractor.extractors;
|
package rs.valence.extractor.extractors;
|
||||||
|
|
||||||
import com.google.gson.*;
|
import com.google.gson.*;
|
||||||
import dev._00a.valence_extractor.ClassComparator;
|
|
||||||
import dev._00a.valence_extractor.DummyPlayerEntity;
|
|
||||||
import dev._00a.valence_extractor.DummyWorld;
|
|
||||||
import dev._00a.valence_extractor.Main;
|
|
||||||
import dev._00a.valence_extractor.Main.Pair;
|
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.entity.EntityPose;
|
import net.minecraft.entity.EntityPose;
|
||||||
import net.minecraft.entity.EntityType;
|
import net.minecraft.entity.EntityType;
|
||||||
|
@ -24,6 +19,11 @@ import net.minecraft.util.registry.Registry;
|
||||||
import net.minecraft.util.registry.RegistryEntry;
|
import net.minecraft.util.registry.RegistryEntry;
|
||||||
import net.minecraft.village.VillagerData;
|
import net.minecraft.village.VillagerData;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
import rs.valence.extractor.ClassComparator;
|
||||||
|
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.ParameterizedType;
|
import java.lang.reflect.ParameterizedType;
|
||||||
import java.util.*;
|
import java.util.*;
|
|
@ -1,13 +1,13 @@
|
||||||
package dev._00a.valence_extractor.extractors;
|
package rs.valence.extractor.extractors;
|
||||||
|
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
import dev._00a.valence_extractor.Main;
|
|
||||||
import net.minecraft.entity.EntityPose;
|
import net.minecraft.entity.EntityPose;
|
||||||
import net.minecraft.entity.EntityStatuses;
|
import net.minecraft.entity.EntityStatuses;
|
||||||
import net.minecraft.network.packet.s2c.play.EntityAnimationS2CPacket;
|
import net.minecraft.network.packet.s2c.play.EntityAnimationS2CPacket;
|
||||||
import net.minecraft.util.math.Direction;
|
import net.minecraft.util.math.Direction;
|
||||||
import net.minecraft.util.registry.Registry;
|
import net.minecraft.util.registry.Registry;
|
||||||
|
import rs.valence.extractor.Main;
|
||||||
|
|
||||||
import java.lang.reflect.Modifier;
|
import java.lang.reflect.Modifier;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
|
@ -1,10 +1,10 @@
|
||||||
package dev._00a.valence_extractor.extractors;
|
package rs.valence.extractor.extractors;
|
||||||
|
|
||||||
import com.google.gson.JsonArray;
|
import com.google.gson.JsonArray;
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
import dev._00a.valence_extractor.Main;
|
|
||||||
import net.minecraft.util.registry.Registry;
|
import net.minecraft.util.registry.Registry;
|
||||||
|
import rs.valence.extractor.Main;
|
||||||
|
|
||||||
public class Items implements Main.Extractor {
|
public class Items implements Main.Extractor {
|
||||||
public Items() {
|
public Items() {
|
|
@ -1,11 +1,11 @@
|
||||||
package dev._00a.valence_extractor.extractors;
|
package rs.valence.extractor.extractors;
|
||||||
|
|
||||||
import com.google.gson.JsonArray;
|
import com.google.gson.JsonArray;
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
import dev._00a.valence_extractor.Main;
|
|
||||||
import net.minecraft.network.NetworkSide;
|
import net.minecraft.network.NetworkSide;
|
||||||
import net.minecraft.network.NetworkState;
|
import net.minecraft.network.NetworkState;
|
||||||
|
import rs.valence.extractor.Main;
|
||||||
|
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
|
@ -8,13 +8,13 @@
|
||||||
"Valence Project Authors"
|
"Valence Project Authors"
|
||||||
],
|
],
|
||||||
"contact": {
|
"contact": {
|
||||||
"homepage": "https://github.com/rj00a/valence",
|
"homepage": "https://github.com/valence-rs/valence",
|
||||||
"sources": "https://github.com/rj00a/valence"
|
"sources": "https://github.com/valence-rs/valence"
|
||||||
},
|
},
|
||||||
"environment": "*",
|
"environment": "*",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"main": [
|
"main": [
|
||||||
"dev._00a.valence_extractor.Main"
|
"rs.valence.extractor.Main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"mixins": [],
|
"mixins": [],
|
||||||
|
|
Loading…
Reference in a new issue