handleBreakingSpeedIgnoresVanilla

static float handleBreakingSpeedIgnoresVanilla(BlockState state, ItemStack stack, @Nullable() LivingEntity user)

Handles the breaking speed breaking a block, ignores vanilla tools on vanilla blocks.

Return

the speed multiplier in breaking the block, 1.0 if no change.

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