Package net.minecraftforge.registries
Class GameData.BlockCallbacks
java.lang.Object
net.minecraftforge.registries.GameData.BlockCallbacks
- All Implemented Interfaces:
 IForgeRegistry.AddCallback<Block>,IForgeRegistry.BakeCallback<Block>,IForgeRegistry.ClearCallback<Block>,IForgeRegistry.CreateCallback<Block>
- Enclosing class:
 - GameData
 
private static class GameData.BlockCallbacks
extends Object
implements IForgeRegistry.AddCallback<Block>, IForgeRegistry.ClearCallback<Block>, IForgeRegistry.BakeCallback<Block>, IForgeRegistry.CreateCallback<Block>
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidonAdd(IForgeRegistryInternal<Block> owner, RegistryManager stage, int id, ResourceKey<Block> key, Block block, @Nullable Block oldBlock) voidonBake(IForgeRegistryInternal<Block> owner, RegistryManager stage) voidonClear(IForgeRegistryInternal<Block> owner, RegistryManager stage) voidonCreate(IForgeRegistryInternal<Block> owner, RegistryManager stage)  
- 
Field Details
- 
INSTANCE
 
 - 
 - 
Constructor Details
- 
BlockCallbacks
private BlockCallbacks() 
 - 
 - 
Method Details
- 
onAdd
public void onAdd(IForgeRegistryInternal<Block> owner, RegistryManager stage, int id, ResourceKey<Block> key, Block block, @Nullable @Nullable Block oldBlock) - Specified by:
 onAddin interfaceIForgeRegistry.AddCallback<Block>
 - 
onClear
- Specified by:
 onClearin interfaceIForgeRegistry.ClearCallback<Block>
 - 
onCreate
- Specified by:
 onCreatein interfaceIForgeRegistry.CreateCallback<Block>
 - 
onBake
- Specified by:
 onBakein interfaceIForgeRegistry.BakeCallback<Block>
 
 -