if (!world.isRemote) {
return true;
}
That is your problem you need to check if the world.isRemote then return. The wayyou have it it is only happpening on the clients side.
From what I found, I don't think the server listens for block update packets, only distributes them. Would I need to make a custom packet and have the server listen and update accordingly for it?
Yes you wouldnhave to make your own packet and send it from the client.
The
EntityThrowable.func_189661_a
method (a.k.a
registerFixesThrowable
in newer mappings) does absolutely nothing. Adding a static method will also do absolutely nothing unless you call it from somewhere.
Im pretty sure what he actually forgot was to call setHeading (not sure if that is the name, but i am close).
Is that directed at other users on this thread, or me? If it is directed towards me, what do you mean?
Yes it is direcred at you, he means what doesnt work?
Yeah but make sure that when you call getEntitiesWithinAABB(...) pass EntityLivingBase.class not Entity, because anything lower in the hierarchy is not damageable like that.
Not quite, you don't need to use iterator for a list at least if you are not removing anything. Instead a simple for loop would work.
The one you have down there will not work mainly because you don't create a variable for the next iteration. Though if you ever need to use an iterator look at some vanilla examples one off the top of my head would be FurnaceRecipes#getSmeltingResult(...).
That is client side you can grab what there is client side and modify it, but since all data is saved and should be modified on the server. It will just be overriden by the server. Thus a packet is required.
First EntityPlayerSP is not a variable you can use, you will need to send packets. This is a link to Diesieben07's tutorial on Packets.
http://www.minecraftforge.net/forum/index.php?topic=20135.0
I doubt it is a bug because if you do round the players position, it would round down after being near the bottom. Just use pos.up () instead of pos. But use a print line to check if the code gets called with just one. Mainly because i dont know how onFallen works.