Ya'll are being really harsh. This isn't even his code, his friend just asked him for help. Instead of assaulting him because he doesn't know as much Java as you do, instead help him with his problem AND EXPLAIN WHY IT WORKS don't waste your time writing a reply that doesn't help the OP. Don't waste my time by making me read it. And even if it was his code, you guys are being rude. This isn't 4chan.
To OP: So where you'd normally paste in the schematic, instead put in load1(); load2(); load3(); etc
Then create each of those methods like "public void load1() { }" etc
And inside each of those methods, paste part of the original schematic file, effectively splitting the code.
Also, the other people do kind of have a point. That is really messy code, and uses all the bad practices, especially with that static method.
My name is Jay, and I have a question about PacketPipeline. I have been googling for anything about what it is, and what it does, but I still have a very limited knowledge of it. I've looked through Netty's tutorial but that's (semi, not really)outdated, and also I've looked through a lot of mod's codes on Github, such as Tinkers Construct, etc. I don't want anyone to baby me through learning what PacketPipeline does and how to use it, but some starting points would be nice. Also, maybe am example of things you would have packets for. Thanks in advance.
Hey Alexcamostyle, do you think you could make 6 more textures? It's a lot to ask, I know, but your other ones turned out so well. Basically, I'd like wood, stone, iron, gold, and diamond "Earth Movers" which is basically a 3x3 shovel, and also a diamond thingy, that combines the pickaxe and the "earth movers". If you can't, just let me know, and I'll try to make some passable textures. Thanks in advance, Jiffy
You need to rethink your damages dude, these weapons one hit everything except the ender dragon and the wither. 42 Damage on Thor's Hammer? 35 on excalibur? Unless you're also planning to add a whole bunch of mobs with redic amount of hitpoints.
Well, is there anything special about the different gems? Otherwise, it'd just be a repeat of almost every modders first or second mod. Like for example, the Turquoise(Aquamarine?) could let you breathe underwater, etc.
Alright, so I fixed those bugs. Turns out I never actually *used* the items persay. Also, was only checking for harvest type, not harvest level, that's fixed too. Lastly, Silverfish blocks are under Material.clay, so I included that in what it can mine, so you can also use it for clay.
Sorry for taking so long, had a bunch of AP homework --- not fun.
Alright, here it is. Texture credits to Alexcamostyle. I'll create an actual mod thread for it when I have time.
As a side note, the direction it chooses is kind of buggy if it isn't head on. I used my own code instead of the TinkersConstructs, so I'm going to go look through how it chooses the direction. So for now, just make sure you hit it straight on, and I'll probably have it fixed by Friday.
Edit: This is the 1.7.2 link, oops. Let me recompile for 1.7.10
Edit 2.0: Here is the 1.7.10 link. I can't test it because for some reason when I try to run forge 1.7.10 my minecraft crashes. Tell me if something breaks, and I'll try to fix it
Why don't you just update your thread with all your ideas in a neat bulleted list? It would not only attract more people to look at it, because its purrrrtty, but also it'll deliver the information in a concise manner that's easy to understand and relate to the topic in general.
1
To OP: So where you'd normally paste in the schematic, instead put in load1(); load2(); load3(); etc
Then create each of those methods like "public void load1() { }" etc
And inside each of those methods, paste part of the original schematic file, effectively splitting the code.
Also, the other people do kind of have a point. That is really messy code, and uses all the bad practices, especially with that static method.
0
My name is Jay, and I have a question about PacketPipeline. I have been googling for anything about what it is, and what it does, but I still have a very limited knowledge of it. I've looked through Netty's tutorial but that's (semi, not really)outdated, and also I've looked through a lot of mod's codes on Github, such as Tinkers Construct, etc. I don't want anyone to baby me through learning what PacketPipeline does and how to use it, but some starting points would be nice. Also, maybe am example of things you would have packets for. Thanks in advance.
0
Hey Alexcamostyle, do you think you could make 6 more textures? It's a lot to ask, I know, but your other ones turned out so well. Basically, I'd like wood, stone, iron, gold, and diamond "Earth Movers" which is basically a 3x3 shovel, and also a diamond thingy, that combines the pickaxe and the "earth movers". If you can't, just let me know, and I'll try to make some passable textures. Thanks in advance, Jiffy
0
0
0
0
Sorry for taking so long, had a bunch of AP homework --- not fun.
New download for 1.7.10
https://www.dropbox.com/s/nhao7uoqsd1bzkh/hammer-1.1.jar
0
0
0
As a side note, the direction it chooses is kind of buggy if it isn't head on. I used my own code instead of the TinkersConstructs, so I'm going to go look through how it chooses the direction. So for now, just make sure you hit it straight on, and I'll probably have it fixed by Friday.
Edit: This is the 1.7.2 link, oops. Let me recompile for 1.7.10
https://www.dropbox.com/s/7xfrbzltv3uh7gc/hammer-1.0.jar
Edit 2.0: Here is the 1.7.10 link. I can't test it because for some reason when I try to run forge 1.7.10 my minecraft crashes. Tell me if something breaks, and I'll try to fix it
https://www.dropbox.com/s/pveezo7r8n6yc1c/Hammer-1.0-1.7.10.jar
0
0
0
0
0