Jump to content

Nicba1010

Forge Modder
  • Posts

    90
  • Joined

  • Last visited

Everything posted by Nicba1010

  1. I put some debug prints in the ondata and getDescription functions, no output however it seems they dont get called, ever
  2. Still doesn't work Whole TE Code
  3. Gimme a sec trying right now.
  4. Soo I added this code but it still doesn't work.
  5. setHarvestLevel unlike setHardness which retuns the block object itself returns void. So you should be calling it in the block class constructor(just setHardnessLevel("shovel",0), or after initializing the block(genericDirt.setHardnessLevel("shovel",0)).
  6. Please learn some basic Jsva, and OO Java.
  7. Look at the oak leaves src and see how it drops apples.
  8. We can't "show" you how to do it. Assuming you know how to make blocks and have the Proxies setup you should see some tutorials on Tile Entities (mousetutorial.co.nf), and go exploring the source code. The best part will be the feeling of accomplishment. When I started to make my double input custom quantity consumption furnace I was like "WTF how am I gonna do this shit. There are no tuts, how the hell am I gonna make this work?". But after looking through the MC source, some class copying, editing, deleting imports, and working out the logic on paper, I made it. My own code. My own custom furnace. I was so happy. So the moral of this story is. Try, try, try. Watch java tuts if you don't know java, go through the minecraft code, and even the fucking sky won't be the limit! Sincerely Nicba1010. P.S. I am definetly not drunk.
  9. So I have a field called private int steam And I would like to get it on client side, but it is not synced. What would I need to do to sync that field. I'm writing it to NBT, and I have the PacketPipeline and the AbstractPacket classes as explained on the wiki. Please answer it would help me a lot. Sincerely Nicba1010!
  10. Sorry for bumping this post. Bu I am REALLY FUCKING PISSED OF (excuse my French) For all the new modders please don't ask questions like this one. You can't just ask for the code without trying it yourself. I just hate seeing these kind of posts. Sorry for bumping again.
  11. Nevermind. NAILED IT
  12. So I made a custom container, and a tile entity, basically everything (Also a cutom recipe manager, by myself). Didn't use almost any tutorial, just the MC source. Everything is working well, but the transferStackInSlot method isn't(always hated that dumb thing). So when i shift click, if the stack is not full it dupes it. I hope you can help me. PS the machine has 4 slots. ContainerToolSharpener.java If you need any other source just say it, but this is the relevant part. Thanks in forward
  13. Just make a simple gui and bind a background to it, everything else is pure Java
  14. You should absolutely NEVER EVER EVER edit minecraft source. Use it as a reference but don't edit it. Forge has a ton of hooks so you don't have to edit it.
  15. Ok, GTG but Dautor is here he wants to tell you sth.
  16. So, like I save the tooltip String in NBT, and when I right click , I call the addInformation? Or does it get called automatically?
  17. Like, I right click, it changes the info, or i craft it with sth, it changes the info.
  18. So guys and gals, could you please tell me how would I go about making a dynamic tooltip. I know that i would probably need to use a packet handler, but how. Sincerely Nicba1010 and Dautor
  19. Draco yes. That's what I meant. So, it is possible? I need it for the chemical formulas.
  20. Ich entschuldige mich. Du hast mir geninjat. Sorry you ninjad me. I wrote this bfor I read yours.
  21. I dunno who said that 1.6 mods are compatible with 1.7. Thats complete BULLSHIT. The whole id system changed. I'm sorry but 1.6 mods are unfortunately not compatible with 1.7 minecraft. Hope I helped. If I did press that thank you button.
  22. The title says it all! Is this possible? Sincerely Dautor and Nicba1010
  23. I solved it myself. I think I may gonna make a tutorial!
  24. Post tour te class
  25. Sry forgot the recipe code. Recipe
×
×
  • Create New...

Important Information

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