@ForgeSubscribe
public void onEntityDammage(LivingHurtEvent event)
{
if (event.entity instanceof EntityPlayer && event.source == DamageSource.fall && event.isCancelable())
{
if(((EntityPlayer)event.entity).inventory.armorInventory[1] instanceof YourJetpack)
{
if(((YourJetpack)((EntityPlayer)event.entity).inventory.armorInventory[1]).getIsOn())
{
event.setCanceled(true)
}
}
}
}
this assumes that the jetpack is worn on the chest, that the Class<? extends Item> has a method called getIsOn() that returns true if the jetpack is on, and that the Class<? extends Item>.class== YourJetpack.class
Edit: Chibill: FeatherFall only goes on boots
Add a mod_***_Version.txt in the same location as where the image is saved, and save the version of the mod that downloaded the image in the mod_***_Version.txt.
Every time the mod loads, if the version of the mod is not equal to the version in mod_***_Version.txt, the mod would re-download the image.
mDiyo has stopped updating his mods for now until 1.3 rolls around, so I doubted that it would have been updated. I do not use it currently anyway.
He has updated SOME of his mods, and that happens to include his 4096 Block ID Fix. Direwolf20 uses it in season 4 of his Let's Play.
Thanks for that. I'll try it and see if there are any errors afterwards.
Edit: I started over and it worked. I might have accidentally used an outdated version of Modloader.