public interface IResourceType
extends net.minecraft.util.IStringSerializable
| Modifier and Type | Method and Description |
|---|---|
IFactory<net.minecraftforge.registries.ForgeRegistryEntry> |
getInstanceFactory(ResourceMaterial material,
ResourceTypeProperties properties) |
java.lang.String |
getTag() |
default net.minecraft.util.text.ITextComponent |
getTextComponent(net.minecraft.util.text.ITextComponent material) |
java.lang.String getTag()
IFactory<net.minecraftforge.registries.ForgeRegistryEntry> getInstanceFactory(ResourceMaterial material, @Nullable ResourceTypeProperties properties)
default net.minecraft.util.text.ITextComponent getTextComponent(net.minecraft.util.text.ITextComponent material)