supersaiyansubtlety

i_hate_my_life.java

Nov 23rd, 2020
1,476
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private static final ImmutableMultimap<VillagerProfession, Item> PROFESSION_TRADABLE_ITEMS_MAP;
  2.  
  3.     static {
  4.         ImmutableMultimap.Builder<VillagerProfession, Item> builder = ImmutableMultimap.builder();
  5.         builder.putAll(VillagerProfession.FARMER, Items.WHEAT, Items.POTATO, Items.CARROT, Items.BEETROOT, Items.BREAD, Blocks.PUMPKIN.asItem(), Items.PUMPKIN_PIE, Items.APPLE, Items.COOKIE, Blocks.MELON.asItem(), Blocks.CAKE.asItem(), Items.GOLDEN_CARROT, Items.GLISTERING_MELON_SLICE);
  6.  
  7.         builder.putAll(VillagerProfession.FISHERMAN, Items.STRING, Items.COAL, Items.COD, Items.COOKED_COD, Items.COD_BUCKET, Items.COD, Items.SALMON, Items.COOKED_SALMON, Items.CAMPFIRE, Items.SALMON, Items.FISHING_ROD, Items.TROPICAL_FISH, Items.PUFFERFISH, Items.OAK_BOAT, Items.SPRUCE_BOAT, Items.SPRUCE_BOAT, Items.JUNGLE_BOAT, Items.JUNGLE_BOAT, Items.ACACIA_BOAT, Items.DARK_OAK_BOAT);
  8.  
  9.         builder.putAll(VillagerProfession.SHEPHERD, Blocks.WHITE_WOOL.asItem(), Blocks.BROWN_WOOL.asItem(), Blocks.BLACK_WOOL.asItem(), Blocks.GRAY_WOOL.asItem(), Items.SHEARS, Items.WHITE_DYE, Items.GRAY_DYE, Items.BLACK_DYE, Items.LIGHT_BLUE_DYE, Items.LIME_DYE, Blocks.WHITE_WOOL.asItem(), Blocks.ORANGE_WOOL.asItem(), Blocks.MAGENTA_WOOL.asItem(), Blocks.LIGHT_BLUE_WOOL.asItem(), Blocks.YELLOW_WOOL.asItem(), Blocks.LIME_WOOL.asItem(), Blocks.PINK_WOOL.asItem(), Blocks.GRAY_WOOL.asItem(), Blocks.LIGHT_GRAY_WOOL.asItem(), Blocks.CYAN_WOOL.asItem(), Blocks.PURPLE_WOOL.asItem(), Blocks.BLUE_WOOL.asItem(), Blocks.BROWN_WOOL.asItem(), Blocks.GREEN_WOOL.asItem(), Blocks.RED_WOOL.asItem(), Blocks.BLACK_WOOL.asItem(), Blocks.WHITE_CARPET.asItem(), Blocks.ORANGE_CARPET.asItem(), Blocks.MAGENTA_CARPET.asItem(), Blocks.LIGHT_BLUE_CARPET.asItem(), Blocks.YELLOW_CARPET.asItem(), Blocks.LIME_CARPET.asItem(), Blocks.PINK_CARPET.asItem(), Blocks.GRAY_CARPET.asItem(), Blocks.LIGHT_GRAY_CARPET.asItem(), Blocks.CYAN_CARPET.asItem(), Blocks.PURPLE_CARPET.asItem(), Blocks.BLUE_CARPET.asItem(), Blocks.BROWN_CARPET.asItem(), Blocks.GREEN_CARPET.asItem(), Blocks.RED_CARPET.asItem(), Blocks.BLACK_CARPET.asItem(), Items.YELLOW_DYE, Items.LIGHT_GRAY_DYE, Items.ORANGE_DYE, Items.RED_DYE, Items.PINK_DYE, Blocks.WHITE_BED.asItem(), Blocks.YELLOW_BED.asItem(), Blocks.RED_BED.asItem(), Blocks.BLACK_BED.asItem(), Blocks.BLUE_BED.asItem(), Blocks.BROWN_BED.asItem(), Blocks.CYAN_BED.asItem(), Blocks.GRAY_BED.asItem(), Blocks.GREEN_BED.asItem(), Blocks.LIGHT_BLUE_BED.asItem(), Blocks.LIGHT_GRAY_BED.asItem(), Blocks.LIME_BED.asItem(), Blocks.MAGENTA_BED.asItem(), Blocks.ORANGE_BED.asItem(), Blocks.PINK_BED.asItem(), Blocks.PURPLE_BED.asItem(), Items.BROWN_DYE, Items.PURPLE_DYE, Items.BLUE_DYE, Items.GREEN_DYE, Items.MAGENTA_DYE, Items.CYAN_DYE, Items.WHITE_BANNER, Items.BLUE_BANNER, Items.LIGHT_BLUE_BANNER, Items.RED_BANNER, Items.PINK_BANNER, Items.GREEN_BANNER, Items.LIME_BANNER, Items.GRAY_BANNER, Items.BLACK_BANNER, Items.PURPLE_BANNER, Items.MAGENTA_BANNER, Items.CYAN_BANNER, Items.BROWN_BANNER, Items.YELLOW_BANNER, Items.ORANGE_BANNER, Items.LIGHT_GRAY_BANNER, Items.PAINTING);
  10.  
  11.         builder.putAll(VillagerProfession.FLETCHER, Items.STICK, Items.ARROW, Blocks.GRAVEL.asItem(), Items.FLINT, Items.FLINT, Items.BOW, Items.STRING, Items.CROSSBOW, Items.FEATHER, Items.BOW, Items.TRIPWIRE_HOOK, Items.CROSSBOW, Items.ARROW, Items.TIPPED_ARROW);
  12.  
  13.         builder.putAll(VillagerProfession.LIBRARIAN, Items.PAPER, Blocks.BOOKSHELF.asItem(), Items.BOOK, Items.LANTERN, Items.INK_SAC, Items.GLASS, Items.WRITABLE_BOOK, Items.CLOCK, Items.COMPASS, Items.NAME_TAG);
  14.  
  15.         builder.putAll(VillagerProfession.CARTOGRAPHER, Items.PAPER, Items.MAP, Items.GLASS_PANE, Items.COMPASS, Items.ITEM_FRAME, Items.WHITE_BANNER, Items.BLUE_BANNER, Items.LIGHT_BLUE_BANNER, Items.RED_BANNER, Items.PINK_BANNER, Items.GREEN_BANNER, Items.LIME_BANNER, Items.GRAY_BANNER, Items.BLACK_BANNER, Items.PURPLE_BANNER, Items.MAGENTA_BANNER, Items.CYAN_BANNER, Items.BROWN_BANNER, Items.YELLOW_BANNER, Items.ORANGE_BANNER, Items.LIGHT_GRAY_BANNER, Items.GLOBE_BANNER_PATTERN);
  16.  
  17.         builder.putAll(VillagerProfession.CLERIC, Items.ROTTEN_FLESH, Items.REDSTONE, Items.GOLD_INGOT, Items.LAPIS_LAZULI, Items.RABBIT_FOOT, Blocks.GLOWSTONE.asItem(), Items.SCUTE, Items.GLASS_BOTTLE, Items.ENDER_PEARL, Items.NETHER_WART, Items.EXPERIENCE_BOTTLE);
  18.  
  19.         builder.putAll(VillagerProfession.ARMORER, Items.COAL, Items.IRON_LEGGINGS, Items.IRON_BOOTS, Items.IRON_HELMET, Items.IRON_CHESTPLATE, Items.IRON_INGOT, Items.BELL, Items.CHAINMAIL_BOOTS, Items.CHAINMAIL_LEGGINGS, Items.LAVA_BUCKET, Items.DIAMOND, Items.CHAINMAIL_HELMET, Items.CHAINMAIL_CHESTPLATE, Items.SHIELD, Items.DIAMOND_LEGGINGS, Items.DIAMOND_BOOTS, Items.DIAMOND_HELMET, Items.DIAMOND_CHESTPLATE);
  20.  
  21.         builder.putAll(VillagerProfession.WEAPONSMITH, Items.COAL, Items.IRON_AXE, Items.IRON_SWORD, Items.IRON_INGOT, Items.BELL, Items.FLINT, Items.DIAMOND, Items.DIAMOND_AXE, Items.DIAMOND_SWORD);
  22.  
  23.         builder.putAll(VillagerProfession.TOOLSMITH, Items.COAL, Items.STONE_AXE, Items.STONE_SHOVEL, Items.STONE_PICKAXE, Items.STONE_HOE, Items.IRON_INGOT, Items.BELL, Items.FLINT, Items.IRON_AXE, Items.IRON_SHOVEL, Items.IRON_PICKAXE, Items.DIAMOND_HOE, Items.DIAMOND, Items.DIAMOND_AXE, Items.DIAMOND_SHOVEL, Items.DIAMOND_PICKAXE);
  24.  
  25.         builder.putAll(VillagerProfession.BUTCHER, Items.CHICKEN, Items.PORKCHOP, Items.RABBIT, Items.RABBIT_STEW, Items.COAL, Items.COOKED_PORKCHOP, Items.COOKED_CHICKEN, Items.MUTTON, Items.BEEF, Items.DRIED_KELP_BLOCK, Items.SWEET_BERRIES);
  26.  
  27.         builder.putAll(VillagerProfession.LEATHERWORKER, Items.LEATHER, Items.LEATHER_LEGGINGS, Items.LEATHER_CHESTPLATE, Items.FLINT, Items.LEATHER_HELMET, Items.LEATHER_BOOTS, Items.RABBIT_HIDE, Items.LEATHER_CHESTPLATE, Items.SCUTE, Items.LEATHER_HORSE_ARMOR, Items.SADDLE, Items.LEATHER_HELMET);
  28.  
  29.         builder.putAll(VillagerProfession.MASON, Items.CLAY_BALL, Items.BRICK, Blocks.STONE.asItem(), Blocks.CHISELED_STONE_BRICKS.asItem(), Blocks.GRANITE.asItem(), Blocks.ANDESITE.asItem(), Blocks.DIORITE.asItem(), Blocks.POLISHED_ANDESITE.asItem(), Blocks.POLISHED_DIORITE.asItem(), Blocks.POLISHED_GRANITE.asItem(), Items.QUARTZ, Blocks.ORANGE_TERRACOTTA.asItem(), Blocks.WHITE_TERRACOTTA.asItem(), Blocks.BLUE_TERRACOTTA.asItem(), Blocks.LIGHT_BLUE_TERRACOTTA.asItem(), Blocks.GRAY_TERRACOTTA.asItem(), Blocks.LIGHT_GRAY_TERRACOTTA.asItem(), Blocks.BLACK_TERRACOTTA.asItem(), Blocks.RED_TERRACOTTA.asItem(), Blocks.PINK_TERRACOTTA.asItem(), Blocks.MAGENTA_TERRACOTTA.asItem(), Blocks.LIME_TERRACOTTA.asItem(), Blocks.GREEN_TERRACOTTA.asItem(), Blocks.CYAN_TERRACOTTA.asItem(), Blocks.PURPLE_TERRACOTTA.asItem(), Blocks.YELLOW_TERRACOTTA.asItem(), Blocks.BROWN_TERRACOTTA.asItem(), Blocks.ORANGE_GLAZED_TERRACOTTA.asItem(), Blocks.WHITE_GLAZED_TERRACOTTA.asItem(), Blocks.BLUE_GLAZED_TERRACOTTA.asItem(), Blocks.LIGHT_BLUE_GLAZED_TERRACOTTA.asItem(), Blocks.GRAY_GLAZED_TERRACOTTA.asItem(), Blocks.LIGHT_GRAY_GLAZED_TERRACOTTA.asItem(), Blocks.BLACK_GLAZED_TERRACOTTA.asItem(), Blocks.RED_GLAZED_TERRACOTTA.asItem(), Blocks.PINK_GLAZED_TERRACOTTA.asItem(), Blocks.MAGENTA_GLAZED_TERRACOTTA.asItem(), Blocks.LIME_GLAZED_TERRACOTTA.asItem(), Blocks.GREEN_GLAZED_TERRACOTTA.asItem(), Blocks.CYAN_GLAZED_TERRACOTTA.asItem(), Blocks.PURPLE_GLAZED_TERRACOTTA.asItem(), Blocks.YELLOW_GLAZED_TERRACOTTA.asItem(), Blocks.BROWN_GLAZED_TERRACOTTA.asItem(), Blocks.QUARTZ_PILLAR.asItem(), Blocks.QUARTZ_BLOCK.asItem());
  30.  
  31.  
  32.         PROFESSION_TRADABLE_ITEMS_MAP = builder.build();
  33.     }
RAW Paste Data