Jump to content

Casual Dutchman

Members
  • Posts

    98
  • Joined

  • Last visited

Everything posted by Casual Dutchman

  1. This methode is different in 1.7. which classes or methodes do I need you use now?
  2. I was trying to get my 1.6 mod to 1.7 I have a biome, but the "GameRegistry.addBiome(...)" is gone. What can I use, because I have no clue at all. Thanks in advance
  3. Hi guys, I was busy making a mod when I thought of making it like an addon for an other mod. well not an addons, but workable with other mod's items and blocks, get it? I took the tinkers construct mod api. (there is a 'for modders' download with files) But how do I use it in my workspace? I placed in a folder called api, but the packages changed. (sound silly, but I knew this would happen!) is this normal or do I need to place it somewhere else? thanks in advance
  4. incompatible conditional operand types Item and ItemBlock it says!
  5. hi guys, I only want to select blocks in an if statemant. I can do this: if(itemstack.getItem().itemID <= 265){ things } But that would only get the vanilla minecraft blocks. I also want to get all blocks added to the game by mods. I also tried instanceof, but it did not work. I tried getting bocks from the Block.blocksList[], did not work either. I dont know, could one of u help me? thanks in advance.
  6. And how to I render the entityItems when I enter the world. They now appear when I have right-clicked the container.
  7. and if I want to render the item as a sword rendered in hand. full3d. This is great, but if you could help me with that, that would be amazing Above code does render in 3D. Because I'm rendering an item entity which (in vanilla) is a 3D object. See? I got two more things to ask. How to always render the entityitems on fancy or how to not render the entityitem when graphics are set to fast? And how to show the entityitem on game load? I tried those thing, but I could not figure it out.
  8. sorry about that, thought it was 2d. anyways, this helped me out a lot, thanks!
  9. and if I want to render the item as a sword rendered in hand. full3d. This is great, but if you could help me with that, that would be amazing
  10. Hi everyone, I made a block, but I want an item to be rendered on it. like an itemframe, but then bigger. I dont want to make a different model for the block, because others can make different textures for that item. It would really help me out if you helped me. thanks in advance
  11. Hi guys, I was coding some stuff, not very differetn from other times moddig, but I ran into something rather strange. I create four items, three are working fine, but the last one won't work. I am getting a nullpointerexpeton for the renderIcon methode. (this is the methode that renders the icon with tessellators) I have no clue of what to do, can anyone help me please? what my console says: this is te code for the item that causes the problem
  12. I have learned it for a bit, not very indepth or something. I think I know how to fix it? correct me if I'm wrong. I need to make the potionID a non-static int. Then I need to make a static getter for the int. I have no time to try this out, so I'm just asking.
  13. Here: I deleted some stuff that is not related to the problem. Sword with potion main file btw, Could I use the getPotionColor methode liek the one in the ItemPotion to color the overlay only? or would it olso give the sword an extra color? just a question, maybe someone knows?
  14. By creating an instance for every sword worked out the first time. I made that (lets say) 10 swords, used the new int and it worked fine. This was the result : http://minecraft.curseforge.com/mc-mods/potion-blade/ It worked all fine. Until I opened Eclipse a next time. I runned it and it used only the new int of the last sword. I think this is really wierd. that's why I putted it up here.
  15. Could you give me some more info about that? I'm dutch so I don't understad some things
  16. So I made say 10 item within forge. I made a custom Sword. The only thing it add is a new int. That int call the texture of the item. Now all items use that info from the last item. Last item in was 10, all items use 10. It worked perfectly fine when I created it. But it is rubbish now, I have no clue about the problem or how to fix it. Please help
  17. Thanks Draco, now I understand. Also thanks to the others, I just didn't see it.
  18. Well how do you do that exactly? greayminecraftcoder is a bit difficult. and GotoLink, when you do that with a sword, the icon will change everytime you hit a mob. that's not what I want.
  19. Hi guys, Just to keep it short: Can I make, let's say a sword, with two textures that overlay? like a potion, monsteregg? If I can, would you please tell me how? Thanks in advance Casual Dutchman
  20. Hello everyone, I hope some of you can help me with this big thing, well I think it's big. I want to make a structure. I know what you are saying, that's easy! Yeah it is, but only the easy methode gives easy buildings. world.setBlock(x, y, z, blockID) I want my structure to have halfslabs ans stairs upsidedown. And door to face the correct direction. The villages files can give me more info, I thought. But no... it did not! Please help me out guys. Do I need to make a complete set of files like the VillageComponents? Or just a different methode to rotate blocks? Thanks in advance Casual Dutchman
×
×
  • Create New...

Important Information

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