diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/alfalfa_crops.json b/src/main/resources/data/unicopia/loot_tables/blocks/alfalfa_crops.json new file mode 100644 index 00000000..9e7e13ff --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/alfalfa_crops.json @@ -0,0 +1,85 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "name": "unicopia:alfalfa", + "conditions": [ + { + "condition": "minecraft:block_state_property", + "block": "unicopia:alfalfa_crops", + "properties": { + "age": "7", + "type": "normal" + } + } + ], + "functions": [ + { + "function": "minecraft:set_count", + "count": { "min": 1, "max": 5 } + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:uniform_bonus_count", + "parameters": { + "bonusMultiplier": 1 + } + }, + { + "function": "minecraft:limit_count", + "limit": { "max": 9, "min": 1 } + } + ] + }, + { + "type": "minecraft:item", + "name": "unicopia:alfalfa_seeds" + } + ] + } + ] + }, + { + "rolls": 1.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:binomial_with_bonus_count", + "parameters": { + "extra": 3, + "probability": 0.5714286 + } + } + ], + "name": "unicopia:alfalfa_seeds" + } + ], + "conditions": [ + { + "condition": "minecraft:block_state_property", + "block": "unicopia:alfalfa_crops", + "properties": { + "age": "7" + } + } + ] + } + ], + "functions": [ + { + "function": "minecraft:explosion_decay" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/apple_leaves.json b/src/main/resources/data/unicopia/loot_tables/blocks/apple_leaves.json new file mode 100644 index 00000000..ebbba995 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/apple_leaves.json @@ -0,0 +1,182 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:alternative", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "item": "minecraft:shears" + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + ], + "name": "unicopia:apple_leaves" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + }, + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.05, + 0.0625, + 0.083333336, + 0.1 + ] + } + ], + "name": "unicopia:apple_sapling" + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.02, + 0.022222223, + 0.025, + 0.033333335, + 0.1 + ] + } + ], + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:stick" + } + ], + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:alternative", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "item": "minecraft:shears" + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + }, + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.005, + 0.0055555557, + 0.00625, + 0.008333334, + 0.025 + ] + } + ], + "name": "minecraft:apple" + } + ], + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:alternative", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "item": "minecraft:shears" + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/apple_sapling.json b/src/main/resources/data/unicopia/loot_tables/blocks/apple_sapling.json new file mode 100644 index 00000000..17066e96 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/apple_sapling.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "unicopia:apple_sapling" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/bakery_door.json b/src/main/resources/data/unicopia/loot_tables/blocks/bakery_door.json new file mode 100644 index 00000000..bcc06dda --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/bakery_door.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:bakery_door" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/cuccoon.json b/src/main/resources/data/unicopia/loot_tables/blocks/chiseled_chitin_shell_block.json similarity index 67% rename from src/main/resources/data/unicopia/loot_tables/blocks/cuccoon.json rename to src/main/resources/data/unicopia/loot_tables/blocks/chiseled_chitin_shell_block.json index 654a3b75..e00c8b5a 100644 --- a/src/main/resources/data/unicopia/loot_tables/blocks/cuccoon.json +++ b/src/main/resources/data/unicopia/loot_tables/blocks/chiseled_chitin_shell_block.json @@ -6,14 +6,11 @@ "entries": [ { "type": "minecraft:item", - "name": "minecraft:slime_ball", + "name": "unicopia:chitin_shell", "functions": [ { "function": "minecraft:set_count", - "count": { - "min": 3, - "max": 5 - } + "count": 9 } ] } diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/chitin_shell_block.json b/src/main/resources/data/unicopia/loot_tables/blocks/chitin_shell_block.json new file mode 100644 index 00000000..e00c8b5a --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/chitin_shell_block.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "unicopia:chitin_shell", + "functions": [ + { + "function": "minecraft:set_count", + "count": 9 + } + ] + } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/cloud_anvil.json b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_anvil.json new file mode 100644 index 00000000..2fcea06b --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_anvil.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:cloud_anvil" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/cloud_block.json b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_block.json new file mode 100644 index 00000000..d24306cf --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_block.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:cloud_block" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/cloud_farmland.json b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_farmland.json new file mode 100644 index 00000000..d24306cf --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_farmland.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:cloud_block" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/cloud_fence.json b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_fence.json new file mode 100644 index 00000000..d027f6a6 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_fence.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:cloud_fence" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/cloud_slab.json b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_slab.json new file mode 100644 index 00000000..8ecbaad3 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_slab.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:cloud_slab" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/cloud_stairs.json b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_stairs.json new file mode 100644 index 00000000..83ce5c08 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/cloud_stairs.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:cloud_stairs" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/dense_cloud_block.json b/src/main/resources/data/unicopia/loot_tables/blocks/dense_cloud_block.json new file mode 100644 index 00000000..fd643eda --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/dense_cloud_block.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:dense_cloud_block" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/dense_cloud_slab.json b/src/main/resources/data/unicopia/loot_tables/blocks/dense_cloud_slab.json new file mode 100644 index 00000000..b0797547 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/dense_cloud_slab.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:dense_cloud_slab" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/diamond_door.json b/src/main/resources/data/unicopia/loot_tables/blocks/diamond_door.json new file mode 100644 index 00000000..7b2cdcbb --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/diamond_door.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:diamond_door" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_cloud_block.json b/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_cloud_block.json new file mode 100644 index 00000000..f2b6e778 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_cloud_block.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:enchanted_cloud_block" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_cloud_slab.json b/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_cloud_slab.json new file mode 100644 index 00000000..a6e8844e --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_cloud_slab.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:enchanted_cloud_slab" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_wall_torch.json b/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_wall_torch.json new file mode 100644 index 00000000..de81c36c --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/enchanted_wall_torch.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "unicopia:gem" + }, + { + "type": "minecraft:item", + "name": "unicopia:corrupted_gem" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/hive_wall_block.json b/src/main/resources/data/unicopia/loot_tables/blocks/hive_wall_block.json new file mode 100644 index 00000000..3b26731a --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/hive_wall_block.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:hive_wall_block" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/library_door.json b/src/main/resources/data/unicopia/loot_tables/blocks/library_door.json new file mode 100644 index 00000000..413924ba --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/library_door.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:library_door" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/misted_glass_door.json b/src/main/resources/data/unicopia/loot_tables/blocks/misted_glass_door.json new file mode 100644 index 00000000..00ee0bcd --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/misted_glass_door.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { "type": "minecraft:item", "name": "unicopia:misted_glass_door" } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/slime_drop.json b/src/main/resources/data/unicopia/loot_tables/blocks/slime_drop.json new file mode 100644 index 00000000..07a271ba --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/slime_drop.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "name": "unicopia:slime_drop", + "functions": [ + { + "function": "minecraft:set_count", + "count": { "min": 1, "max": 3 } + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:slime_ball", + "functions": [ + { + "function": "minecraft:set_count", + "count": { "min": 3, "max": 5 } + } + ] + } + ] + } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/tags/items/apples.json b/src/main/resources/data/unicopia/tags/items/apples.json index 5b4f5efc..73e7a6e5 100644 --- a/src/main/resources/data/unicopia/tags/items/apples.json +++ b/src/main/resources/data/unicopia/tags/items/apples.json @@ -2,6 +2,7 @@ "replace": false, "values": [ "minecraft:apple", + "minecraft:golden_apple", "unicopia:green_apple", "unicopia:sweet_apple", "unicopia:sour_apple",