高度可定制的武器背部槽位
物品渲染支持自定义变换。使用 Trinket 的背部槽位
输入 /backslot 进行配置。这对于来自其他模组的物品可能很有用。
如何在背部配置物品渲染的示例
Too many bows 中的 Pyre's Embrace:
默认弓的位置:

/backslot transform render RIGHT_HAND

/backslot transform rotation x 90
/backslot transform rotation x 250
/backslot transform rotation x 90

/backslot transform rotation y 240
/backslot transform position x 0.2

使用 /backslot transform 查看物品的设置。你可以点击黄色按钮将设置以 JSON 格式复制到剪贴板。然后可以使用 /backslot transform json 将复制的设置应用到另一个物品上。

Too many bows 中的 Torchebearer:

/backslot transform json {"item":"too_many_bows:flame_bow","rotation":{"x":90.0,"y":240.0,"z":90.0},"translation":{"x":0.2,"y":0.35,"z":0.17},"scale":{"x":1.0,"y":1.0,"z":1.0},"mode":"third_person_right_hand","enabled":true}
使用 /backslot save 保存配置到 config/flike/backslot.json
使用 /backslot load 从 config/flike/backslot.json 加载配置(在世界加载时会自动发生)
与另一个 BackSlot 模组的对比
我的模组:
另一个 BackSlot 模组(你无法修复它):

兼容性
我目前知道的唯一问题是来自其他模组的物品双重渲染。
当另一个模组使用该物品自己的渲染时会发生这种情况。
使用 /backslot transform render FALSE 关闭我对该物品的渲染。
示例:INMIS 中的背包

/backslot transform render FALSE
/backslot save

请在此处报告任何其他问题:
更新日志和计划:
1.0:初始版本
- 活动的 trinecat 槽位
- 绑定按钮以替换活动槽位中的物品
- 正确的背部后方物品渲染
- 用于调整位置的命令
1.1:翻译更新 <-- 你在这里
- 文本翻译(俄语和英语)
- 将 Y 位置设置为 0.2,这样物品就不会穿透盔甲
即将推出:
2.0:GUI 更新
- 通过按钮更改变换(仍然希望使用聊天,模组必须轻量级)
3.0:NBT 更新
- 4 层配置:客户端<-世界(服务器)<-玩家(NBT)<-物品(NBT),用于额外的定制。
4.0:腰带更新
常见问题解答(实际上没人问)
A: 物品渲染了两次?
Q: 看起来有些模组正在使用该物品自己的渲染。使用 /backslot transform render FALSE 关闭我对该物品的渲染。
A: 腰带?
Q: 我以后会做。带有灯笼支持
A: 在整合包中使用?
Q: 是的,没问题或任何事。实际上,我是专门为我的整合包制作这个模组的。
A: Fork?
Q: 使用 github 进行 fork 且没有问题(只要遵循 LGPL-3.0)
A: Forge?
Q: 也许...?
A: 1.21 等版本?
Q: 也许以后吧..?我想制作一个可以在 1.20.1 之后的任何版本中使用的模组
A: 捐赠?
Q: 不用谢。你可以说谢谢(如果你找到方法的话)
Highly customizable weapon back slots
Item render support custom transformations. Uses a Trinket back slot
Type /backslot for config. It's can be useful for items from other mods.
Example how to configure item render on the back
Pyre's Embrace from Too many bows:
Default bow position:

/backslot transform render RIGHT_HAND

/backslot transform rotation x 90
/backslot transform rotation x 250
/backslot transform rotation x 90

/backslot transform rotation y 240
/backslot transform position x 0.2

/backslot transform to view the settings for an item. You can click on the yellow button to copy the settings to the clipboard in JSON format. Then you can use /backslot transform json to apply the copied settings to another item

Torchebearer from Too many bows:

/backslot transform json {"item":"too_many_bows:flame_bow","rotation":{"x":90.0,"y":240.0,"z":90.0},"translation":{"x":0.2,"y":0.35,"z":0.17},"scale":{"x":1.0,"y":1.0,"z":1.0},"mode":"third_person_right_hand","enabled":true}
Use /backslot save for save configuaration in config/flike/backslot.json
Use /backslot load for load configuaration from config/flike/backslot.json (It happens automatically on world loading)
Comparison with another BackSlot mod
My mod:
Another backslot mod (u can't fix it):

Compatibility
The only problem I'm aware of is double rendering of item from another mod.
It happens when another mod is using its own render for this item.
Use /backslot transform render FALSE to turn off my render for this item.
Example: backpack's from INMIS

/backslot transform render FALSE
/backslot save

Please report any other issues here:
Changelog and plans:
1.0: Initial version
- Active trinecat slot
- Button bind to replace an item with an active slot
- Correct item render behind the back
- Commands for adjusting the position
1.1: Translation update <-- u are here
- Text translation (into Russian and English)
- Set Y position to 0.2, so items don't clip into armor
Comming soon:
2.0: GUI update
- Change transformation via buttons (still wanna use chat, mod must be lightweight)
3.0: NBT update
- 4 config layers: Client<-World(Server)<-Player(NBT)<-Item(NBT), for additional customization.
4.0: Belt update
- I will add belt support with the ability to install a lantern.
FAQ (no one actually ask)
A: Item renders twice?
Q: It looks like some mod is using its own render for this item. Use /backslot transform render FALSE to turn off my render for this item.
A: Belt?
Q: I gonna make it later. With lantern support
A: Use in modpack?
Q: Yes, no problem or anything. Actually, I made this mod specifically for my modpack.
A: Fork?
Q: Use github for forking and no problem (as long as it is following LGPL-3.0)
A: Forge?
Q: Maybe...?
A: 1.21 and etc.?
Q: Maybe later..? I wanna make mod, that can be used in any version after 1.20.1
A: Donation?
Q: No thanks. U can say thx (if you find a way how)
评论 0
登录后参与评分
还没有评论,来抢沙发吧