はいまたまたmasuのアドオン作り口座~~~
やっていきましょう
・初めに
Windows向けに書いています
コード、ファイル構造はは少しでも違うと実行されませんので気をつけてくださいね
・利用規約
この記事をもとに作った作品は投稿するのはいいですがこのサイトのURLは必ず張ってください
投稿じには投稿していいと書いてあったことを明記してください
二次配付に問われる可能性があります
作り方
まずデスクトップなどに[MOBドロップランダム[BP]]みたいなフォルダーを作ってください

その中身はこちら

manifest.jsonの中身はこちら[コピー&ペーストしてください{書きたい人はどうぞ}]
{
"format_version": 2,
"header": {
"description": "マイクラのMOBのドロップアイテムがランダムになるアドオンです",
"name": "MOBRandomDrop",
"uuid": "○○○○○○○○○○○○○○○○",
"min_engine_version": [
1,
20,
10
],
"version": [
1,
0,
0
]
},
"modules": [
{
"type": "data",
"uuid": "○○○○○○○○○○○○○○○○",
"version": [
1,
0,
0
]
}
]
}
○はUUIDです。UUDIはUUIDジェネレーターなどで生成しましょうOnline UUID Generator Tool
つぎはloot_tablesフォルダーを作ってください
その中身はこちら

entitiesフォルダーを作ってください。できたらOKです
つぎの中身はこんな感じです

