krunchshoot / libtrimarmor
LibTrimArmor is a virion for implementation of Armor Trim from Tale & Trails Update
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/krunchshoot/libtrimarmor
Requires
- pocketmine/pocketmine-mp: 5.0.0
This package is auto-updated.
Last update: 2025-10-07 16:04:38 UTC
README
LibTrimArmor is a virion for implementation of Armor Trim from Tale & Trails Update
Usage
Implement an armor item
LibTrimArmor::create()
add your item an nbt value for the Armor Trim that you want
LibTrimArmor::create($item, $material, $pattern);
Armor $item
is your own item that you want to turn it to Armor Trim
string $material
is a material that you want to use (You can see the constant in \KRUNCHSHooT\LibTrimArmor\MaterialType)
string $pattern
is a pattern/template you want to use (You can see The constant in \KRUNCHSHooT\LibTrimArmor\PatternType)
Implement more that one armor items
LibTrimArmor::creates()
add your items an nbt value for the Armor Trim that you want
LibTrimArmor::creates($items, $material, $pattern);
Armor[] $items
is your own items that you want to turn it to Armor Trim
string $material
is a material that you want to use (You can see the constant in \KRUNCHSHooT\LibTrimArmor\MaterialType)
string $pattern
is a pattern/template you want to use (You can see The constant in \KRUNCHSHooT\LibTrimArmor\PatternType)
Example
see SilenceArmor