Jump to content

skullcrusher1005

Members
  • Posts

    50
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

skullcrusher1005's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  1. Ah ok, Thanks I thought I didn't have anything in the parenthesis since there was nothing in the method.
  2. Hey guys, Lately I've been making a practice mod to learn java. I wanted to mess around with some stuff. I wanted to make my item do something on Right Click but I wanted to make sure the event was being called first, I checked the console, Nothing was printed. If someone could tell me what I did wrong that would be greatly appreciated. I know theres nothing else in there besides the print and return statement. I just wanted to make sure that this is the correct syntax.
  3. I don't know how to fix your problem, But follow this tutorial. It helped me alot! http://jabelarminecraft.blogspot.com/p/minecraft-forge-172-creating-custom.html
  4. Hey guys, I recently got my mobs working and stuff but I'm having an issue where one mob will spawn near the world spawn and no other mobs will spawn at all anywhere. Also, How do I set it so I can make it spawn in all biomes without naming them all? You know, Since 1.7 has a ton on them Entity Registry spawn code. Btw this is in my InitHandler
  5. Ah I misunderstood what you said. I got it working, Thanks! Although I could have sworn I've done this and it didn't work. But it's working now so I'm not complaining
  6. Forgive me if I'm doing this wrong but looked around the forge events and stuff. I did this but it still doesn't work I could be missing something simple or I'm just doing this completely wrong, As far as I know that the EntityConstructing is already an existing event so I shouldn't have to register and event handler.
  7. Well my class extends EntityMob So I guess I'll look in it.
  8. I was looking around and found this. I get no errors with this but how would I set the nametag on Spawn? Is there a forge event bus for an onSpawn event? If so how would I set the nametag on that event?
  9. I'm not that good at coding yet, Since I've recently started but I'll give it a shot!
  10. When you say you "transferred" over a mod what do you mean? You used an older version of your mod? If you used the exact same code but only changed the mod id and stuff like that go into eclipse right click on each of your mods packages hover over refractor and click rename, Chances are you probably forgot to do something along the line. If you "transferred" a mod over why didn't you just picked up where you left off? Or is it someone elses mod?
  11. You have 2 of the same mod installed, Perhaps you compiled your mod and put it in the eclipse>mods directory. Make sure there isnt the exact same mod in that folder or you will have problems. Even if you renamed the file to something different, It still has the same modID so forge will know its the same mod.
  12. The highlighted part of the code that you posted is throwing errors on the this.field statements I also get an error on double angle = Math.toRadians(entity.rotation); Sorry if I forgot to mention that this is 1.7.10 I need to change that in the title but it looks like entity.rotation isn't a thing. as for the this.field statments I get the option to create a field or create a constant and both throw up even more errors.
  13. Hey guys, I've been messing around with modding MC lately and I wanted to make a mod for a friend. I have him as a mob in my mod but not sure how to put a nametag above his name. I'm sure that this goes in the renderEntity class so if anyone can help me that would be awesome! renderEntity Class
  14. Turns out that was the problem, I changed CoffeeBean = new Item().setCreativeTab(BetterThings).setTextureName(modid + ":" + "CoffeeBean").setUnlocalizedName("CoffeeBean"); GameRegistry.registerItem(CoffeeBean, "CoffeeBean"); To: CoffeeBean = new CoffeeBean().setCreativeTab(BetterThings).setTextureName(modid + ":" + "CoffeeBean").setUnlocalizedName("CoffeeBean"); GameRegistry.registerItem(CoffeeBean, "CoffeeBean"); Thanks alot man!
  15. I'm sorry, I don't follow. Are you saying that I should put the CoffeeBean code into an event handler? Or should I put it into the ModSeeds class?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.