public class UModDimension extends net.minecraftforge.common.ModDimension implements IURegistryType
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
Constructor and Description |
---|
UModDimension(java.lang.String name,
java.util.function.BiFunction<net.minecraft.world.World,net.minecraft.world.dimension.DimensionType,? extends net.minecraft.world.dimension.Dimension> function) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEntryName()
Must return a unique name per
IForgeRegistryEntry |
java.util.function.BiFunction<net.minecraft.world.World,net.minecraft.world.dimension.DimensionType,? extends net.minecraft.world.dimension.Dimension> |
getFactory() |
getMagnifier, read, withFactory, write
public UModDimension(java.lang.String name, java.util.function.BiFunction<net.minecraft.world.World,net.minecraft.world.dimension.DimensionType,? extends net.minecraft.world.dimension.Dimension> function)
public java.lang.String getEntryName()
IURegistryType
IForgeRegistryEntry
getEntryName
in interface IURegistryType
public java.util.function.BiFunction<net.minecraft.world.World,net.minecraft.world.dimension.DimensionType,? extends net.minecraft.world.dimension.Dimension> getFactory()
getFactory
in class net.minecraftforge.common.ModDimension