getMiningSpeedMultiplier

@NotNull()
TypedActionResult<FloatgetMiningSpeedMultiplier(Tag<Item> tag, BlockState state, ItemStack stack, @Nullable() LivingEntity user)

Determines the mining speed multiplier of the tools.

Return

the result of mining speed.

Parameters

tag

the tag involved

state

the block state to break

stack

the item stack breaking the block

user

the user involved in breaking the block, null if not applicable.

Sources

jvm source
Link copied to clipboard