Created
December 25, 2020 02:46
-
-
Save misode/b78d61fb64fd6511e499c09e328cd3fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "advancement": { | |
| "type": "object", | |
| "properties": { | |
| "display": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "icon": { | |
| "type": "object", | |
| "properties": { | |
| "item": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "nbt": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "item" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "title": "text_component", | |
| "description": "text_component", | |
| "background": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "frame": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": [ | |
| "task", | |
| "challenge", | |
| "goal" | |
| ] | |
| }, | |
| "show_toast": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "announce_to_chat": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "hidden": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "parent": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$advancement" | |
| } | |
| }, | |
| "criteria": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": "advancement_criteria" | |
| }, | |
| "requirements": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "rewards": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "function": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$function" | |
| } | |
| }, | |
| "loot": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$loot_table" | |
| } | |
| } | |
| }, | |
| "recipes": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$recipe" | |
| } | |
| } | |
| }, | |
| "experience": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "advancement_criteria": { | |
| "type": "object", | |
| "properties": { | |
| "trigger": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": [ | |
| "minecraft:bee_nest_destroyed", | |
| "minecraft:bred_animals", | |
| "minecraft:brewed_potion", | |
| "minecraft:changed_dimension", | |
| "minecraft:channeled_lightning", | |
| "minecraft:construct_beacon", | |
| "minecraft:consume_item", | |
| "minecraft:cured_zombie_villager", | |
| "minecraft:effects_changed", | |
| "minecraft:enchanted_item", | |
| "minecraft:enter_block", | |
| "minecraft:entity_hurt_player", | |
| "minecraft:entity_killed_player", | |
| "minecraft:filled_bucket", | |
| "minecraft:fishing_rod_hooked", | |
| "minecraft:hero_of_the_village", | |
| "minecraft:impossible", | |
| "minecraft:inventory_changed", | |
| "minecraft:item_durability_changed", | |
| "minecraft:item_used_on_block", | |
| "minecraft:killed_by_crossbow", | |
| "minecraft:levitation", | |
| "minecraft:location", | |
| "minecraft:nether_travel", | |
| "minecraft:placed_block", | |
| "minecraft:player_generates_container_loot", | |
| "minecraft:player_hurt_entity", | |
| "minecraft:player_interacted_with_entity", | |
| "minecraft:player_killed_entity", | |
| "minecraft:recipe_unlocked", | |
| "minecraft:shot_crossbow", | |
| "minecraft:slept_in_bed", | |
| "minecraft:slide_down_block", | |
| "minecraft:summoned_entity", | |
| "minecraft:tame_animal", | |
| "minecraft:target_hit", | |
| "minecraft:tick", | |
| "minecraft:thrown_item_picked_up_by_entity", | |
| "minecraft:used_ender_eye", | |
| "minecraft:used_totem", | |
| "minecraft:villager_trade", | |
| "minecraft:voluntary_exile" | |
| ] | |
| } | |
| }, | |
| "conditions": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "player": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| "pop", | |
| { | |
| "push": "trigger" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:bee_nest_destroyed": { | |
| "block": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "num_bees_inside": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:bred_animals": { | |
| "parent": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "partner": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "child": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:brewed_potion": { | |
| "potion": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "potion" | |
| } | |
| } | |
| }, | |
| "minecraft:changed_dimension": { | |
| "from": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$dimension" | |
| } | |
| }, | |
| "to": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$dimension" | |
| } | |
| } | |
| }, | |
| "minecraft:channeled_lightning": { | |
| "victims": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:construct_beacon": { | |
| "level": "int_bounds" | |
| }, | |
| "minecraft:consume_item": { | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:cured_zombie_villager": { | |
| "villager": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "zombie": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:effects_changed": { | |
| "effects": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "mob_effect" | |
| } | |
| }, | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "amplifier": "int_bounds", | |
| "duration": "int_bounds" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:enter_block": { | |
| "block": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "state": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "string" | |
| }, | |
| "validator": "block_state_map", | |
| "params": { | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "block" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "minecraft:enchanted_item": { | |
| "levels": "int_bounds", | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:entity_hurt_player": { | |
| "damage": "damage_predicate" | |
| }, | |
| "minecraft:entity_killed_player": { | |
| "entity": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "killing_blow": "damage_source_predicate" | |
| }, | |
| "minecraft:filled_bucket": { | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:fishing_rod_hooked": { | |
| "entity": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:hero_of_the_village": { | |
| "location": "location_predicate" | |
| }, | |
| "minecraft:inventory_changed": { | |
| "slots": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "empty": "int_bounds", | |
| "occupied": "int_bounds", | |
| "full": "int_bounds" | |
| } | |
| }, | |
| "items": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "item_predicate" | |
| } | |
| }, | |
| "minecraft:item_durability_changed": { | |
| "delta": "int_bounds", | |
| "durability": "int_bounds", | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:item_used_on_block": { | |
| "item": "item_predicate", | |
| "location": "location_predicate" | |
| }, | |
| "minecraft:killed_by_crossbow": { | |
| "unique_entity_types": "int_bounds", | |
| "victims": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:levitation": { | |
| "distance": "distance_predicate", | |
| "duration": "int_bounds" | |
| }, | |
| "minecraft:location": { | |
| "location": "location_predicate" | |
| }, | |
| "minecraft:nether_travel": { | |
| "distance": "distance_predicate", | |
| "entered": "location_predicate", | |
| "exited": "location_predicate" | |
| }, | |
| "minecraft:placed_block": { | |
| "block": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "state": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "string" | |
| }, | |
| "validator": "block_state_map", | |
| "params": { | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "block" | |
| } | |
| ] | |
| } | |
| }, | |
| "item": "item_predicate", | |
| "location": "location_predicate" | |
| }, | |
| "minecraft:player_generates_container_loot": { | |
| "loot_table": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$loot_table" | |
| } | |
| } | |
| }, | |
| "minecraft:player_hurt_entity": { | |
| "damage": "damage_predicate", | |
| "entity": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:player_interacted_with_entity": { | |
| "item": "item_predicate", | |
| "entity": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:player_killed_entity": { | |
| "entity": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "killing_blow": "damage_source_predicate" | |
| }, | |
| "minecraft:recipe_unlocked": { | |
| "recipe": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$recipe" | |
| } | |
| } | |
| }, | |
| "minecraft:slept_in_bed": { | |
| "location": "location_predicate" | |
| }, | |
| "minecraft:slide_down_block": { | |
| "block": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| } | |
| }, | |
| "minecraft:shot_crossbow": { | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:summoned_entity": { | |
| "entity": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:tame_animal": { | |
| "entity": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:target_hit": { | |
| "projectile": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "shooter": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "entity_predicate", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "signal_strength": "int_bounds" | |
| }, | |
| "minecraft:thrown_item_picked_up_by_entity": { | |
| "entity": "entity_predicate", | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:used_ender_eye": { | |
| "distance": "float_bounds" | |
| }, | |
| "minecraft:used_totem": { | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:villager_trade": { | |
| "villager": "entity_predicate", | |
| "item": "item_predicate" | |
| }, | |
| "minecraft:voluntary_exile": { | |
| "location": "location_predicate" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "attribute_modifier": { | |
| "type": "object", | |
| "properties": { | |
| "attribute": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "attribute" | |
| } | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "amount": "number_provider", | |
| "operation": { | |
| "type": "string", | |
| "enum": [ | |
| "addition", | |
| "multiply_base", | |
| "multiply_total" | |
| ] | |
| }, | |
| "slot": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "enum": "slot" | |
| }, | |
| "list": { | |
| "type": "list", | |
| "values": { | |
| "type": "string", | |
| "enum": "slot" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "biome": { | |
| "type": "object", | |
| "properties": { | |
| "surface_builder": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_surface_builder" | |
| } | |
| }, | |
| "depth": { | |
| "type": "number" | |
| }, | |
| "scale": { | |
| "type": "number" | |
| }, | |
| "temperature": { | |
| "type": "number" | |
| }, | |
| "downfall": { | |
| "type": "number" | |
| }, | |
| "precipitation": { | |
| "type": "string", | |
| "enum": [ | |
| "none", | |
| "rain", | |
| "snow" | |
| ] | |
| }, | |
| "temperature_modifier": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": [ | |
| "none", | |
| "frozen" | |
| ] | |
| }, | |
| "category": { | |
| "type": "string", | |
| "enum": "biome_category" | |
| }, | |
| "player_spawn_friendly": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "creature_spawn_probability": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "effects": { | |
| "type": "object", | |
| "properties": { | |
| "sky_color": { | |
| "type": "number", | |
| "color": true | |
| }, | |
| "fog_color": { | |
| "type": "number", | |
| "color": true | |
| }, | |
| "water_color": { | |
| "type": "number", | |
| "color": true | |
| }, | |
| "water_fog_color": { | |
| "type": "number", | |
| "color": true | |
| }, | |
| "grass_color": { | |
| "type": "number", | |
| "optional": true, | |
| "color": true | |
| }, | |
| "foliage_color": { | |
| "type": "number", | |
| "optional": true, | |
| "color": true | |
| }, | |
| "grass_color_modifier": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": [ | |
| "none", | |
| "dark_forest", | |
| "swamp" | |
| ] | |
| }, | |
| "ambient_sound": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "mood_sound": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "sound": { | |
| "type": "string" | |
| }, | |
| "tick_delay": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "block_search_extent": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "offset": { | |
| "type": "number" | |
| } | |
| } | |
| }, | |
| "additions_sound": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "sound": { | |
| "type": "string" | |
| }, | |
| "tick_chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| }, | |
| "music": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "sound": { | |
| "type": "string" | |
| }, | |
| "min_delay": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| }, | |
| "max_delay": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| }, | |
| "replace_current_music": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "particle": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "options": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "starts": { | |
| "type": "list", | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_structure_feature" | |
| } | |
| } | |
| }, | |
| "spawners": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "enum": [ | |
| "water_ambient", | |
| "ambient", | |
| "misc", | |
| "water_creature", | |
| "creature", | |
| "monster" | |
| ] | |
| }, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| }, | |
| "weight": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "minCount": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "maxCount": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "spawn_costs": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| }, | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "energy_budget": { | |
| "type": "number" | |
| }, | |
| "charge": { | |
| "type": "number" | |
| } | |
| } | |
| } | |
| }, | |
| "carvers": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "enum": [ | |
| "air", | |
| "liquid" | |
| ] | |
| }, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_carver" | |
| } | |
| } | |
| } | |
| }, | |
| "features": { | |
| "type": "list", | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| } | |
| }, | |
| "maxLength": 10 | |
| } | |
| } | |
| }, | |
| "block_placer": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/block_placer_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:column_placer": { | |
| "min_size": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "extra_size": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "block_pos": { | |
| "type": "list", | |
| "values": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "minLength": 3, | |
| "maxLength": 3 | |
| }, | |
| "block_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "block": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$tag/block" | |
| } | |
| }, | |
| "nbt": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:block", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "block" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "state": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string" | |
| }, | |
| "number": { | |
| "type": "number" | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "min": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "max": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| } | |
| }, | |
| "boolean": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "validator": "block_state_map", | |
| "params": { | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "block" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "block_state": { | |
| "type": "object", | |
| "properties": { | |
| "Name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "Properties": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "string" | |
| }, | |
| "validator": "block_state_map", | |
| "params": { | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "Name" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "block_state_provider": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/block_state_provider_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:rotated_block_provider": { | |
| "state": "block_state" | |
| }, | |
| "minecraft:simple_state_provider": { | |
| "state": "block_state" | |
| }, | |
| "minecraft:weighted_state_provider": { | |
| "entries": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "weight": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1 | |
| }, | |
| "data": "block_state" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "block_tag": { | |
| "type": "object", | |
| "properties": { | |
| "replace": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block", | |
| "allowTag": true | |
| } | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block", | |
| "allowTag": true, | |
| "allowUnknown": true | |
| } | |
| }, | |
| "required": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "condition": { | |
| "type": "object", | |
| "properties": { | |
| "condition": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_condition_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "condition" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:alternative": { | |
| "terms": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:block_state_property": { | |
| "block": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "properties": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "string" | |
| }, | |
| "validator": "block_state_map", | |
| "params": { | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "block" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "minecraft:damage_source_properties": { | |
| "predicate": "damage_source_predicate" | |
| }, | |
| "minecraft:entity_properties": { | |
| "entity": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "predicate": "entity_predicate" | |
| }, | |
| "minecraft:entity_scores": { | |
| "entity": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "scores": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "validator": "objective" | |
| }, | |
| "values": "int_range" | |
| } | |
| }, | |
| "minecraft:inverted": { | |
| "term": "condition" | |
| }, | |
| "minecraft:killed_by_player": { | |
| "inverse": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| }, | |
| "minecraft:location_check": { | |
| "offsetX": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "offsetY": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "offsetZ": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "predicate": "location_predicate" | |
| }, | |
| "minecraft:match_tool": { | |
| "predicate": "item_predicate" | |
| }, | |
| "minecraft:random_chance": { | |
| "chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:random_chance_with_looting": { | |
| "chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "looting_multiplier": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:requirements": { | |
| "terms": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:reference": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$predicate" | |
| } | |
| } | |
| }, | |
| "minecraft:table_bonus": { | |
| "enchantment": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| }, | |
| "chances": { | |
| "type": "list", | |
| "values": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| }, | |
| "minecraft:time_check": { | |
| "value": "int_range", | |
| "period": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:value_check": { | |
| "value": "number_provider", | |
| "range": "int_range" | |
| }, | |
| "minecraft:weather_check": { | |
| "raining": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "thundering": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "configured_carver": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/carver" | |
| } | |
| }, | |
| "config": { | |
| "type": "object", | |
| "properties": { | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "configured_decorator": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/decorator" | |
| } | |
| }, | |
| "config": { | |
| "type": "object", | |
| "properties": {}, | |
| "dispatch": { | |
| "path": [ | |
| "pop", | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:carving_mask": { | |
| "step": { | |
| "type": "string", | |
| "enum": "generation_step" | |
| }, | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:chance": { | |
| "chance": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| } | |
| }, | |
| "minecraft:count": { | |
| "count": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 128 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:count_extra": { | |
| "count": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| }, | |
| "extra_count": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| }, | |
| "extra_chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:count_multilayer": { | |
| "count": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 128 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:count_noise": { | |
| "noise_level": { | |
| "type": "number" | |
| }, | |
| "below_noise": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "above_noise": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:count_noise_biased": { | |
| "noise_to_count_ratio": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "noise_factor": { | |
| "type": "number" | |
| }, | |
| "noise_offset": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:decorated": { | |
| "outer": "configured_decorator", | |
| "inner": "configured_decorator" | |
| }, | |
| "minecraft:depth_average": { | |
| "baseline": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:fire": { | |
| "count": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 128 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:glowstone": { | |
| "count": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 128 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:lava_lake": { | |
| "chance": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| } | |
| }, | |
| "minecraft:range": { | |
| "maximum": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "bottom_offset": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "top_offset": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:range_biased": { | |
| "maximum": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "bottom_offset": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "top_offset": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:range_very_biased": { | |
| "maximum": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "bottom_offset": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "top_offset": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:water_lake": { | |
| "chance": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "configured_feature": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/feature" | |
| } | |
| }, | |
| "config": { | |
| "type": "object", | |
| "properties": {}, | |
| "dispatch": { | |
| "path": [ | |
| "pop", | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:bamboo": { | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:basalt_columns": { | |
| "reach": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 2 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 2 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "height": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 5 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 5 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 5 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:block_pile": { | |
| "state_provider": "block_state_provider" | |
| }, | |
| "minecraft:decorated": { | |
| "decorator": "configured_decorator", | |
| "feature": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| }, | |
| "object": "configured_feature" | |
| } | |
| } | |
| }, | |
| "minecraft:decorated_flower": { | |
| "decorator": "configured_decorator", | |
| "feature": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| }, | |
| "object": "configured_feature" | |
| } | |
| } | |
| }, | |
| "minecraft:delta_feature": { | |
| "contents": "block_state", | |
| "rim": "block_state", | |
| "size": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "rim_size": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:disk": { | |
| "state": "block_state", | |
| "radius": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "half_height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4 | |
| }, | |
| "targets": { | |
| "type": "list", | |
| "values": "block_state" | |
| } | |
| }, | |
| "minecraft:dripstone_cluster": { | |
| "floor_to_ceiling_search_range": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 512 | |
| }, | |
| "height": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 64 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 64 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 64 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "radius": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 64 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 64 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 64 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "max_stalagmite_stalactite_height_diff": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 64 | |
| }, | |
| "height_deviation": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 64 | |
| }, | |
| "dripstone_block_layer_thickness": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 64 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 64 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 64 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "density": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "wetness": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "wetness_mean": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "wetness_deviation": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "chance_of_dripstone_column_at_max_distance_from_center": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "max_distance_from_center_affecting_chance_of_dripstone_column": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 64 | |
| }, | |
| "max_distance_from_center_affecting_height_bias": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 64 | |
| } | |
| }, | |
| "minecraft:emerald_ore": { | |
| "state": "block_state", | |
| "target": "block_state" | |
| }, | |
| "minecraft:end_gateway": { | |
| "exact": { | |
| "type": "boolean" | |
| }, | |
| "exit": "block_pos" | |
| }, | |
| "minecraft:end_spike": { | |
| "crystal_invulnerable": { | |
| "type": "boolean" | |
| }, | |
| "crystal_beam_target": "block_pos", | |
| "spikes": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "centerX": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "centerZ": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "radius": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "height": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "guarded": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:fill_layer": { | |
| "state": "block_state", | |
| "height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 255 | |
| } | |
| }, | |
| "minecraft:flower": { | |
| "can_replace": { | |
| "type": "boolean" | |
| }, | |
| "project": { | |
| "type": "boolean" | |
| }, | |
| "need_water": { | |
| "type": "boolean" | |
| }, | |
| "xspread": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "yspread": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "zspread": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "tries": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "state_provider": "block_state_provider", | |
| "block_placer": "block_placer", | |
| "whitelist": { | |
| "type": "list", | |
| "values": "block_state" | |
| }, | |
| "blacklist": { | |
| "type": "list", | |
| "values": "block_state" | |
| } | |
| }, | |
| "minecraft:forest_rock": { | |
| "state": "block_state" | |
| }, | |
| "minecraft:geode": { | |
| "blocks": { | |
| "type": "object", | |
| "properties": { | |
| "filling_provider": "block_state_provider", | |
| "inner_layer_provider": "block_state_provider", | |
| "alternate_inner_layer_provider": "block_state_provider", | |
| "middle_layer_provider": "block_state_provider", | |
| "outer_layer_provider": "block_state_provider", | |
| "inner_placements": { | |
| "type": "list", | |
| "values": "block_state" | |
| } | |
| } | |
| }, | |
| "layers": { | |
| "type": "object", | |
| "properties": { | |
| "filling": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0.01, | |
| "max": 50 | |
| }, | |
| "inner_layer": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0.01, | |
| "max": 50 | |
| }, | |
| "middle_layer": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0.01, | |
| "max": 50 | |
| }, | |
| "outer_layer": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0.01, | |
| "max": 50 | |
| } | |
| } | |
| }, | |
| "crack": { | |
| "type": "object", | |
| "properties": { | |
| "generate_crack_chance": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "base_crack_size": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0, | |
| "max": 5 | |
| }, | |
| "crack_point_offset": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0, | |
| "max": 10, | |
| "integer": true | |
| } | |
| } | |
| }, | |
| "noise_multiplier": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "use_potential_placements_chance": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "use_alternate_layer0_chance": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "placements_require_layer0_alternate": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "min_outer_wall_distance": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 1, | |
| "max": 10, | |
| "integer": true | |
| }, | |
| "max_outer_wall_distance": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 1, | |
| "max": 20, | |
| "integer": true | |
| }, | |
| "min_distribution_points": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 1, | |
| "max": 10, | |
| "integer": true | |
| }, | |
| "max_distribution_points": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 1, | |
| "max": 20, | |
| "integer": true | |
| }, | |
| "min_point_offset": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 1, | |
| "max": 10, | |
| "integer": true | |
| }, | |
| "max_point_offset": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 1, | |
| "max": 10, | |
| "integer": true | |
| }, | |
| "min_gen_offset": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "max_gen_offset": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:huge_brown_mushroom": { | |
| "cap_provider": "block_state_provider", | |
| "stem_provider": "block_state_provider", | |
| "foliage_radius": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:huge_fungus": { | |
| "hat_state": "block_state", | |
| "decor_state": "block_state", | |
| "stem_state": "block_state", | |
| "valid_base_block": "block_state", | |
| "planted": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "minecraft:huge_red_mushroom": { | |
| "cap_provider": "block_state_provider", | |
| "stem_provider": "block_state_provider", | |
| "foliage_radius": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:ice_patch": { | |
| "state": "block_state", | |
| "radius": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "half_height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4 | |
| }, | |
| "targets": { | |
| "type": "list", | |
| "values": "block_state" | |
| } | |
| }, | |
| "minecraft:iceberg": { | |
| "state": "block_state" | |
| }, | |
| "minecraft:lake": { | |
| "state": "block_state" | |
| }, | |
| "minecraft:large_dripstone": { | |
| "floor_to_ceiling_search_range": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 1, | |
| "max": 512 | |
| }, | |
| "column_radius": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 30 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 30 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 30 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "height_scale": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 10 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 10 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 10 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "max_column_radius_to_cave_height_ratio": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "stalactite_bluntness": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "min": 0.1, | |
| "max": 5 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "min": 0.1, | |
| "max": 5 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 5 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "stalagmite_bluntness": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "min": 0.1, | |
| "max": 5 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "min": 0.1, | |
| "max": 5 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 5 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "wind_speed": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "min_radius_for_wind": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 100 | |
| }, | |
| "min_bluntness_for_wind": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 5 | |
| } | |
| }, | |
| "minecraft:nether_forest_vegetation": { | |
| "state_provider": "block_state_provider" | |
| }, | |
| "minecraft:netherrack_replace_blobs": { | |
| "state": "block_state", | |
| "target": "block_state", | |
| "radius": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:no_surface_ore": { | |
| "state": "block_state", | |
| "size": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 64 | |
| }, | |
| "target": "rule_test" | |
| }, | |
| "minecraft:ore": { | |
| "state": "block_state", | |
| "size": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 64 | |
| }, | |
| "target": "rule_test" | |
| }, | |
| "minecraft:random_patch": { | |
| "can_replace": { | |
| "type": "boolean" | |
| }, | |
| "project": { | |
| "type": "boolean" | |
| }, | |
| "need_water": { | |
| "type": "boolean" | |
| }, | |
| "xspread": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "yspread": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "zspread": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "tries": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "state_provider": "block_state_provider", | |
| "block_placer": "block_placer", | |
| "whitelist": { | |
| "type": "list", | |
| "values": "block_state" | |
| }, | |
| "blacklist": { | |
| "type": "list", | |
| "values": "block_state" | |
| } | |
| }, | |
| "minecraft:random_boolean_selector": { | |
| "feature_false": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| }, | |
| "object": "configured_feature" | |
| } | |
| }, | |
| "feature_true": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| }, | |
| "object": "configured_feature" | |
| } | |
| } | |
| }, | |
| "minecraft:random_selector": { | |
| "features": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "feature": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| }, | |
| "object": "configured_feature" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "default": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| }, | |
| "object": "configured_feature" | |
| } | |
| } | |
| }, | |
| "minecraft:sea_pickle": { | |
| "count": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -10, | |
| "max": 128 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 128 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:seagrass": { | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:simple_block": { | |
| "to_place": "block_state", | |
| "place_on": { | |
| "type": "list", | |
| "values": "block_state" | |
| }, | |
| "place_in": { | |
| "type": "list", | |
| "values": "block_state" | |
| }, | |
| "place_under": { | |
| "type": "list", | |
| "values": "block_state" | |
| } | |
| }, | |
| "minecraft:simple_random_selector": { | |
| "features": { | |
| "type": "list", | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| }, | |
| "object": "configured_feature" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:small_dripstone": { | |
| "max_placements": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 100 | |
| }, | |
| "empty_space_search_radius": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 20 | |
| }, | |
| "max_offset_from_origin": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 20 | |
| }, | |
| "chance_of_taller_dripstone": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:spring_feature": { | |
| "state": "fluid_state", | |
| "rock_count": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "hole_count": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "requires_block_below": { | |
| "type": "boolean" | |
| }, | |
| "valid_blocks": { | |
| "type": "list", | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:tree": { | |
| "max_water_depth": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "ignore_vines": { | |
| "type": "boolean" | |
| }, | |
| "heightmap": { | |
| "type": "string", | |
| "enum": "heightmap_type" | |
| }, | |
| "minimum_size": "feature_size", | |
| "trunk_provider": "block_state_provider", | |
| "leaves_provider": "block_state_provider", | |
| "trunk_placer": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/trunk_placer_type" | |
| } | |
| }, | |
| "base_height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 32 | |
| }, | |
| "height_rand_a": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 24 | |
| }, | |
| "height_rand_b": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 24 | |
| } | |
| } | |
| }, | |
| "foliage_placer": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/foliage_placer_type" | |
| } | |
| }, | |
| "radius": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "offset": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:blob_foliage_placer": { | |
| "height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| } | |
| }, | |
| "minecraft:bush_foliage_placer": { | |
| "height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| } | |
| }, | |
| "minecraft:fancy_foliage_placer": { | |
| "height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| } | |
| }, | |
| "minecraft:jungle_foliage_placer": { | |
| "height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| } | |
| }, | |
| "minecraft:mega_pine_foliage_placer": { | |
| "crown_height": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:pine_foliage_placer": { | |
| "height": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:spruce_foliage_placer": { | |
| "trunk_height": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "base": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 8 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "decorators": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/tree_decorator_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:alter_ground": { | |
| "provider": "block_state_provider" | |
| }, | |
| "minecraft:beehive": { | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:cocoa": { | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "configured_structure_feature": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/structure_feature" | |
| } | |
| }, | |
| "config": { | |
| "type": "object", | |
| "properties": {}, | |
| "dispatch": { | |
| "path": [ | |
| "pop", | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:bastion_remnant": { | |
| "start_pool": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/template_pool" | |
| } | |
| }, | |
| "size": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:buried_treasure": { | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:mineshaft": { | |
| "type": { | |
| "type": "string", | |
| "enum": [ | |
| "normal", | |
| "mesa" | |
| ] | |
| }, | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:ocean_ruin": { | |
| "biome_temp": { | |
| "type": "string", | |
| "enum": [ | |
| "cold", | |
| "warm" | |
| ] | |
| }, | |
| "large_probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "cluster_probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:pillager_outpost": { | |
| "start_pool": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/template_pool" | |
| } | |
| }, | |
| "size": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:ruined_portal": { | |
| "portal_type": { | |
| "type": "string", | |
| "enum": [ | |
| "standard", | |
| "desert", | |
| "jungle", | |
| "mountain", | |
| "nether", | |
| "ocean", | |
| "swamp" | |
| ] | |
| } | |
| }, | |
| "minecraft:shipwreck": { | |
| "is_beached": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "minecraft:village": { | |
| "start_pool": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/template_pool" | |
| } | |
| }, | |
| "size": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "configured_surface_builder": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/surface_builder" | |
| } | |
| }, | |
| "config": { | |
| "type": "object", | |
| "properties": { | |
| "top_material": "block_state", | |
| "under_material": "block_state", | |
| "underwater_material": "block_state" | |
| } | |
| } | |
| } | |
| }, | |
| "damage_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "dealt": "float_bounds", | |
| "taken": "float_bounds", | |
| "blocked": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "source_entity": "entity_predicate", | |
| "type": "damage_source_predicate" | |
| } | |
| }, | |
| "damage_source_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "is_explosion": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "is_fire": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "is_magic": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "is_projectile": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "is_lightning": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "bypasses_armor": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "bypasses_invulnerability": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "bypasses_magic": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "source_entity": "entity_predicate", | |
| "direct_entity": "entity_predicate" | |
| } | |
| }, | |
| "dimension": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$dimension_type" | |
| } | |
| }, | |
| "object": "dimension_type" | |
| } | |
| }, | |
| "generator": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/chunk_generator" | |
| } | |
| }, | |
| "seed": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:noise": { | |
| "biome_source": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/biome_source" | |
| } | |
| }, | |
| "seed": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:fixed": { | |
| "biome": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/biome" | |
| } | |
| } | |
| }, | |
| "minecraft:multi_noise": { | |
| "preset": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": [ | |
| "nether" | |
| ] | |
| }, | |
| "altitude_noise": "generator_biome_noise", | |
| "temperature_noise": "generator_biome_noise", | |
| "humidity_noise": "generator_biome_noise", | |
| "weirdness_noise": "generator_biome_noise", | |
| "biomes": { | |
| "type": "list", | |
| "values": "generator_biome" | |
| } | |
| }, | |
| "minecraft:checkerboard": { | |
| "scale": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 62 | |
| }, | |
| "biomes": { | |
| "type": "list", | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/biome" | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:vanilla_layered": { | |
| "large_biomes": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "legacy_biome_init_layer": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "settings": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/noise_settings" | |
| } | |
| }, | |
| "object": "noise_settings" | |
| } | |
| } | |
| }, | |
| "minecraft:flat": { | |
| "settings": { | |
| "type": "object", | |
| "properties": { | |
| "biome": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/biome" | |
| } | |
| }, | |
| "lakes": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "features": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "layers": { | |
| "type": "list", | |
| "values": "generator_layer" | |
| }, | |
| "structures": "generator_structures" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "dimension_type": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$dimension_type", | |
| "isDefinition": true | |
| } | |
| }, | |
| "ultrawarm": { | |
| "type": "boolean" | |
| }, | |
| "natural": { | |
| "type": "boolean" | |
| }, | |
| "piglin_safe": { | |
| "type": "boolean" | |
| }, | |
| "respawn_anchor_works": { | |
| "type": "boolean" | |
| }, | |
| "bed_works": { | |
| "type": "boolean" | |
| }, | |
| "has_raids": { | |
| "type": "boolean" | |
| }, | |
| "has_skylight": { | |
| "type": "boolean" | |
| }, | |
| "has_ceiling": { | |
| "type": "boolean" | |
| }, | |
| "coordinate_scale": { | |
| "type": "number", | |
| "min": 0.00001, | |
| "max": 30000000 | |
| }, | |
| "ambient_light": { | |
| "type": "number" | |
| }, | |
| "fixed_time": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "logical_height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4096 | |
| }, | |
| "effects": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": [ | |
| "minecraft:overworld", | |
| "minecraft:the_nether", | |
| "minecraft:the_end" | |
| ] | |
| }, | |
| "infiniburn": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$tag/block" | |
| } | |
| }, | |
| "min_y": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -2048, | |
| "max": 2047 | |
| }, | |
| "height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4096 | |
| } | |
| } | |
| }, | |
| "distance_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "x": "float_bounds", | |
| "y": "float_bounds", | |
| "z": "float_bounds", | |
| "absolute": "float_bounds", | |
| "horizontal": "float_bounds" | |
| } | |
| }, | |
| "enchantment_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "enchantment": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| }, | |
| "levels": "int_bounds" | |
| } | |
| }, | |
| "entity_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type", | |
| "allowTag": true | |
| } | |
| }, | |
| "nbt": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:entity", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "type" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "team": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "team" | |
| }, | |
| "location": "location_predicate", | |
| "distance": "distance_predicate", | |
| "flags": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "is_on_fire": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "is_sneaking": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "is_sprinting": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "is_swimming": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "is_baby": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "equipment": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string", | |
| "enum": "slot" | |
| }, | |
| "values": "item_predicate" | |
| }, | |
| "vehicle": "entity_predicate", | |
| "targeted_entity": "entity_predicate", | |
| "player": "player_predicate", | |
| "fishing_hook": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "in_open_water": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "effects": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "mob_effect" | |
| } | |
| }, | |
| "values": "status_effect_predicate" | |
| } | |
| } | |
| }, | |
| "entity_type_tag": { | |
| "type": "object", | |
| "properties": { | |
| "replace": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type", | |
| "allowTag": true | |
| } | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type", | |
| "allowTag": true, | |
| "allowUnknown": true | |
| } | |
| }, | |
| "required": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "feature_size": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/feature_size_type" | |
| } | |
| }, | |
| "min_clipped_height": { | |
| "type": "number", | |
| "optional": true, | |
| "min": 0, | |
| "max": 80 | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:two_layers_feature_size": { | |
| "limit": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 81 | |
| }, | |
| "lower_size": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "upper_size": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| } | |
| }, | |
| "minecraft:three_layers_feature_size": { | |
| "limit": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 80 | |
| }, | |
| "upper_limit": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 80 | |
| }, | |
| "lower_size": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "middle_size": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| }, | |
| "upper_size": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 0, | |
| "max": 16 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "float_bounds": { | |
| "type": "choice", | |
| "optional": true, | |
| "cases": { | |
| "number": { | |
| "type": "number" | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "min": { | |
| "type": "number", | |
| "optional": true | |
| }, | |
| "max": { | |
| "type": "number", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "fluid_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "fluid": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "fluid" | |
| } | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$tag/fluid" | |
| } | |
| }, | |
| "state": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string" | |
| }, | |
| "number": { | |
| "type": "number" | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "min": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "max": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| } | |
| }, | |
| "boolean": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "fluid_state": { | |
| "type": "object", | |
| "properties": { | |
| "Name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "fluid" | |
| } | |
| }, | |
| "Properties": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| }, | |
| "fluid_tag": { | |
| "type": "object", | |
| "properties": { | |
| "replace": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "fluid", | |
| "allowTag": true | |
| } | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "fluid", | |
| "allowTag": true, | |
| "allowUnknown": true | |
| } | |
| }, | |
| "required": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "function": { | |
| "type": "object", | |
| "properties": { | |
| "function": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_function_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "function" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:apply_bonus": { | |
| "enchantment": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| }, | |
| "formula": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": [ | |
| "minecraft:uniform_bonus_count", | |
| "minecraft:binomial_with_bonus_count", | |
| "minecraft:ore_drops" | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "bonusMultiplier": { | |
| "type": "number" | |
| }, | |
| "extra": { | |
| "type": "number" | |
| }, | |
| "probability": { | |
| "type": "number" | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:copy_name": { | |
| "source": { | |
| "type": "string", | |
| "enum": "copy_source" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:copy_nbt": { | |
| "source": "nbt_provider", | |
| "ops": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "source": { | |
| "type": "string", | |
| "validator": "nbt_path", | |
| "params": { | |
| "category": { | |
| "getter": "copy_source", | |
| "path": [ | |
| "pop", | |
| "pop", | |
| "pop", | |
| { | |
| "push": "source" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "target": { | |
| "type": "string", | |
| "validator": "nbt_path", | |
| "params": { | |
| "category": "minecraft:item" | |
| } | |
| }, | |
| "op": { | |
| "type": "string", | |
| "enum": [ | |
| "replace", | |
| "append", | |
| "merge" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:copy_state": { | |
| "block": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "properties": { | |
| "type": "list", | |
| "values": { | |
| "type": "string", | |
| "validator": "block_state_key", | |
| "params": { | |
| "id": [ | |
| "pop", | |
| "pop", | |
| { | |
| "push": "block" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:enchant_randomly": { | |
| "enchantments": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:enchant_with_levels": { | |
| "levels": "number_provider", | |
| "treasure": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:exploration_map": { | |
| "destination": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/structure_feature" | |
| } | |
| }, | |
| "decoration": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": "map_decoration" | |
| }, | |
| "zoom": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "search_radius": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "skip_existing_chunks": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:fill_player_head": { | |
| "entity": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:limit_count": { | |
| "limit": "int_range", | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:looting_enchant": { | |
| "count": "number_provider", | |
| "limit": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_attributes": { | |
| "modifiers": { | |
| "type": "list", | |
| "values": "attribute_modifier" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_banner_pattern": { | |
| "patterns": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "pattern": { | |
| "type": "string", | |
| "enum": "banner_pattern" | |
| }, | |
| "color": { | |
| "type": "string", | |
| "enum": "dye_color" | |
| } | |
| } | |
| } | |
| }, | |
| "append": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_contents": { | |
| "entries": { | |
| "type": "list", | |
| "values": "loot_entry" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_count": { | |
| "count": "number_provider", | |
| "add": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_damage": { | |
| "damage": "number_provider", | |
| "add": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_enchantments": { | |
| "enchantments": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| }, | |
| "values": "number_provider" | |
| }, | |
| "add": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_loot_table": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$loot_table" | |
| } | |
| }, | |
| "seed": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_lore": { | |
| "entity": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": "entity_source" | |
| }, | |
| "lore": { | |
| "type": "list", | |
| "values": "text_component" | |
| }, | |
| "replace": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_name": { | |
| "entity": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": "entity_source" | |
| }, | |
| "name": "text_component", | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_nbt": { | |
| "tag": { | |
| "type": "string", | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item" | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:set_stew_effect": { | |
| "effects": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "mob_effect" | |
| } | |
| }, | |
| "duration": "number_provider" | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "condition" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "function_tag": { | |
| "type": "object", | |
| "properties": { | |
| "replace": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$function", | |
| "allowTag": true | |
| } | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$function", | |
| "allowTag": true, | |
| "allowUnknown": true | |
| } | |
| }, | |
| "required": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "game_event_tag": { | |
| "type": "object", | |
| "properties": { | |
| "replace": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "game_event", | |
| "allowTag": true | |
| } | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "game_event", | |
| "allowTag": true, | |
| "allowUnknown": true | |
| } | |
| }, | |
| "required": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "generator_biome": { | |
| "type": "object", | |
| "properties": { | |
| "biome": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/biome" | |
| } | |
| }, | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "altitude": { | |
| "type": "number", | |
| "min": -1, | |
| "max": 1 | |
| }, | |
| "temperature": { | |
| "type": "number", | |
| "min": -1, | |
| "max": 1 | |
| }, | |
| "humidity": { | |
| "type": "number", | |
| "min": -1, | |
| "max": 1 | |
| }, | |
| "weirdness": { | |
| "type": "number", | |
| "min": -1, | |
| "max": 1 | |
| }, | |
| "offset": { | |
| "type": "number", | |
| "min": -1, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "generator_biome_noise": { | |
| "type": "object", | |
| "properties": { | |
| "firstOctave": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "amplitudes": { | |
| "type": "list", | |
| "values": { | |
| "type": "number" | |
| } | |
| } | |
| } | |
| }, | |
| "generator_layer": { | |
| "type": "object", | |
| "properties": { | |
| "block": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1 | |
| } | |
| } | |
| }, | |
| "generator_structures": { | |
| "type": "object", | |
| "properties": { | |
| "stronghold": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "distance": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 1023 | |
| }, | |
| "spread": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 1023 | |
| }, | |
| "count": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1, | |
| "max": 4095 | |
| } | |
| } | |
| }, | |
| "structures": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/structure_feature" | |
| } | |
| }, | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "spacing": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4096 | |
| }, | |
| "separation": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4096 | |
| }, | |
| "salt": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "int_bounds": { | |
| "type": "choice", | |
| "optional": true, | |
| "cases": { | |
| "number": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "min": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "max": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "int_range": { | |
| "type": "choice", | |
| "cases": { | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| } | |
| }, | |
| "number": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| } | |
| }, | |
| "item_modifier": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "function", | |
| "list": { | |
| "type": "list", | |
| "values": "function" | |
| } | |
| } | |
| }, | |
| "item_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "item": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$tag/item" | |
| } | |
| }, | |
| "count": "int_bounds", | |
| "durability": "int_bounds", | |
| "potion": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "potion" | |
| } | |
| }, | |
| "nbt": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "item" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "enchantments": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "enchantment_predicate" | |
| } | |
| } | |
| }, | |
| "item_tag": { | |
| "type": "object", | |
| "properties": { | |
| "replace": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "values": { | |
| "type": "list", | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item", | |
| "allowTag": true | |
| } | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item", | |
| "allowTag": true, | |
| "allowUnknown": true | |
| } | |
| }, | |
| "required": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "location_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "position": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "x": "float_bounds", | |
| "y": "float_bounds", | |
| "z": "float_bounds" | |
| } | |
| }, | |
| "biome": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/biome" | |
| } | |
| }, | |
| "feature": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": [ | |
| "pillager_outpost", | |
| "mineshaft", | |
| "mansion", | |
| "jungle_pyramid", | |
| "desert_pyramid", | |
| "igloo", | |
| "ruined_portal", | |
| "shipwreck", | |
| "swamp_hut", | |
| "stronghold", | |
| "monument", | |
| "ocean_ruin", | |
| "fortress", | |
| "endcity", | |
| "buried_treasure", | |
| "village", | |
| "nether_fossil", | |
| "bastion_remnant" | |
| ] | |
| }, | |
| "dimension": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$dimension" | |
| } | |
| }, | |
| "light": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "light": "int_bounds" | |
| } | |
| }, | |
| "smokey": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "block": "block_predicate", | |
| "fluid": "fluid_predicate" | |
| } | |
| }, | |
| "loot_condition": { | |
| "type": "object", | |
| "properties": { | |
| "condition": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_condition_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "condition" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:alternative": { | |
| "terms": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:block_state_property": { | |
| "block": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "properties": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "string" | |
| }, | |
| "validator": "block_state_map", | |
| "params": { | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "block" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "minecraft:damage_source_properties": { | |
| "predicate": "damage_source_predicate" | |
| }, | |
| "minecraft:entity_properties": { | |
| "entity": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "predicate": "entity_predicate" | |
| }, | |
| "minecraft:entity_scores": { | |
| "entity": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "scores": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "validator": "objective" | |
| }, | |
| "values": "int_range" | |
| } | |
| }, | |
| "minecraft:inverted": { | |
| "term": "condition" | |
| }, | |
| "minecraft:killed_by_player": { | |
| "inverse": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| }, | |
| "minecraft:location_check": { | |
| "offsetX": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "offsetY": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "offsetZ": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "predicate": "location_predicate" | |
| }, | |
| "minecraft:match_tool": { | |
| "predicate": "item_predicate" | |
| }, | |
| "minecraft:random_chance": { | |
| "chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:random_chance_with_looting": { | |
| "chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "looting_multiplier": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:requirements": { | |
| "terms": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| }, | |
| "minecraft:reference": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$predicate" | |
| } | |
| } | |
| }, | |
| "minecraft:table_bonus": { | |
| "enchantment": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| }, | |
| "chances": { | |
| "type": "list", | |
| "values": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| }, | |
| "minecraft:time_check": { | |
| "value": "int_range", | |
| "period": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:value_check": { | |
| "value": "number_provider", | |
| "range": "int_range" | |
| }, | |
| "minecraft:weather_check": { | |
| "raining": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "thundering": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "loot_entry": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_pool_entry_type" | |
| } | |
| }, | |
| "weight": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true, | |
| "min": 1 | |
| }, | |
| "quality": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:alternatives": { | |
| "children": { | |
| "type": "list", | |
| "values": "loot_entry" | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:dynamic": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:group": { | |
| "children": { | |
| "type": "list", | |
| "values": "loot_entry" | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:item": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:loot_table": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$loot_table" | |
| } | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:sequence": { | |
| "children": { | |
| "type": "list", | |
| "values": "loot_entry" | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:tag": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$tag/item" | |
| } | |
| }, | |
| "expand": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "loot_function": { | |
| "type": "object", | |
| "properties": { | |
| "function": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_function_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "function" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:apply_bonus": { | |
| "enchantment": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| }, | |
| "formula": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": [ | |
| "minecraft:uniform_bonus_count", | |
| "minecraft:binomial_with_bonus_count", | |
| "minecraft:ore_drops" | |
| ] | |
| } | |
| }, | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "bonusMultiplier": { | |
| "type": "number" | |
| }, | |
| "extra": { | |
| "type": "number" | |
| }, | |
| "probability": { | |
| "type": "number" | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:copy_name": { | |
| "source": { | |
| "type": "string", | |
| "enum": "copy_source" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:copy_nbt": { | |
| "source": "nbt_provider", | |
| "ops": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "source": { | |
| "type": "string", | |
| "validator": "nbt_path", | |
| "params": { | |
| "category": { | |
| "getter": "copy_source", | |
| "path": [ | |
| "pop", | |
| "pop", | |
| "pop", | |
| { | |
| "push": "source" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "target": { | |
| "type": "string", | |
| "validator": "nbt_path", | |
| "params": { | |
| "category": "minecraft:item" | |
| } | |
| }, | |
| "op": { | |
| "type": "string", | |
| "enum": [ | |
| "replace", | |
| "append", | |
| "merge" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:copy_state": { | |
| "block": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "properties": { | |
| "type": "list", | |
| "values": { | |
| "type": "string", | |
| "validator": "block_state_key", | |
| "params": { | |
| "id": [ | |
| "pop", | |
| "pop", | |
| { | |
| "push": "block" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:enchant_randomly": { | |
| "enchantments": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:enchant_with_levels": { | |
| "levels": "number_provider", | |
| "treasure": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:exploration_map": { | |
| "destination": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/structure_feature" | |
| } | |
| }, | |
| "decoration": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": "map_decoration" | |
| }, | |
| "zoom": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "search_radius": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "skip_existing_chunks": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:fill_player_head": { | |
| "entity": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:limit_count": { | |
| "limit": "int_range", | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:looting_enchant": { | |
| "count": "number_provider", | |
| "limit": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_attributes": { | |
| "modifiers": { | |
| "type": "list", | |
| "values": "attribute_modifier" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_banner_pattern": { | |
| "patterns": { | |
| "type": "list", | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "pattern": { | |
| "type": "string", | |
| "enum": "banner_pattern" | |
| }, | |
| "color": { | |
| "type": "string", | |
| "enum": "dye_color" | |
| } | |
| } | |
| } | |
| }, | |
| "append": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_contents": { | |
| "entries": { | |
| "type": "list", | |
| "values": "loot_entry" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_count": { | |
| "count": "number_provider", | |
| "add": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_damage": { | |
| "damage": "number_provider", | |
| "add": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_enchantments": { | |
| "enchantments": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "enchantment" | |
| } | |
| }, | |
| "values": "number_provider" | |
| }, | |
| "add": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_loot_table": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$loot_table" | |
| } | |
| }, | |
| "seed": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_lore": { | |
| "entity": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "lore": { | |
| "type": "list", | |
| "values": "text_component" | |
| }, | |
| "replace": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_name": { | |
| "entity": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "name": "text_component", | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_nbt": { | |
| "tag": { | |
| "type": "string", | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item" | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| }, | |
| "minecraft:set_stew_effect": { | |
| "effects": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "mob_effect" | |
| } | |
| }, | |
| "duration": "number_provider" | |
| } | |
| } | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "loot_table": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": [ | |
| "minecraft:empty", | |
| "minecraft:chest", | |
| "minecraft:command", | |
| "minecraft:selector", | |
| "minecraft:fishing", | |
| "minecraft:entity", | |
| "minecraft:gift", | |
| "minecraft:barter", | |
| "minecraft:advancement_reward", | |
| "minecraft:advancement_entity", | |
| "minecraft:generic", | |
| "minecraft:block" | |
| ] | |
| } | |
| }, | |
| "pools": { | |
| "type": "list", | |
| "optional": true, | |
| "values": { | |
| "type": "object", | |
| "properties": { | |
| "rolls": "number_provider", | |
| "bonus_rolls": "number_provider", | |
| "entries": { | |
| "type": "list", | |
| "values": "loot_entry" | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| }, | |
| "conditions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_condition" | |
| } | |
| } | |
| } | |
| }, | |
| "functions": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "loot_function" | |
| } | |
| } | |
| }, | |
| "nbt_provider": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "enum": "copy_source" | |
| }, | |
| "minecraft:storage": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_nbt_provider_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:storage": { | |
| "source": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$storage" | |
| } | |
| } | |
| }, | |
| "minecraft:context": { | |
| "target": { | |
| "type": "string", | |
| "enum": "copy_source" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:context": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_nbt_provider_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:storage": { | |
| "source": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$storage" | |
| } | |
| } | |
| }, | |
| "minecraft:context": { | |
| "target": { | |
| "type": "string", | |
| "enum": "copy_source" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "noise_settings": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/noise_settings", | |
| "isDefinition": true | |
| } | |
| }, | |
| "bedrock_roof_position": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "bedrock_floor_position": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "sea_level": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "disable_mob_generation": { | |
| "type": "boolean" | |
| }, | |
| "default_block": "block_state", | |
| "default_fluid": "block_state", | |
| "noise": { | |
| "type": "object", | |
| "properties": { | |
| "min_y": { | |
| "type": "number", | |
| "integer": true, | |
| "min": -2048, | |
| "max": 2047 | |
| }, | |
| "height": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 0, | |
| "max": 4096 | |
| }, | |
| "density_factor": { | |
| "type": "number" | |
| }, | |
| "density_offset": { | |
| "type": "number" | |
| }, | |
| "size_horizontal": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "size_vertical": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "simplex_surface_noise": { | |
| "type": "boolean" | |
| }, | |
| "random_density_offset": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "island_noise_override": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "amplified": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "sampling": { | |
| "type": "object", | |
| "properties": { | |
| "xz_scale": { | |
| "type": "number" | |
| }, | |
| "y_scale": { | |
| "type": "number" | |
| }, | |
| "xz_factor": { | |
| "type": "number" | |
| }, | |
| "y_factor": { | |
| "type": "number" | |
| } | |
| } | |
| }, | |
| "bottom_slide": { | |
| "type": "object", | |
| "properties": { | |
| "target": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "size": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "offset": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| } | |
| }, | |
| "top_slide": { | |
| "type": "object", | |
| "properties": { | |
| "target": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "size": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "offset": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "structures": "generator_structures" | |
| } | |
| }, | |
| "number_provider": { | |
| "type": "choice", | |
| "cases": { | |
| "number": { | |
| "type": "number" | |
| }, | |
| "object": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_number_provider_type" | |
| } | |
| }, | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:constant": { | |
| "value": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:uniform": { | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "minecraft:binomial": { | |
| "n": "number_provider", | |
| "p": "number_provider" | |
| }, | |
| "minecraft:score": { | |
| "target": "scoreboard_name_provider", | |
| "score": { | |
| "type": "string", | |
| "validator": "objective" | |
| }, | |
| "scale": { | |
| "type": "number", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:constant": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_number_provider_type" | |
| } | |
| }, | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:constant": { | |
| "value": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:uniform": { | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "minecraft:binomial": { | |
| "n": "number_provider", | |
| "p": "number_provider" | |
| }, | |
| "minecraft:score": { | |
| "target": "scoreboard_name_provider", | |
| "score": { | |
| "type": "string", | |
| "validator": "objective" | |
| }, | |
| "scale": { | |
| "type": "number", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:uniform": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_number_provider_type" | |
| } | |
| }, | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:constant": { | |
| "value": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:uniform": { | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "minecraft:binomial": { | |
| "n": "number_provider", | |
| "p": "number_provider" | |
| }, | |
| "minecraft:score": { | |
| "target": "scoreboard_name_provider", | |
| "score": { | |
| "type": "string", | |
| "validator": "objective" | |
| }, | |
| "scale": { | |
| "type": "number", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:binomial": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_number_provider_type" | |
| } | |
| }, | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:constant": { | |
| "value": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:uniform": { | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "minecraft:binomial": { | |
| "n": "number_provider", | |
| "p": "number_provider" | |
| }, | |
| "minecraft:score": { | |
| "target": "scoreboard_name_provider", | |
| "score": { | |
| "type": "string", | |
| "validator": "objective" | |
| }, | |
| "scale": { | |
| "type": "number", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:score": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_number_provider_type" | |
| } | |
| }, | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:constant": { | |
| "value": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:uniform": { | |
| "min": "number_provider", | |
| "max": "number_provider" | |
| }, | |
| "minecraft:binomial": { | |
| "n": "number_provider", | |
| "p": "number_provider" | |
| }, | |
| "minecraft:score": { | |
| "target": "scoreboard_name_provider", | |
| "score": { | |
| "type": "string", | |
| "validator": "objective" | |
| }, | |
| "scale": { | |
| "type": "number", | |
| "optional": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "pack_mcmeta": { | |
| "type": "object", | |
| "properties": { | |
| "pack": { | |
| "type": "object", | |
| "properties": { | |
| "pack_format": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 7, | |
| "max": 7 | |
| }, | |
| "description": "text_component" | |
| } | |
| } | |
| } | |
| }, | |
| "player_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "gamemode": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": "gamemode" | |
| }, | |
| "level": "int_bounds", | |
| "advancements": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$advancement" | |
| } | |
| }, | |
| "values": { | |
| "type": "choice", | |
| "cases": { | |
| "boolean": { | |
| "type": "boolean" | |
| }, | |
| "object": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": { | |
| "type": "boolean" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "recipes": { | |
| "type": "map", | |
| "optional": true, | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$recipe" | |
| } | |
| }, | |
| "values": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "stats": { | |
| "type": "list", | |
| "optional": true, | |
| "values": "statistic_predicate" | |
| } | |
| } | |
| }, | |
| "pos_rule_test": { | |
| "type": "object", | |
| "properties": { | |
| "predicate_type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "pos_rule_test" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "predicate_type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:axis_aligned_linear_pos": { | |
| "axis": { | |
| "type": "string", | |
| "enum": [ | |
| "x", | |
| "y", | |
| "z" | |
| ] | |
| }, | |
| "min_dist": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 255, | |
| "integer": true | |
| }, | |
| "max_dist": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 255, | |
| "integer": true | |
| }, | |
| "min_chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "max_chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:linear_pos": { | |
| "min_dist": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 255, | |
| "integer": true | |
| }, | |
| "max_dist": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 255, | |
| "integer": true | |
| }, | |
| "min_chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| }, | |
| "max_chance": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "predicate": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "condition", | |
| "list": { | |
| "type": "list", | |
| "values": "condition" | |
| } | |
| } | |
| }, | |
| "processor": { | |
| "type": "object", | |
| "properties": { | |
| "processor_type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/structure_processor" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "processor_type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:block_age": { | |
| "mossiness": { | |
| "type": "number" | |
| } | |
| }, | |
| "minecraft:block_ignore": { | |
| "blocks": { | |
| "type": "list", | |
| "values": "block_state" | |
| } | |
| }, | |
| "minecraft:block_rot": { | |
| "integrity": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:gravity": { | |
| "heightmap": { | |
| "type": "string", | |
| "enum": "heightmap_type" | |
| }, | |
| "offset": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:rule": { | |
| "rules": { | |
| "type": "list", | |
| "values": "processor_rule" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "processor_list": { | |
| "type": "object", | |
| "properties": { | |
| "processors": { | |
| "type": "list", | |
| "values": "processor" | |
| } | |
| } | |
| }, | |
| "processor_rule": { | |
| "type": "object", | |
| "properties": { | |
| "position_predicate": "pos_rule_test", | |
| "location_predicate": "rule_test", | |
| "input_predicate": "rule_test", | |
| "output_state": "block_state", | |
| "output_nbt": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:block" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "recipe": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "recipe_serializer" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:crafting_shaped": { | |
| "group": { | |
| "type": "string", | |
| "optional": true, | |
| "enum": "recipe_group", | |
| "additional": true | |
| }, | |
| "pattern": { | |
| "type": "list", | |
| "values": { | |
| "type": "string" | |
| } | |
| }, | |
| "key": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string" | |
| }, | |
| "values": "recipe_ingredient" | |
| }, | |
| "result": "recipe_result" | |
| }, | |
| "minecraft:crafting_shapeless": { | |
| "group": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "ingredients": { | |
| "type": "list", | |
| "values": "recipe_ingredient" | |
| }, | |
| "result": "recipe_result" | |
| }, | |
| "minecraft:smelting": { | |
| "group": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "ingredient": "recipe_ingredient", | |
| "result": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "experience": { | |
| "type": "number", | |
| "optional": true | |
| }, | |
| "cookingtime": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:blasting": { | |
| "group": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "ingredient": "recipe_ingredient", | |
| "result": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "experience": { | |
| "type": "number", | |
| "optional": true | |
| }, | |
| "cookingtime": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:smoking": { | |
| "group": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "ingredient": "recipe_ingredient", | |
| "result": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "experience": { | |
| "type": "number", | |
| "optional": true | |
| }, | |
| "cookingtime": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:campfire_cooking": { | |
| "group": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "ingredient": "recipe_ingredient", | |
| "result": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "experience": { | |
| "type": "number", | |
| "optional": true | |
| }, | |
| "cookingtime": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:stonecutting": { | |
| "group": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "ingredient": "recipe_ingredient", | |
| "result": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "count": { | |
| "type": "number", | |
| "integer": true | |
| } | |
| }, | |
| "minecraft:smithing": { | |
| "group": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "base": "recipe_ingredient_object", | |
| "addition": "recipe_ingredient_object", | |
| "result": "recipe_result" | |
| } | |
| } | |
| } | |
| }, | |
| "recipe_ingredient": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "recipe_ingredient_object", | |
| "list": { | |
| "type": "list", | |
| "values": "recipe_ingredient_object" | |
| } | |
| } | |
| }, | |
| "recipe_ingredient_object": { | |
| "type": "object", | |
| "properties": { | |
| "item": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$tag/item" | |
| } | |
| } | |
| } | |
| }, | |
| "recipe_result": { | |
| "type": "object", | |
| "properties": { | |
| "item": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "count": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| } | |
| } | |
| }, | |
| "rule_test": { | |
| "type": "object", | |
| "properties": { | |
| "predicate_type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "rule_test" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "predicate_type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:block_match": { | |
| "block": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| } | |
| }, | |
| "minecraft:blockstate_match": { | |
| "block_state": "block_state" | |
| }, | |
| "minecraft:random_block_match": { | |
| "block": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| }, | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:random_blockstate_match": { | |
| "block_state": "block_state", | |
| "probability": { | |
| "type": "number", | |
| "min": 0, | |
| "max": 1 | |
| } | |
| }, | |
| "minecraft:tag_match": { | |
| "tag": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$tag/block" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "scoreboard_name_provider": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| }, | |
| "minecraft:fixed": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_score_provider_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:fixed": { | |
| "name": { | |
| "type": "string", | |
| "validator": "entity", | |
| "params": { | |
| "amount": "multiple", | |
| "type": "entities", | |
| "isScoreHolder": true | |
| } | |
| } | |
| }, | |
| "minecraft:context": { | |
| "target": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "minecraft:context": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "loot_score_provider_type" | |
| } | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:fixed": { | |
| "name": { | |
| "type": "string", | |
| "validator": "entity", | |
| "params": { | |
| "amount": "multiple", | |
| "type": "entities", | |
| "isScoreHolder": true | |
| } | |
| } | |
| }, | |
| "minecraft:context": { | |
| "target": { | |
| "type": "string", | |
| "enum": "entity_source" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "statistic_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "stat_type" | |
| } | |
| }, | |
| "stat": { | |
| "type": "string" | |
| }, | |
| "value": "int_bounds" | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:mined": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "block" | |
| } | |
| } | |
| }, | |
| "minecraft:crafted": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| } | |
| }, | |
| "minecraft:used": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| } | |
| }, | |
| "minecraft:broken": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| } | |
| }, | |
| "minecraft:picked_up": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| } | |
| }, | |
| "minecraft:dropped": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| } | |
| }, | |
| "minecraft:killed": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| } | |
| }, | |
| "minecraft:killed_by": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| } | |
| }, | |
| "minecraft:custom": { | |
| "stat": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "custom_stat" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "status_effect_predicate": { | |
| "type": "object", | |
| "properties": { | |
| "amplifier": "int_bounds", | |
| "duration": "int_bounds", | |
| "ambient": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "visible": { | |
| "type": "boolean", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "template_element": { | |
| "type": "object", | |
| "properties": { | |
| "element_type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "worldgen/structure_pool_element" | |
| } | |
| }, | |
| "projection": { | |
| "type": "string", | |
| "enum": [ | |
| "rigid", | |
| "terrain_matching" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "element_type" | |
| } | |
| ], | |
| "cases": { | |
| "minecraft:feature_pool_element": { | |
| "feature": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/configured_feature" | |
| } | |
| }, | |
| "processors": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/processor_list" | |
| } | |
| }, | |
| "object": "processor_list" | |
| } | |
| } | |
| }, | |
| "minecraft:legacy_single_pool_element": { | |
| "location": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$structure" | |
| } | |
| }, | |
| "processors": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/processor_list" | |
| } | |
| }, | |
| "object": "processor_list" | |
| } | |
| } | |
| }, | |
| "minecraft:list_pool_element": { | |
| "elements": { | |
| "type": "list", | |
| "values": "template_element" | |
| } | |
| }, | |
| "minecraft:single_pool_element": { | |
| "location": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$structure" | |
| } | |
| }, | |
| "processors": { | |
| "type": "choice", | |
| "cases": { | |
| "string": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$worldgen/processor_list" | |
| } | |
| }, | |
| "object": "processor_list" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "template_pool": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "fallback": { | |
| "type": "string" | |
| }, | |
| "elements": { | |
| "type": "list", | |
| "values": "template_weighted_element" | |
| } | |
| } | |
| }, | |
| "template_weighted_element": { | |
| "type": "object", | |
| "properties": { | |
| "weight": { | |
| "type": "number", | |
| "integer": true, | |
| "min": 1 | |
| }, | |
| "element": "template_element" | |
| } | |
| }, | |
| "text_component": { | |
| "type": "choice", | |
| "cases": { | |
| "object": "text_component_object", | |
| "list": "text_component_list", | |
| "string": { | |
| "type": "string" | |
| }, | |
| "number": { | |
| "type": "number" | |
| }, | |
| "boolean": { | |
| "type": "boolean" | |
| } | |
| } | |
| }, | |
| "text_component_list": { | |
| "type": "list", | |
| "values": "text_component" | |
| }, | |
| "text_component_object": { | |
| "type": "choice", | |
| "cases": { | |
| "text": { | |
| "type": "object", | |
| "properties": { | |
| "text": { | |
| "type": "string" | |
| }, | |
| "color": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "font": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "bold": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "italic": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "underlined": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "strikethrough": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "obfuscated": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "insertion": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "clickEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "open_url", | |
| "open_file", | |
| "run_command", | |
| "suggest_command", | |
| "change_page", | |
| "copy_to_clipboard" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "change_page": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "copy_to_clipboard": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_file": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_url": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "run_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| }, | |
| "suggest_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "hoverEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "show_text", | |
| "show_item", | |
| "show_entity" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "show_text": { | |
| "value": "text_component", | |
| "contents": "text_component" | |
| }, | |
| "show_item": { | |
| "value": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "module": "util::InventoryItem" | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "count": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "id" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "show_entity": { | |
| "value": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "type": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "id": { | |
| "type": "string", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": "text_component", | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| }, | |
| "id": { | |
| "type": "string", | |
| "validator": "uuid" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "extra": "text_component_list" | |
| } | |
| }, | |
| "translation": { | |
| "type": "object", | |
| "properties": { | |
| "translate": { | |
| "type": "string" | |
| }, | |
| "with": "text_component_list", | |
| "color": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "font": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "bold": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "italic": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "underlined": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "strikethrough": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "obfuscated": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "insertion": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "clickEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "open_url", | |
| "open_file", | |
| "run_command", | |
| "suggest_command", | |
| "change_page", | |
| "copy_to_clipboard" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "change_page": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "copy_to_clipboard": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_file": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_url": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "run_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| }, | |
| "suggest_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "hoverEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "show_text", | |
| "show_item", | |
| "show_entity" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "show_text": { | |
| "value": "text_component", | |
| "contents": "text_component" | |
| }, | |
| "show_item": { | |
| "value": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "module": "util::InventoryItem" | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "count": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "id" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "show_entity": { | |
| "value": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "type": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "id": { | |
| "type": "string", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": "text_component", | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| }, | |
| "id": { | |
| "type": "string", | |
| "validator": "uuid" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "extra": "text_component_list" | |
| } | |
| }, | |
| "score": { | |
| "type": "object", | |
| "properties": { | |
| "score": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "validator": "entity", | |
| "params": { | |
| "amount": "single", | |
| "type": "entities", | |
| "isScoreHolder": true | |
| } | |
| }, | |
| "objective": { | |
| "type": "string", | |
| "validator": "objective" | |
| }, | |
| "value": { | |
| "type": "string", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "color": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "font": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "bold": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "italic": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "underlined": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "strikethrough": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "obfuscated": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "insertion": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "clickEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "open_url", | |
| "open_file", | |
| "run_command", | |
| "suggest_command", | |
| "change_page", | |
| "copy_to_clipboard" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "change_page": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "copy_to_clipboard": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_file": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_url": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "run_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| }, | |
| "suggest_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "hoverEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "show_text", | |
| "show_item", | |
| "show_entity" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "show_text": { | |
| "value": "text_component", | |
| "contents": "text_component" | |
| }, | |
| "show_item": { | |
| "value": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "module": "util::InventoryItem" | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "count": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "id" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "show_entity": { | |
| "value": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "type": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "id": { | |
| "type": "string", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": "text_component", | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| }, | |
| "id": { | |
| "type": "string", | |
| "validator": "uuid" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "extra": "text_component_list" | |
| } | |
| }, | |
| "selector": { | |
| "type": "object", | |
| "properties": { | |
| "selector": { | |
| "type": "string", | |
| "validator": "entity", | |
| "params": { | |
| "amount": "multiple", | |
| "type": "entities" | |
| } | |
| }, | |
| "color": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "font": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "bold": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "italic": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "underlined": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "strikethrough": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "obfuscated": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "insertion": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "clickEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "open_url", | |
| "open_file", | |
| "run_command", | |
| "suggest_command", | |
| "change_page", | |
| "copy_to_clipboard" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "change_page": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "copy_to_clipboard": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_file": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_url": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "run_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| }, | |
| "suggest_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "hoverEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "show_text", | |
| "show_item", | |
| "show_entity" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "show_text": { | |
| "value": "text_component", | |
| "contents": "text_component" | |
| }, | |
| "show_item": { | |
| "value": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "module": "util::InventoryItem" | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "count": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "id" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "show_entity": { | |
| "value": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "type": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "id": { | |
| "type": "string", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": "text_component", | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| }, | |
| "id": { | |
| "type": "string", | |
| "validator": "uuid" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "extra": "text_component_list" | |
| } | |
| }, | |
| "keybind": { | |
| "type": "object", | |
| "properties": { | |
| "keybind": { | |
| "type": "string", | |
| "enum": "keybind", | |
| "additional": true | |
| }, | |
| "color": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "font": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "bold": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "italic": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "underlined": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "strikethrough": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "obfuscated": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "insertion": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "clickEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "open_url", | |
| "open_file", | |
| "run_command", | |
| "suggest_command", | |
| "change_page", | |
| "copy_to_clipboard" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "change_page": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "copy_to_clipboard": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_file": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_url": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "run_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| }, | |
| "suggest_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "hoverEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "show_text", | |
| "show_item", | |
| "show_entity" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "show_text": { | |
| "value": "text_component", | |
| "contents": "text_component" | |
| }, | |
| "show_item": { | |
| "value": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "module": "util::InventoryItem" | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "count": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "id" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "show_entity": { | |
| "value": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "type": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "id": { | |
| "type": "string", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": "text_component", | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| }, | |
| "id": { | |
| "type": "string", | |
| "validator": "uuid" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "extra": "text_component_list" | |
| } | |
| }, | |
| "nbt": { | |
| "type": "object", | |
| "properties": { | |
| "nbt": { | |
| "type": "string", | |
| "validator": "nbt_path" | |
| }, | |
| "block": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "vector", | |
| "params": { | |
| "dimension": 3, | |
| "isInteger": true | |
| } | |
| }, | |
| "entity": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "entity", | |
| "params": { | |
| "amount": "single", | |
| "type": "entities" | |
| } | |
| }, | |
| "storage": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$storage" | |
| } | |
| }, | |
| "interpret": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "color": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "font": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "bold": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "italic": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "underlined": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "strikethrough": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "obfuscated": { | |
| "type": "boolean", | |
| "optional": true | |
| }, | |
| "insertion": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "clickEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "open_url", | |
| "open_file", | |
| "run_command", | |
| "suggest_command", | |
| "change_page", | |
| "copy_to_clipboard" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "change_page": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "copy_to_clipboard": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_file": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "open_url": { | |
| "value": { | |
| "type": "string" | |
| } | |
| }, | |
| "run_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| }, | |
| "suggest_command": { | |
| "value": { | |
| "type": "string", | |
| "validator": "command", | |
| "params": { | |
| "leadingSlash": true, | |
| "allowPartial": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "hoverEvent": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "action": { | |
| "type": "string", | |
| "enum": [ | |
| "show_text", | |
| "show_item", | |
| "show_entity" | |
| ] | |
| } | |
| }, | |
| "dispatch": { | |
| "path": [ | |
| { | |
| "push": "action" | |
| } | |
| ], | |
| "cases": { | |
| "show_text": { | |
| "value": "text_component", | |
| "contents": "text_component" | |
| }, | |
| "show_item": { | |
| "value": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "module": "util::InventoryItem" | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "item" | |
| } | |
| }, | |
| "count": { | |
| "type": "number", | |
| "optional": true, | |
| "integer": true | |
| }, | |
| "tag": { | |
| "type": "string", | |
| "optional": true, | |
| "validator": "nbt", | |
| "params": { | |
| "registry": { | |
| "category": "minecraft:item", | |
| "id": [ | |
| "pop", | |
| { | |
| "push": "id" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "show_entity": { | |
| "value": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "type": { | |
| "type": "string", | |
| "optional": true | |
| }, | |
| "id": { | |
| "type": "string", | |
| "optional": true | |
| } | |
| } | |
| }, | |
| "contents": { | |
| "type": "object", | |
| "optional": true, | |
| "properties": { | |
| "name": "text_component", | |
| "type": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "entity_type" | |
| } | |
| }, | |
| "id": { | |
| "type": "string", | |
| "validator": "uuid" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "extra": "text_component_list" | |
| } | |
| } | |
| } | |
| }, | |
| "world_settings": { | |
| "type": "object", | |
| "properties": { | |
| "generate_features": { | |
| "type": "boolean" | |
| }, | |
| "bonus_chest": { | |
| "type": "boolean" | |
| }, | |
| "seed": { | |
| "type": "number", | |
| "integer": true | |
| }, | |
| "dimensions": { | |
| "type": "map", | |
| "keys": { | |
| "type": "string", | |
| "validator": "resource", | |
| "params": { | |
| "pool": "$dimension" | |
| } | |
| }, | |
| "values": "dimension" | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment