Package net.minecraftforge.registries
Class GameData.PoiTypeCallbacks
java.lang.Object
net.minecraftforge.registries.GameData.PoiTypeCallbacks
- All Implemented Interfaces:
IForgeRegistry.AddCallback<PoiType>
,IForgeRegistry.ClearCallback<PoiType>
,IForgeRegistry.CreateCallback<PoiType>
- Enclosing class:
GameData
public static class GameData.PoiTypeCallbacks
extends Object
implements IForgeRegistry.AddCallback<PoiType>, IForgeRegistry.ClearCallback<PoiType>, IForgeRegistry.CreateCallback<PoiType>
-
Field Summary
Modifier and TypeFieldDescription(package private) static final GameData.PoiTypeCallbacks
private static final IForgeRegistry.SlaveKey
<Map<BlockState, Holder<PoiType>>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Field Details
-
INSTANCE
-
STATE_TO_POI
-
-
Constructor Details
-
PoiTypeCallbacks
public PoiTypeCallbacks()
-
-
Method Details
-
getStateToPoi
-
onAdd
public void onAdd(IForgeRegistryInternal<PoiType> owner, RegistryManager stage, int id, ResourceKey<PoiType> key, PoiType obj, @Nullable @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>
-