feat: starting items

(no akashic tome contents yet)
This commit is contained in:
Timo Ley 2023-12-01 21:20:10 +01:00
parent 6c93b7ab80
commit 3b6b00f59c
2 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{
"advancements": [
{
"conditions": [],
"advancement": {
"rewards": {
"loot": [
"ntx4core:gameplay/starting_items"
]
},
"criteria": {
"tick": {
"trigger": "minecraft:tick",
"conditions": {}
}
},
"requirements": [
[
"tick"
]
]
}
}
]
}

View file

@ -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"
}
]
}
]
}
]
}