Interface IResourceType
- All Superinterfaces:
net.minecraft.util.StringRepresentable
- All Known Implementing Classes:
ResourceType
public interface IResourceType
extends net.minecraft.util.StringRepresentable
-
Method Summary
Modifier and TypeMethodDescriptionIFactory<net.minecraftforge.registries.ForgeRegistryEntry>getInstanceFactory(ResourceMaterial material, ResourceTypeProperties properties)getTag()default net.minecraft.network.chat.ComponentgetTextComponent(net.minecraft.network.chat.Component material)Methods inherited from interface net.minecraft.util.StringRepresentable
getSerializedName
-
Method Details
-
getTag
String getTag() -
getInstanceFactory
IFactory<net.minecraftforge.registries.ForgeRegistryEntry> getInstanceFactory(ResourceMaterial material, @Nullable ResourceTypeProperties properties) -
getTextComponent
default net.minecraft.network.chat.Component getTextComponent(net.minecraft.network.chat.Component material)
-