Advertisement
Pepijn

Condition formatting

May 3rd, 2017
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 17.05 KB | None | 0 0
  1. {
  2.     "criteria": {
  3.         "custom_trigger_name": {
  4.             "trigger": "namespace:trigger_name",
  5.             "conditions": {
  6.                 "durability": 1,
  7.                 "durability": {
  8.                     "min": 1,
  9.                     "max": 1
  10.                 },
  11.                 "delta": 1,
  12.                 "delta": {
  13.                     "min": 1,
  14.                     "max": 1
  15.                 },
  16.                 "slots": {
  17.                     "occupied": 1,
  18.                     "occupied": {
  19.                         "min": 1,
  20.                         "max": 1
  21.                     },
  22.                     "full": 1,
  23.                     "full": {
  24.                         "min": 1,
  25.                         "max": 1
  26.                     },
  27.                     "empty": 1,
  28.                     "empty": {
  29.                         "min": 1,
  30.                         "max": 1
  31.                     }
  32.                 },
  33.                 "items": [{
  34.                     "item": "minecraft:stone",
  35.                     "count": 1,
  36.                     "count": {
  37.                         "min": 1,
  38.                         "max": 1
  39.                     },
  40.                     "data": 1,
  41.                     "data": {
  42.                         "min": 1,
  43.                         "max": 1
  44.                     },
  45.                     "durability": 1,
  46.                     "durability": {
  47.                         "min": 1,
  48.                         "max": 1
  49.                     },
  50.                     "potion": "minecraft:invisibility",
  51.                     "nbt": "{tag:{display:{Name:\"Test\"}}}",
  52.                     "enchantments": [{
  53.                         "enchantment": "minecraft:sharpness",
  54.                         "levels": 1,
  55.                         "levels": {
  56.                             "min": 1,
  57.                             "max": 1
  58.                         }
  59.                     }]
  60.                 }],
  61.                 "item": {
  62.                     "item": "minecraft:stone",
  63.                     "count": 1,
  64.                     "count": {
  65.                         "min": 1,
  66.                         "max": 1
  67.                     },
  68.                     "data": 1,
  69.                     "data": {
  70.                         "min": 1,
  71.                         "max": 1
  72.                     },
  73.                     "durability": 1,
  74.                     "durability": {
  75.                         "min": 1,
  76.                         "max": 1
  77.                     },
  78.                     "potion": "minecraft:invisibility",
  79.                     "nbt": "{tag:{display:{Name:\"Test\"}}}",
  80.                     "enchantments": [{
  81.                         "enchantment": "minecraft:sharpness",
  82.                         "levels": 1,
  83.                         "levels": {
  84.                             "min": 1,
  85.                             "max": 1
  86.                         }
  87.                     }]
  88.                 },
  89.                 "levels": 1,
  90.                 "levels": {
  91.                     "min": 1,
  92.                     "max": 1
  93.                 },
  94.                 "recipe": "minecraft:chest",
  95.                 "position": {
  96.                     "x": 1,
  97.                     "x": {
  98.                         "min": 1,
  99.                         "max": 1
  100.                     },
  101.                     "y": 1,
  102.                     "y": {
  103.                         "min": 1,
  104.                         "max": 1
  105.                     },
  106.                     "z": 1,
  107.                     "z": {
  108.                         "min": 1,
  109.                         "max": 1
  110.                     }
  111.                 },
  112.                 "biome": "minecraft:void",
  113.                 "feature": "EndCity",
  114.                 "dimension": "overworld",
  115.                 "from": "overworld",
  116.                 "to": "overworld",
  117.                 "block": "minecraft:stone",
  118.                 "state": {
  119.                     "state_name": "state_value"
  120.                 },
  121.                 "entity": {
  122.                     "type": "minecraft:creeper",
  123.                     "nbt": "{powered:1b}",
  124.                     "location": {
  125.                         "position": {
  126.                             "x": 1,
  127.                             "x": {
  128.                                 "min": 1,
  129.                                 "max": 1
  130.                             },
  131.                             "y": 1,
  132.                             "y": {
  133.                                 "min": 1,
  134.                                 "max": 1
  135.                             },
  136.                             "z": 1,
  137.                             "z": {
  138.                                 "min": 1,
  139.                                 "max": 1
  140.                             }
  141.                         },
  142.                         "biome": "minecraft:void",
  143.                         "feature": "EndCity",
  144.                         "dimension": "the_nether"
  145.                     },
  146.                     "distance": 1,
  147.                     "distance": {
  148.                         "min": 1,
  149.                         "max": 1
  150.                     },
  151.                     "distance": {
  152.                         "horizontal": 1,
  153.                         "horizontal": {
  154.                             "min": 1,
  155.                             "max": 1
  156.                         }
  157.                     },
  158.                     "distance": {
  159.                         "x": 1,
  160.                         "x": {
  161.                             "min": 1,
  162.                             "max": 1
  163.                         },
  164.                         "y": 1,
  165.                         "y": {
  166.                             "min": 1,
  167.                             "max": 1
  168.                         },
  169.                         "z": 1,
  170.                         "z": {
  171.                             "min": 1,
  172.                             "max": 1
  173.                         }
  174.                     },
  175.                     "effects": {
  176.                         "minecraft:speed": {
  177.                             "amplifier": 1,
  178.                             "amplifier": {
  179.                                 "min": 1,
  180.                                 "max": 1
  181.                             },
  182.                             "duration": 1,
  183.                             "duration": {
  184.                                 "min": 1,
  185.                                 "max": 1
  186.                             }
  187.                         }
  188.                     }
  189.                 },
  190.                 "killing_blow": {
  191.                     "bypasses_armor": true,
  192.                     "bypasses_invulnerability": true,
  193.                     "bypasses_magic": true,
  194.                     "is_explosion": true,
  195.                     "is_fire": true,
  196.                     "is_magic": true,
  197.                     "is_projectile": true,
  198.                     "direct_entity": {
  199.                         "type": "minecraft:creeper",
  200.                         "nbt": "{powered:1b}",
  201.                         "location": {
  202.                             "position": {
  203.                                 "x": 1,
  204.                                 "x": {
  205.                                     "min": 1,
  206.                                     "max": 1
  207.                                 },
  208.                                 "y": 1,
  209.                                 "y": {
  210.                                     "min": 1,
  211.                                     "max": 1
  212.                                 },
  213.                                 "z": 1,
  214.                                 "z": {
  215.                                     "min": 1,
  216.                                     "max": 1
  217.                                 }
  218.                             },
  219.                             "biome": "minecraft:void",
  220.                             "feature": "EndCity",
  221.                             "dimension": "the_nether"
  222.                         },
  223.                         "distance": 1,
  224.                         "distance": {
  225.                             "min": 1,
  226.                             "max": 1
  227.                         },
  228.                         "distance": {
  229.                             "horizontal": 1,
  230.                             "horizontal": {
  231.                                 "min": 1,
  232.                                 "max": 1
  233.                             }
  234.                         },
  235.                         "distance": {
  236.                             "x": 1,
  237.                             "x": {
  238.                                 "min": 1,
  239.                                 "max": 1
  240.                             },
  241.                             "y": 1,
  242.                             "y": {
  243.                                 "min": 1,
  244.                                 "max": 1
  245.                             },
  246.                             "z": 1,
  247.                             "z": {
  248.                                 "min": 1,
  249.                                 "max": 1
  250.                             }
  251.                         },
  252.                         "effects": {
  253.                             "minecraft:speed": {
  254.                                 "amplifier": 1,
  255.                                 "amplifier": {
  256.                                     "min": 1,
  257.                                     "max": 1
  258.                                 },
  259.                                 "duration": 1,
  260.                                 "duration": {
  261.                                     "min": 1,
  262.                                     "max": 1
  263.                                 }
  264.                             }
  265.                         }
  266.                     },
  267.                     "source_entity": {
  268.                         "type": "minecraft:creeper",
  269.                         "nbt": "{powered:1b}",
  270.                         "location": {
  271.                             "position": {
  272.                                 "x": 1,
  273.                                 "x": {
  274.                                     "min": 1,
  275.                                     "max": 1
  276.                                 },
  277.                                 "y": 1,
  278.                                 "y": {
  279.                                     "min": 1,
  280.                                     "max": 1
  281.                                 },
  282.                                 "z": 1,
  283.                                 "z": {
  284.                                     "min": 1,
  285.                                     "max": 1
  286.                                 }
  287.                             },
  288.                             "biome": "minecraft:void",
  289.                             "feature": "EndCity",
  290.                             "dimension": "the_nether"
  291.                         },
  292.                         "distance": 1,
  293.                         "distance": {
  294.                             "min": 1,
  295.                             "max": 1
  296.                         },
  297.                         "distance": {
  298.                             "horizontal": 1,
  299.                             "horizontal": {
  300.                                 "min": 1,
  301.                                 "max": 1
  302.                             }
  303.                         },
  304.                         "distance": {
  305.                             "x": 1,
  306.                             "x": {
  307.                                 "min": 1,
  308.                                 "max": 1
  309.                             },
  310.                             "y": 1,
  311.                             "y": {
  312.                                 "min": 1,
  313.                                 "max": 1
  314.                             },
  315.                             "z": 1,
  316.                             "z": {
  317.                                 "min": 1,
  318.                                 "max": 1
  319.                             }
  320.                         },
  321.                         "effects": {
  322.                             "minecraft:speed": {
  323.                                 "amplifier": 1,
  324.                                 "amplifier": {
  325.                                     "min": 1,
  326.                                     "max": 1
  327.                                 },
  328.                                 "duration": 1,
  329.                                 "duration": {
  330.                                     "min": 1,
  331.                                     "max": 1
  332.                                 }
  333.                             }
  334.                         }
  335.                     }
  336.                 },
  337.                 "distance": 1,
  338.                 "distance": {
  339.                     "min": 1,
  340.                     "max": 1
  341.                 },
  342.                 "distance": {
  343.                     "horizontal": 1,
  344.                     "horizontal": {
  345.                         "min": 1,
  346.                         "max": 1
  347.                     }
  348.                 },
  349.                 "distance": {
  350.                     "x": 1,
  351.                     "x": {
  352.                         "min": 1,
  353.                         "max": 1
  354.                     },
  355.                     "y": 1,
  356.                     "y": {
  357.                         "min": 1,
  358.                         "max": 1
  359.                     },
  360.                     "z": 1,
  361.                     "z": {
  362.                         "min": 1,
  363.                         "max": 1
  364.                     }
  365.                 },
  366.                 "parent": {
  367.                     "type": "minecraft:creeper",
  368.                     "nbt": "{powered:1b}",
  369.                     "location": {
  370.                         "position": {
  371.                             "x": 1,
  372.                             "x": {
  373.                                 "min": 1,
  374.                                 "max": 1
  375.                             },
  376.                             "y": 1,
  377.                             "y": {
  378.                                 "min": 1,
  379.                                 "max": 1
  380.                             },
  381.                             "z": 1,
  382.                             "z": {
  383.                                 "min": 1,
  384.                                 "max": 1
  385.                             }
  386.                         },
  387.                         "biome": "minecraft:void",
  388.                         "feature": "EndCity",
  389.                         "dimension": "the_nether"
  390.                     },
  391.                     "distance": 1,
  392.                     "distance": {
  393.                         "min": 1,
  394.                         "max": 1
  395.                     },
  396.                     "distance": {
  397.                         "horizontal": 1,
  398.                         "horizontal": {
  399.                             "min": 1,
  400.                             "max": 1
  401.                         }
  402.                     },
  403.                     "distance": {
  404.                         "x": 1,
  405.                         "x": {
  406.                             "min": 1,
  407.                             "max": 1
  408.                         },
  409.                         "y": 1,
  410.                         "y": {
  411.                             "min": 1,
  412.                             "max": 1
  413.                         },
  414.                         "z": 1,
  415.                         "z": {
  416.                             "min": 1,
  417.                             "max": 1
  418.                         }
  419.                     },
  420.                     "effects": {
  421.                         "minecraft:speed": {
  422.                             "amplifier": 1,
  423.                             "amplifier": {
  424.                                 "min": 1,
  425.                                 "max": 1
  426.                             },
  427.                             "duration": 1,
  428.                             "duration": {
  429.                                 "min": 1,
  430.                                 "max": 1
  431.                             }
  432.                         }
  433.                     }
  434.                 },
  435.                 "partner": {
  436.                     "type": "minecraft:creeper",
  437.                     "nbt": "{powered:1b}",
  438.                     "location": {
  439.                         "position": {
  440.                             "x": 1,
  441.                             "x": {
  442.                                 "min": 1,
  443.                                 "max": 1
  444.                             },
  445.                             "y": 1,
  446.                             "y": {
  447.                                 "min": 1,
  448.                                 "max": 1
  449.                             },
  450.                             "z": 1,
  451.                             "z": {
  452.                                 "min": 1,
  453.                                 "max": 1
  454.                             }
  455.                         },
  456.                         "biome": "minecraft:void",
  457.                         "feature": "EndCity",
  458.                         "dimension": "the_nether"
  459.                     },
  460.                     "distance": 1,
  461.                     "distance": {
  462.                         "min": 1,
  463.                         "max": 1
  464.                     },
  465.                     "distance": {
  466.                         "horizontal": 1,
  467.                         "horizontal": {
  468.                             "min": 1,
  469.                             "max": 1
  470.                         }
  471.                     },
  472.                     "distance": {
  473.                         "x": 1,
  474.                         "x": {
  475.                             "min": 1,
  476.                             "max": 1
  477.                         },
  478.                         "y": 1,
  479.                         "y": {
  480.                             "min": 1,
  481.                             "max": 1
  482.                         },
  483.                         "z": 1,
  484.                         "z": {
  485.                             "min": 1,
  486.                             "max": 1
  487.                         }
  488.                     },
  489.                     "effects": {
  490.                         "minecraft:speed": {
  491.                             "amplifier": 1,
  492.                             "amplifier": {
  493.                                 "min": 1,
  494.                                 "max": 1
  495.                             },
  496.                             "duration": 1,
  497.                             "duration": {
  498.                                 "min": 1,
  499.                                 "max": 1
  500.                             }
  501.                         }
  502.                     }
  503.                 },
  504.                 "child": {
  505.                     "type": "minecraft:creeper",
  506.                     "nbt": "{powered:1b}",
  507.                     "location": {
  508.                         "position": {
  509.                             "x": 1,
  510.                             "x": {
  511.                                 "min": 1,
  512.                                 "max": 1
  513.                             },
  514.                             "y": 1,
  515.                             "y": {
  516.                                 "min": 1,
  517.                                 "max": 1
  518.                             },
  519.                             "z": 1,
  520.                             "z": {
  521.                                 "min": 1,
  522.                                 "max": 1
  523.                             }
  524.                         },
  525.                         "biome": "minecraft:void",
  526.                         "feature": "EndCity",
  527.                         "dimension": "the_nether"
  528.                     },
  529.                     "distance": 1,
  530.                     "distance": {
  531.                         "min": 1,
  532.                         "max": 1
  533.                     },
  534.                     "distance": {
  535.                         "horizontal": 1,
  536.                         "horizontal": {
  537.                             "min": 1,
  538.                             "max": 1
  539.                         }
  540.                     },
  541.                     "distance": {
  542.                         "x": 1,
  543.                         "x": {
  544.                             "min": 1,
  545.                             "max": 1
  546.                         },
  547.                         "y": 1,
  548.                         "y": {
  549.                             "min": 1,
  550.                             "max": 1
  551.                         },
  552.                         "z": 1,
  553.                         "z": {
  554.                             "min": 1,
  555.                             "max": 1
  556.                         }
  557.                     },
  558.                     "effects": {
  559.                         "minecraft:speed": {
  560.                             "amplifier": 1,
  561.                             "amplifier": {
  562.                                 "min": 1,
  563.                                 "max": 1
  564.                             },
  565.                             "duration": 1,
  566.                             "duration": {
  567.                                 "min": 1,
  568.                                 "max": 1
  569.                             }
  570.                         }
  571.                     }
  572.                 },
  573.                 "potion": "minecraft:invisibility",
  574.                 "level": 1,
  575.                 "level": {
  576.                     "min": 1,
  577.                     "max": 1
  578.                 },
  579.                 "damage": {
  580.                     "dealt": 1,
  581.                     "dealt": {
  582.                         "min": 1,
  583.                         "max": 1
  584.                     },
  585.                     "taken": 1,
  586.                     "taken": {
  587.                         "min": 1,
  588.                         "max": 1
  589.                     },
  590.                     "blocked": true,
  591.                     "type": {
  592.                         "bypasses_armor": true,
  593.                         "bypasses_invulnerability": true,
  594.                         "bypasses_magic": true,
  595.                         "is_explosion": true,
  596.                         "is_fire": true,
  597.                         "is_magic": true,
  598.                         "is_projectile": true,
  599.                         "direct_entity": {
  600.                             "type": "minecraft:creeper",
  601.                             "nbt": "{powered:1b}",
  602.                             "location": {
  603.                                 "position": {
  604.                                     "x": 1,
  605.                                     "x": {
  606.                                         "min": 1,
  607.                                         "max": 1
  608.                                     },
  609.                                     "y": 1,
  610.                                     "y": {
  611.                                         "min": 1,
  612.                                         "max": 1
  613.                                     },
  614.                                     "z": 1,
  615.                                     "z": {
  616.                                         "min": 1,
  617.                                         "max": 1
  618.                                     }
  619.                                 },
  620.                                 "biome": "minecraft:void",
  621.                                 "feature": "EndCity",
  622.                                 "dimension": "the_nether"
  623.                             },
  624.                             "distance": 1,
  625.                             "distance": {
  626.                                 "min": 1,
  627.                                 "max": 1
  628.                             },
  629.                             "distance": {
  630.                                 "horizontal": 1,
  631.                                 "horizontal": {
  632.                                     "min": 1,
  633.                                     "max": 1
  634.                                 }
  635.                             },
  636.                             "distance": {
  637.                                 "x": 1,
  638.                                 "x": {
  639.                                     "min": 1,
  640.                                     "max": 1
  641.                                 },
  642.                                 "y": 1,
  643.                                 "y": {
  644.                                     "min": 1,
  645.                                     "max": 1
  646.                                 },
  647.                                 "z": 1,
  648.                                 "z": {
  649.                                     "min": 1,
  650.                                     "max": 1
  651.                                 }
  652.                             },
  653.                             "effects": {
  654.                                 "minecraft:speed": {
  655.                                     "amplifier": 1,
  656.                                     "amplifier": {
  657.                                         "min": 1,
  658.                                         "max": 1
  659.                                     },
  660.                                     "duration": 1,
  661.                                     "duration": {
  662.                                         "min": 1,
  663.                                         "max": 1
  664.                                     }
  665.                                 }
  666.                             }
  667.                         },
  668.                         "source_entity": {
  669.                             "type": "minecraft:creeper",
  670.                             "nbt": "{powered:1b}",
  671.                             "location": {
  672.                                 "position": {
  673.                                     "x": 1,
  674.                                     "x": {
  675.                                         "min": 1,
  676.                                         "max": 1
  677.                                     },
  678.                                     "y": 1,
  679.                                     "y": {
  680.                                         "min": 1,
  681.                                         "max": 1
  682.                                     },
  683.                                     "z": 1,
  684.                                     "z": {
  685.                                         "min": 1,
  686.                                         "max": 1
  687.                                     }
  688.                                 },
  689.                                 "biome": "minecraft:void",
  690.                                 "feature": "EndCity",
  691.                                 "dimension": "the_nether"
  692.                             },
  693.                             "distance": 1,
  694.                             "distance": {
  695.                                 "min": 1,
  696.                                 "max": 1
  697.                             },
  698.                             "distance": {
  699.                                 "horizontal": 1,
  700.                                 "horizontal": {
  701.                                     "min": 1,
  702.                                     "max": 1
  703.                                 }
  704.                             },
  705.                             "distance": {
  706.                                 "x": 1,
  707.                                 "x": {
  708.                                     "min": 1,
  709.                                     "max": 1
  710.                                 },
  711.                                 "y": 1,
  712.                                 "y": {
  713.                                     "min": 1,
  714.                                     "max": 1
  715.                                 },
  716.                                 "z": 1,
  717.                                 "z": {
  718.                                     "min": 1,
  719.                                     "max": 1
  720.                                 }
  721.                             },
  722.                             "effects": {
  723.                                 "minecraft:speed": {
  724.                                     "amplifier": 1,
  725.                                     "amplifier": {
  726.                                         "min": 1,
  727.                                         "max": 1
  728.                                     },
  729.                                     "duration": 1,
  730.                                     "duration": {
  731.                                         "min": 1,
  732.                                         "max": 1
  733.                                     }
  734.                                 }
  735.                             }
  736.                         }
  737.                     },
  738.                     "source_entity": {
  739.                         "type": "minecraft:creeper",
  740.                         "nbt": "{powered:1b}",
  741.                         "location": {
  742.                             "position": {
  743.                                 "x": 1,
  744.                                 "x": {
  745.                                     "min": 1,
  746.                                     "max": 1
  747.                                 },
  748.                                 "y": 1,
  749.                                 "y": {
  750.                                     "min": 1,
  751.                                     "max": 1
  752.                                 },
  753.                                 "z": 1,
  754.                                 "z": {
  755.                                     "min": 1,
  756.                                     "max": 1
  757.                                 }
  758.                             },
  759.                             "biome": "minecraft:void",
  760.                             "feature": "EndCity",
  761.                             "dimension": "the_nether"
  762.                         },
  763.                         "distance": 1,
  764.                         "distance": {
  765.                             "min": 1,
  766.                             "max": 1
  767.                         },
  768.                         "distance": {
  769.                             "horizontal": 1,
  770.                             "horizontal": {
  771.                                 "min": 1,
  772.                                 "max": 1
  773.                             }
  774.                         },
  775.                         "distance": {
  776.                             "x": 1,
  777.                             "x": {
  778.                                 "min": 1,
  779.                                 "max": 1
  780.                             },
  781.                             "y": 1,
  782.                             "y": {
  783.                                 "min": 1,
  784.                                 "max": 1
  785.                             },
  786.                             "z": 1,
  787.                             "z": {
  788.                                 "min": 1,
  789.                                 "max": 1
  790.                             }
  791.                         },
  792.                         "effects": {
  793.                             "minecraft:speed": {
  794.                                 "amplifier": 1,
  795.                                 "amplifier": {
  796.                                     "min": 1,
  797.                                     "max": 1
  798.                                 },
  799.                                 "duration": 1,
  800.                                 "duration": {
  801.                                     "min": 1,
  802.                                     "max": 1
  803.                                 }
  804.                             }
  805.                         }
  806.                     }
  807.                 },
  808.                 "villager": {
  809.                     "nbt": "{powered:1b}",
  810.                     "location": {
  811.                         "position": {
  812.                             "x": 1,
  813.                             "x": {
  814.                                 "min": 1,
  815.                                 "max": 1
  816.                             },
  817.                             "y": 1,
  818.                             "y": {
  819.                                 "min": 1,
  820.                                 "max": 1
  821.                             },
  822.                             "z": 1,
  823.                             "z": {
  824.                                 "min": 1,
  825.                                 "max": 1
  826.                             }
  827.                         },
  828.                         "biome": "minecraft:void",
  829.                         "feature": "EndCity",
  830.                         "dimension": "the_nether"
  831.                     },
  832.                     "distance": 1,
  833.                     "distance": {
  834.                         "min": 1,
  835.                         "max": 1
  836.                     },
  837.                     "distance": {
  838.                         "horizontal": 1,
  839.                         "horizontal": {
  840.                             "min": 1,
  841.                             "max": 1
  842.                         }
  843.                     },
  844.                     "distance": {
  845.                         "x": 1,
  846.                         "x": {
  847.                             "min": 1,
  848.                             "max": 1
  849.                         },
  850.                         "y": 1,
  851.                         "y": {
  852.                             "min": 1,
  853.                             "max": 1
  854.                         },
  855.                         "z": 1,
  856.                         "z": {
  857.                             "min": 1,
  858.                             "max": 1
  859.                         }
  860.                     },
  861.                     "effects": {
  862.                         "minecraft:speed": {
  863.                             "amplifier": 1,
  864.                             "amplifier": {
  865.                                 "min": 1,
  866.                                 "max": 1
  867.                             },
  868.                             "duration": 1,
  869.                             "duration": {
  870.                                 "min": 1,
  871.                                 "max": 1
  872.                             }
  873.                         }
  874.                     }
  875.                 },
  876.                 "zombie": {
  877.                     "nbt": "{powered:1b}",
  878.                     "location": {
  879.                         "position": {
  880.                             "x": 1,
  881.                             "x": {
  882.                                 "min": 1,
  883.                                 "max": 1
  884.                             },
  885.                             "y": 1,
  886.                             "y": {
  887.                                 "min": 1,
  888.                                 "max": 1
  889.                             },
  890.                             "z": 1,
  891.                             "z": {
  892.                                 "min": 1,
  893.                                 "max": 1
  894.                             }
  895.                         },
  896.                         "biome": "minecraft:void",
  897.                         "feature": "EndCity",
  898.                         "dimension": "the_nether"
  899.                     },
  900.                     "distance": 1,
  901.                     "distance": {
  902.                         "min": 1,
  903.                         "max": 1
  904.                     },
  905.                     "distance": {
  906.                         "horizontal": 1,
  907.                         "horizontal": {
  908.                             "min": 1,
  909.                             "max": 1
  910.                         }
  911.                     },
  912.                     "distance": {
  913.                         "x": 1,
  914.                         "x": {
  915.                             "min": 1,
  916.                             "max": 1
  917.                         },
  918.                         "y": 1,
  919.                         "y": {
  920.                             "min": 1,
  921.                             "max": 1
  922.                         },
  923.                         "z": 1,
  924.                         "z": {
  925.                             "min": 1,
  926.                             "max": 1
  927.                         }
  928.                     },
  929.                     "effects": {
  930.                         "minecraft:speed": {
  931.                             "amplifier": 1,
  932.                             "amplifier": {
  933.                                 "min": 1,
  934.                                 "max": 1
  935.                             },
  936.                             "duration": 1,
  937.                             "duration": {
  938.                                 "min": 1,
  939.                                 "max": 1
  940.                             }
  941.                         }
  942.                     }
  943.                 }
  944.             }
  945.         }
  946.     },
  947.     "requirements": [
  948.         ["generic_trigger_name"]
  949.     ],
  950.     "parent": "namespace:path/to/parent_advancement",
  951.     "display": {
  952.         "icon": {
  953.             "item": "minecraft:stone_pickaxe",
  954.             "data": 0
  955.         },
  956.         "title": "Display title",
  957.         "description": "Display description",
  958.         "frame": "task",
  959.         "background": "minecraft:path/to/texture.png",
  960.         "show_toast": true,
  961.         "announce_to_chat": true
  962.     },
  963.     "rewards": {
  964.         "recipes": ["namespace:path/to/recipe"],
  965.         "loot": ["namespace:path/to/loot_table"],
  966.         "experience": 1,
  967.         "function": "namespace:path/to/function"
  968.     }
  969. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement