From e5bdf8117e762b65968d39c989b6e68bb6f44e5f Mon Sep 17 00:00:00 2001 From: Halbear Date: Tue, 4 Aug 2026 01:10:43 +0100 Subject: [PATCH] fixed fence gate and added drops --- gradle.properties | 2 +- .../ageofthegods/Items/olive_fence_gate.json | 2 +- .../assets/ageofthegods/lang/en_us.json | 3 +++ .../loot_table/blocks/olive_button.json | 20 +++++++++++++++++++ .../loot_table/blocks/olive_fence.json | 20 +++++++++++++++++++ .../loot_table/blocks/olive_fence_gate.json | 20 +++++++++++++++++++ .../blocks/olive_pressure_plate.json | 20 +++++++++++++++++++ .../loot_table/blocks/olive_slab.json | 20 +++++++++++++++++++ .../loot_table/blocks/olive_stairs.json | 20 +++++++++++++++++++ .../data/ageofthegods/recipe/olive_slab.json | 16 +++++++++++++++ .../data/ageofthegods/recipe/olive_slab2.json | 16 +++++++++++++++ .../data/ageofthegods/recipe/olive_slab3.json | 16 +++++++++++++++ .../minecraft/tags/block/mineable/axe.json | 8 +++++++- 13 files changed, 180 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/data/ageofthegods/loot_table/blocks/olive_button.json create mode 100644 src/main/resources/data/ageofthegods/loot_table/blocks/olive_fence.json create mode 100644 src/main/resources/data/ageofthegods/loot_table/blocks/olive_fence_gate.json create mode 100644 src/main/resources/data/ageofthegods/loot_table/blocks/olive_pressure_plate.json create mode 100644 src/main/resources/data/ageofthegods/loot_table/blocks/olive_slab.json create mode 100644 src/main/resources/data/ageofthegods/loot_table/blocks/olive_stairs.json create mode 100644 src/main/resources/data/ageofthegods/recipe/olive_slab.json create mode 100644 src/main/resources/data/ageofthegods/recipe/olive_slab2.json create mode 100644 src/main/resources/data/ageofthegods/recipe/olive_slab3.json diff --git a/gradle.properties b/gradle.properties index ee4601d..1c8bac2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ mod_name=Age of the Gods # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=All Rights Reserved # The mod version. See https://semver.org/ -mod_version=1.0.0 +mod_version=0.0.2 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/resources/assets/ageofthegods/Items/olive_fence_gate.json b/src/main/resources/assets/ageofthegods/Items/olive_fence_gate.json index 8b5d43d..c0b8171 100644 --- a/src/main/resources/assets/ageofthegods/Items/olive_fence_gate.json +++ b/src/main/resources/assets/ageofthegods/Items/olive_fence_gate.json @@ -1,6 +1,6 @@ { "model": { "type": "minecraft:model", - "model": "ageofthegods:block/olive/olive_fence_gate_inventory" + "model": "ageofthegods:block/olive/olive_fence_gate_closed" } } \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/lang/en_us.json b/src/main/resources/assets/ageofthegods/lang/en_us.json index c8ceb4b..93b23ca 100644 --- a/src/main/resources/assets/ageofthegods/lang/en_us.json +++ b/src/main/resources/assets/ageofthegods/lang/en_us.json @@ -19,6 +19,9 @@ "block.ageofthegods.silver_ore": "Silver Ore", "block.ageofthegods.zinc_ore": "Zinc Ore", "block.ageofthegods.tin_ore": "Tin Ore", + "block.ageofthegods.silver_deepslate_ore": "Silver Deepslate Ore", + "block.ageofthegods.zinc_deepslate_ore": "Zinc Deepslate Ore", + "block.ageofthegods.tin_deepslate_ore": "Tin Deepslate Ore", "gui.ageofthegods.alloy_furnace_gui.title": "Alloy Furnace", "gui.ageofthegods.forge_workbench.title": "Forge", diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/olive_button.json b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_button.json new file mode 100644 index 0000000..54ef984 --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_button.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:olive_button" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/olive_fence.json b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_fence.json new file mode 100644 index 0000000..d21b7c0 --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_fence.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:olive_fence" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/olive_fence_gate.json b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_fence_gate.json new file mode 100644 index 0000000..998a41e --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_fence_gate.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:olive_fence_gate" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/olive_pressure_plate.json b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_pressure_plate.json new file mode 100644 index 0000000..299883f --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_pressure_plate.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:olive_pressure_plate" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/olive_slab.json b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_slab.json new file mode 100644 index 0000000..e43616a --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_slab.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:olive_slab" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/olive_stairs.json b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_stairs.json new file mode 100644 index 0000000..1f1b60a --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/olive_stairs.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:olive_stairs" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/ageofthegods/recipe/olive_slab.json b/src/main/resources/data/ageofthegods/recipe/olive_slab.json new file mode 100644 index 0000000..2bc9aed --- /dev/null +++ b/src/main/resources/data/ageofthegods/recipe/olive_slab.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "equipment", + "pattern": [ + " ", + " ", + "aaa" + ], + "key": { + "a": "ageofthegods:olive_planks" + }, + "result": { + "id": "ageofthegods:olive_pressure_plate", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/ageofthegods/recipe/olive_slab2.json b/src/main/resources/data/ageofthegods/recipe/olive_slab2.json new file mode 100644 index 0000000..65f7efc --- /dev/null +++ b/src/main/resources/data/ageofthegods/recipe/olive_slab2.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "equipment", + "pattern": [ + " ", + "aaa", + " " + ], + "key": { + "a": "ageofthegods:olive_planks" + }, + "result": { + "id": "ageofthegods:olive_pressure_plate", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/ageofthegods/recipe/olive_slab3.json b/src/main/resources/data/ageofthegods/recipe/olive_slab3.json new file mode 100644 index 0000000..d1d1f19 --- /dev/null +++ b/src/main/resources/data/ageofthegods/recipe/olive_slab3.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "equipment", + "pattern": [ + "aaa", + " ", + " " + ], + "key": { + "a": "ageofthegods:olive_planks" + }, + "result": { + "id": "ageofthegods:olive_pressure_plate", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/block/mineable/axe.json b/src/main/resources/data/minecraft/tags/block/mineable/axe.json index 989a0ad..533fa67 100644 --- a/src/main/resources/data/minecraft/tags/block/mineable/axe.json +++ b/src/main/resources/data/minecraft/tags/block/mineable/axe.json @@ -2,6 +2,12 @@ "replace": false, "values": [ "ageofthegods:olive_log", - "ageofthegods:olive_planks" + "ageofthegods:olive_planks", + "ageofthegods:olive_stairs", + "ageofthegods:olive_slab", + "ageofthegods:olive_button", + "ageofthegods:olive_pressure_plate", + "ageofthegods:olive_fence_gate", + "ageofthegods:olive_fence" ] } \ No newline at end of file