___________________________________________________________________________________________________________________________
Weapons and tools that break or are dropped are replaced with backups you've set aside. They are teleported to you.
You need an armor stand with the name quartermaster. You also need at least 1 furnace next to the foot of the armor stand. (up to 2 blocks away).
When a weapon or tool breaks or is otherwise removed from your main hand you will be sent a replacement if a match can be found in the furnaces. Lit furnaces do not work.
The addon supports a maximum of 10 players (the first 10 in the world). Each player's quartermaster is their own (they don't share responsibilities). Player 11 and above will not be able to use quartermasters.
Supported weapons and tools: swords, pickaxes, shovels and axes. The tools and weapons can be made of stone, iron, gold, diamond or netherrite (no wood), be in any condition with any enchantments.
You must be at least 10 blocks away from the quartermaster for the refill mechanism to be active.
A few notes: Why a furnace? I needed a container that could hold 1 and only 1 item. this is also why you can't do wood. You can feed them with hoppers and if you want containers above the hoppers. I can't use a players inventory because the game lacks a way to move an item from one slot to another via commands. In my restock addon, i'm actually deleting the items and recreating them, which wont work for weapons since they have enchantments and damage on them which i can't check for or reproduce.
At some point i would like to do armor, but right now there isn't a mechanism for me to do that in vanilla bedrock minecraft. Also while this works for fighting it can sometimes not end up where you expect (end up in your inventory or different slot) if you pick something or have a second hotbar slot open before the replacement item is teleported to you.
About Project
Created: September 15th 2023
Updated: September 15th 2023
Project ID: 54448
License: All Rights Reserved
__________________________________________
Game Versions:
1.01.03
1.01.03
1.01.03
1.01.03
1.01.03
__________________________________________
Flavors:
WoW Retail
__________________________________________
Categories
Companions
Battle
__________________________________________
Main File
September 15th 2023
__________________________________________
Recent File
September 15th 2023
__________________________________________
Members
__________________________________________
Report