Package net.minecraftforge.registries
Class GameData.PointOfInterestTypeCallbacks
java.lang.Object
net.minecraftforge.registries.GameData.PointOfInterestTypeCallbacks
- All Implemented Interfaces:
IForgeRegistry.AddCallback<PoiType>
,IForgeRegistry.ClearCallback<PoiType>
,IForgeRegistry.CreateCallback<PoiType>
- Enclosing class:
- GameData
private static class GameData.PointOfInterestTypeCallbacks
extends Object
implements IForgeRegistry.AddCallback<PoiType>, IForgeRegistry.ClearCallback<PoiType>, IForgeRegistry.CreateCallback<PoiType>
-
Field Summary
Modifier and TypeFieldDescription(package private) static final GameData.PointOfInterestTypeCallbacks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAdd
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage, int id, PoiType obj, PoiType oldObj) void
onClear
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage) void
onCreate
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PointOfInterestTypeCallbacks
private PointOfInterestTypeCallbacks()
-
-
Method Details
-
onAdd
public void onAdd(IForgeRegistryInternal<PoiType> owner, RegistryManager stage, int id, PoiType obj, @Nullable PoiType oldObj) - Specified by:
onAdd
in interfaceIForgeRegistry.AddCallback<PoiType>
-
onClear
- Specified by:
onClear
in interfaceIForgeRegistry.ClearCallback<PoiType>
-
onCreate
- Specified by:
onCreate
in interfaceIForgeRegistry.CreateCallback<PoiType>
-