Jump to content

Jacky2611

Members
  • Posts

    499
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jacky2611

  1. http://www.minecraftforge.net/wiki/Tutorials says that tutorial is for current version. I'm making key input. Maybe someone is just updating it to netty...or the tutorial page has not been updated yet Here is an up-to-date tutorial how to use netty:
  2. That tutorial is great...but for 1.6 in 1.7 minecraft switched to netty. there are a few (very confusing) tutorials on the wiki. However, netty is big and scary and i would suggest you to wait until there are step by step tutorials that explain what you do. What do you want to do with packets? Guis? Key input? EDIT: Wait, is http://www.minecraftforum.net/topic/1780028-164sspforgerails-of-war-—-uber-realism-mod/ your mod? Looks really awsome... BUT WHY DID YOU DO IT?! WHY DID YOU ADD ROUND RAILS TO MINECRAFT?!!
  3. lol, wanted to ask the exact same question... thats how you use the draw texture thing: this.drawTexturedModalRect(where to draw lefttop corner X, where to draw lefttop corner Y, From where to take image lefttop corner X, From where to take image lefttop corner Y, image width, image height); And heres an example how to use it: GL11.glColor4f(1F, 1F, 1F, 1F); Minecraft.getMinecraft().getTextureManager().bindTexture(texture); int k = (this.width - this.xSize) / 2; int l = (this.height - this.ySize) / 2; this.drawTexturedModalRect(k, l, 0, 0, this.xSize, this.ySize);
  4. This tutorial on the minecraftfroums helped me a lot to understand how things work: http://www.minecraftforum.net/topic/1797143-152-16-forge-dimension-tutorial-multi-biome-dimension-ore-gen-basic-house-gen-tree-gen-skyrenderer-githubsrc-code/page__st__280 I think that you have to scroll down a little bit, it should be post 3 or 4. This actually is about adding a new dimension with multiple biomes but the principe should be the same
  5. World time...do you want to have an independent time for your dimension? EDIT: wait, can you use the normal bed in your dimension?
  6. ahmmm... shouldn't you register your blovks in preinit? like: Thats the way i do it...(Don't forget the thank you button!)
  7. Maybe this can help you: EDIT: oh, thats from you Parker8283...
  8. oh, i had a final Item in front of them...
  9. Yeah i know that the enderegg doesn't work (just wanted to try it....) but thats not my problem. My problem is that i can't compare my custom items(ender dust, crystal...). And TGG, what do you mean with:
  10. Custom biomes in 1.7? that could be a little bit tricky. I managed to get 1 working in my custom dimension(will add more once i finished my gui), but as far as i know addBiome (was used to add biomes to the overworld) doesn't exist anymore. I think that you would have to create a new world type(has all biomes of vanilla + your biomes) that is used instead of the standart world type. And, as far as i know, trees are somewhere in the wold decorator. Maybe you can find it somewhere in net.minecraft.world.gen.feature.
  11. For my fuel handler i need to compare 2 items. Comparing vanilla items works fine, but as soon as i try to compare custom items i get 0 energy returned. Tried to use equal as well, same result.
  12. Where do you call that method? And if you don't call it, how do you expect it to be called? Maybe i should start a petition to add this smiley:
  13. Thats what confused me. I thought that maybe there now is an easy to use 1-line build in feature...
  14. Does this work in mp without packets?
  15. or make a multiblock structure... That could be a little bit difficult, because how do you pause/stop the smelting progress if a block is broken? You would have to constantly check if all blocks are still in place... And what would you do if a block is brocken? pause the process/drop all items/...
  16. The description packet is definitely not the right tool for a progressbar. @OP Look at ContainerFurnace on how to handle progress bars. Ups, forgot to post the container...
  17. After i realized that i am an idiot i tried to add a nice gui and a progress bar to my furnance. No errors, everything looks fine, minecraft starts with 0 errors, i can open block, but energy bar doesn't change... After trying around a little bit i think that my energy is never set to anything else than 0, but my update function says that it is increasing. TileEntity and gui:
  18. What kind of value do you want do save? If it is something like color or direction you could use metadata, otherwise here is what i use:
  19. i tried to use setBlockBounds and getCollisionBoundingBoxFromPool too, but it was kind of buggy... I think the best solution would be to create a 3x3x3 3d model.
  20. thats...unfair. I bumped my post 3 times and nobody answered. You bumped your post 1 time and get an answer... and thx for the link, could be useful for me too
  21. Thank you! It works now PRESS THE THANK YOU BUTTON!!!! NOW!!!!
  22. Maybe you could try to add this line at the top of your draw Background() GL11.glColor4f(1F, 1F, 1F, 1F); Changed a few things, could you please try this version: http://pastebin.com/PsKnkWy2
  23. Still haven't figured out what i am doing wrong... Could anyone please give me a hint? Please?!
×
×
  • Create New...

Important Information

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