Fix new tetra hammer materials

* Set all hammer materials to cost the previous tier to make
* Remove all old leftover materials
This commit is contained in:
Sergeant Acoustic 2025-08-29 23:14:32 +01:00
parent 2b20068c9f
commit 822bbe9df2
3 changed files with 20 additions and 132 deletions

View file

@ -23,5 +23,5 @@
"items": [ "minecraft:copper_ingot" ] "items": [ "minecraft:copper_ingot" ]
}, },
"improvements": {"workable": 1}, "improvements": {"workable": 1},
"requiredTools": {"hammer_dig": 2} "requiredTools": {"hammer_dig": 1}
} }

View file

@ -16,114 +16,6 @@
"tetra:shared/" "tetra:shared/"
], ],
"variants": [ "variants": [
{
"materials": [ "tetra:wood/" ],
"key": "basic_hammer/",
"attributes": {
"generic.attack_speed": -1.1
},
"aspects": {
"block_breaker": 2,
"breakable": 2,
"blunt_weapon": 1
},
"extract": {
"primaryAttributes": {
"generic.attack_damage": 0.5
},
"secondaryAttributes": {
"generic.attack_damage": 1,
"generic.attack_speed": -0.08
},
"tools": {
"hammer_dig": [ 0, 0.8333 ]
},
"durability": 0.55,
"integrity": -1,
"magicCapacity": 1,
"glyph": {
"textureX": 64
},
"availableTextures": [ "log" ],
"models": [
{
"location": "tetra:item/module/double/head/basic_hammer/"
}
]
}
},
{
"materials": [ "tetra:stone/stone" ],
"key": "basic_hammer/",
"attributes": {
"generic.attack_speed": -1.1
},
"aspects": {
"block_breaker": 2,
"breakable": 2,
"blunt_weapon": 1
},
"models": [
{
"location": "tetra:item/module/double/head/basic_hammer/stone",
"tint": "aaaaaa"
}
],
"extract": {
"primaryAttributes": {
"generic.attack_damage": 0.5
},
"secondaryAttributes": {
"generic.attack_damage": 1,
"generic.attack_speed": -0.08
},
"tools": {
"hammer_dig": [ 0, 0.8333 ]
},
"durability": 0.55,
"integrity": -1,
"magicCapacity": 1,
"glyph": {
"textureX": 64
}
}
},
{
"materials": [ "tetra:stone/diorite", "tetra:stone/andesite", "tetra:stone/granite" ],
"key": "basic_hammer/",
"attributes": {
"generic.attack_speed": -1.1
},
"aspects": {
"block_breaker": 2,
"breakable": 2,
"blunt_weapon": 1
},
"extract": {
"primaryAttributes": {
"generic.attack_damage": 0.5
},
"secondaryAttributes": {
"generic.attack_damage": 1,
"generic.attack_speed": -0.08
},
"tools": {
"hammer_dig": [ 0, 0.8333 ]
},
"durability": 0.55,
"integrity": -1,
"magicCapacity": 1,
"glyph": {
"textureX": 64
},
"availableTextures": [ "stone" ],
"models": [
{
"location": "tetra:item/module/double/head/basic_hammer/"
}
]
}
},
{ {
"materials": [ "tetra:metal/copper" ], "materials": [ "tetra:metal/copper" ],
"key": "basic_hammer/", "key": "basic_hammer/",
@ -256,12 +148,6 @@
"tools": { "tools": {
"hammer_dig": "minecraft:iron" "hammer_dig": "minecraft:iron"
}, },
"availableTextures": [ "metal" ],
"models": [
{
"location": "tetra:item/module/double/head/basic_hammer/"
}
],
"extract": { "extract": {
"primaryAttributes": { "primaryAttributes": {
"generic.attack_damage": 0.5 "generic.attack_damage": 0.5
@ -278,7 +164,13 @@
"magicCapacity": 1, "magicCapacity": 1,
"glyph": { "glyph": {
"textureX": 64 "textureX": 64
} },
"availableTextures": [ "metal" ],
"models": [
{
"location": "tetra:item/module/double/head/basic_hammer/"
}
]
} }
}, },
{ {

View file

@ -14,12 +14,10 @@
}, },
"displayType": "major", "displayType": "major",
"applicableMaterials": [ "applicableMaterials": [
"#wood",
"#stone",
"!copper", "!copper",
"!iron", "!iron",
"#metal", "!cobalt",
"#gem", "!diamond",
"!netherite" "!netherite"
], ],
"translation": { "translation": {
@ -43,20 +41,18 @@
"outcomes": [ "outcomes": [
{ {
"materials": [ "materials": [
"tetra:wood/", "tetra:metal/copper"
"tetra:stone/stone",
"tetra:stone/diorite",
"tetra:stone/andesite",
"tetra:stone/granite"
], ],
"toolFactor": 0, "requiredTools": {
"hammer_dig": 0
},
"countFactor": 2,
"moduleKey": "double/basic_hammer", "moduleKey": "double/basic_hammer",
"moduleVariant": "basic_hammer/" "moduleVariant": "basic_hammer/"
}, },
{ {
"materials": [ "materials": [
"tetra:metal/iron", "tetra:metal/iron"
"tetra:metal/copper"
], ],
"countFactor": 2, "countFactor": 2,
"moduleKey": "double/basic_hammer", "moduleKey": "double/basic_hammer",
@ -70,11 +66,11 @@
"moduleVariant": "basic_hammer/" "moduleVariant": "basic_hammer/"
}, },
{ {
"materials": { "materials": [
"tetra:gem/diamond" "tetra:gem/diamond"
}, ],
"requiredTools": { "requiredTools": {
"hammer_dig": "minecraft:netherite" "hammer_dig": 1
}, },
"moduleKey": "double/basic_hammer", "moduleKey": "double/basic_hammer",
"moduleVariant": "basic_hammer/", "moduleVariant": "basic_hammer/",
@ -90,7 +86,7 @@
"count": 2 "count": 2
}, },
"requiredTools": { "requiredTools": {
"hammer_dig": "tetra:maxed_forge_hammer" "hammer_dig": 5
}, },
"moduleKey": "double/basic_hammer", "moduleKey": "double/basic_hammer",
"moduleVariant": "basic_hammer/netherite" "moduleVariant": "basic_hammer/netherite"