定制 krunchshoot/libtrimarmor 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

krunchshoot/libtrimarmor

最新稳定版本:v1.0.0

Composer 安装命令:

composer require krunchshoot/libtrimarmor

包简介

LibTrimArmor is a virion for implementation of Armor Trim from Tale & Trails Update

README 文档

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

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2024-07-07