Killing Fall

Mods
144 Downloads Last Updated: Mar 7, 2019 Game Version: 1.12.2

A very simple mod, which will kill player whenever he reach a certain fall distance. Mainly  designed to be used in CubicChunks servers with The End dimension with unlimited height, but can be used in vanilla servers as well.

 Max fall distance is configurable.

@SubscribeEvent

public void onEvent(PlayerTickEvent event) {

EntityPlayer player = event.player;

if (player.world.isRemote)

return;

if(player.fallDistance > deadlyFallDistance)

player.onKillCommand();

}

Comments

Posts Quoted: