HomeJavaModsNo Jump Potion Fall Damage
A super simple plugin that cancels fall damage when you have the jump boost effect.

Spoiler: Source code
Code (Java):
package me.datatags.nojumppotionfalldamage ;

import org.bukkit.Bukkit ;
import org.bukkit.entity.EntityType ;
import org.bukkit.entity.Player ;
import org.bukkit.event.EventHandler ;
import org.bukkit.event.Listener ;
import org.bukkit.event.entity.EntityDamageEvent ;
import org.bukkit.event.entity.EntityDamageEvent.DamageCause ;
import org.bukkit.plugin.java.JavaPlugin ;
import org.bukkit.potion.PotionEffectType ;

public class NoJumpPotionFallDamage extends JavaPlugin implements Listener {
   @Override
    public void onEnable ( ) {
       Bukkit. getPluginManager ( ). registerEvents ( this, this ) ;
    }
 
   @EventHandler
    public void onDamage (EntityDamageEvent e ) {
        if (e. getEntityType ( ) != EntityType. PLAYER ) return ;
        if (e. getCause ( ) != DamageCause. FALL ) return ;
       Player player = (Player ) e. getEntity ( ) ;
        if ( !player. hasPotionEffect (PotionEffectType. JUMP ) ) return ;
       e. setCancelled ( true ) ;
    }
}

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

No Jump Potion Fall Damage is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.17. Downloaded 71 times (via Spigot). Download it and open it directly in the game.

Explore more