Everything posted by Nicba1010
-
Syncing Tile Entity Field
I put some debug prints in the ondata and getDescription functions, no output however it seems they dont get called, ever
-
Syncing Tile Entity Field
Still doesn't work Whole TE Code
-
Syncing Tile Entity Field
Gimme a sec trying right now.
-
Syncing Tile Entity Field
Soo I added this code but it still doesn't work.
-
[1.7.2] Custom block problem - effective tools [SOLVED]
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)).
-
Setting string in tile entity from gui?
Please learn some basic Jsva, and OO Java.
-
[1.7.2] Custom Tree Problems
Look at the oak leaves src and see how it drops apples.
-
[1.7.2]TileEntity and GUI to custom GUI.png
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.
-
Syncing Tile Entity Field
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!
-
[1.6.4] How to make a wire that transfer energy.
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.
-
[SOLVED][NAILED IT]Container duplicates items
Nevermind. NAILED IT
-
[SOLVED][NAILED IT]Container duplicates items
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
-
[1.7.2]how to make a GUI like thaumcraft 4 book?
Just make a simple gui and bind a background to it, everything else is pure Java
-
[SOLVED] Can't edit files
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.
-
[1.6.4][SOLVED]Dynamic Tooltip
Ok, GTG but Dautor is here he wants to tell you sth.
-
[1.6.4][SOLVED]Dynamic Tooltip
So, like I save the tooltip String in NBT, and when I right click , I call the addInformation? Or does it get called automatically?
-
[1.6.4][SOLVED]Dynamic Tooltip
Like, I right click, it changes the info, or i craft it with sth, it changes the info.
-
[1.6.4][SOLVED]Dynamic Tooltip
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
-
[1.6.4]Subscript in item name
Draco yes. That's what I meant. So, it is possible? I need it for the chemical formulas.
-
Help !My minecraft Crashes when i use mods
Ich entschuldige mich. Du hast mir geninjat. Sorry you ninjad me. I wrote this bfor I read yours.
-
Help !My minecraft Crashes when i use mods
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.
-
[1.6.4]Subscript in item name
The title says it all! Is this possible? Sincerely Dautor and Nicba1010
-
[1.6.4][SOLVED]Double output furnace
I solved it myself. I think I may gonna make a tutorial!
-
[1.6.4] Shift + click doubles my items
Post tour te class
-
[1.6.4][SOLVED]Double output furnace
Sry forgot the recipe code. Recipe
IPS spam blocked by CleanTalk.