public abstract class StorageFormatProviderBase extends java.lang.Object implements net.minecraftforge.registries.IForgeRegistryEntry<StorageFormatProviderBase>
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.ResourceLocation |
DEFAULT |
static net.minecraftforge.registries.IForgeRegistry<StorageFormatProviderBase> |
REGISTRY |
net.minecraft.util.ResourceLocation |
registryName |
java.lang.String |
unlocalizedName |
| Constructor and Description |
|---|
StorageFormatProviderBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeDefault() |
static net.minecraft.util.ResourceLocation |
defaultStorageFormatProviderName(java.lang.String fallback) |
net.minecraft.util.ResourceLocation |
getRegistryName() |
java.lang.Class<StorageFormatProviderBase> |
getRegistryType() |
java.lang.String |
getUnlocalizedName() |
static void |
init() |
abstract ICubicStorage |
provideStorage(net.minecraft.world.World world,
java.nio.file.Path path) |
StorageFormatProviderBase |
setRegistryName(net.minecraft.util.ResourceLocation registryNameIn) |
StorageFormatProviderBase |
setUnlocalizedName(java.lang.String nameIn) |
public static final net.minecraft.util.ResourceLocation DEFAULT
public static net.minecraftforge.registries.IForgeRegistry<StorageFormatProviderBase> REGISTRY
public net.minecraft.util.ResourceLocation registryName
public java.lang.String unlocalizedName
public static void init()
public static net.minecraft.util.ResourceLocation defaultStorageFormatProviderName(java.lang.String fallback)
public net.minecraft.util.ResourceLocation getRegistryName()
getRegistryName in interface net.minecraftforge.registries.IForgeRegistryEntry<StorageFormatProviderBase>public StorageFormatProviderBase setRegistryName(net.minecraft.util.ResourceLocation registryNameIn)
setRegistryName in interface net.minecraftforge.registries.IForgeRegistryEntry<StorageFormatProviderBase>public java.lang.Class<StorageFormatProviderBase> getRegistryType()
getRegistryType in interface net.minecraftforge.registries.IForgeRegistryEntry<StorageFormatProviderBase>public java.lang.String getUnlocalizedName()
public StorageFormatProviderBase setUnlocalizedName(java.lang.String nameIn)
public abstract ICubicStorage provideStorage(net.minecraft.world.World world, java.nio.file.Path path) throws java.io.IOException
java.io.IOExceptionpublic boolean canBeDefault()