handle Is Effective On
static boolean handleIsEffectiveOn(BlockState state, ItemStack stack, @Nullable() LivingEntity user)
Content copied to clipboard
Handles if the tool is effective on a block.
Return
whether the tool is effective
Parameters
state
the block state to break
stack
the item stack involved with breaking the block
user
the user involved in breaking the block, null if not applicable.
Sources
jvm source
Link copied to clipboard