Modded Tools Vanilla Blocks Tool Handler
public class ModdedToolsVanillaBlocksToolHandler implements ToolManagerImpl.ToolHandler
Content copied to clipboard
This handler handles items that are a subclass of DynamicAttributeTool by using the vanilla isEffectiveOn with a custom fake tool material to use the mining level from getMiningLevel.
Only applicable to blocks that are vanilla or share the material that is handled by their vanilla tool.
Constructors
ModdedToolsVanillaBlocksToolHandler
Link copied to clipboard
Functions
getMiningSpeedMultiplier
Link copied to clipboard
@NotNull()
Content copied to clipboard
@NotNull()
Content copied to clipboard
isEffectiveOn
Link copied to clipboard
@NotNull()
Content copied to clipboard
@NotNull()
Content copied to clipboard
Sources
jvm source
Link copied to clipboard