diff --git a/src/main/resources/data/ntx4core/advancements/starting_items.json b/src/main/resources/data/ntx4core/advancements/starting_items.json new file mode 100644 index 0000000..ecb5101 --- /dev/null +++ b/src/main/resources/data/ntx4core/advancements/starting_items.json @@ -0,0 +1,25 @@ +{ + "advancements": [ + { + "conditions": [], + "advancement": { + "rewards": { + "loot": [ + "ntx4core:gameplay/starting_items" + ] + }, + "criteria": { + "tick": { + "trigger": "minecraft:tick", + "conditions": {} + } + }, + "requirements": [ + [ + "tick" + ] + ] + } + } + ] + } \ No newline at end of file diff --git a/src/main/resources/data/ntx4core/loot_tables/gameplay/starting_items.json b/src/main/resources/data/ntx4core/loot_tables/gameplay/starting_items.json new file mode 100644 index 0000000..4a898fb --- /dev/null +++ b/src/main/resources/data/ntx4core/loot_tables/gameplay/starting_items.json @@ -0,0 +1,42 @@ +{ + "type": "minecraft:advancement_reward", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "akashictome:tome", + "functions": [ + { + "function": "minecraft:set_nbt", + "tag": "{}" + } + ] + } + ] + }, + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:apple", + "functions": [ + { + "function": "minecraft:set_count", + "count": 16 + }, + { + "function": "minecraft:set_name", + "name": "Manufacturer of inferior devices", + "entity": "this" + } + ] + } + ] + } + ] +} \ No newline at end of file