added dwarf

This commit is contained in:
2026-06-29 16:51:19 +02:00
parent 4195776fd6
commit 05fec3adcb
14 changed files with 312 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
[
{
"function": "minecraft:set_lore",
"entity": "this",
"lore": [
{
"text": "A Dwarven crafted tool.",
"color": "dark_purple",
"italic": true
}
],
"replace": true
},
{
"function": "minecraft:set_enchantments",
"enchantments": {
"minecraft:unbreaking": 1
}
}
]

View File

@@ -0,0 +1,38 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "apoli:replaced_loot_table"
},
{
"type": "minecraft:tag",
"name": "c:gems",
"expand": true,
"weight": 1,
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
},
{
"type": "minecraft:tag",
"name": "c:raw_ores",
"expand": true,
"weight": 1,
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
}
]
}

View File

@@ -0,0 +1,10 @@
{
"powers": [
"faithful:dwarf-powers/dwarven_craftsmanship",
"faithful:dwarf-powers/dwarven_mining",
"faithful:dwarf-powers/dwarven_resistance"
],
"icon": "minecraft:dirt",
"order": 1001,
"impact": 3
}

View File

@@ -0,0 +1,168 @@
{
"type": "origins:multiple",
"alter_diamond_axe": {
"type": "origins:modify_crafting",
"recipe": "diamond_axe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_gold_axe": {
"type": "origins:modify_crafting",
"recipe": "golden_axe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_iron_axe": {
"type": "origins:modify_crafting",
"recipe": "iron_axe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_stone_axe": {
"type": "origins:modify_crafting",
"recipe": "stone_axe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_wooden_axe": {
"type": "origins:modify_crafting",
"recipe": "wooden_axe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_diamond_pickaxe": {
"type": "origins:modify_crafting",
"recipe": "faithful:diamond_pickaxe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_gold_pickaxe": {
"type": "origins:modify_crafting",
"recipe": "golden_pickaxe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_iron_pickaxe": {
"type": "origins:modify_crafting",
"recipe": "iron_pickaxe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_stone_pickaxe": {
"type": "origins:modify_crafting",
"recipe": "stone_pickaxe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_wooden_pickaxe": {
"type": "origins:modify_crafting",
"recipe": "wooden_pickaxe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_diamond_shovel": {
"type": "origins:modify_crafting",
"recipe": "diamond_shovel",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_gold_shovel": {
"type": "origins:modify_crafting",
"recipe": "golden_shovel",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_iron_shovel": {
"type": "origins:modify_crafting",
"recipe": "iron_shovel",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_stone_shovel": {
"type": "origins:modify_crafting",
"recipe": "stone_shovel",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_wooden_shovel": {
"type": "origins:modify_crafting",
"recipe": "wooden_shovel",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_diamond_hoe": {
"type": "origins:modify_crafting",
"recipe": "diamond_hoe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_gold_hoe": {
"type": "origins:modify_crafting",
"recipe": "faithful:golden_hoe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_iron_hoe": {
"type": "origins:modify_crafting",
"recipe": "iron_hoe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_stone_hoe": {
"type": "origins:modify_crafting",
"recipe": "stone_hoe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
},
"alter_wooden_hoe": {
"type": "origins:modify_crafting",
"recipe": "wooden_hoe",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:dwarf_sturdy"
}
}
}

View File

@@ -0,0 +1,7 @@
{
"type": "origins:replace_loot_table",
"replace": {
"minecraft:blocks/stone": "faithful:dwarf_mining",
"minecraft:blocks/deepslate": "faithful:dwarf_mining"
}
}

View File

@@ -0,0 +1,9 @@
{
"type": "origins:attribute",
"modifier": {
"name": "Natural Armor health bonus",
"attribute": "minecraft:generic.armor",
"value": 4.0,
"operation": "addition"
}
}

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "equipment",
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "minecraft:diamond"
}
},
"pattern": [
"XXX",
" # ",
" # "
],
"result": {
"item": "minecraft:diamond_pickaxe"
},
"show_notification": true
}

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "equipment",
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "minecraft:gold_ingot"
}
},
"pattern": [
"XX",
" #",
" #"
],
"result": {
"item": "minecraft:golden_hoe"
},
"show_notification": true
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -2,6 +2,7 @@
"replace": false,
"origins": [
"faithful:elf",
"faithful:dwarf",
{
"condition": {
"type": "origins:equipped_item",