AgaCore Only Tool Destructible is a script add-on for Minecraft Bedrock that lets block creators restrict which tools can break a block. It works through a custom block component, aga:only_tool_destructible, which is added to a block's definition in its JSON file. The component checks the tool type, so a block can require a pickaxe, axe, shovel, hoe, sword, shears, or mace. It also compares the tier of the block against the tier of the tool, so a block can demand a sufficiently strong tool. Silk Touch is handled separately, with an ignore_tool option that lets Silk Touch work even when the wrong tool is used. A dedicated loot table can define what drops when Silk Touch applies, while another loot table defines the drops when the correct tool is used. Custom loot also works without Silk Touch, so the drops can be tailored to the proper tool. Using the wrong tool breaks the block but produces no drops, and the tool still takes durability damage. Durability damage follows the Unbreaking enchantment, so enchanted tools wear more slowly. The example in the excerpts defines a steel ore block that requires a pickaxe and iron-tier tool, with separate loot tables for normal and Silk Touch drops.
Written from CurseForge . How we write it
The newest release or beta for each Bedrock version, on CurseForge.
Have a copy of AgaCore Only Tool Destructible? Check that it is the official one.
Drop it here. We compare its fingerprint with the official AgaCore Only Tool Destructible files. A file we do not know is not sent: we only say what its manifest declares.
Who makes AgaCore Only Tool Destructible, with their most downloaded other projects.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
None found
Its scripts send no web requests. A Bedrock script can only go online with @minecraft/server-net, and its scripts do not use it.
We read the manifest and every script of its files, and list the web addresses the scripts write.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
What we read in the file: its packs, their manifests and their scripts.
AgaCore-OnlyToolDestructible.mcpack · 593.1 KB@minecraft/serverSomething wrong here? Report a mistake