AllowDeath

public interface AllowDeath

Functions

allowDeath
Link copied to clipboard
abstract boolean allowDeath(ServerPlayerEntity player, DamageSource damageSource, float damageAmount)
Called when a player takes fatal damage (before totems of undying can take effect).

Sources

jvm source
Link copied to clipboard