| Package | Description | 
|---|---|
| net.minecraft.world.dimension | |
| net.minecraftforge.common | |
| net.minecraftforge.debug.world | |
| net.minecraftforge.registries | 
| Modifier and Type | Field and Description | 
|---|---|
private ModDimension | 
DimensionType.modType  | 
| Modifier and Type | Method and Description | 
|---|---|
ModDimension | 
DimensionType.getModType()  | 
| Constructor and Description | 
|---|
DimensionType(int p_i225789_1_,
             java.lang.String p_i225789_2_,
             java.lang.String p_i225789_3_,
             java.util.function.BiFunction<World,DimensionType,? extends Dimension> p_i225789_4_,
             boolean p_i225789_5_,
             IBiomeMagnifier p_i225789_6_,
             ModDimension modType,
             PacketBuffer data)
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ModDimension | 
ModDimension.withFactory(java.util.function.BiFunction<World,DimensionType,? extends Dimension> factory)
Convenience method for generating a ModDimension with a specific factory but no extra
 data handling behaviour. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static DimensionType | 
DimensionManager.registerDimension(ResourceLocation name,
                 ModDimension type,
                 PacketBuffer data,
                 boolean hasSkyLight)
Registers a real unique dimension, Should be called on server init, or when the dimension is created. 
 | 
static DimensionType | 
DimensionManager.registerDimensionInternal(int id,
                         ResourceLocation name,
                         ModDimension type,
                         PacketBuffer data,
                         boolean hasSkyLight)  | 
static DimensionType | 
DimensionManager.registerOrGetDimension(ResourceLocation name,
                      ModDimension type,
                      PacketBuffer data,
                      boolean hasSkyLight)
Register or get the existing dimension type for the given dimtype name. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
private static DeferredRegister<ModDimension> | 
MarkDimensionForDeletionTest.DIMENSIONS  | 
private static RegistryObject<ModDimension> | 
MarkDimensionForDeletionTest.DYNAMIC_DIMENSION_TYPE  | 
| Modifier and Type | Field and Description | 
|---|---|
static IForgeRegistry<ModDimension> | 
ForgeRegistries.MOD_DIMENSIONS  |