public class ChunkCallbackRegistry<C extends ChunkCallbackRegistry.IChunkCallback<V>,P extends ChunkCallbackRegistry.IChunkCallbackPredicate,V> extends CallbackRegistry<C,P,V>
ChunkCallbackRegistry handles IChunkCallbacks.IChunkCallbacks are called for every IChunkBlock stored in the chunk data.| Modifier and Type | Class and Description |
|---|---|
static interface |
ChunkCallbackRegistry.IChunkCallback<V>
Specialized
ICallback for ChunkCallbackRegistry. |
static interface |
ChunkCallbackRegistry.IChunkCallbackPredicate
|
callbacks, reduce| Constructor and Description |
|---|
ChunkCallbackRegistry() |
| Modifier and Type | Method and Description |
|---|---|
CallbackResult<V> |
processCallbacks(net.minecraft.world.chunk.Chunk chunk,
java.lang.Object... params)
Processes the
IChunkCallbacks registered. |
processCallbacks, reduce, registerCallbackpublic CallbackResult<V> processCallbacks(net.minecraft.world.chunk.Chunk chunk, java.lang.Object... params)
IChunkCallbacks registered.chunk - the chunkparams - the params