Merge branch 'master' of https://github.com/misode/loot-table into dev/help-tooltips

This commit is contained in:
Misode
2019-12-20 21:45:39 +01:00
5 changed files with 157 additions and 3 deletions

View File

@@ -828,6 +828,11 @@
"type": "nbt",
"translate": "entity.nbt"
},
{
"id": "team",
"type": "string",
"translate": "entity.team"
},
{
"id": "location",
"type": "object",
@@ -933,6 +938,56 @@
}
]
},
{
"id": "player",
"type": "object",
"translate": "entity.player",
"color": "dark",
"collapse": true,
"fields": [
{
"id": "level",
"type": "range",
"translate": "entity.player.level"
},
{
"id": "gamemode",
"type": "enum",
"translate": "entity.player.gamemode",
"translateValue": "gamemode",
"unset": true,
"values": [
"adventure",
"creative",
"spectator",
"survival"
]
},
{
"id": "advancements",
"type": "map",
"translate": "entity.player.advancements",
"values": {
"type": "boolean"
}
},
{
"id": "recipes",
"type": "map",
"translate": "entity.player.recipes",
"values": {
"type": "boolean"
}
},
{
"id": "stats",
"type": "array",
"button": "field",
"translate": "statistic",
"values": "statistic"
}
]
},
{
"id": "effects",
"type": "map",
@@ -1279,6 +1334,43 @@
"value": "entity"
}
]
},
{
"id": "statistic",
"type": "object",
"color": "dark",
"fields": [
{
"id": "type",
"type": "enum",
"translate": "statistic.type",
"translateValue": "statistic.type",
"default": "minecraft:custom",
"values": [
"minecraft:broken",
"minecraft:crafted",
"minecraft:custom",
"minecraft:dropped",
"minecraft:killed",
"minecraft:killed_by",
"minecraft:mined",
"minecraft:picked_up",
"minecraft:used",
"killedByTeam",
"teamkill"
]
},
{
"id": "stat",
"type": "string",
"translate": "statistic.stat"
},
{
"id": "value",
"type": "range",
"translate": "statistic.value"
}
]
}
],
"collections": {