net.minecraft.client.resources.data.IMetadataSection Java Examples
The following examples show how to use
net.minecraft.client.resources.data.IMetadataSection.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ResourcePackHook.java From GregTech with GNU Lesser General Public License v3.0 | 5 votes |
@Override public <T extends IMetadataSection> T getPackMetadata(MetadataSerializer metadataSerializer, String metadataSectionName) throws IOException { if (metadataSectionName.equals("pack")) { return (T) new PackMetadataSection(new TextComponentString(getPackName()), 1); } return null; }
Example #2
Source File: MotionBlurResource.java From Hyperium with GNU Lesser General Public License v3.0 | 4 votes |
public IMetadataSection getMetadata(String metadata) { return null; }
Example #3
Source File: BufferedResourceWrapper.java From OpenModsLib with MIT License | 4 votes |
@Override public <T extends IMetadataSection> T getMetadata(String sectionName) { return resource.getMetadata(sectionName); }