mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
799 lines
19 KiB
JSON
799 lines
19 KiB
JSON
{
|
|
"root": {
|
|
"fields": [
|
|
{
|
|
"id": "type",
|
|
"type": "enum",
|
|
"values": [
|
|
"minecraft:empty",
|
|
"minecraft:entity",
|
|
"minecraft:block",
|
|
"minecraft:chest",
|
|
"minecraft:fishing",
|
|
"minecraft:generic"
|
|
],
|
|
"default": "minecraft:generic"
|
|
},
|
|
{
|
|
"id": "pools",
|
|
"type": "array",
|
|
"values": "pool"
|
|
}
|
|
]
|
|
},
|
|
"components": [
|
|
{
|
|
"id": "pool",
|
|
"type": "object",
|
|
"color": "success",
|
|
"default": {
|
|
"rolls": 1,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:stone"
|
|
}
|
|
]
|
|
},
|
|
"fields": [
|
|
{
|
|
"id": "rolls",
|
|
"type": "random",
|
|
"default": 1
|
|
},
|
|
{
|
|
"id": "bonus_rolls",
|
|
"type": "random",
|
|
"default": 1,
|
|
"luck_based": true
|
|
},
|
|
{
|
|
"id": "entries",
|
|
"type": "array",
|
|
"values": "entry",
|
|
"button": "header"
|
|
},
|
|
{
|
|
"id": "conditions",
|
|
"type": "array",
|
|
"values": "condition",
|
|
"button": "header"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "entry",
|
|
"type": "object",
|
|
"color": "light",
|
|
"default": {
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:stone"
|
|
},
|
|
"fields": [
|
|
{
|
|
"id": "type",
|
|
"type": "enum",
|
|
"source": "entry",
|
|
"values": [
|
|
"minecraft:empty",
|
|
"minecraft:item",
|
|
"minecraft:tag",
|
|
"minecraft:loot_table",
|
|
"minecraft:alternatives",
|
|
"minecraft:sequence",
|
|
"minecraft:group",
|
|
"minecraft:dynamic"
|
|
],
|
|
"default": "minecraft:item"
|
|
},
|
|
{
|
|
"id": "name",
|
|
"type": "string",
|
|
"default": "minecraft:stone",
|
|
"require": [
|
|
"minecraft:item",
|
|
"minecraft:tag",
|
|
"minecraft:loot_table",
|
|
"minecraft:dynamic"
|
|
]
|
|
},
|
|
{
|
|
"id": "children",
|
|
"type": "array",
|
|
"values": "entry",
|
|
"button": "field",
|
|
"color": "success",
|
|
"require": [
|
|
"minecraft:alternatives",
|
|
"minecraft:sequence",
|
|
"minecraft:group"
|
|
]
|
|
},
|
|
{
|
|
"id": "functions",
|
|
"type": "array",
|
|
"values": "function",
|
|
"button": "header"
|
|
},
|
|
{
|
|
"id": "conditions",
|
|
"type": "array",
|
|
"values": "condition",
|
|
"button": "header"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "function",
|
|
"type": "object",
|
|
"color": "secondary",
|
|
"default": {
|
|
"function": "minecraft:set_count",
|
|
"count": 2
|
|
},
|
|
"fields": [
|
|
{
|
|
"id": "function",
|
|
"type": "enum",
|
|
"source": "function",
|
|
"values": [
|
|
"minecraft:set_count",
|
|
"minecraft:set_damage",
|
|
"minecraft:set_name",
|
|
"minecraft:set_lore",
|
|
"minecraft:set_nbt",
|
|
"minecraft:set_attributes",
|
|
"minecraft:set_contents",
|
|
"minecraft:enchant_randomly",
|
|
"minecraft:enchant_with_levels",
|
|
"minecraft:looting_enchant",
|
|
"minecraft:limit_count",
|
|
"minecraft:furnace_smelt",
|
|
"minecraft:explosion_decay",
|
|
"minecraft:fill_player_head",
|
|
"minecraft:copy_name",
|
|
"minecraft:copy_nbt",
|
|
"minecraft:apply_bonus"
|
|
],
|
|
"default": "set_count"
|
|
},
|
|
{
|
|
"id": "count",
|
|
"type": "random",
|
|
"default": 2,
|
|
"require": [
|
|
"minecraft:set_count",
|
|
"minecraft:looting_enchant"
|
|
]
|
|
},
|
|
{
|
|
"id": "damage",
|
|
"type": "random",
|
|
"default": 1,
|
|
"require": [
|
|
"minecraft:set_damage"
|
|
]
|
|
},
|
|
{
|
|
"id": "name",
|
|
"type": "json",
|
|
"require": [
|
|
"minecraft:set_name"
|
|
]
|
|
},
|
|
{
|
|
"id": "lore",
|
|
"type": "json-list",
|
|
"require": [
|
|
"minecraft:set_lore"
|
|
]
|
|
},
|
|
{
|
|
"id": "tag",
|
|
"type": "nbt",
|
|
"require": [
|
|
"minecraft:set_nbt"
|
|
]
|
|
},
|
|
{
|
|
"id": "levels",
|
|
"type": "random",
|
|
"require": [
|
|
"minecraft:enchant_with_levels"
|
|
]
|
|
},
|
|
{
|
|
"id": "treasure",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"require": [
|
|
"minecraft:enchant_with_levels"
|
|
]
|
|
},
|
|
{
|
|
"id": "limit",
|
|
"type": "int",
|
|
"require": [
|
|
"minecraft:looting_enchant"
|
|
]
|
|
},
|
|
{
|
|
"id": "limit",
|
|
"type": "boundary",
|
|
"require": [
|
|
"minecraft:limit_count"
|
|
]
|
|
},
|
|
{
|
|
"id": "entity",
|
|
"type": "enum",
|
|
"source": "source",
|
|
"default": "minecraft:this",
|
|
"values": [
|
|
"minecraft:this",
|
|
"minecraft:killer",
|
|
"minecraft:killer_player"
|
|
],
|
|
"require": [
|
|
"minecraft:set_name",
|
|
"minecraft:set_lore",
|
|
"minecraft:fill_player_head"
|
|
]
|
|
},
|
|
{
|
|
"id": "source",
|
|
"type": "enum",
|
|
"source": "source",
|
|
"default": "minecraft:this",
|
|
"values": [
|
|
"minecraft:block_entity",
|
|
"minecraft:this",
|
|
"minecraft:killer",
|
|
"minecraft:killer_player"
|
|
],
|
|
"require": [
|
|
"minecraft:copy_name",
|
|
"minecraft:copy_nbt"
|
|
]
|
|
},
|
|
{
|
|
"id": "replace",
|
|
"type": "boolean",
|
|
"require": [
|
|
"minecraft:set_lore"
|
|
]
|
|
},
|
|
{
|
|
"id": "enchantments",
|
|
"type": "set",
|
|
"source": "enchantment",
|
|
"values": [
|
|
"minecraft:aqua_affinity",
|
|
"minecraft:bane_of_arthropods",
|
|
"minecraft:blast_protection",
|
|
"minecraft:channeling",
|
|
"minecraft:binding_curse",
|
|
"minecraft:vanishing_curse",
|
|
"minecraft:depth_strider",
|
|
"minecraft:efficiency",
|
|
"minecraft:feather_falling",
|
|
"minecraft:fire_aspect",
|
|
"minecraft:fire_protection",
|
|
"minecraft:flame",
|
|
"minecraft:fortune",
|
|
"minecraft:frost_walker",
|
|
"minecraft:impaling",
|
|
"minecraft:infinity",
|
|
"minecraft:knockback",
|
|
"minecraft:looting",
|
|
"minecraft:loyalty",
|
|
"minecraft:luck_of_the_sea",
|
|
"minecraft:lure",
|
|
"minecraft:mending",
|
|
"minecraft:multishot",
|
|
"minecraft:piercing",
|
|
"minecraft:power",
|
|
"minecraft:projectile_protection",
|
|
"minecraft:protection",
|
|
"minecraft:punch",
|
|
"minecraft:quick_charge",
|
|
"minecraft:respiration",
|
|
"minecraft:riptide",
|
|
"minecraft:sharpness",
|
|
"minecraft:silk_touch",
|
|
"minecraft:smite",
|
|
"minecraft:sweeping",
|
|
"minecraft:thorns",
|
|
"minecraft:unbreaking"
|
|
],
|
|
"require": [
|
|
"minecraft:enchant_randomly"
|
|
]
|
|
},
|
|
{
|
|
"id": "modifiers",
|
|
"type": "array",
|
|
"button": "field",
|
|
"values": "attribute_modifier",
|
|
"require": [
|
|
"minecraft:set_attributes"
|
|
]
|
|
},
|
|
{
|
|
"id": "ops",
|
|
"type": "array",
|
|
"button": "field",
|
|
"values": "nbt_operation",
|
|
"require": [
|
|
"minecraft:copy_nbt"
|
|
]
|
|
},
|
|
{
|
|
"id": "enchantment",
|
|
"type": "enum",
|
|
"source": "enchantment",
|
|
"values": "enchantments",
|
|
"require": [
|
|
"minecraft:apply_bonus"
|
|
]
|
|
},
|
|
{
|
|
"id": "formula",
|
|
"type": "enum",
|
|
"default": "minecraft:uniform_bonus_count",
|
|
"values": [
|
|
"minecraft:uniform_bonus_count",
|
|
"minecraft:binomial_with_bonus_count",
|
|
"minecraft:ore_drops"
|
|
],
|
|
"require": [
|
|
"minecraft:apply_bonus"
|
|
]
|
|
},
|
|
{
|
|
"id": "parameters.bonusMultiplier",
|
|
"type": "float",
|
|
"default": 1,
|
|
"require": [
|
|
{
|
|
"function": "minecraft:apply_bonus",
|
|
"formula": "minecraft:uniform_bonus_count"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "parameters.extra",
|
|
"type": "int",
|
|
"default": 0,
|
|
"require": [
|
|
{
|
|
"function": "minecraft:apply_bonus",
|
|
"formula": "minecraft:binomial_with_bonus_count"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "parameters.probability",
|
|
"type": "float",
|
|
"default": 0.5,
|
|
"require": [
|
|
{
|
|
"function": "minecraft:apply_bonus",
|
|
"formula": "minecraft:binomial_with_bonus_count"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "conditions",
|
|
"type": "array",
|
|
"values": "condition",
|
|
"button": "header"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "condition",
|
|
"type": "object",
|
|
"color": "info",
|
|
"default": {
|
|
"condition": "minecraft:random_chance",
|
|
"chance": 0.5
|
|
},
|
|
"fields": [
|
|
{
|
|
"id": "condition",
|
|
"type": "enum",
|
|
"source": "condition",
|
|
"default": "minecraft:random_chance",
|
|
"values": [
|
|
"minecraft:alternative",
|
|
"minecraft:inverted",
|
|
"minecraft:entity_properties",
|
|
"minecraft:block_state_propery",
|
|
"minecraft:match_tool",
|
|
"minecraft:damage_source_properties",
|
|
"minecraft:location_check",
|
|
"minecraft:weather_check",
|
|
"minecraft:entity_scores",
|
|
"minecraft:random_chance",
|
|
"minecraft:random_chance_with_looting",
|
|
"minecraft:table_bonus",
|
|
"minecraft:killed_by_player",
|
|
"minecraft:survives_explosion"
|
|
]
|
|
},
|
|
{
|
|
"id": "chance",
|
|
"type": "float",
|
|
"require": [
|
|
"minecraft:random_chance",
|
|
"minecraft:random_chance_with_looting"
|
|
]
|
|
},
|
|
{
|
|
"id": "looting_multiplier",
|
|
"type": "float",
|
|
"require": [
|
|
"minecraft:random_chance_with_looting"
|
|
]
|
|
},
|
|
{
|
|
"id": "inverted",
|
|
"type": "boolean",
|
|
"require": [
|
|
"minecraft:killed_by_player"
|
|
]
|
|
},
|
|
{
|
|
"id": "entity",
|
|
"type": "enum",
|
|
"default": "this",
|
|
"values": [
|
|
"this",
|
|
"killer",
|
|
"killer_player"
|
|
],
|
|
"require": [
|
|
"minecraft:entity_properties",
|
|
"minecraft:entity_scores"
|
|
]
|
|
},
|
|
{
|
|
"id": "enchantment",
|
|
"type": "enum",
|
|
"source": "enchantment",
|
|
"values": "enchantments",
|
|
"require": [
|
|
"minecraft:table_bonus"
|
|
]
|
|
},
|
|
{
|
|
"id": "chances",
|
|
"type": "list",
|
|
"require": [
|
|
"minecraft:table_bonus"
|
|
]
|
|
},
|
|
{
|
|
"id": "raining",
|
|
"type": "boolean",
|
|
"require": [
|
|
"minecraft:weather_check"
|
|
]
|
|
},
|
|
{
|
|
"id": "thundering",
|
|
"type": "boolean",
|
|
"require": [
|
|
"minecraft:weather_check"
|
|
]
|
|
},
|
|
{
|
|
"id": "predicate",
|
|
"type": "object",
|
|
"value": "entity",
|
|
"require": [
|
|
"minecraft:entity_properties"
|
|
]
|
|
},
|
|
{
|
|
"id": "term",
|
|
"type": "object",
|
|
"value": "condition",
|
|
"button": "field",
|
|
"require": [
|
|
"minecraft:inverted"
|
|
]
|
|
},
|
|
{
|
|
"id": "terms",
|
|
"type": "array",
|
|
"values": "condition",
|
|
"button": "field",
|
|
"require": [
|
|
"minecraft:alternative"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "attribute_modifier",
|
|
"type": "object",
|
|
"color": "dark",
|
|
"default": {
|
|
"attribute": "generic.attackDamage",
|
|
"name": "Attack Damage",
|
|
"amount": 1,
|
|
"operation": "addition",
|
|
"slot": []
|
|
},
|
|
"fields": [
|
|
{
|
|
"id": "attribute",
|
|
"type": "enum",
|
|
"source": "attribute",
|
|
"default": "generic.attackDamage",
|
|
"values": [
|
|
"generic.maxHealth",
|
|
"generic.followRange",
|
|
"generic.knockbackResistance",
|
|
"generic.movementSpeed",
|
|
"generic.attackDamage",
|
|
"generic.armor",
|
|
"generic.armorToughness",
|
|
"generic.attackSpeed",
|
|
"generic.luck",
|
|
"horse.jumpStrength",
|
|
"generic.attackKnockback",
|
|
"generic.flyingSpeed",
|
|
"zombie.spawnReinforcements"
|
|
]
|
|
},
|
|
{
|
|
"id": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"id": "amount",
|
|
"type": "float",
|
|
"default": 1
|
|
},
|
|
{
|
|
"id": "operation",
|
|
"type": "enum",
|
|
"source": "modifier.operation",
|
|
"default": "addition",
|
|
"values": [
|
|
"addition",
|
|
"multiply_base",
|
|
"multiply_total"
|
|
]
|
|
},
|
|
{
|
|
"id": "slots",
|
|
"type": "set",
|
|
"values": [
|
|
"mainhand",
|
|
"offhand",
|
|
"head",
|
|
"chest",
|
|
"legs",
|
|
"feet"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "nbt_operation",
|
|
"type": "object",
|
|
"color": "dark",
|
|
"default": {
|
|
"operation": "replace"
|
|
},
|
|
"fields": [
|
|
{
|
|
"id": "source",
|
|
"type": "string",
|
|
"class": "code"
|
|
},
|
|
{
|
|
"id": "target",
|
|
"type": "string",
|
|
"class": "code"
|
|
},
|
|
{
|
|
"id": "op",
|
|
"type": "enum",
|
|
"source": "operation.type",
|
|
"default": "replace",
|
|
"values": [
|
|
"replace",
|
|
"append",
|
|
"merge"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "entity",
|
|
"type": "object",
|
|
"color": "dark",
|
|
"fields": [
|
|
{
|
|
"id": "type",
|
|
"type": "enum",
|
|
"source": "entity",
|
|
"unset": true,
|
|
"values": "entity_types"
|
|
},
|
|
{
|
|
"id": "nbt",
|
|
"type": "nbt"
|
|
},
|
|
{
|
|
"id": "location",
|
|
"type": "object",
|
|
"value": "location",
|
|
"collapse": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "location",
|
|
"type": "object",
|
|
"color": "dark",
|
|
"fields": [
|
|
{
|
|
"id": "biome",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"collections": {
|
|
"entity_types": [
|
|
"minecraft:area_effect_cloud",
|
|
"minecraft:armor_stand",
|
|
"minecraft:arrow",
|
|
"minecraft:bat",
|
|
"minecraft:blaze",
|
|
"minecraft:boat",
|
|
"minecraft:cat",
|
|
"minecraft:cave_spider",
|
|
"minecraft:chest_minecart",
|
|
"minecraft:chicken",
|
|
"minecraft:cod",
|
|
"minecraft:command_block_minecart",
|
|
"minecraft:cow",
|
|
"minecraft:creeper",
|
|
"minecraft:dolphin",
|
|
"minecraft:donkey",
|
|
"minecraft:dragon_fireball",
|
|
"minecraft:drowned",
|
|
"minecraft:egg",
|
|
"minecraft:elder_guardian",
|
|
"minecraft:end_crystal",
|
|
"minecraft:ender_dragon",
|
|
"minecraft:ender_pearl",
|
|
"minecraft:enderman",
|
|
"minecraft:endermite",
|
|
"minecraft:evoker",
|
|
"minecraft:evoker_fangs",
|
|
"minecraft:experience_bottle",
|
|
"minecraft:experience_orb",
|
|
"minecraft:eye_of_ender",
|
|
"minecraft:falling_block",
|
|
"minecraft:fireball",
|
|
"minecraft:firework_rocket",
|
|
"minecraft:fishing_bobber",
|
|
"minecraft:fox",
|
|
"minecraft:furnace_minecart",
|
|
"minecraft:ghast",
|
|
"minecraft:giant",
|
|
"minecraft:guardian",
|
|
"minecraft:hopper_minecart",
|
|
"minecraft:horse",
|
|
"minecraft:husk",
|
|
"minecraft:illusioner",
|
|
"minecraft:iron_golem",
|
|
"minecraft:item",
|
|
"minecraft:item_frame",
|
|
"minecraft:leash_knot",
|
|
"minecraft:lightning_bolt",
|
|
"minecraft:llama",
|
|
"minecraft:llama_spit",
|
|
"minecraft:magma_cube",
|
|
"minecraft:minecart",
|
|
"minecraft:mooshroom",
|
|
"minecraft:mule",
|
|
"minecraft:ocelot",
|
|
"minecraft:painting",
|
|
"minecraft:panda",
|
|
"minecraft:parrot",
|
|
"minecraft:phantom",
|
|
"minecraft:pig",
|
|
"minecraft:pillager",
|
|
"minecraft:player",
|
|
"minecraft:polar_bear",
|
|
"minecraft:potion",
|
|
"minecraft:pufferfish",
|
|
"minecraft:rabbit",
|
|
"minecraft:ravager",
|
|
"minecraft:salmon",
|
|
"minecraft:sheep",
|
|
"minecraft:shulker",
|
|
"minecraft:shulker_bullet",
|
|
"minecraft:silverfish",
|
|
"minecraft:skeleton",
|
|
"minecraft:skeleton_horse",
|
|
"minecraft:slime",
|
|
"minecraft:small_fireball",
|
|
"minecraft:snow_golem",
|
|
"minecraft:snowball",
|
|
"minecraft:spawner_minecart",
|
|
"minecraft:spectral_arrow",
|
|
"minecraft:spider",
|
|
"minecraft:squid",
|
|
"minecraft:stray",
|
|
"minecraft:tnt",
|
|
"minecraft:tnt_minecart",
|
|
"minecraft:trader_llama",
|
|
"minecraft:trident",
|
|
"minecraft:tropical_fish",
|
|
"minecraft:turtle",
|
|
"minecraft:vex",
|
|
"minecraft:villager",
|
|
"minecraft:vindicator",
|
|
"minecraft:wandering_trader",
|
|
"minecraft:witch",
|
|
"minecraft:wither",
|
|
"minecraft:wither_skeleton",
|
|
"minecraft:wither_skull",
|
|
"minecraft:wolf",
|
|
"minecraft:zombie",
|
|
"minecraft:zombie_horse",
|
|
"minecraft:zombie_pigman",
|
|
"minecraft:zombie_villager"
|
|
],
|
|
"enchantments": [
|
|
"minecraft:aqua_affinity",
|
|
"minecraft:bane_of_arthropods",
|
|
"minecraft:blast_protection",
|
|
"minecraft:channeling",
|
|
"minecraft:binding_curse",
|
|
"minecraft:vanishing_curse",
|
|
"minecraft:depth_strider",
|
|
"minecraft:efficiency",
|
|
"minecraft:feather_falling",
|
|
"minecraft:fire_aspect",
|
|
"minecraft:fire_protection",
|
|
"minecraft:flame",
|
|
"minecraft:fortune",
|
|
"minecraft:frost_walker",
|
|
"minecraft:impaling",
|
|
"minecraft:infinity",
|
|
"minecraft:knockback",
|
|
"minecraft:looting",
|
|
"minecraft:loyalty",
|
|
"minecraft:luck_of_the_sea",
|
|
"minecraft:lure",
|
|
"minecraft:mending",
|
|
"minecraft:multishot",
|
|
"minecraft:piercing",
|
|
"minecraft:power",
|
|
"minecraft:projectile_protection",
|
|
"minecraft:protection",
|
|
"minecraft:punch",
|
|
"minecraft:quick_charge",
|
|
"minecraft:respiration",
|
|
"minecraft:riptide",
|
|
"minecraft:sharpness",
|
|
"minecraft:silk_touch",
|
|
"minecraft:smite",
|
|
"minecraft:sweeping",
|
|
"minecraft:thorns",
|
|
"minecraft:unbreaking"
|
|
]
|
|
}
|
|
}
|