类 MissingMappingsEvent.Mapping<T>
java.lang.Object
net.minecraftforge.registries.MissingMappingsEvent.Mapping<T>
- 所有已实现的接口:
Comparable<MissingMappingsEvent.Mapping<T>>
- 封闭类:
MissingMappingsEvent
public static class MissingMappingsEvent.Mapping<T>
extends Object
implements Comparable<MissingMappingsEvent.Mapping<T>>
-
字段概要
字段修饰符和类型字段说明(专用程序包) MissingMappingsEvent.Action
(专用程序包) final int
(专用程序包) final ResourceLocation
private final IForgeRegistry
<T> private final IForgeRegistry
<T> (专用程序包) T
-
构造器概要
构造器 -
方法概要
-
字段详细资料
-
registry
-
pool
-
key
-
id
final int id -
action
MissingMappingsEvent.Action action -
target
T target
-
-
构造器详细资料
-
Mapping
-
-
方法详细资料
-
ignore
public void ignore()Ignore the missing item. -
warn
public void warn()Warn the user about the missing item. -
fail
public void fail()Prevent the world from loading due to the missing item. -
remap
Remap 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.
- 参数:
target
- Entry to remap to.
-
getRegistry
-
getKey
-
getId
public int getId() -
compareTo
- 指定者:
compareTo
在接口中Comparable<T>
-