Download Killing Fall — Minecraft Mods — MetaMods

Killing Fall

Active

Downloads

0

Last update

1 year ago
Client
Fabric
Quilt
Forge
Neoforge
Utils

Killing Fall

This compact mod adds a simple yet effective mechanic to Minecraft - the player dies when reaching a specified fall distance. The development is primarily aimed at CubicChunks servers in the End dimension with unlimited height, but it works perfectly on standard vanilla servers as well.

The maximum allowed fall distance is easily configurable through the configuration file.

@SubscribeEvent
public void onEvent(PlayerTickEvent event) {
    EntityPlayer player = event.player;
    if (player.world.isRemote)
        return;
    if(player.fallDistance > deadlyFallDistance)
        player.onKillCommand();
}
Project members
barteks2x

barteks2x

mysticpasta1

mysticpasta1

Created: 8 Mar 2019

ID: 27624