handleIsEffectiveOnIgnoresVanilla

static boolean handleIsEffectiveOnIgnoresVanilla(BlockState state, ItemStack stack, @Nullable() LivingEntity user, boolean vanillaResult)

Handles if the tool is effective on a block, ignores vanilla tools on vanilla blocks.

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.

vanillaResult

whether the tool is considered effective by vanilla

static boolean handleIsEffectiveOnIgnoresVanilla(BlockState state, ItemStack stack, @Nullable() LivingEntity user)

Handles if the tool is effective on a block, ignores vanilla tools on vanilla blocks.

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.