Advertisement
Guest User

Untitled

a guest
Mar 5th, 2014
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. package com.avous.example.recipes;
  2.  
  3. import net.minecraft.init.Items;
  4. import net.minecraft.item.ItemStack;
  5.  
  6. import com.avous.example.lib.ProxyCommon;
  7. import com.avous.example.lib.References;
  8.  
  9. import cpw.mods.fml.common.Mod.EventHandler;
  10. import cpw.mods.fml.common.SidedProxy;
  11. import cpw.mods.fml.common.event.FMLInitializationEvent;
  12. import cpw.mods.fml.common.registry.GameRegistry;
  13.  
  14.  
  15.  
  16. public class Recipes {
  17.  
  18. @SidedProxy(clientSide = References.Client, serverSide = References.Common)
  19.  
  20. public static ProxyCommon proxy;
  21.  
  22. @EventHandler
  23. public void load(FMLInitializationEvent event){
  24. proxy.registerRenderInformation();
  25. GameRegistry.addSmelting(Items.apple, new ItemStack (Items.arrow), 5f);
  26.  
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement