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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
BlockCallbacksprivate BlockCallbacks()
 
- 
- 
Method Details- 
onAddpublic void onAdd(IForgeRegistryInternal<Block> owner, RegistryManager stage, int id, ResourceKey<Block> key, Block block, @Nullable @Nullable Block oldBlock) - Specified by:
- onAddin interface- IForgeRegistry.AddCallback<Block>
 
- 
onClear- Specified by:
- onClearin interface- IForgeRegistry.ClearCallback<Block>
 
- 
onCreate- Specified by:
- onCreatein interface- IForgeRegistry.CreateCallback<Block>
 
- 
onBake- Specified by:
- onBakein interface- IForgeRegistry.BakeCallback<Block>
 
 
-