Jump to content

Draco18s

Members
  • Posts

    16559
  • Joined

  • Last visited

  • Days Won

    156

Everything posted by Draco18s

  1. You might be better off extending BlockDoor instead and just overriding the pieces that need to be different.
  2. setTextureName("oomod:Tdoor") You could have looked at the registerIcons function to figure this out.
  3. No! Don't use the LanguageRegistry! D: lang files! Its an asset! So much nicer and easier to maintain! http://www.minecraftforge.net/forum/index.php/topic,16277.msg82670.html#msg82670
  4. What is the code at that line? That's why I said "Look at the ItemStack constructor"
  5. 1) Check to make sure that the block / item is not null when you pass it to the itemstack constructor. 2) Look at the ItemStack constructor at the line the crash report indicates to figure out what object might be null.
  6. Make sure. Also take a look at ItemStack.java to see what's going on there.
  7. A friend of mine runs a server with over 230 mods.
  8. There are in fact, two functions. onBlockAddedToWorld and onBlockPlacedBy If I am remembering the full names correctly. The first one will fire any time any block "becomes" your block (pushed by a piston, placed by endermen, added in worldgen, etc) the other is only when the player directly places it from their inventory (and which player is passed).
  9. Looks like you didn't run either gradel setupDevWorkspace (sp?) or gradel eclipse
  10. You should set defaults in your config, yes. Forge handles a lot of that for you with its Configuration class, as it requires a default value, but you don't have to worry about file IO yourself.
  11. http://ichun.us/mods/morph/ IIRC, it's open source. What you're trying to do, btw, is non-trivial.
  12. http://mcpold.ocean-labs.de/index.php/MCPBot
  13. Dude, that's not the problem. net.minecraftforge.client.model.ModelFormatException: IO Exception reading model format
  14. My entire post on it WAS a tutorial. It's that freaking simple. Or see below. Yes, that's right. And yes, you do.
  15. itemEnt.rotationYaw = 0; That value is randomized when item entities are instanciated.
  16. Did you set up your @NetworkMod annotation?
  17. I think your packet channel is too long. I think its limited to 16 characters.
  18. That was the rotation of the block itself. It's based on metadata. Also, you will need to set the entity's age to 0 every frame or it will self-rotate like any other dropped item.
×
×
  • Create New...

Important Information

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