Jump to content

Kore

Forge Modder
  • Posts

    239
  • Joined

  • Last visited

Everything posted by Kore

  1. I am not actually sure if you can... you may be able to spawn an entity in the world onBlockDestroyed and have it in your method return 0 so it will just spawn items into the world by the onblockDestroyed event
  2. worst case you can make a world gen and have it do a triple for loop going through every block in the chunk and replacing the stone with that... that will create a lot of lagg though
  3. I am not sure that is possible w/out editting base classes... your best bet is to ask for a hook from lex or overmind
  4. you can also do some nifty stuff with multiplying by tickspersec and making it compensate for lag... but overall you should be fine
  5. make it an itemtool and have it store exp based on damage
  6. look at the furnace... it updates every tick to see how far the progress is
  7. forge uses the same world even if you delete it... so you need to go into your mcp and delete the world there.
  8. Why do that? Just use the onBlockBreak event Well you could not remove a drop though... you can only add them
  9. you can copy the class of the bloc then unregister then reregister it to your new id
  10. they should be just the height and width of the gui
  11. Heres my gui code... it puts the GUI in the top left and not in the center
  12. this works but only updates the texture.png and not my desired texture also I get an annoying 2012-12-30 17:11:29 [iNFO] [sTDOUT] ########## GL ERROR ########## 2012-12-30 17:11:29 [iNFO] [sTDOUT] @ Pre render 2012-12-30 17:11:29 [iNFO] [sTDOUT] 1280: Invalid enum Edit: Nevermind, I fixed it
  13. new ItemStack(Item, amount, metadata)
  14. Well... zombies only fight v another if one attacks it so you will have to render them as entity player
  15. well you just make a block called spawnerFake and have it when placed try if(metadata == i)setMobID("mobName")
  16. it says as of minecraft 1.3 this will always return true... so !world.isRemote is saying false ALWAYS
  17. Removed to protect my code If you want the code just ask me
  18. common has been removed in recent versions, you should place your package inside of the src and you may also notice that EVERYTHING is in its own package now and not in only 7(or so)packages... this is an update to minecraft NOT forge
  19. can it be fixed by just doing int i = 0; if(i%2==0){ do this; i++ }
  20. I have my block add some units to my tile entity and it adds 2 instead of one and then i put a debug that prints it out and it runs twice for each time I click it, is this normal?
  21. could you post a spoiler with your new worldgen code in it?
  22. I am trying to make a block with a spinning center and I cannot figure out the TextureFX because it only edits the /terrain.png
  23. then just do a spawnEntity
  24. Heres my BlockFurnace, I cant find anything wrong... maybe there isnt or maybe im blind
×
×
  • Create New...

Important Information

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