Jump to content

AmandaIIII

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by AmandaIIII

  1. There are no words to express my gratitude towards you for taking your time and helping me, you are an Angel! I did what you said, and I get no "red lines" in the class code, though I do get them in the part for the main code. https://gist.github.com/anonymous/8957216 I have the red lines below both "names" and "srcsOfPower" and when I hold over them it says "cannot be resolved or is not a field" Here is the class code https://gist.github.com/anonymous/8957256
  2. Yeah kinda, a book that describes how different items work, a book to get you started, that tell you about crafting recipies and stuff like that Like a guide for the mod
  3. Still doesnt work... the Item I get has the ID 966/1, or 0966/2 depending on what metadata I put into the recipe. But if I look in the creative inventory, the book have the ID 0387...? Without any metadata. Maybe the book is "stuck" with the ID of of Item.writtenBook? But why does it not have any metadata...? So I changed the recipe to give Item.writtenBook, 1, 1, but I just get an empty written book, with no metadata. But it do have the exact same ItemID as my book.
  4. Thanks! I updated the code as you said https://gist.github.com/anonymous/8898753 but I still have the same problem as when I started I dont get the book, but a blank item instead when I try to craft it... It shows up as it should in the creative tab. I tried to change the metadata value in the recipe, tried 0, 1 and 2 with no success. Maybe I have to set the metadata in the class file? Tried to attach a screenshot but the website says it cant find the file, even if its on my desktop, whatevs I hope you understand anyways...
  5. Thanks again! But still, no working code >-< maybe Im just stupid here lol i copied your code to replace the old one, and theres a red line below "new ItemStack(bookOfShadowsStack, 1, 1)" and it says "The constructor ItemStack(ItemStack, int, int) is undefined" Edit To my knowledge, "bookOfShadowsStack" is an ItemStack and both 1s are integers...? this is just getting more and more confusing lol, but Im sure that when its solved, I will have learned a whole lotta stuffs!
  6. Thank you so much for the reply! I didn't say it wouldn't work, I said I didn't know how to make it work (: so I did as you said (or well, how I understood it, as I said Im new to modding minecraft) https://gist.github.com/anonymous/8891964 and I get this error... https://gist.github.com/anonymous/8891980 this confuses me I just want the damn book to work so I can continue making blocks and items and stuffs stuffs that I know how to do! EDIT: I tried bookOfShadowsStack, 1, 0 in the addRecipe too, to no success. What am I doing wrong here?
  7. 1.6.4 Hey! So im new to modding, and I wanted to try to add a written book with info about the mod and such, but I can't get the crafting of it right. I can craft it, but I dont get the right item. This is the Class file, called bookOfShadows: https://gist.github.com/anonymous/8889274 Here is my main file: https://gist.github.com/anonymous/8889261 I've tried a lot of things, but apparently not the right thing lol I'm not sure how to make an itemstack with metadata, I tried stuff like "Item.WrittenBook, 1, 1" but it didn't work. As it is now, I get a blank item without a texture when I craft it, so I atleast don't get nothing, thats always something haha. Anyone who can help? thanks (and ofc I couldn't get them embed gist to work either -.-' )
×
×
  • Create New...

Important Information

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