Advertisement
RandomGuy32

silverfish.json

Nov 28th, 2022
1,183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.49 KB | None | 0 0
  1. {
  2.     "type": "minecraft:entity",
  3.     "pools": [
  4.         {
  5.             "rolls": 1,
  6.             "entries": [
  7.                 {
  8.                     "type": "minecraft:item",
  9.                     "name": "minecraft:flint",
  10.                     "weight": 1,
  11.                     "functions": [
  12.                         {
  13.                             "function": "minecraft:set_count",
  14.                             "count": {
  15.                                 "min": 0,
  16.                                 "max": 1
  17.                             }
  18.                         },
  19.                         {
  20.                             "function": "minecraft:looting_enchant",
  21.                             "count": {
  22.                                 "min": 0,
  23.                                 "max": 1
  24.                             }
  25.                         }
  26.                     ]
  27.                 },
  28.                 {
  29.                     "type": "minecraft:item",
  30.                     "name": "minecraft:clay_ball",
  31.                     "weight": 1,
  32.                     "functions": [
  33.                         {
  34.                             "function": "minecraft:set_count",
  35.                             "count": {
  36.                                 "min": 0,
  37.                                 "max": 1
  38.                             }
  39.                         },
  40.                         {
  41.                             "function": "minecraft:looting_enchant",
  42.                             "count": {
  43.                                 "min": 0,
  44.                                 "max": 1
  45.                             }
  46.                         }
  47.                     ]
  48.                 }
  49.             ],
  50.             "conditions": [
  51.                 {
  52.                     "condition": "minecraft:killed_by_player"
  53.                 },
  54.                 {
  55.                     "condition": "minecraft:random_chance_with_looting",
  56.                     "chance": 0.5,
  57.                     "looting_multiplier": 0.1
  58.                 }
  59.             ]
  60.         },
  61.         {
  62.             "rolls": 0,
  63.             "bonus_rolls": 1,
  64.             "entries": [
  65.                 {
  66.                     "type": "minecraft:item",
  67.                     "name": "minecraft:string",
  68.                     "functions": [
  69.                         {
  70.                             "function": "minecraft:set_count",
  71.                             "count": {
  72.                                 "min": 0,
  73.                                 "max": 1
  74.                             }
  75.                         },
  76.                         {
  77.                             "function": "minecraft:looting_enchant",
  78.                             "count": {
  79.                                 "min": 0,
  80.                                 "max": 1
  81.                             }
  82.                         }
  83.                     ]
  84.                 }
  85.             ],
  86.             "conditions": [
  87.                 {
  88.                     "condition": "minecraft:killed_by_player"
  89.                 },
  90.                 {
  91.                     "condition": "minecraft:random_chance_with_looting",
  92.                     "chance": 0.4,
  93.                     "looting_multiplier": 0.175
  94.                 }
  95.             ]
  96.         },
  97.         {
  98.             "rolls": 1,
  99.             "entries": [
  100.                 {
  101.                     "type": "minecraft:alternatives",
  102.                     "children": [
  103.                         {
  104.                             "type": "minecraft:item",
  105.                             "name": "minecraft:infested_stone",
  106.                             "conditions": [
  107.                                 {
  108.                                     "condition": "minecraft:entity_properties",
  109.                                     "entity": "direct_killer",
  110.                                     "predicate": {
  111.                                         "stepping_on": {
  112.                                             "block": {
  113.                                                 "blocks": [
  114.                                                     "minecraft:stone",
  115.                                                     "minecraft:stone_slab",
  116.                                                     "minecraft:infested_stone",
  117.                                                     "minecraft:coal_ore",
  118.                                                     "minecraft:iron_ore",
  119.                                                     "minecraft:copper_ore",
  120.                                                     "minecraft:gold_ore",
  121.                                                     "minecraft:redstone_ore",
  122.                                                     "minecraft:emerald_ore",
  123.                                                     "minecraft:lapis_ore",
  124.                                                     "minecraft:diamond_ore"
  125.                                                 ]
  126.                                             }
  127.                                         }
  128.                                     }
  129.                                 }
  130.                             ]
  131.                         },
  132.                         {
  133.                             "type": "minecraft:item",
  134.                             "name": "minecraft:infested_cobblestone",
  135.                             "conditions": [
  136.                                 {
  137.                                     "condition": "minecraft:entity_properties",
  138.                                     "entity": "direct_killer",
  139.                                     "predicate": {
  140.                                         "stepping_on": {
  141.                                             "block": {
  142.                                                 "blocks": [
  143.                                                     "minecraft:cobblestone",
  144.                                                     "minecraft:cobblestone_stairs",
  145.                                                     "minecraft:cobblestone_slab",
  146.                                                     "minecraft:cobblestone_wall",
  147.                                                     "minecraft:infested_cobblestone"
  148.                                                 ]
  149.                                             }
  150.                                         }
  151.                                     }
  152.                                 }
  153.                             ]
  154.                         },
  155.                         {
  156.                             "type": "minecraft:item",
  157.                             "name": "minecraft:infested_stone_bricks",
  158.                             "conditions": [
  159.                                 {
  160.                                     "condition": "minecraft:entity_properties",
  161.                                     "entity": "direct_killer",
  162.                                     "predicate": {
  163.                                         "stepping_on": {
  164.                                             "block": {
  165.                                                 "blocks": [
  166.                                                     "minecraft:stone_bricks",
  167.                                                     "minecraft:stone_brick_stairs",
  168.                                                     "minecraft:stone_brick_slab",
  169.                                                     "minecraft:stone_brick_wall",
  170.                                                     "minecraft:infested_stone_bricks"
  171.                                                 ]
  172.                                             }
  173.                                         }
  174.                                     }
  175.                                 }
  176.                             ]
  177.                         },
  178.                         {
  179.                             "type": "minecraft:item",
  180.                             "name": "minecraft:infested_mossy_stone_bricks",
  181.                             "conditions": [
  182.                                 {
  183.                                     "condition": "minecraft:entity_properties",
  184.                                     "entity": "direct_killer",
  185.                                     "predicate": {
  186.                                         "stepping_on": {
  187.                                             "block": {
  188.                                                 "blocks": [
  189.                                                     "minecraft:mossy_stone_bricks",
  190.                                                     "minecraft:mossy_stone_brick_stairs",
  191.                                                     "minecraft:mossy_stone_brick_slab",
  192.                                                     "minecraft:mossy_stone_brick_wall",
  193.                                                     "minecraft:infested_mossy_stone_bricks"
  194.                                                 ]
  195.                                             }
  196.                                         }
  197.                                     }
  198.                                 }
  199.                             ]
  200.                         },
  201.                         {
  202.                             "type": "minecraft:item",
  203.                             "name": "minecraft:infested_cracked_stone_bricks",
  204.                             "conditions": [
  205.                                 {
  206.                                     "condition": "minecraft:entity_properties",
  207.                                     "entity": "direct_killer",
  208.                                     "predicate": {
  209.                                         "stepping_on": {
  210.                                             "block": {
  211.                                                 "blocks": [
  212.                                                     "minecraft:cracked_stone_bricks",
  213.                                                     "minecraft:infested_cracked_stone_bricks"
  214.                                                 ]
  215.                                             }
  216.                                         }
  217.                                     }
  218.                                 }
  219.                             ]
  220.                         },
  221.                         {
  222.                             "type": "minecraft:item",
  223.                             "name": "minecraft:infested_chiseled_stone_bricks",
  224.                             "conditions": [
  225.                                 {
  226.                                     "condition": "minecraft:entity_properties",
  227.                                     "entity": "direct_killer",
  228.                                     "predicate": {
  229.                                         "stepping_on": {
  230.                                             "block": {
  231.                                                 "blocks": [
  232.                                                     "minecraft:chiseled_stone_bricks",
  233.                                                     "minecraft:infested_chiseled_stone_bricks"
  234.                                                 ]
  235.                                             }
  236.                                         }
  237.                                     }
  238.                                 }
  239.                             ]
  240.                         },
  241.                         {
  242.                             "type": "minecraft:item",
  243.                             "name": "minecraft:infested_deepslate",
  244.                             "conditions": [
  245.                                 {
  246.                                     "condition": "minecraft:entity_properties",
  247.                                     "entity": "direct_killer",
  248.                                     "predicate": {
  249.                                         "stepping_on": {
  250.                                             "block": {
  251.                                                 "blocks": [
  252.                                                     "minecraft:deepslate",
  253.                                                     "minecraft:cobbled_deepslate",
  254.                                                     "minecraft:cobbled_deepslate_stairs",
  255.                                                     "minecraft:cobbled_deepslate_slab",
  256.                                                     "minecraft:cobbled_deepslate_wall",
  257.                                                     "minecraft:infested_deepslate",
  258.                                                     "minecraft:deepslate_coal_ore",
  259.                                                     "minecraft:deepslate_iron_ore",
  260.                                                     "minecraft:deepslate_copper_ore",
  261.                                                     "minecraft:deepslate_gold_ore",
  262.                                                     "minecraft:deepslate_redstone_ore",
  263.                                                     "minecraft:deepslate_emerald_ore",
  264.                                                     "minecraft:deepslate_lapis_ore",
  265.                                                     "minecraft:deepslate_diamond_ore"
  266.                                                 ]
  267.                                             }
  268.                                         }
  269.                                     }
  270.                                 }
  271.                             ]
  272.                         }
  273.                     ]
  274.                 }
  275.             ],
  276.             "conditions": [
  277.                 {
  278.                     "condition": "minecraft:damage_source_properties",
  279.                     "predicate": {
  280.                         "direct_entity": {
  281.                             "type": "minecraft:frog",
  282.                             "effects": {
  283.                                 "minecraft:slowness": {
  284.                                     "amplifier": {
  285.                                         "min": 0
  286.                                     }
  287.                                 }
  288.                             }
  289.                         }
  290.                     }
  291.                 }
  292.             ]
  293.         }
  294.     ]
  295. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement