Jump to content

Draco18s

Members
  • Posts

    16559
  • Joined

  • Last visited

  • Days Won

    156

Everything posted by Draco18s

  1. Uh? No? The workspace is set up using Python and is written in Java.
  2. public void registerIcon(IconRegister par1IconRegister){ if(isSwitched){ this.itemIcon = par1IconRegister.registerIcon("shadowRapier2"); } else { this.itemIcon = par1IconRegister.registerIcon("shadowRapier1"); } } You're doing this wrong. You need to register BOTH icons at the same time as the registerIcon function is called ONCE.
  3. That is not true. He says while providing no evidence.
  4. Bad bad bad bad. This duplicates the icon in the sprite sheet, if you do it enough times you'll end up using up more texture memory.
  5. Follow Forge's install instructions, it'll do that for you.
  6. Block.name_of_block_you_want.getIcon(side, metadata)
  7. $10 says that te is null.
  8. Actually the 19th time I've done this. There's a reason I put this on the wiki. Because it's not that freaking difficult, although obtuse.
  9. Not really.
  10. Could be. I found #16 to get the link. Could remember #17, wasn't sure if I'd made an 18th or not. It's all so fuzzy when I have to repeat myself so much.
  11. All of the stuff you see in eclipse is output to the file when used in the normal game, yes.
  12. What is the error thrown when you run the game? It should say "attempted to load texture [path/to/texture] but it was not found. ignoring."
  13. 19th duplicate post (I'm starting to lose count)
  14. Even if you succeed, the player is going to get kicked from the server when he enters your new dimension if he's carrying any mod items.
  15. Whoops, a line break f*cked up my parsing of a code segment. Ignore this.
  16. Your issue is not the same. The issue in this thread is combining two textures for a SPECIFIC CUSTOM BLOCK. Your issue is drawing on overlay on ALL BLOCKS.
  17. 1) Learn how to place your reply into a post with quotes properly 2) What is the error?
  18. Protip: Make sure your custom renderers always return true. Returning false does WEIRD SHIT.
  19. Should do, but if they want it to sort of have a mixed texture... look up the randomite mod he mentioned and look at how that texture blends into the stone background. That has to use alphas to work. It is a little bit more complex, but not too bad. Above method does allow alpha. I'm using it. Image from a thread where I was having an issue, but you can clearly see that I have an overlay on top of stone bricks that is alpha'd.
  20. Eh. All you really need is something like this: renderer.renderStandardBlock(Block.stone, x, y, z); //render normal stone renderer.renderBlockUsingTexture(Block.stone, x, y, z, block.getIcon(0, 0)); //render the overlay
  21. Link doesn't work And we need your main class file.
  22. You can, you just have to approach it differently. You are going to need an event hook to listen for players joining the server, then save data into the player that way.
×
×
  • Create New...

Important Information

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