在 tetra 的模组、材质和改进中添加了上下文。
模组和改进的使用方式相同。
以下是材质和模组的示例。
材质:
{
"key": "test",
"category": "bone",
"primary": 5,
"secondary": 1.9,
"tertiary": 4.5,
"durability": 120,
"integrityCost": 1,
"integrityGain": 5,
"magicCapacity": 108,
"toolLevel": "minecraft:stone",
"toolEfficiency": 4.5,
"tints": {
"glyph": "bone_glyph",
"texture": "bone"
},
"textures": [
"bone",
"crude"
],
"material": {
"items": [
"minecraft:heart_of_the_sea"
]
},
"requiredTools": {
"hammer_dig": "minecraft:wood"
},
"contexts": {
"test": {
"attributes": {
"generic.attack_speed": 114514
},
"effects": {
"test": [10, 5]
}
}
}
}
模组:
{
"replace": true,
"slots": [ "sword/blade" ],
"type": "tetra:basic_major_module",
"improvements": [
"tetra:sword/basic_blade/",
"tetra:sword/shared_blade/",
"tetra:sword/shared/",
"tetra:shared/"
],
"variants": [
{
"materials": [ "tetra:wood/", "tetra:stone/", "tetra:metal/", "tetra:gem/", "tetra:bone/" ],
"key": "basic_blade/",
"attributes": {
"generic.attack_speed": -1.9
},
"effects": {
"sweeping": 1
},
"tools": {
"cut": [ 1, 2 ]
},
"aspects": {
"edged_weapon": 2,
"breakable": 2
},
"durability": -20,
"tags": [ "forge:swords" ],
"contexts": ["test"],
"extract": {
"primaryAttributes": {
"generic.attack_damage": 1
},
"durability": 0.9,
"integrity": -1,
"magicCapacity": 1,
"glyph": {
"textureX": 0
},
"availableTextures": [ "metal", "shiny", "grainy", "crude" ],
"models": [ { "location": "tetra:item/module/sword/blade/basic/" } ]
}
}
]
}
你是这个资源的作者?登录后可认领此资源。
相似资源
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
355
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
347
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
240
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
AAA Particles
ChloePrime
适用于 MC 1.18+ 的 Effekseer 加载器
前置装饰
186
WTHIT
deirn
那是什么?一个 Waila/Hwyla 的分支。
前置实用
165
评论 0
登录后参与评分
还没有评论,来抢沙发吧