disablesShield

open fun disablesShield(staffStack: ItemStack, world: World, attacker: LivingEntity, hand: Hand): Boolean(source)

Returns if attacking with the staff should disable the target's shield.

Parameters

staffStack

The item stack used for attacking

world

The world attacker is in

attacker

The entity, which attacks

hand

The hand of attacker, in which the staff is