Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


Forge Modder
  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About ryancpexpert

  • Rank
    Stone Miner


  • Gender
  • Personal Text
    Simi-Novice Modder
  1. I am aware of the debug mode in eclipse, however, I cannot use it for some reason (fails to start the client everytime). I have just checked over myself, and it appears I had not registered my EventHandler. Should be resgistered now. To answer your last question Ernio, I believe I am using the correct bus, MinecraftForge.EVENT_BUS.register(new MIEventHandler());
  2. I've already registered the EventHandler @charsmud, I made a few changes to it, and now it fails to start (previously it would start). [18:25:21] [main/INFO] [FML/]: Forge Mod Loader version for Minecraft 1.7.10 loading [18:25:21] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 8.1:amd64:6.3, installed at C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25 [18:25:21] [main/DEBUG] [FML/]: Java classpath at launch is C:\Users\Ryan\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.7.10-\f
  3. Excuse this mess, public class MIEventHandler { @SubscribeEvent public void onInterect(PlayerInteractEvent e) { //Following lines of code control creation of chiseled ruby/sapphire using chisel. EntityPlayer player = e.entityPlayer; ItemStack itemstack = player.getHeldItem(); World world = e.world; int x = e.x; int y = e.y; int z = e.z; if(e.action == e.action.RIGHT_CLICK_BLOCK){ if(itemstack == new ItemStack(MIMain.chisel)) { if(world.getBlock(x, y, z) != null) { if(world.getBlock(x, y, z) == MIMain.rubyBlock) { world.setBlock(x, y, z, MIMain.chiseledRuby);
  4. I mean how would I set up the class so it would have to code for each individual block (if at all possible)?
  5. I'm currently creating a mod with a good amount of blocks and items, and I want to have one class for both instead of creating multiple classes. How would I do this?
  6. After fixing my problem of the mob not attacking the player(http://www.minecraftforge.net/forum/index.php/topic,26227.0.html), the mob's movement speed is outrageously high now when it is targeting the player(can see code on last post of thread provided). If anyone can provide reasoning to why this is happening, that'd be great.
  7. It still isn't attacking me, updated code: I removed the float, as it was giving me an error. EDIT - NVM! Realized that I needed both tasks, problem solved.
  8. I have created a new entity mob, and gave it the Attack Entity task. I then added more tasks and things, and it seems to have broken it. Any help is appreciated.
  9. Am trying to add Information to a block in the same way I did items. Am getting an error saying to remove the override annotation, however that makes it not work. There another way I need to be doing this?
  10. Add new armor slots to the game, I have items that I wish for the player to be able to equip, but, do not wish to use vanilla slots for the items.
  11. I used baublesapi for this to be honest, would changing it fix my problem?
  12. I believe this is the only other place I'm sending packets.
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.