Package net.minecraftforge.debug.world
Class DimensionSettingsTest
java.lang.Object
net.minecraftforge.debug.world.DimensionSettingsTest
To see the effects of this test mod you must create a new world then teleport to the custom
dimension (use: /execute in dimension_settings_test:test_overworld run tp @s ...).
You should observe that the only structure that generates in the dimension is the ruined portal
and it should do so very frequently.
Note: This mod adds a data asset located at:
/data/dimension_settings_test/dimension/test_overworld.json
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Logger
static final String
static final ResourceLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addStructure
(FMLLoadCompleteEvent event) Demonstrates how a mod could handle adding their structure settings to a specific dimension.private static DimensionSettings
Create a DimensionSettings instance copying all but the structure settings from overworld.private void
Demonstrates how a mod can register custom DimensionSettings which can be referenced from within a datapack dimension config whilst being discoverable for other mods to add to and remove structures etc from.
-
Field Details
-
MODID
- See Also:
-
TEST_OVERWORLD
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
DimensionSettingsTest
public DimensionSettingsTest()
-
-
Method Details
-
registerSettings
Demonstrates how a mod can register custom DimensionSettings which can be referenced from within a datapack dimension config whilst being discoverable for other mods to add to and remove structures etc from. -
addStructure
Demonstrates how a mod could handle adding their structure settings to a specific dimension. -
createDimensionSettings
Create a DimensionSettings instance copying all but the structure settings from overworld.
-