はい移りきらないほどあります
これはどんなMOBを倒したらどんなアイテムが出てくるかをきめるファイルです
僕はぜんMOBにしていますが相当大変なので牛.豚.羊などだけでOKです
中身は全部一緒です。コードはこちら
{
"pools": [
{
"rolls": 1,
"entries": [
{"type": "item", "name": "minecraft:diamond", "weight": 1},
{"type": "item", "name": "minecraft:iron_ingot", "weight": 1},
{"type": "item", "name": "minecraft:gold_ingot", "weight": 1},
{"type": "item", "name": "minecraft:emerald", "weight": 1},
{"type": "item", "name": "minecraft:coal", "weight": 1},
{"type": "item", "name": "minecraft:lapis_lazuli", "weight": 1},
{"type": "item", "name": "minecraft:redstone", "weight": 1},
{"type": "item", "name": "minecraft:quartz", "weight": 1},
{"type": "item", "name": "minecraft:nether_star", "weight": 1},
{"type": "item", "name": "minecraft:ender_pearl", "weight": 1},
{"type": "item", "name": "minecraft:blaze_rod", "weight": 1},
{"type": "item", "name": "minecraft:ghast_tear", "weight": 1},
{"type": "item", "name": "minecraft:slime_ball", "weight": 1},
{"type": "item", "name": "minecraft:bone", "weight": 1},
{"type": "item", "name": "minecraft:rotten_flesh", "weight": 1},
{"type": "item", "name": "minecraft:leather", "weight": 1},
{"type": "item", "name": "minecraft:feather", "weight": 1},
{"type": "item", "name": "minecraft:egg", "weight": 1},
{"type": "item", "name": "minecraft:beef", "weight": 1},
{"type": "item", "name": "minecraft:porkchop", "weight": 1},
{"type": "item", "name": "minecraft:chicken", "weight": 1},
{"type": "item", "name": "minecraft:mutton", "weight": 1},
{"type": "item", "name": "minecraft:fish", "weight": 1},
{"type": "item", "name": "minecraft:salmon", "weight": 1},
{"type": "item", "name": "minecraft:clownfish", "weight": 1},
{"type": "item", "name": "minecraft:pufferfish", "weight": 1},
{"type": "item", "name": "minecraft:apple", "weight": 1},
{"type": "item", "name": "minecraft:golden_apple", "weight": 1},
{"type": "item", "name": "minecraft:enchanted_golden_apple", "weight": 1},
{"type": "item", "name": "minecraft:carrot", "weight": 1},
{"type": "item", "name": "minecraft:potato", "weight": 1},
{"type": "item", "name": "minecraft:bread", "weight": 1},
{"type": "item", "name": "minecraft:cookie", "weight": 1},
{"type": "item", "name": "minecraft:melon_slice", "weight": 1},
{"type": "item", "name": "minecraft:pumpkin_pie", "weight": 1},
{"type": "item", "name": "minecraft:beetroot", "weight": 1},
{"type": "item", "name": "minecraft:beetroot_soup", "weight": 1},
{"type": "item", "name": "minecraft:mushroom_stew", "weight": 1},
{"type": "item", "name": "minecraft:rabbit_stew", "weight": 1},
{"type": "item", "name": "minecraft:suspicious_stew", "weight": 1},
{"type": "item", "name": "minecraft:wooden_sword", "weight": 1},
{"type": "item", "name": "minecraft:stone_sword", "weight": 1},
{"type": "item", "name": "minecraft:iron_sword", "weight": 1},
{"type": "item", "name": "minecraft:golden_sword", "weight": 1},
{"type": "item", "name": "minecraft:diamond_sword", "weight": 1},
{"type": "item", "name": "minecraft:wooden_shovel", "weight": 1},
{"type": "item", "name": "minecraft:stone_shovel", "weight": 1},
{"type": "item", "name": "minecraft:iron_shovel", "weight": 1},
{"type": "item", "name": "minecraft:golden_shovel", "weight": 1},
{"type": "item", "name": "minecraft:diamond_shovel", "weight": 1},
{"type": "item", "name": "minecraft:wooden_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:stone_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:iron_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:golden_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:diamond_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:wooden_axe", "weight": 1},
{"type": "item", "name": "minecraft:stone_axe", "weight": 1},
{"type": "item", "name": "minecraft:iron_axe", "weight": 1},
{"type": "item", "name": "minecraft:golden_axe", "weight": 1},
{"type": "item", "name": "minecraft:diamond_axe", "weight": 1},
{"type": "item", "name": "minecraft:wooden_hoe", "weight": 1},
{"type": "item", "name": "minecraft:stone_hoe", "weight": 1},
{"type": "item", "name": "minecraft:iron_hoe", "weight": 1},
{"type": "item", "name": "minecraft:golden_hoe", "weight": 1},
{"type": "item", "name": "minecraft:diamond_hoe", "weight": 1},
{"type": "item", "name": "minecraft:bow", "weight": 1},
{"type": "item", "name": "minecraft:arrow", "weight": 1},
{"type": "item", "name": "minecraft:shield", "weight": 1},
{"type": "item", "name": "minecraft:trident", "weight": 1},
{"type": "item", "name": "minecraft:crossbow", "weight": 1},
{"type": "item", "name": "minecraft:totem_of_undying", "weight": 1},
{"type": "item", "name": "minecraft:elytra", "weight": 1},
{"type": "item", "name": "minecraft:firework_rocket", "weight": 1},
{"type": "item", "name": "minecraft:firework_star", "weight": 1},
{"type": "item", "name": "minecraft:book", "weight": 1},
{"type": "item", "name": "minecraft:enchanted_book", "weight": 1},
{"type": "item", "name": "minecraft:name_tag", "weight": 1},
{"type": "item", "name": "minecraft:lead", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_13", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_cat", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_blocks", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_chirp", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_far", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_mall", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_mellohi", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_stal", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_strad", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_ward", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_11", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_wait", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_pigstep", "weight": 1},
{"type": "item", "name": "minecraft:netherite_ingot", "weight": 1},
{"type": "item", "name": "minecraft:netherite_scrap", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:lodestone", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus_on_a_stick", "weight": 1},
{"type": "item", "name": "minecraft:netherite_sword", "weight": 1},
{"type": "item", "name": "minecraft:netherite_shovel", "weight": 1},
{"type": "item", "name": "minecraft:netherite_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_axe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_hoe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_helmet", "weight": 1},
{"type": "item", "name": "minecraft:netherite_chestplate", "weight": 1},
{"type": "item", "name": "minecraft:netherite_leggings", "weight": 1},
{"type": "item", "name": "minecraft:netherite_boots", "weight": 1},
{"type": "item", "name": "minecraft:warped_nylium", "weight": 1},
{"type": "item", "name": "minecraft:crimson_nylium", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus", "weight": 1},
{"type": "item", "name": "minecraft:crimson_fungus", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_polished_blackstone_bricks", "weight": 1
{"type": "item", "name": "minecraft:gilded_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_pressure_plate", "weight": 1
{"type": "item", "name": "minecraft:polished_blackstone_button", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_wall", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_wall", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:quartz_bricks", "weight": 1},
{"type": "item", "name": "minecraft:target", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:twisting_vines", "weight": 1},
{"type": "item", "name": "minecraft:weeping_vines", "weight": 1},
{"type": "item", "name": "minecraft:shroomlight", "weight": 1},
{"type": "item", "name": "minecraft:soul_torch", "weight": 1},
{"type": "item", "name": "minecraft:soul_lantern", "weight": 1},
{"type": "item", "name": "minecraft:soul_campfire", "weight": 1},
{"type": "item", "name": "minecraft:chain", "weight": 1},
{"type": "item", "name": "minecraft:nether_gold_ore", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:lodestone", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus_on_a_stick", "weight": 1},
{"type": "item", "name": "minecraft:netherite_sword", "weight": 1},
{"type": "item", "name": "minecraft:netherite_shovel", "weight": 1},
{"type": "item", "name": "minecraft:netherite_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_axe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_hoe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_helmet", "weight": 1},
{"type": "item", "name": "minecraft:netherite_chestplate", "weight": 1},
{"type": "item", "name": "minecraft:netherite_leggings", "weight": 1},
{"type": "item", "name": "minecraft:netherite_boots", "weight": 1},
{"type": "item", "name": "minecraft:warped_nylium", "weight": 1},
{"type": "item", "name": "minecraft:crimson_nylium", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus", "weight": 1},
{"type": "item", "name": "minecraft:crimson_fungus", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone","weight": 1},
{"type": "item", "name": "minecraft:diamond", "weight": 1},
{"type": "item", "name": "minecraft:iron_ingot", "weight": 1},
{"type": "item", "name": "minecraft:gold_ingot", "weight": 1},
{"type": "item", "name": "minecraft:emerald", "weight": 1},
{"type": "item", "name": "minecraft:coal", "weight": 1},
{"type": "item", "name": "minecraft:lapis_lazuli", "weight": 1},
{"type": "item", "name": "minecraft:redstone", "weight": 1},
{"type": "item", "name": "minecraft:quartz", "weight": 1},
{"type": "item", "name": "minecraft:nether_star", "weight": 1},
{"type": "item", "name": "minecraft:ender_pearl", "weight": 1},
{"type": "item", "name": "minecraft:blaze_rod", "weight": 1},
{"type": "item", "name": "minecraft:ghast_tear", "weight": 1},
{"type": "item", "name": "minecraft:slime_ball", "weight": 1},
{"type": "item", "name": "minecraft:bone", "weight": 1},
{"type": "item", "name": "minecraft:rotten_flesh", "weight": 1},
{"type": "item", "name": "minecraft:leather", "weight": 1},
{"type": "item", "name": "minecraft:feather", "weight": 1},
{"type": "item", "name": "minecraft:egg", "weight": 1},
{"type": "item", "name": "minecraft:beef", "weight": 1},
{"type": "item", "name": "minecraft:porkchop", "weight": 1},
{"type": "item", "name": "minecraft:chicken", "weight": 1},
{"type": "item", "name": "minecraft:mutton", "weight": 1},
{"type": "item", "name": "minecraft:fish", "weight": 1},
{"type": "item", "name": "minecraft:salmon", "weight": 1},
{"type": "item", "name": "minecraft:clownfish", "weight": 1},
{"type": "item", "name": "minecraft:pufferfish", "weight": 1},
{"type": "item", "name": "minecraft:apple", "weight": 1},
{"type": "item", "name": "minecraft:golden_apple", "weight": 1},
{"type": "item", "name": "minecraft:enchanted_golden_apple", "weight": 1},
{"type": "item", "name": "minecraft:carrot", "weight": 1},
{"type": "item", "name": "minecraft:potato", "weight": 1},
{"type": "item", "name": "minecraft:bread", "weight": 1},
{"type": "item", "name": "minecraft:cookie", "weight": 1},
{"type": "item", "name": "minecraft:melon_slice", "weight": 1},
{"type": "item", "name": "minecraft:pumpkin_pie", "weight": 1},
{"type": "item", "name": "minecraft:beetroot", "weight": 1},
{"type": "item", "name": "minecraft:beetroot_soup", "weight": 1},
{"type": "item", "name": "minecraft:mushroom_stew", "weight": 1},
{"type": "item", "name": "minecraft:rabbit_stew", "weight": 1},
{"type": "item", "name": "minecraft:suspicious_stew", "weight": 1},
{"type": "item", "name": "minecraft:wooden_sword", "weight": 1},
{"type": "item", "name": "minecraft:stone_sword", "weight": 1},
{"type": "item", "name": "minecraft:iron_sword", "weight": 1},
{"type": "item", "name": "minecraft:golden_sword", "weight": 1},
{"type": "item", "name": "minecraft:diamond_sword", "weight": 1},
{"type": "item", "name": "minecraft:wooden_shovel", "weight": 1},
{"type": "item", "name": "minecraft:stone_shovel", "weight": 1},
{"type": "item", "name": "minecraft:iron_shovel", "weight": 1},
{"type": "item", "name": "minecraft:golden_shovel", "weight": 1},
{"type": "item", "name": "minecraft:diamond_shovel", "weight": 1},
{"type": "item", "name": "minecraft:wooden_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:stone_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:iron_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:golden_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:diamond_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:wooden_axe", "weight": 1},
{"type": "item", "name": "minecraft:stone_axe", "weight": 1},
{"type": "item", "name": "minecraft:iron_axe", "weight": 1},
{"type": "item", "name": "minecraft:golden_axe", "weight": 1},
{"type": "item", "name": "minecraft:diamond_axe", "weight": 1},
{"type": "item", "name": "minecraft:wooden_hoe", "weight": 1},
{"type": "item", "name": "minecraft:stone_hoe", "weight": 1},
{"type": "item", "name": "minecraft:iron_hoe", "weight": 1},
{"type": "item", "name": "minecraft:golden_hoe", "weight": 1},
{"type": "item", "name": "minecraft:diamond_hoe", "weight": 1},
{"type": "item", "name": "minecraft:bow", "weight": 1},
{"type": "item", "name": "minecraft:arrow", "weight": 1},
{"type": "item", "name": "minecraft:shield", "weight": 1},
{"type": "item", "name": "minecraft:trident", "weight": 1},
{"type": "item", "name": "minecraft:crossbow", "weight": 1},
{"type": "item", "name": "minecraft:totem_of_undying", "weight": 1},
{"type": "item", "name": "minecraft:elytra", "weight": 1},
{"type": "item", "name": "minecraft:firework_rocket", "weight": 1},
{"type": "item", "name": "minecraft:firework_star", "weight": 1},
{"type": "item", "name": "minecraft:book", "weight": 1},
{"type": "item", "name": "minecraft:enchanted_book", "weight": 1},
{"type": "item", "name": "minecraft:name_tag", "weight": 1},
{"type": "item", "name": "minecraft:lead", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_13", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_cat", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_blocks", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_chirp", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_far", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_mall", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_mellohi", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_stal", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_strad", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_ward", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_11", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_wait", "weight": 1},
{"type": "item", "name": "minecraft:music_disc_pigstep", "weight": 1},
{"type": "item", "name": "minecraft:netherite_ingot", "weight": 1},
{"type": "item", "name": "minecraft:netherite_scrap", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:lodestone", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus_on_a_stick", "weight": 1},
{"type": "item", "name": "minecraft:netherite_sword", "weight": 1},
{"type": "item", "name": "minecraft:netherite_shovel", "weight": 1},
{"type": "item", "name": "minecraft:netherite_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_axe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_hoe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_helmet", "weight": 1},
{"type": "item", "name": "minecraft:netherite_chestplate", "weight": 1},
{"type": "item", "name": "minecraft:netherite_leggings", "weight": 1},
{"type": "item", "name": "minecraft:netherite_boots", "weight": 1},
{"type": "item", "name": "minecraft:warped_nylium", "weight": 1},
{"type": "item", "name": "minecraft:crimson_nylium", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus", "weight": 1},
{"type": "item", "name": "minecraft:crimson_fungus", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_polished_blackstone_bricks", "weight": 1
{"type": "item", "name": "minecraft:gilded_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_pressure_plate", "weight": 1
{"type": "item", "name": "minecraft:polished_blackstone_button", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_wall", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_wall", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:quartz_bricks", "weight": 1},
{"type": "item", "name": "minecraft:target", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:twisting_vines", "weight": 1},
{"type": "item", "name": "minecraft:weeping_vines", "weight": 1},
{"type": "item", "name": "minecraft:shroomlight", "weight": 1},
{"type": "item", "name": "minecraft:soul_torch", "weight": 1},
{"type": "item", "name": "minecraft:soul_lantern", "weight": 1},
{"type": "item", "name": "minecraft:soul_campfire", "weight": 1},
{"type": "item", "name": "minecraft:chain", "weight": 1},
{"type": "item", "name": "minecraft:nether_gold_ore", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:lodestone", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus_on_a_stick", "weight": 1},
{"type": "item", "name": "minecraft:netherite_sword", "weight": 1},
{"type": "item", "name": "minecraft:netherite_shovel", "weight": 1},
{"type": "item", "name": "minecraft:netherite_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_axe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_hoe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_helmet", "weight": 1},
{"type": "item", "name": "minecraft:netherite_chestplate", "weight": 1},
{"type": "item", "name": "minecraft:netherite_leggings", "weight": 1},
{"type": "item", "name": "minecraft:netherite_boots", "weight": 1},
{"type": "item", "name": "minecraft:warped_nylium", "weight": 1},
{"type": "item", "name": "minecraft:crimson_nylium", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus", "weight": 1},
{"type": "item", "name": "minecraft:crimson_fungus", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_polished_blackstone_bricks", "weight": 1
{"type": "item", "name": "minecraft:gilded_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_pressure_plate", "weight": 1
{"type": "item", "name": "minecraft:polished_blackstone_button", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_wall", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_wall", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:quartz_bricks", "weight": 1},
{"type": "item", "name": "minecraft:target", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:twisting_vines", "weight": 1},
{"type": "item", "name": "minecraft:weeping_vines", "weight": 1},
{"type": "item", "name": "minecraft:shroomlight", "weight": 1},
{"type": "item", "name": "minecraft:soul_torch", "weight": 1},
{"type": "item", "name": "minecraft:soul_lantern", "weight": 1},
{"type": "item", "name": "minecraft:soul_campfire", "weight": 1},
{"type": "item", "name": "minecraft:chain", "weight": 1},
{"type": "item", "name": "minecraft:nether_gold_ore", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:lodestone", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus_on_a_stick", "weight": 1},
{"type": "item", "name": "minecraft:netherite_sword", "weight": 1},
{"type": "item", "name": "minecraft:netherite_shovel", "weight": 1},
{"type": "item", "name": "minecraft:netherite_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_axe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_hoe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_helmet", "weight": 1},
{"type": "item", "name": "minecraft:netherite_chestplate", "weight": 1},
{"type": "item", "name": "minecraft:netherite_leggings", "weight": 1},
{"type": "item", "name": "minecraft:netherite_boots", "weight": 1},
{"type": "item", "name": "minecraft:warped_nylium", "weight": 1},
{"type": "item", "name": "minecraft:crimson_nylium", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus", "weight": 1},
{"type": "item", "name": "minecraft:crimson_fungus", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_polished_blackstone_bricks", "weight": 1
{"type": "item", "name": "minecraft:gilded_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_pressure_plate", "weight": 1
{"type": "item", "name": "minecraft:polished_blackstone_button", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_wall", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_wall", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:quartz_bricks", "weight": 1},
{"type": "item", "name": "minecraft:target", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:twisting_vines", "weight": 1},
{"type": "item", "name": "minecraft:weeping_vines", "weight": 1},
{"type": "item", "name": "minecraft:shroomlight", "weight": 1},
{"type": "item", "name": "minecraft:soul_torch", "weight": 1},
{"type": "item", "name": "minecraft:soul_lantern", "weight": 1},
{"type": "item", "name": "minecraft:soul_campfire", "weight": 1},
{"type": "item", "name": "minecraft:chain", "weight": 1},
{"type": "item", "name": "minecraft:nether_gold_ore", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:lodestone", "weight": 1},{"type": "item", "name": "minecraft:netherite_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_axe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_hoe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_helmet", "weight": 1},
{"type": "item", "name": "minecraft:netherite_chestplate", "weight": 1},
{"type": "item", "name": "minecraft:netherite_leggings", "weight": 1},
{"type": "item", "name": "minecraft:netherite_boots", "weight": 1},
{"type": "item", "name": "minecraft:warped_nylium", "weight": 1},
{"type": "item", "name": "minecraft:crimson_nylium", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus", "weight": 1},
{"type": "item", "name": "minecraft:crimson_fungus", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_polished_blackstone_bricks", "weight": 1
{"type": "item", "name": "minecraft:gilded_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_pressure_plate", "weight": 1
{"type": "item", "name": "minecraft:polished_blackstone_button", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_wall", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_wall", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:quartz_bricks", "weight": 1},
{"type": "item", "name": "minecraft:target", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:twisting_vines", "weight": 1},
{"type": "item", "name": "minecraft:weeping_vines", "weight": 1},
{"type": "item", "name": "minecraft:shroomlight", "weight": 1},
{"type": "item", "name": "minecraft:soul_torch", "weight": 1},
{"type": "item", "name": "minecraft:soul_lantern", "weight": 1},
{"type": "item", "name": "minecraft:soul_campfire", "weight": 1},
{"type": "item", "name": "minecraft:chain", "weight": 1},
{"type": "item", "name": "minecraft:nether_gold_ore", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:lodestone", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus_on_a_stick", "weight": 1},
{"type": "item", "name": "minecraft:netherite_sword", "weight": 1},
{"type": "item", "name": "minecraft:netherite_shovel", "weight": 1},
{"type": "item", "name": "minecraft:netherite_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_axe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_hoe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_helmet", "weight": 1},
{"type": "item", "name": "minecraft:netherite_chestplate", "weight": 1},
{"type": "item", "name": "minecraft:netherite_leggings", "weight": 1},
{"type": "item", "name": "minecraft:netherite_boots", "weight": 1},
{"type": "item", "name": "minecraft:warped_nylium", "weight": 1},
{"type": "item", "name": "minecraft:crimson_nylium", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus", "weight": 1},
{"type": "item", "name": "minecraft:crimson_fungus", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_polished_blackstone_bricks", "weight": 1
{"type": "item", "name": "minecraft:gilded_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_pressure_plate", "weight": 1
{"type": "item", "name": "minecraft:polished_blackstone_button", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_wall", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_wall", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:quartz_bricks", "weight": 1},
{"type": "item", "name": "minecraft:target", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:twisting_vines", "weight": 1},
{"type": "item", "name": "minecraft:weeping_vines", "weight": 1},
{"type": "item", "name": "minecraft:shroomlight", "weight": 1},
{"type": "item", "name": "minecraft:soul_torch", "weight": 1},
{"type": "item", "name": "minecraft:soul_lantern", "weight": 1},
{"type": "item", "name": "minecraft:soul_campfire", "weight": 1},
{"type": "item", "name": "minecraft:chain", "weight": 1},
{"type": "item", "name": "minecraft:nether_gold_ore", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_polished_blackstone_bricks", "weight": 1
{"type": "item", "name": "minecraft:gilded_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_pressure_plate", "weight": 1
{"type": "item", "name": "minecraft:polished_blackstone_button", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_wall", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_wall", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_nether_bricks", "weight": 1},
{"type": "item", "name": "minecraft:quartz_bricks", "weight": 1},
{"type": "item", "name": "minecraft:target", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:twisting_vines", "weight": 1},
{"type": "item", "name": "minecraft:weeping_vines", "weight": 1},
{"type": "item", "name": "minecraft:shroomlight", "weight": 1},
{"type": "item", "name": "minecraft:soul_torch", "weight": 1},
{"type": "item", "name": "minecraft:soul_lantern", "weight": 1},
{"type": "item", "name": "minecraft:soul_campfire", "weight": 1},
{"type": "item", "name": "minecraft:chain", "weight": 1},
{"type": "item", "name": "minecraft:nether_gold_ore", "weight": 1},
{"type": "item", "name": "minecraft:ancient_debris", "weight": 1},
{"type": "item", "name": "minecraft:crying_obsidian", "weight": 1},
{"type": "item", "name": "minecraft:respawn_anchor", "weight": 1},
{"type": "item", "name": "minecraft:lodestone", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus_on_a_stick", "weight": 1},
{"type": "item", "name": "minecraft:netherite_sword", "weight": 1},
{"type": "item", "name": "minecraft:netherite_shovel", "weight": 1},
{"type": "item", "name": "minecraft:netherite_pickaxe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_axe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_hoe", "weight": 1},
{"type": "item", "name": "minecraft:netherite_helmet", "weight": 1},
{"type": "item", "name": "minecraft:netherite_chestplate", "weight": 1},
{"type": "item", "name": "minecraft:netherite_leggings", "weight": 1},
{"type": "item", "name": "minecraft:netherite_boots", "weight": 1},
{"type": "item", "name": "minecraft:warped_nylium", "weight": 1},
{"type": "item", "name": "minecraft:crimson_nylium", "weight": 1},
{"type": "item", "name": "minecraft:warped_fungus", "weight": 1},
{"type": "item", "name": "minecraft:crimson_fungus", "weight": 1},
{"type": "item", "name": "minecraft:warped_roots", "weight": 1},
{"type": "item", "name": "minecraft:crimson_roots", "weight": 1},
{"type": "item", "name": "minecraft:nether_sprouts", "weight": 1},
{"type": "item", "name": "minecraft:basalt", "weight": 1},
{"type": "item", "name": "minecraft:polished_basalt", "weight": 1},
{"type": "item", "name": "minecraft:blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_bricks", "weight": 1},
{"type": "item", "name": "minecraft:cracked_polished_blackstone_bricks", "weight": 1
{"type": "item", "name": "minecraft:gilded_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:chiseled_polished_blackstone", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_pressure_plate", "weight": 1
{"type": "item", "name": "minecraft:polished_blackstone_button", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_slab", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_stairs", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_wall", "weight": 1},
{"type": "item", "name": "minecraft:polished_blackstone_brick_slab", "weight": 1},
]
}
]
}
このコードホントはもっともっと長いですでも長すぎでエラーを起こしてしまたので3分の1くらいにしました
これができたら
zipフォルダーに圧縮して名前をmcaddonにかえればOKです
MOBドロップランダム[BP].zip => MOBドロップランダム[BP].mcaddon
これでインポートして有効化すれば完成です
コメント
5年生とは思えない技術ですごい()
ありがとうございます
内容が全て同じなら、モブごとに死亡時のルートテーブルを用意せずとも、モブ側の参照ルートテーブルを変更した方が良いです。
どうやるんですか?
モブのjsonファイルにはそれぞれ色々なコンポーネントがあります。
それのうち、死亡したらこのルートテーブルを参照するよ〜と言ったものがあるのでそこの名前を変更しましょう。
また、エンダーマイトなどモブによってはそもそもこれがないので新しく追加する必要もあります。