Package net.minecraftforge.debug.world
Class BiomeModifierTest
java.lang.Object
net.minecraftforge.debug.world.BiomeModifierTest
This tests the following features and requirements of biome modifier jsons::
- Biome modifier jsons are created via datagen.
- Biome modifiers modify all four modifiable fields in biomes, to ensure patches and coremods apply correctly (generation, spawns, climate, and client effects).
- Biome modifiers use biome tags to determine which biomes to modify.
- Biome modifiers add a json feature to modified biomes, to ensure json features are usable in biome modifiers.
If the biome modifiers are applied correctly, then badlands biomes should generate large basalt columns, spawn magma cubes, have red-colored water, and be snowy. Additionally, biomes in the is_forest tag are missing oak trees, pine trees, and skeletons.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceKey<BiomeModifier>
private static final ResourceKey<BiomeModifier>
private static final DeferredRegister<com.mojang.serialization.Codec<? extends BiomeModifier>>
private static final RegistrySetBuilder
private static final boolean
private static final ResourceKey<PlacedFeature>
static final String
private static final ResourceKey<BiomeModifier>
private static final RegistryObject<com.mojang.serialization.Codec<BiomeModifierTest.TestModifier>>
private static final ResourceKey<BiomeModifier>
private static final ResourceKey<BiomeModifier>
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MODID
- See Also:
-
ENABLED
private static final boolean ENABLED- See Also:
-
BIOME_MODIFIER_SERIALIZERS
private static final DeferredRegister<com.mojang.serialization.Codec<? extends BiomeModifier>> BIOME_MODIFIER_SERIALIZERS -
MODIFY_BIOMES
private static final RegistryObject<com.mojang.serialization.Codec<BiomeModifierTest.TestModifier>> MODIFY_BIOMES -
LARGE_BASALT_COLUMNS
-
ADD_BASALT_MODIFIER
-
ADD_MAGMA_CUBES_MODIFIER
-
MODIFY_BADLANDS_MODIFIER
-
REMOVE_FOREST_TREES_MODIFIER
-
REMOVE_FOREST_SKELETONS_MODIFIER
-
BUILDER
-
-
Constructor Details
-
BiomeModifierTest
public BiomeModifierTest()
-
-
Method Details
-
onGatherData
-