cpw.mods.fml.common.registry.TickRegistry Java Examples
The following examples show how to use
cpw.mods.fml.common.registry.TickRegistry.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: exaliquo.java From Ex-Aliquo with MIT License | 5 votes |
@EventHandler public void preInit(FMLPreInitializationEvent event) { Configurations.Load(event.getModConfigurationDirectory()); Registries.exatab = new ExATab("ExA"); Registries.oretab = new ExAOreTab("ExAOres"); Registries.registerItems(); Registries.registerBlocks(); Registries.registerRecipes(); Registries.exatab.initTab(new ItemStack(Registries.crookGold, 1, 0)); Registries.oretab.initTab(new ItemStack(Registries.cobaltOreItem, 1, 0)); MinecraftForge.EVENT_BUS.register(new AliquoEvents()); TickRegistry.registerTickHandler(new AliquoTickHandler(), Side.CLIENT); }
Example #2
Source File: MoCreatures.java From mocreaturesdev with GNU General Public License v3.0 | 5 votes |
@Init public void load(FMLInitializationEvent event) { this.InitItems(); this.AddNames(); this.AddRecipes(); this.AddEntities(); proxy.registerRenderers(); proxy.registerRenderInformation(); TickRegistry.registerTickHandler(new MoCServerTickHandler(), Side.SERVER); DimensionManager.registerProviderType(WyvernLairDimensionID, WorldProviderWyvernEnd.class, false); }
Example #3
Source File: MoCClientProxy.java From mocreaturesdev with GNU General Public License v3.0 | 4 votes |
public MoCClientProxy() { instance = this; TickRegistry.registerTickHandler(new MoCClientTickHandler(), Side.CLIENT); KeyBindingRegistry.registerKeyBinding(new MoCKeyHandler()); }
Example #4
Source File: ClientProxy.java From HexxitGear with GNU General Public License v3.0 | 4 votes |
@Override public void registerHandlers() { super.registerHandlers(); TickRegistry.registerTickHandler(new PlayerTickHandler(), Side.CLIENT); KeyBindingRegistry.registerKeyBinding(new HGKeyHandler()); }
Example #5
Source File: CommonProxy.java From HexxitGear with GNU General Public License v3.0 | 4 votes |
public void registerHandlers() { TickRegistry.registerTickHandler(new PlayerTickHandler(), Side.SERVER); }