public static class RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>
extends java.lang.Object
| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| int | id | 
| ResourceLocation | key | 
| IForgeRegistry<T> | registry | 
| コンストラクタと説明 | 
|---|
| Mapping(IForgeRegistry<T> registry,
       IForgeRegistry<T> pool,
       ResourceLocation key,
       int id) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | fail()Prevent the world from loading due to the missing item. | 
| RegistryEvent.MissingMappings.Action | getAction() | 
| T | getTarget() | 
| void | ignore()Ignore the missing item. | 
| void | remap(T target)Remap the missing entry to the specified object. | 
| void | warn()Warn the user about the missing item. | 
public final IForgeRegistry<T extends IForgeRegistryEntry<T>> registry
public final ResourceLocation key
public final int id
public Mapping(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id)
public void ignore()
public void warn()
public void fail()
public void remap(T target)
target - Entry to remap to.public RegistryEvent.MissingMappings.Action getAction()
public T getTarget()