Package net.minecraftforge.event
Class RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>
java.lang.Object
net.minecraftforge.event.RegistryEvent.MissingMappings.Mapping<T>
- All Implemented Interfaces:
- Comparable<RegistryEvent.MissingMappings.Mapping<T>>
- Enclosing class:
- RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>
public static class RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>
extends Object
implements Comparable<RegistryEvent.MissingMappings.Mapping<T>>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionMapping(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id)
- 
Method Summary
- 
Field Details- 
registry
- 
pool
- 
key
- 
idpublic final int id
- 
action
- 
target
 
- 
- 
Constructor Details- 
Mapping
 
- 
- 
Method Details- 
ignorepublic void ignore()Ignore the missing item.
- 
warnpublic void warn()Warn the user about the missing item.
- 
failpublic void fail()Prevent the world from loading due to the missing item.
- 
remapRemap the missing entry to the specified object. Use this if you have renamed an entry. Existing references using the old name will point to the new one.- Parameters:
- target- Entry to remap to.
 
- 
getAction
- 
getTarget
- 
compareTo- Specified by:
- compareToin interface- Comparable<T extends IForgeRegistryEntry<T>>
 
 
-