Initial port to 1.16.2
This commit is contained in:
@@ -49,6 +49,10 @@ public class DimensionTypeMixin {
|
|||||||
SpatialStorageDimensionIds.DIMENSION_TYPE_ID.func_240901_a_(), dimensionType);
|
SpatialStorageDimensionIds.DIMENSION_TYPE_ID.func_240901_a_(), dimensionType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Insert our custom dimension into the initial registry. <em>This is what will
|
||||||
|
* ultimately lead to the creation of a new World.</em>
|
||||||
|
*/
|
||||||
@Inject(method = "func_242718_a", at = @At("RETURN"))
|
@Inject(method = "func_242718_a", at = @At("RETURN"))
|
||||||
private static void buildDimensionRegistry(Registry<DimensionType> dimensionTypes, Registry<Biome> biomes,
|
private static void buildDimensionRegistry(Registry<DimensionType> dimensionTypes, Registry<Biome> biomes,
|
||||||
Registry<DimensionSettings> dimensionSettings, long seed,
|
Registry<DimensionSettings> dimensionSettings, long seed,
|
||||||
|
|||||||
@@ -40,8 +40,7 @@ public final class SpatialStorageDimensionIds {
|
|||||||
/**
|
/**
|
||||||
* ID of the {@link Dimension} used for the spatial storage dimension.
|
* ID of the {@link Dimension} used for the spatial storage dimension.
|
||||||
* <p>
|
* <p>
|
||||||
* This is defined in
|
* This is defined in {@link appeng.mixins.spatial.DimensionTypeMixin}.
|
||||||
* <code>data/minecraft/dimension/appliedenergistics2/spatial_storage.json</code>
|
|
||||||
*/
|
*/
|
||||||
public static final RegistryKey<Dimension> DIMENSION_ID = RegistryKey.func_240903_a_(Registry.DIMENSION_KEY,
|
public static final RegistryKey<Dimension> DIMENSION_ID = RegistryKey.func_240903_a_(Registry.DIMENSION_KEY,
|
||||||
AppEng.makeId("spatial_storage"));
|
AppEng.makeId("spatial_storage"));
|
||||||
|
|||||||
Reference in New Issue
Block a user