类 GameData.PoiTypeCallbacks
java.lang.Object
net.minecraftforge.registries.GameData.PoiTypeCallbacks
- 所有已实现的接口:
IForgeRegistry.AddCallback<PoiType>
,IForgeRegistry.ClearCallback<PoiType>
,IForgeRegistry.CreateCallback<PoiType>
- 封闭类:
GameData
public static class GameData.PoiTypeCallbacks
extends Object
implements IForgeRegistry.AddCallback<PoiType>, IForgeRegistry.ClearCallback<PoiType>, IForgeRegistry.CreateCallback<PoiType>
-
字段概要
字段修饰符和类型字段说明(专用程序包) static final GameData.PoiTypeCallbacks
private static final IForgeRegistry.SlaveKey
<Map<BlockState, Holder<PoiType>>> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Map
<BlockState, Holder<PoiType>> void
onAdd
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage, int id, ResourceKey<PoiType> key, PoiType obj, @Nullable PoiType oldObj) void
onClear
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage) void
onCreate
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage)
-
字段详细资料
-
INSTANCE
-
STATE_TO_POI
-
-
构造器详细资料
-
PoiTypeCallbacks
public PoiTypeCallbacks()
-
-
方法详细资料
-
getStateToPoi
-
onAdd
public void onAdd(IForgeRegistryInternal<PoiType> owner, RegistryManager stage, int id, ResourceKey<PoiType> key, PoiType obj, @Nullable @Nullable PoiType oldObj) - 指定者:
onAdd
在接口中IForgeRegistry.AddCallback<PoiType>
-
onClear
- 指定者:
onClear
在接口中IForgeRegistry.ClearCallback<PoiType>
-
onCreate
- 指定者:
onCreate
在接口中IForgeRegistry.CreateCallback<PoiType>
-