public class MalisisRegistry
extends java.lang.Object
| Constructor and Description |
|---|
MalisisRegistry() |
public static void onPreInit(ModEventRegistry.IFMLEventCallback<net.minecraftforge.fml.common.event.FMLPreInitializationEvent> callback)
ModEventRegistry.IFMLEventCallback for when FMLPreInitializationEvent is called for MalisisCore.callback - the callbackpublic static void onInit(ModEventRegistry.IFMLEventCallback<net.minecraftforge.fml.common.event.FMLInitializationEvent> callback)
ModEventRegistry.IFMLEventCallback for when FMLInitializationEvent is called for MalisisCore.callback - the callbackpublic static void onPostInit(ModEventRegistry.IFMLEventCallback<net.minecraftforge.fml.common.event.FMLPostInitializationEvent> callback)
ModEventRegistry.IFMLEventCallback for when FMLPostInitializationEvent is called for MalisisCore.callback - the callbackpublic static void onLoadComplete(ModEventRegistry.IFMLEventCallback<net.minecraftforge.fml.common.event.FMLLoadCompleteEvent> callback)
ModEventRegistry.IFMLEventCallback for when FMLLoadCompleteEvent is called for MalisisCore.callback - the callbackpublic static void register(IRegisterable<?> registerable)
registerable - the registerablepublic static void onTextureStitched(TextureStitchedRegistry.ITextureStitchedCallback callback, ICallback.CallbackOption<TextureStitchedRegistry.ITextureStitchedCallbackPredicate> option)
public static void onRenderBlock(RenderBlockRegistry.IRenderBlockCallback callback, ICallback.CallbackOption<RenderBlockRegistry.IRenderBlockCallbackPredicate> option)
RenderBlockRegistry.IRenderBlockCallback with the specified ICallback.CallbackOption to be called when rendering blocks.callback - the callbackoption - the optionpublic static void onPreSetBlock(SetBlockCallbackRegistry.ISetBlockCallback callback, ICallback.CallbackOption<SetBlockCallbackRegistry.ISetBlockCallbackPredicate> option)
SetBlockCallbackRegistry.ISetBlockCallback with the specified ICallback.CallbackOption to be called after a Block is placed in the
world.callback - the callbackoption - the optionpublic static void onPostSetBlock(SetBlockCallbackRegistry.ISetBlockCallback callback, ICallback.CallbackOption<SetBlockCallbackRegistry.ISetBlockCallbackPredicate> option)
SetBlockCallbackRegistry.ISetBlockCallback with the specified ICallback.CallbackOption to be called before a Block is placed in the
world.callback - the callbackoption - the optionpublic static void registerBlockRenderer(net.minecraft.block.Block block,
IBlockRenderer renderer)
block - the blockrenderer - the rendererpublic static void registerItemRenderer(net.minecraft.item.Item item,
IItemRenderer renderer)
IItemRenderer for the Item.item - the itemrenderer - the rendererpublic static void registerRenderWorldLast(IRenderWorldLast renderer)
IRenderWorldLast.renderer - the rendererpublic static void unregisterRenderWorldLast(IRenderWorldLast renderer)
IRenderWorldLastrenderer - the rendererpublic static void registerBlockRendererOverride(ClientRegistry.BlockRendererOverride override)
public static void registerItemRendererOverride(ClientRegistry.ItemRendererOverride override)
public static net.minecraft.util.SoundEvent registerSound(java.lang.String modId,
java.lang.String soundId)
SoundEvent.modId - the mod idsoundId - the sound id