Killing Fall

Quick rating

Community listing page, reviews here may not be monitored by the author.

Killing Fall

By Mysticpasta1

No reviews yet

Kills player when he reach certain configured fall distance.

Mod Loaders
Minecraft

About

Description

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();

}