类 GameData.BlockCallbacks
java.lang.Object
net.minecraftforge.registries.GameData.BlockCallbacks
- 所有已实现的接口:
IForgeRegistry.AddCallback<Block>
,IForgeRegistry.BakeCallback<Block>
,IForgeRegistry.ClearCallback<Block>
,IForgeRegistry.CreateCallback<Block>
- 封闭类:
GameData
public static class GameData.BlockCallbacks
extends Object
implements IForgeRegistry.AddCallback<Block>, IForgeRegistry.ClearCallback<Block>, IForgeRegistry.BakeCallback<Block>, IForgeRegistry.CreateCallback<Block>
-
字段概要
字段修饰符和类型字段说明(专用程序包) static final GameData.BlockCallbacks
private static final IForgeRegistry.SlaveKey
<GameData.ClearableObjectIntIdentityMap<BlockState>> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static IdMapper
<BlockState> void
onAdd
(IForgeRegistryInternal<Block> owner, RegistryManager stage, int id, ResourceKey<Block> key, Block block, @Nullable Block oldBlock) void
onBake
(IForgeRegistryInternal<Block> owner, RegistryManager stage) void
onClear
(IForgeRegistryInternal<Block> owner, RegistryManager stage) void
onCreate
(IForgeRegistryInternal<Block> owner, RegistryManager stage)
-
字段详细资料
-
INSTANCE
-
STATE_TO_ID
private static final IForgeRegistry.SlaveKey<GameData.ClearableObjectIntIdentityMap<BlockState>> STATE_TO_ID
-
-
构造器详细资料
-
BlockCallbacks
public BlockCallbacks()
-
-
方法详细资料
-
getBlockStateIDMap
-
onAdd
public void onAdd(IForgeRegistryInternal<Block> owner, RegistryManager stage, int id, ResourceKey<Block> key, Block block, @Nullable @Nullable Block oldBlock) - 指定者:
onAdd
在接口中IForgeRegistry.AddCallback<Block>
-
onClear
- 指定者:
onClear
在接口中IForgeRegistry.ClearCallback<Block>
-
onCreate
- 指定者:
onCreate
在接口中IForgeRegistry.CreateCallback<Block>
-
onBake
- 指定者:
onBake
在接口中IForgeRegistry.BakeCallback<Block>
-