Hello everyone,
I started working on some advanced stuff and wondered if there is any way to decompile an existing mod, inlcluding deobfuscation of the minecraft methods (i know that the methods of the coder will most likely be unreadable stuff)
Any ideas?
Greetz Fail
If you are New to Java Then you shouldnt be modding.. Learn some Java Then come back.
Id guess youre Imports are wrong.
Maybe you were following a tutorial for a different Version Then you are coding Abd The Imports changed.
Also read about Java class naming Standards please
I started reading through minecraft worldtype, because I wanted to create my own. Problem is that I am confused how to do that right.
So I wanted to ask if there is any updated worldtype tutorial, or example code to study on how to use worldtypes for forge?
Greetz Fail
Sorry u missunderstood me. What I meant is u dont need ur packet pipeline class, since u can just throw that snw in ur main mod file and call the methods just on him.
U dont need to handle singleplayer and multiplayer separately. Even if you are in singleplayer there will be a server running in the background.
Not quite sure what the error is right now hm
I will read your code in just a second.
But before I do that, in your forge folder there is a folder named crash reports. Open that up and post the full crash log here (in a spoiler ofc)
EDIT: Dont use packet pipeline. Use simple network wrapper
http://www.minecraftforge.net/forum/index.php/topic,20135.0.html
EVEN MORE EDIT: In your living fall event only do the changes on server side. Then send a packet to the client to inform it about the changes. Every change should only be made on server side
I Heard you like Edits?: Are you calling PacketPipeline.registerPackets?
For The second I could have a work around for you. Use BreakSpeed event and set The speed to 0 if The equipped item is The chainsaw.
For The first.. You could use a custom gui handler if i am right
Just an idea ( I guess someone will correct me in 5 seconds)
You got all affected blocks. So destroy the blocks yourself, without dropping items, then the explosion comes, sees there are no blocks so there wont be any item spawns.
i am not sure if there is player update event, else use entity update , check if its a player, than check if he has the armor equipped, thatn ligt up area