mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31:30 +11:00
Disable biome extractor
Need to figure out what became of the biome registry in 1.19.3
This commit is contained in:
parent
e386c9e2c2
commit
623e88908d
File diff suppressed because it is too large
Load diff
|
@ -38,7 +38,6 @@ public class Main implements ModInitializer {
|
|||
LOGGER.info("Starting extractors...");
|
||||
|
||||
var extractors = new Extractor[]{
|
||||
new Biomes(),
|
||||
new Blocks(),
|
||||
new Enchants(),
|
||||
new Entities(),
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
package rs.valence.extractor.extractors;
|
||||
|
||||
// TODO: where is the biome registry in 1.19.3+?
|
||||
|
||||
/*
|
||||
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.util.registry.BuiltinRegistries;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.minecraft.registry.Registries;
|
||||
import net.minecraft.world.biome.BiomeParticleConfig;
|
||||
import rs.valence.extractor.Main;
|
||||
|
||||
|
@ -34,8 +36,6 @@ public class Biomes implements Main.Extractor {
|
|||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
var biomesJson = new JsonArray();
|
||||
|
||||
for (var biome : BuiltinRegistries.BIOME) {
|
||||
var biomeIdent = BuiltinRegistries.BIOME.getId(biome);
|
||||
assert biomeIdent != null;
|
||||
|
@ -126,3 +126,4 @@ public class Biomes implements Main.Extractor {
|
|||
return biomesJson;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
|
|
@ -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.item.ItemPlacementContext;
|
||||
import net.minecraft.registry.Registries;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.EmptyBlockView;
|
||||
|
|
Loading…
Reference in a new issue