diff --git a/mecha/resources/1_21.json b/mecha/resources/1_21.json index 9940805..a74f52c 100644 --- a/mecha/resources/1_21.json +++ b/mecha/resources/1_21.json @@ -6359,6 +6359,35 @@ }, "required_level": 2 }, + "fetchprofile": { + "type": "literal", + "children": { + "id": { + "type": "literal", + "children": { + "id": { + "type": "argument", + "executable": true, + "parser": "minecraft:uuid" + } + } + }, + "name": { + "type": "literal", + "children": { + "name": { + "type": "argument", + "executable": true, + "parser": "brigadier:string", + "properties": { + "type": "greedy" + } + } + } + } + }, + "required_level": 2 + }, "fill": { "type": "literal", "children": { @@ -6632,6 +6661,17 @@ "gamerule": { "type": "literal", "children": { + "allowEnteringNetherUsingPortals": { + "type": "literal", + "children": { + "value": { + "type": "argument", + "executable": true, + "parser": "brigadier:bool" + } + }, + "executable": true + }, "allowFireTicksAwayFromPlayer": { "type": "literal", "children": { @@ -6676,6 +6716,17 @@ }, "executable": true }, + "commandBlocksEnabled": { + "type": "literal", + "children": { + "value": { + "type": "argument", + "executable": true, + "parser": "brigadier:bool" + } + }, + "executable": true + }, "commandModificationBlockLimit": { "type": "literal", "children": { @@ -7120,6 +7171,17 @@ }, "executable": true }, + "pvp": { + "type": "literal", + "children": { + "value": { + "type": "argument", + "executable": true, + "parser": "brigadier:bool" + } + }, + "executable": true + }, "randomTickSpeed": { "type": "literal", "children": { @@ -7175,17 +7237,13 @@ }, "executable": true }, - "spawnChunkRadius": { + "spawnMonsters": { "type": "literal", "children": { "value": { "type": "argument", "executable": true, - "parser": "brigadier:integer", - "properties": { - "max": 32, - "min": 0 - } + "parser": "brigadier:bool" } }, "executable": true @@ -7201,6 +7259,17 @@ }, "executable": true }, + "spawnerBlocksEnabled": { + "type": "literal", + "children": { + "value": { + "type": "argument", + "executable": true, + "parser": "brigadier:bool" + } + }, + "executable": true + }, "spectatorsGenerateChunks": { "type": "literal", "children": { @@ -10081,10 +10150,10 @@ "pos": { "type": "argument", "children": { - "angle": { + "rotation": { "type": "argument", "executable": true, - "parser": "minecraft:angle" + "parser": "minecraft:rotation" } }, "executable": true, @@ -10103,10 +10172,10 @@ "pos": { "type": "argument", "children": { - "angle": { + "rotation": { "type": "argument", "executable": true, - "parser": "minecraft:angle" + "parser": "minecraft:rotation" } }, "executable": true, diff --git a/tests/snapshots/spec__prototypes__0.json b/tests/snapshots/spec__prototypes__0.json index 31144ac..374148d 100644 --- a/tests/snapshots/spec__prototypes__0.json +++ b/tests/snapshots/spec__prototypes__0.json @@ -653,6 +653,8 @@ "experience:set:target:amount", "experience:set:target:amount:levels", "experience:set:target:amount:points", + "fetchprofile:id:id", + "fetchprofile:name:name", "fill:from:to:block", "fill:from:to:block:destroy", "fill:from:to:block:hollow", @@ -684,6 +686,8 @@ "function:name:with:storage:source:path", "gamemode:gamemode", "gamemode:gamemode:target", + "gamerule:allowEnteringNetherUsingPortals", + "gamerule:allowEnteringNetherUsingPortals:value", "gamerule:allowFireTicksAwayFromPlayer", "gamerule:allowFireTicksAwayFromPlayer:value", "gamerule:announceAdvancements", @@ -692,6 +696,8 @@ "gamerule:blockExplosionDropDecay:value", "gamerule:commandBlockOutput", "gamerule:commandBlockOutput:value", + "gamerule:commandBlocksEnabled", + "gamerule:commandBlocksEnabled:value", "gamerule:commandModificationBlockLimit", "gamerule:commandModificationBlockLimit:value", "gamerule:disableElytraMovementCheck", @@ -772,6 +778,8 @@ "gamerule:playersSleepingPercentage:value", "gamerule:projectilesCanBreakBlocks", "gamerule:projectilesCanBreakBlocks:value", + "gamerule:pvp", + "gamerule:pvp:value", "gamerule:randomTickSpeed", "gamerule:randomTickSpeed:value", "gamerule:reducedDebugInfo", @@ -782,10 +790,12 @@ "gamerule:showDeathMessages:value", "gamerule:snowAccumulationHeight", "gamerule:snowAccumulationHeight:value", - "gamerule:spawnChunkRadius", - "gamerule:spawnChunkRadius:value", + "gamerule:spawnMonsters", + "gamerule:spawnMonsters:value", "gamerule:spawnRadius", "gamerule:spawnRadius:value", + "gamerule:spawnerBlocksEnabled", + "gamerule:spawnerBlocksEnabled:value", "gamerule:spectatorsGenerateChunks", "gamerule:spectatorsGenerateChunks:value", "gamerule:tntExplodes", @@ -1067,11 +1077,11 @@ "setidletimeout:minutes", "setworldspawn", "setworldspawn:pos", - "setworldspawn:pos:angle", + "setworldspawn:pos:rotation", "spawnpoint", "spawnpoint:targets", "spawnpoint:targets:pos", - "spawnpoint:targets:pos:angle", + "spawnpoint:targets:pos:rotation", "spectate", "spectate:target", "spectate:target:player",