类 GameData.PointOfInterestTypeCallbacks
java.lang.Object
net.minecraftforge.registries.GameData.PointOfInterestTypeCallbacks
- 所有已实现的接口:
IForgeRegistry.AddCallback<PoiType>
,IForgeRegistry.ClearCallback<PoiType>
,IForgeRegistry.CreateCallback<PoiType>
- 封闭类:
- GameData
private static class GameData.PointOfInterestTypeCallbacks
extends Object
implements IForgeRegistry.AddCallback<PoiType>, IForgeRegistry.ClearCallback<PoiType>, IForgeRegistry.CreateCallback<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
-
-
构造器详细资料
-
PointOfInterestTypeCallbacks
private PointOfInterestTypeCallbacks()
-
-
方法详细资料
-
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>
-