From e7a30ec6084254c8122ebf17f45ccbb5fc4df335 Mon Sep 17 00:00:00 2001 From: Zrips Date: Sat, 25 Jun 2016 10:13:06 +0300 Subject: [PATCH] Just pushing throw --- .classpath | 2 +- TranslatableWords/Words_fr.yml | 2170 ++++++++++++ com/gamingmesh/jobs/Jobs.java | 13 +- com/gamingmesh/jobs/commands/list/shop.java | 21 +- .../jobs/config/LanguageManager.java | 1 + .../jobs/config/NameTranslatorManager.java | 2952 +++++++++-------- com/gamingmesh/jobs/config/ShopManager.java | 131 +- .../jobs/container/ExploreRespond.class | Bin 607 -> 607 bytes com/gamingmesh/jobs/container/JobsPlayer.java | 8 +- com/gamingmesh/jobs/container/ShopItem.java | 19 + com/gamingmesh/jobs/dao/JobsDAO.java | 28 +- com/gamingmesh/jobs/dao/JobsDAOMySQL.java | 4 +- com/gamingmesh/jobs/dao/JobsDAOSQLite.java | 4 +- .../jobs/economy/BufferedEconomy.java | 6 + .../jobs/listeners/JobsListener.java | 13 +- .../jobs/listeners/JobsPaymentListener.java | 12 +- com/gamingmesh/jobs/nmsUtil/v1_9.class | Bin 7170 -> 7170 bytes locale/messages_fr.yml | 305 +- plugin.yml | 2 +- 19 files changed, 4123 insertions(+), 1568 deletions(-) create mode 100644 TranslatableWords/Words_fr.yml diff --git a/.classpath b/.classpath index 9315a064..a93cb5ff 100644 --- a/.classpath +++ b/.classpath @@ -1,7 +1,7 @@ - + diff --git a/TranslatableWords/Words_fr.yml b/TranslatableWords/Words_fr.yml new file mode 100644 index 00000000..261088f6 --- /dev/null +++ b/TranslatableWords/Words_fr.yml @@ -0,0 +1,2170 @@ +ItemList: + '0': + MCName: air + Name: Air + '1': + MCName: stone + Name: Toutes les pierres + '1:0': + MCName: stone + Name: Roche + '1:1': + MCName: stone + Name: Granite + '1:2': + MCName: stone + Name: Granite poli + '1:3': + MCName: stone + Name: Diorite + '1:4': + MCName: stone + Name: Diorite polie + '1:5': + MCName: stone + Name: Andésite + '1:6': + MCName: stone + Name: Andésite polie + '2': + MCName: grass + Name: Herbe + '3': + MCName: dirt + Name: Toutes les terres + '3:0': + MCName: dirt + Name: Terre + '3:1': + MCName: dirt + Name: Terre stérile + '3:2': + MCName: dirt + Name: Podzol + '4': + MCName: cobblestone + Name: Pierre + '5': + MCName: planks + Name: Toutes les planches de bois + '5:0': + MCName: planks + Name: Planche de chêne + '5:1': + MCName: planks + Name: Planche de sapin + '5:2': + MCName: planks + Name: Planche de bouleau + '5:3': + MCName: planks + Name: Planche d'acajou + '5:4': + MCName: planks + Name: Planche d'acacia + '5:5': + MCName: planks + Name: Planche de chêne noir + '6': + MCName: sapling + Name: Toutes les pousses + '6:0': + MCName: sapling + Name: Pousse de chêne + '6:1': + MCName: sapling + Name: Pousse de sapin + '6:2': + MCName: sapling + Name: Pousse de bouleau + '6:3': + MCName: sapling + Name: Pousse d'acajou + '6:4': + MCName: sapling + Name: Pousse d'acacia + '6:5': + MCName: sapling + Name: Pousse de chêne noir + '7': + MCName: bedrock + Name: Bedrock + '8': + MCName: flowing_water + Name: Coulée d'eau + '9': + MCName: water + Name: Source d'eau + '10': + MCName: flowing_lava + Name: Coulée de lave + '11': + MCName: lava + Name: Source de lave + '12': + MCName: sand + Name: Tous les sables + '12:0': + MCName: sand + Name: Sable + '12:1': + MCName: sand + Name: Sable rouge + '13': + MCName: gravel + Name: Gravier + '14': + MCName: gold_ore + Name: Minerai d'or + '15': + MCName: iron_ore + Name: Minerai de fer + '16': + MCName: coal_ore + Name: Minerai de charbon + '17': + MCName: log + Name: Tous les bois + '17:0': + MCName: log + Name: Bois de chêne + '17:1': + MCName: log + Name: Bois de sapin + '17:2': + MCName: log + Name: Bois de bouleau + '17:3': + MCName: log + Name: Bois d'acajou + '18': + MCName: leaves + Name: Toutes les feuilles + '18:0': + MCName: leaves + Name: Feuilles de chêne + '18:1': + MCName: leaves + Name: Feuilles de sapin + '18:2': + MCName: leaves + Name: Feuilles de bouleau + '18:3': + MCName: leaves + Name: Feuille d'acajou + '19': + MCName: sponge + Name: Éponge + '19:1': + MCName: sponge + Name: Éponge mouillée + '20': + MCName: glass + Name: Vitre + '21': + MCName: lapis_ore + Name: Minerais de Lapis Lazuli + '22': + MCName: lapis_block + Name: Bloc de Lapis Lazuli + '23': + MCName: dispenser + Name: Distributeur + '24': + MCName: sandstone + Name: Grès + '24:1': + MCName: sandstone + Name: Grès scuplté + '24:2': + MCName: sandstone + Name: Grès poli + '25': + MCName: noteblock + Name: Bloc musical + '26': + MCName: bed + Name: Lit + '27': + MCName: golden_rail + Name: Rails de propulsion + '28': + MCName: detector_rail + Name: Rails détecteurs + '29': + MCName: sticky_piston + Name: Piston collant + '30': + MCName: web + Name: Toile d'araignée + '31': + MCName: tallgrass + Name: Arbuste + '31:1': + MCName: tallgrass + Name: Hautes herbes + '31:2': + MCName: tallgrass + Name: Fougère + '32': + MCName: deadbush + Name: Arbuste mort + '33': + MCName: piston + Name: Piston + '34': + MCName: piston_head + Name: Tête de piston + '35': + MCName: wool + Name: Toutes les laines + '35:0': + MCName: wool + Name: Laine blanche + '35:1': + MCName: wool + Name: Laine orange + '35:2': + MCName: wool + Name: Laine magenta + '35:3': + MCName: wool + Name: Laine bleu clair + '35:4': + MCName: wool + Name: Laine jaune + '35:5': + MCName: wool + Name: Laine vert clair + '35:6': + MCName: wool + Name: Laine rose + '35:7': + MCName: wool + Name: Laine grise + '35:8': + MCName: wool + Name: Laine gris clair + '35:9': + MCName: wool + Name: Laine cyan + '35:10': + MCName: wool + Name: Laine violette + '35:11': + MCName: wool + Name: Laine bleue + '35:12': + MCName: wool + Name: Laine marron + '35:13': + MCName: wool + Name: Laine verte + '35:14': + MCName: wool + Name: Laine rouge + '35:15': + MCName: wool + Name: Laine noire + '37': + MCName: yellow_flower + Name: Pissenlit + '38': + MCName: red_flower + Name: Toutes les fleurs + '38:0': + MCName: red_flower + Name: Coquelicot + '38:1': + MCName: red_flower + Name: Orchidée bleue + '38:2': + MCName: red_flower + Name: Allium + '38:3': + MCName: red_flower + Name: Houstonie + '38:4': + MCName: red_flower + Name: Tulipe rouge + '38:5': + MCName: red_flower + Name: Tulipe orange + '38:6': + MCName: red_flower + Name: Tulipe blanche + '38:7': + MCName: red_flower + Name: Tulipe rose + '38:8': + MCName: red_flower + Name: Marguerite + '39': + MCName: brown_mushroom + Name: Champignon marron + '40': + MCName: red_mushroom + Name: Champignon rouge + '41': + MCName: gold_block + Name: Bloc d'or + '42': + MCName: iron_block + Name: Bloc de fer + '43': + MCName: double_stone_slab + Name: Toutes les doubles dalles + '43:0': + MCName: double_stone_slab + Name: Double dalle en roche + '43:1': + MCName: double_stone_slab + Name: Double dalle en grès + '43:2': + MCName: double_stone_slab + Name: Double dalle en bois + '43:3': + MCName: double_stone_slab + Name: Double dalle en pierre + '43:4': + MCName: double_stone_slab + Name: Double dalle en brique + '43:5': + MCName: double_stone_slab + Name: Double dalle en pierre taillée + '43:6': + MCName: double_stone_slab + Name: Double dalle en brique du nether + '43:7': + MCName: double_stone_slab + Name: Double dalle en quartz + '44': + MCName: stone_slab + Name: Toutes les dalles + '44:0': + MCName: stone_slab + Name: Dalle en roche + '44:1': + MCName: stone_slab + Name: Dalle en grès + '44:2': + MCName: stone_slab + Name: Dalle en bois + '44:3': + MCName: stone_slab + Name: Dalle en pierre + '44:4': + MCName: stone_slab + Name: Dalle en brique + '44:5': + MCName: stone_slab + Name: Dalle en pierre taillée + '44:6': + MCName: stone_slab + Name: Dalle en brique du nether + '44:7': + MCName: stone_slab + Name: Dalle en quartz + '45': + MCName: brick_block + Name: Briques + '46': + MCName: tnt + Name: TNT + '47': + MCName: bookshelf + Name: Bibliothèque + '48': + MCName: mossy_cobblestone + Name: Pierres moussues + '49': + MCName: obsidian + Name: Obsidienne + '50': + MCName: torch + Name: Torche + '51': + MCName: fire + Name: Feu + '52': + MCName: mob_spawner + Name: Générateur de monstres + '53': + MCName: oak_stairs + Name: Escalier en chêne + '54': + MCName: chest + Name: Coffre + '55': + MCName: redstone_wire + Name: Cable de RedStone + '56': + MCName: diamond_ore + Name: Minerai de diamant + '57': + MCName: diamond_block + Name: Bloc de diamant + '58': + MCName: crafting_table + Name: Établi + '59': + MCName: wheat + Name: Blé + '60': + MCName: farmland + Name: Terre labourée + '61': + MCName: furnace + Name: Fourneau + '62': + MCName: lit_furnace + Name: Fourneau brulant + '63': + MCName: standing_sign + Name: Panneau sur pied + '64': + MCName: wooden_door + Name: Porte en bois + '65': + MCName: ladder + Name: Échelle + '66': + MCName: rail + Name: Rail + '67': + MCName: stone_stairs + Name: Escalier en pierre + '68': + MCName: wall_sign + Name: Panneau + '69': + MCName: lever + Name: Levier + '70': + MCName: stone_pressure_plate + Name: Plaque de pression en pierre + '71': + MCName: iron_door + Name: Porte en fer + '72': + MCName: wooden_pressure_plate + Name: Plaque de pression en bois + '73': + MCName: redstone_ore + Name: Minerais de redstone + '74': + MCName: lit_redstone_ore + Name: Minerai de Redstone Lumineux + '75': + MCName: unlit_redstone_torch + Name: Torche de redstone (off) + '76': + MCName: redstone_torch + Name: Torche de redstone (on) + '77': + MCName: stone_button + Name: Bouton en pierre + '78': + MCName: snow_layer + Name: Neige + '79': + MCName: ice + Name: Glace + '80': + MCName: snow + Name: Bloc de neige + '81': + MCName: cactus + Name: Cactus + '82': + MCName: clay + Name: Argile + '83': + MCName: reeds + Name: Canne à sucre + '84': + MCName: jukebox + Name: Jukebox + '85': + MCName: fence + Name: Barrière en chêne + '86': + MCName: pumpkin + Name: Citrouille + '87': + MCName: netherrack + Name: Roche du Nether + '88': + MCName: soul_sand + Name: Sable des âmes + '89': + MCName: glowstone + Name: Pierre lumineuse + '90': + MCName: portal + Name: Portail du Nether + '91': + MCName: lit_pumpkin + Name: Jack o'Lantern + '92': + MCName: cake + Name: Gâteau + '93': + MCName: unpowered_repeater + Name: Répéteur Coupé + '94': + MCName: powered_repeater + Name: Répéteur Activé + '95': + MCName: stained_glass + Name: Toutes les teintes de verre + '95:0': + MCName: stained_glass + Name: Verre blanc + '95:1': + MCName: stained_glass + Name: Verre orange + '95:2': + MCName: stained_glass + Name: Verre magenta + '95:3': + MCName: stained_glass + Name: Verre bleu clair + '95:4': + MCName: stained_glass + Name: Verre jaune + '95:5': + MCName: stained_glass + Name: Verre vert clair + '95:6': + MCName: stained_glass + Name: Verre rose + '95:7': + MCName: stained_glass + Name: Verre gris + '95:8': + MCName: stained_glass + Name: Verre gris clair + '95:9': + MCName: stained_glass + Name: Verre cyan + '95:10': + MCName: stained_glass + Name: Verre violet + '95:11': + MCName: stained_glass + Name: Verre bleu + '95:12': + MCName: stained_glass + Name: Verre marron + '95:13': + MCName: stained_glass + Name: Verre vert + '95:14': + MCName: stained_glass + Name: Verre rouge + '95:15': + MCName: stained_glass + Name: Verre noir + '96': + MCName: trapdoor + Name: Trappe en bois + '97': + MCName: monster_egg + Name: Roche infestée + '97:1': + MCName: monster_egg + Name: Pierre infestée + '97:2': + MCName: monster_egg + Name: Pierre taillée infestée + '97:3': + MCName: monster_egg + Name: Pierre taillée moussue infestée + '97:4': + MCName: monster_egg + Name: Pierre taillée craquelée infestée + '97:5': + MCName: monster_egg + Name: Pierre sculptée infestée + '98': + MCName: stonebrick + Name: Pierre taillée + '98:1': + MCName: stonebrick + Name: Pierre taillée moussue + '98:2': + MCName: stonebrick + Name: Pierre taillée craquelée + '98:3': + MCName: stonebrick + Name: Pierre taillée scupltée + '99': + MCName: brown_mushroom_block + Name: Champignon géant marron + '100': + MCName: red_mushroom_block + Name: Champignon géant rouge + '101': + MCName: iron_bars + Name: Lingot de fer + '102': + MCName: glass_pane + Name: Vitre + '103': + MCName: melon_block + Name: Pastèque + '104': + MCName: pumpkin_stem + Name: Tige de Citrouille + '105': + MCName: melon_stem + Name: Tige de Pastèque + '106': + MCName: vine + Name: Lianes + '107': + MCName: fence_gate + Name: Portillon en bois de chêne + '108': + MCName: brick_stairs + Name: Escaliers en briques + '109': + MCName: stone_brick_stairs + Name: Escaliers en pierre taillée + '110': + MCName: mycelium + Name: Mycelium + '111': + MCName: waterlily + Name: Nenuphar + '112': + MCName: nether_brick + Name: Brique du Nether + '113': + MCName: nether_brick_fence + Name: Barrière en briques du Nether + '114': + MCName: nether_brick_stairs + Name: Escaliers en briques du Nether + '115': + MCName: nether_wart + Name: Verrues du Nether + '116': + MCName: enchanting_table + Name: Table d'enchantement + '117': + MCName: brewing_stand + Name: Alambic + '118': + MCName: cauldron + Name: Chaudron + '119': + MCName: end_portal + Name: Portail du Néant + '120': + MCName: end_portal_frame + Name: Cadre du portail du Néant + '121': + MCName: end_stone + Name: Pierre du Néant + '122': + MCName: dragon_egg + Name: Oeuf de dragon + '123': + MCName: redstone_lamp + Name: Lampe Redstone (Éteinte) + '124': + MCName: lit_redstone_lamp + Name: Lampe Redstone (Allumée) + '125': + MCName: double_wooden_slab + Name: Toutes les doubles dalles en bois + '125:0': + MCName: double_wooden_slab + Name: Double dalle de bois de chêne + '125:1': + MCName: double_wooden_slab + Name: Double dalle de bois de sapin + '125:2': + MCName: double_wooden_slab + Name: Double dalle de bois de bouleau + '125:3': + MCName: double_wooden_slab + Name: Double dalle de bois de acajou + '125:4': + MCName: double_wooden_slab + Name: Double dalle de bois de acacia + '125:5': + MCName: double_wooden_slab + Name: Double dalle de bois de chêne bois + '126': + MCName: wooden_slab + Name: Toutes les dalles en bois + '126:0': + MCName: wooden_slab + Name: Dalle de bois de chêne + '126:1': + MCName: wooden_slab + Name: Dalle de bois de sapin + '126:2': + MCName: wooden_slab + Name: Dalle de bois de bouleau + '126:3': + MCName: wooden_slab + Name: Dalle de bois d'acajou + '126:4': + MCName: wooden_slab + Name: Dalle de bois d'acacia + '126:5': + MCName: wooden_slab + Name: Dalle de bois de chêne noir + '127': + MCName: cocoa + Name: Cacao + '128': + MCName: sandstone_stairs + Name: Escaliers en grès + '129': + MCName: emerald_ore + Name: Minerais d'émeraude + '130': + MCName: ender_chest + Name: Coffre du Néant + '131': + MCName: tripwire_hook + Name: Crochet + '132': + MCName: tripwire_hook + Name: Fil de déclenchement + '133': + MCName: emerald_block + Name: Bloc d'émeraude + '134': + MCName: spruce_stairs + Name: Escaliers en bois de sapin + '135': + MCName: birch_stairs + Name: Escaliers en bois de bouleau + '136': + MCName: jungle_stairs + Name: Escaliers en bois d'acajou + '137': + MCName: command_block + Name: Bloc de commande + '138': + MCName: beacon + Name: Balise + '139': + MCName: cobblestone_wall + Name: Muret + '139:1': + MCName: cobblestone_wall + Name: Muret de pierres moussues + '140': + MCName: flower_pot + Name: Pot de fleurs + '141': + MCName: carrots + Name: Carrotes + '142': + MCName: potatoes + Name: Pomme de terre + '143': + MCName: wooden_button + Name: Bouton en bois + '144': + MCName: skull + Name: Tête de monstre + '145': + MCName: anvil + Name: Enclume + '146': + MCName: trapped_chest + Name: Coffre piégé + '147': + MCName: light_weighted_pressure_plate + Name: Plaque de pression pondérée (léger) + '148': + MCName: heavy_weighted_pressure_plate + Name: Plaque de pression pondérée (lourd) + '149': + MCName: unpowered_comparator + Name: Comparateur (inactif) + '150': + MCName: powered_comparator + Name: Comparateur(actif) + '151': + MCName: daylight_detector + Name: Capteur de lumière + '152': + MCName: redstone_block + Name: Bloc de redstone + '153': + MCName: quartz_ore + Name: Minerai de quartz du Nether + '154': + MCName: hopper + Name: Entonnoir + '155': + MCName: quartz_block + Name: Bloc de quartz + '155:1': + MCName: quartz_block + Name: Bloc de quartz scuplté + '155:2': + MCName: quartz_block + Name: Bloc de quartz rayé + '156': + MCName: quartz_stairs + Name: Escaliers en quartz + '157': + MCName: activator_rail + Name: Rail activateur + '158': + MCName: dropper + Name: Dropper + '159': + MCName: stained_hardened_clay + Name: Toutes les teintes d'argile durcie + '159:0': + MCName: stained_hardened_clay + Name: Argile durcie blanche + '159:1': + MCName: stained_hardened_clay + Name: Argile durcie orange + '159:2': + MCName: stained_hardened_clay + Name: Argile durcie magenta + '159:3': + MCName: stained_hardened_clay + Name: Argile durcie bleu clair + '159:4': + MCName: stained_hardened_clay + Name: Argile durcie jaune + '159:5': + MCName: stained_hardened_clay + Name: Argile durcie vert clair + '159:6': + MCName: stained_hardened_clay + Name: Argile durcie rose + '159:7': + MCName: stained_hardened_clay + Name: Argile durcie grise + '159:8': + MCName: stained_hardened_clay + Name: Argile durcie gris clair + '159:9': + MCName: stained_hardened_clay + Name: Argile durcie cyan + '159:10': + MCName: stained_hardened_clay + Name: Argile durcie violette + '159:11': + MCName: stained_hardened_clay + Name: Argile durcie bleue + '159:12': + MCName: stained_hardened_clay + Name: Argile durcie marron + '159:13': + MCName: stained_hardened_clay + Name: Argile durcie verte + '159:14': + MCName: stained_hardened_clay + Name: Argile durcie rouge + '159:15': + MCName: stained_hardened_clay + Name: Argile durcie noire + '160': + MCName: stained_glass_pane + Name: Toutes les teintes de vitre + '160:0': + MCName: stained_glass_pane + Name: Vitre blanche + '160:1': + MCName: stained_glass_pane + Name: Vitre orange + '160:2': + MCName: stained_glass_pane + Name: Vitre magenta + '160:3': + MCName: stained_glass_pane + Name: Vitre bleu clair + '160:4': + MCName: stained_glass_pane + Name: Vitre jaune + '160:5': + MCName: stained_glass_pane + Name: Vitre vert clair + '160:6': + MCName: stained_glass_pane + Name: Vitre rose + '160:7': + MCName: stained_glass_pane + Name: Vitre grise + '160:8': + MCName: stained_glass_pane + Name: Vitre gris clair + '160:9': + MCName: stained_glass_pane + Name: Vitre cyan + '160:10': + MCName: stained_glass_pane + Name: Vitre violette + '160:11': + MCName: stained_glass_pane + Name: Vitre bleue + '160:12': + MCName: stained_glass_pane + Name: Vitre marron + '160:13': + MCName: stained_glass_pane + Name: Vitre verte + '160:14': + MCName: stained_glass_pane + Name: Vitre rouge + '160:15': + MCName: stained_glass_pane + Name: Vitre noire + '161': + MCName: leaves2 + Name: Feuilles d'acacia ou de chêne noir + '161:0': + MCName: leaves2 + Name: Feuilles d'acacia + '161:1': + MCName: leaves2 + Name: Feuilles de chêne noir + '162': + MCName: logs2 + Name: Bois d'acacia ou de chêne noir + '162:0': + MCName: logs2 + Name: Bois d'acacia + '162:1': + MCName: logs2 + Name: Bois de chêne n oir + '163': + MCName: acacia_stairs + Name: Escaliers en bois d'acacia + '164': + MCName: dark_oak_stairs + Name: Escaliers en bois de chêne noir + '165': + MCName: slime + Name: Bloc de Slime + '166': + MCName: barrier + Name: Barrier + '167': + MCName: iron_trapdoor + Name: Trappe en fer + '168': + MCName: prismarine + Name: Toutes les prismarines + '168:0': + MCName: prismarine + Name: Prismarine + '168:1': + MCName: prismarine + Name: Briques de Prismarine + '168:2': + MCName: prismarine + Name: Prismarine Noire + '169': + MCName: sea_lantern + Name: Lanterne Marine + '170': + MCName: hay_block + Name: Bloc de paille + '171': + MCName: carpet + Name: Tous les tapis + '171:0': + MCName: carpet + Name: Tapis blanc + '171:1': + MCName: carpet + Name: Tapis orange + '171:2': + MCName: carpet + Name: Tapis magenta + '171:3': + MCName: carpet + Name: Tapis bleu clair + '171:4': + MCName: carpet + Name: Tapis jaune + '171:5': + MCName: carpet + Name: Tapis vert clair + '171:6': + MCName: carpet + Name: Tapis rose + '171:7': + MCName: carpet + Name: Tapis gris + '171:8': + MCName: carpet + Name: Tapis gris clair + '171:9': + MCName: carpet + Name: Tapis cyan + '171:10': + MCName: carpet + Name: Tapis violet + '171:11': + MCName: carpet + Name: Tapis bleu + '171:12': + MCName: carpet + Name: Tapis marron + '171:13': + MCName: carpet + Name: Tapis vert + '171:14': + MCName: carpet + Name: Tapis rouge + '171:15': + MCName: carpet + Name: Tapis noir + '172': + MCName: hardened_clay + Name: Argile durcie + '173': + MCName: coal_block + Name: Bloc de charbon + '174': + MCName: packed_ice + Name: Glace compactée + '175': + MCName: double_plant + Name: Toutes les fleurs de grande taille + '175:0': + MCName: double_plant + Name: Tournesol + '175:1': + MCName: double_plant + Name: Lilas + '175:2': + MCName: double_plant + Name: Très hautes herbes + '175:3': + MCName: double_plant + Name: Grande fougère + '175:4': + MCName: double_plant + Name: Rosier + '175:5': + MCName: double_plant + Name: Pivoine + '176': + MCName: standing_banner + Name: Bannière sur pied + '177': + MCName: wall_banner + Name: Bannière sur un mur + '178': + MCName: daylight_detector_inverted + Name: Capteur nocturne + '179': + MCName: red_sandstone + Name: Grès rouge + '179:1': + MCName: red_sandstone + Name: Grès rouge sculpté + '179:2': + MCName: red_sandstone + Name: Grès rouge poli + '180': + MCName: red_sandstone_stairs + Name: Escaliers en grès rouge + '181': + MCName: stone_slab2 + Name: Double dalle en grès rouge + '182': + MCName: double_stone_slab2 + Name: Dalle en grès rouge + '183': + MCName: spruce_fence_gate + Name: Portillon en bois de sapin + '184': + MCName: birch_fence_gate + Name: Portillon en bois de bouleau + '185': + MCName: jungle_fence_gate + Name: Portillon en bois d'acajou + '186': + MCName: dark_oak_fence_gate + Name: Portillon en bois de chêne noir + '187': + MCName: acacia_fence_gate + Name: Portillon en bois d'acacia + '188': + MCName: spruce_fence + Name: Barrière en bois de sapin + '189': + MCName: birch_fence + Name: Barrière en bois de bouleau + '190': + MCName: jungle_fence + Name: Barrière en bois d'acajou + '191': + MCName: dark_oak_fence + Name: Barrière en bois de chêne noir + '192': + MCName: acacia_fence + Name: Barrière en bois d'acacia + '193': + MCName: spruce_door + Name: Porte en bois de sapin + '194': + MCName: birch_door + Name: Porte en bois de bouleau + '195': + MCName: jungle_door + Name: Porte en bois d'acajou + '196': + MCName: acacia_door + Name: Porte en bois d'acacia + '197': + MCName: dark_oak_door + Name: Porte en bois de chêne noir + '198': + MCName: end_rod + Name: Barre de l'End + '199': + MCName: chorus_plant + Name: Chorus + '200': + MCName: chorus_flower + Name: Fleur de Chorus + '201': + MCName: purpur_block + Name: Bloc Pourpre + '202': + MCName: purpur_pillar + Name: Pillier Pourpre + '203': + MCName: purpur_stairs + Name: Escalier Pourpre + '204': + MCName: purpur_double_slab + Name: Double Dalle Pourpre + '205': + MCName: purpur_slab + Name: Dalle Pourpre + '206': + MCName: end_bricks + Name: Brique de Roche de l'End + '207': + MCName: beetroots + Name: Plan de Betteraves + '208': + MCName: grass_path + Name: Chemin d'Herbe + '209': + MCName: end_gateway + Name: Passerelle du Néant + '212': + MCName: frosted_ice + Name: Glace Gelée + '256': + MCName: iron_shovel + Name: Pelle en fer + '257': + MCName: iron_pickaxe + Name: Pioche en fer + '258': + MCName: iron_axe + Name: Hache en fer + '259': + MCName: flint_and_steel + Name: Briquet + '260': + MCName: apple + Name: Pomme + '261': + MCName: bow + Name: Arc + '262': + MCName: arrow + Name: Flèche + '263': + MCName: coal + Name: Charbon + '263:1': + MCName: coal + Name: Charbon de bois + '264': + MCName: diamond + Name: Diamant + '265': + MCName: iron_ingot + Name: Lingot de fer + '266': + MCName: gold_ingot + Name: Lingot d'or + '267': + MCName: iron_sword + Name: Épée en fer + '268': + MCName: wooden_sword + Name: Épée en bois + '269': + MCName: wooden_shovel + Name: Pelle en bois + '270': + MCName: wooden_pickaxe + Name: Pioche en bois + '271': + MCName: wooden_axe + Name: Hache en bois + '272': + MCName: stone_sword + Name: Épée en pierre + '273': + MCName: stone_shovel + Name: Pelle en pierre + '274': + MCName: stone_pickaxe + Name: Pioche en pierre + '275': + MCName: stone_axe + Name: Hache en pierre + '276': + MCName: diamond_sword + Name: Épée en diamant + '277': + MCName: diamond_shovel + Name: Pelle en diamant + '278': + MCName: diamond_pickaxe + Name: Pioche en diamant + '279': + MCName: diamond_axe + Name: Hache en diamant + '280': + MCName: stick + Name: Baton + '281': + MCName: bowl + Name: Bol + '282': + MCName: mushroom_stew + Name: Soupe de champignons + '283': + MCName: golden_sword + Name: Épée en or + '284': + MCName: golden_shovel + Name: Pelle en or + '285': + MCName: golden_pickaxe + Name: Pioche en or + '286': + MCName: golden_axe + Name: Hache en or + '287': + MCName: string + Name: Ficelle + '288': + MCName: feather + Name: Plume + '289': + MCName: gunpowder + Name: Poudre à canon + '290': + MCName: wooden_hoe + Name: Houe en bois + '291': + MCName: stone_hoe + Name: Houe en pierre + '292': + MCName: iron_hoe + Name: Houe en fer + '293': + MCName: diamond_hoe + Name: Houe en diamant + '294': + MCName: golden_hoe + Name: Houe en or + '295': + MCName: wheat_seeds + Name: Graine de blé + '296': + MCName: wheat + Name: Blé + '297': + MCName: bread + Name: Pain + '298': + MCName: leather_helmet + Name: Casque en cuir + '299': + MCName: leather_chestplate + Name: Tunique en cuir + '300': + MCName: leather_leggings + Name: Pantalon en cuir + '301': + MCName: leather_boots + Name: Botte en cuir + '302': + MCName: chainmail_helmet + Name: Casque en mailles + '303': + MCName: chainmail_chestplate + Name: Plastron en mailles + '304': + MCName: chainmail_leggings + Name: Jambière en mailles + '305': + MCName: chainmail_boots + Name: Botte en mailles + '306': + MCName: iron_helmet + Name: Casque en fer + '307': + MCName: iron_chestplate + Name: Plastron en fer + '308': + MCName: iron_leggings + Name: Jambière en fer + '309': + MCName: iron_boots + Name: Botte en fer + '310': + MCName: diamond_helmet + Name: Casque en diamant + '311': + MCName: diamond_chestplate + Name: Plastron en diamant + '312': + MCName: diamond_leggings + Name: Jambière en diamant + '313': + MCName: diamond_boots + Name: Botte en diamant + '314': + MCName: golden_helmet + Name: Casque en or + '315': + MCName: golden_chestplate + Name: Plastron en or + '316': + MCName: golden_leggings + Name: Jambière en or + '317': + MCName: golden_boots + Name: Botte en or + '318': + MCName: flint_and_steel + Name: Silex + '319': + MCName: porkchop + Name: Côtelette de porc crue + '320': + MCName: cooked_porkchop + Name: Côtelette de porc cuite + '321': + MCName: painting + Name: Tableau + '322': + MCName: golden_apple + Name: Pomme dorée + '322:1': + MCName: golden_apple + Name: Pomme de Notch + '323': + MCName: sign + Name: Panneau + '324': + MCName: wooden_door + Name: Porte en bois + '325': + MCName: bucket + Name: Seau + '326': + MCName: water_bucket + Name: Seau d'eau + '327': + MCName: lava_bucket + Name: Seau de lave + '328': + MCName: minecart + Name: Wagonnet + '329': + MCName: saddle + Name: Selle + '330': + MCName: iron_door + Name: Porte en fer + '331': + MCName: redstone + Name: Redstone + '332': + MCName: snowball + Name: Boule de neige + '333': + MCName: boat + Name: Bateau + '334': + MCName: leather + Name: Cuir + '335': + MCName: milk_bucket + Name: Seau de lait + '336': + MCName: brick + Name: Brique + '337': + MCName: clay_ball + Name: Boule d'argile + '338': + MCName: reeds + Name: Canne à sucre + '339': + MCName: paper + Name: Papier + '340': + MCName: book + Name: Livre + '341': + MCName: slime_ball + Name: Boule de slime + '342': + MCName: chest_minecart + Name: Wagonnet de stockage + '343': + MCName: furnace_minecart + Name: Wagonnet motorisé + '344': + MCName: egg + Name: Oeuf + '345': + MCName: compass + Name: Boussole + '346': + MCName: fishing_rod + Name: Canne à pêche + '347': + MCName: clock + Name: Montre + '348': + MCName: glowstone_dust + Name: Poudre de pierre lumineuse + '349': + MCName: fish + Name: Poisson cru + '349:1': + MCName: fish + Name: Saumon cru + '349:2': + MCName: fish + Name: Poisson-clown + '349:3': + MCName: fish + Name: Poisson-globe + '350': + MCName: cooked_fish + Name: Poisson cuit + '350:1': + MCName: cooked_fish + Name: Saumon cuit + '351': + MCName: dye + Name: Toutes les teintures + '351:0': + MCName: dye + Name: Poche d'encre + '351:1': + MCName: dye + Name: Rouge de rose + '351:2': + MCName: dye + Name: Vert de cactus + '351:3': + MCName: dye + Name: Fèves de cacao + '351:4': + MCName: dye + Name: Lapis Lazuli + '351:5': + MCName: dye + Name: Teinture violette + '351:6': + MCName: dye + Name: Teinture cyan + '351:7': + MCName: dye + Name: Teinture gris clair + '351:8': + MCName: dye + Name: Teinture grise + '351:9': + MCName: dye + Name: Teinture rose + '351:10': + MCName: dye + Name: Teinture vert clair + '351:11': + MCName: dye + Name: Jaune pissenlit + '351:12': + MCName: dye + Name: Teinture bleu clair + '351:13': + MCName: dye + Name: Teinture magenta + '351:14': + MCName: dye + Name: Teinture orange + '351:15': + MCName: dye + Name: Poudre d'os + '352': + MCName: bone + Name: Os + '353': + MCName: sugar + Name: Sucre + '354': + MCName: cake + Name: Gâteau + '355': + MCName: bed + Name: Lit + '356': + MCName: repeater + Name: Répéteur + '357': + MCName: cookie + Name: Cookie + '358': + MCName: filled_map + Name: Carte + '359': + MCName: shears + Name: Cisailles + '360': + MCName: melon + Name: Pastèque + '361': + MCName: pumpkin_seeds + Name: Graine de citrouille + '362': + MCName: melon_seeds + Name: Graine de pastèque + '363': + MCName: beef + Name: Boeuf cru + '364': + MCName: cooked_beef + Name: Steak + '365': + MCName: chicken + Name: Poulet cru + '366': + MCName: cooked_chicken + Name: Poulet rôti + '367': + MCName: rotten_flesh + Name: Chair putréfiée + '368': + MCName: ender_pearl + Name: Perle du Néant + '369': + MCName: blaze_rod + Name: Bâton de Blaze + '370': + MCName: ghast_tear + Name: Larme de Ghast + '371': + MCName: gold_nugget + Name: Pépite d'or + '372': + MCName: nether_wart + Name: Verrues du Nether + '373': + MCName: potion + Name: Potion + '374': + MCName: glass_bottle + Name: Fiole + '375': + MCName: spider_eye + Name: Oeil d'araignée + '376': + MCName: fermented_spider_eye + Name: Oeil d'araignée fermenté + '377': + MCName: blaze_powder + Name: Poudre de Blaze + '378': + MCName: magma_cream + Name: Crème de magma + '379': + MCName: brewing_stand + Name: Alambic + '380': + MCName: cauldron + Name: Chaudron + '381': + MCName: ender_eye + Name: Oeil du Néant + '382': + MCName: speckled_melon + Name: Pastèque scintillante + '383:50': + MCName: spawn_egg + Name: Oeuf de Creeper + '383:51': + MCName: spawn_egg + Name: Oeuf de Squelette + '383:52': + MCName: spawn_egg + Name: Oeuf d'araignée + '383:54': + MCName: spawn_egg + Name: Oeuf de Zombie + '383:55': + MCName: spawn_egg + Name: Oeuf de Slime + '383:56': + MCName: spawn_egg + Name: Oeuf de Ghast + '383:57': + MCName: spawn_egg + Name: Oeuf de Cochon Zombie + '383:58': + MCName: spawn_egg + Name: Oeuf d'Enderman + '383:59': + MCName: spawn_egg + Name: Oeuf d'Araignée bleu + 383:60: + MCName: spawn_egg + Name: Oeuf de Poisson d'argent + 383:61: + MCName: spawn_egg + Name: Oeuf de Blaze + 383:62: + MCName: spawn_egg + Name: Oeuf de Cube magmatique + 383:65: + MCName: spawn_egg + Name: Oeuf de Chauve Souris + 383:66: + MCName: spawn_egg + Name: Oeuf de Sorcière + 383:67: + MCName: spawn_egg + Name: Oeuf d'Endermite + 383:68: + MCName: spawn_egg + Name: Oeuf de Gardien + 383:90: + MCName: spawn_egg + Name: Oeuf de Cochon + 383:91: + MCName: spawn_egg + Name: Oeuf de Mouton + 383:92: + MCName: spawn_egg + Name: Oeuf de Vache + 383:93: + MCName: spawn_egg + Name: Oeuf de Poule + 383:94: + MCName: spawn_egg + Name: Oeuf de Poulpe + 383:95: + MCName: spawn_egg + Name: Oeuf de Loup + 383:96: + MCName: spawn_egg + Name: Oeuf de Champimeuh + 383:98: + MCName: spawn_egg + Name: Oeuf d'Ocelot + 383:100: + MCName: spawn_egg + Name: Oeuf de Cheval + 383:101: + MCName: spawn_egg + Name: Oeuf de Lapin + 383:120: + MCName: spawn_egg + Name: Oeuf de Villageois + '384': + MCName: experience_bottle + Name: Fiole d'expérience + '385': + MCName: fire_charge + Name: Boule de feu + '386': + MCName: writable_book + Name: Livre et plume + '387': + MCName: written_book + Name: Livre écrit + '388': + MCName: emerald + Name: Emeraude + '389': + MCName: item_frame + Name: Cadre + '390': + MCName: flower_pot + Name: Pot de fleurs + '391': + MCName: carrot + Name: Carrote + '392': + MCName: potato + Name: Pomme de Terre + '393': + MCName: baked_potato + Name: Pomme de terre cuite + '394': + MCName: poisonous_potato + Name: Pomme de terre empoisonnée + '395': + MCName: map + Name: Carte vierge + '396': + MCName: golden_carrot + Name: Carotte en or + '397': + MCName: skull + Name: Crâne de squelette + '397:1': + MCName: skull + Name: Crâne de Wither squelette + '397:2': + MCName: skull + Name: Tête de zombie + '397:3': + MCName: skull + Name: Tête + '397:4': + MCName: skull + Name: Tête de Creeper + '398': + MCName: carrot_on_a_stick + Name: Carotte sur un bâton + '399': + MCName: nether_star + Name: Étoile du Nether + '400': + MCName: pumpkin_pie + Name: Tarte à la citrouille + '401': + MCName: fireworks + Name: Fusée de feu d'artifice + '402': + MCName: firework_charge + Name: Étoile de feu d'artifice + '403': + MCName: enchanted_book + Name: Livre enchanté + '404': + MCName: comparator + Name: Comparateur + '405': + MCName: netherbrick + Name: Brique du Nether + '406': + MCName: quartz + Name: Quartz du Nether + '407': + MCName: tnt_minecart + Name: Wagonnet à TNT + '408': + MCName: hopper_minecart + Name: Wagonnet à entonnoir + '409': + MCName: prismarine_shard + Name: Éclat de prismarin + '410': + MCName: prismarine_crystals + Name: Cristaux de prismarin + '411': + MCName: rabbit + Name: Lapin cru + '412': + MCName: cooked_rabbit + Name: Lapin cuit + '413': + MCName: rabbit_stew + Name: Ragoût de lapin + '414': + MCName: rabbit_foot + Name: Patte de lapin + '415': + MCName: rabbit_hide + Name: Peau de lapin + '416': + MCName: armor_stand + Name: Stand armure + '417': + MCName: iron_horse_armor + Name: Armure pour cheval en fer + '418': + MCName: golden_horse_armor + Name: Armure pour cheval en or + '419': + MCName: diamond_horse_armor + Name: Armure pour cheval en diamant + '420': + MCName: lead + Name: Laisse + '421': + MCName: name_tag + Name: Étiquette + '422': + MCName: command_block_minecart + Name: Wagonnet avec bloc de commande + '423': + MCName: mutton + Name: Mouton cru + '424': + MCName: cooked_mutton + Name: Mouton cuit + '425': + MCName: banner + Name: Bannière + '426': + MCName: end_crystal + Name: Cristal du Néant + '427': + MCName: spruce_door + Name: Porte en bois de sapin + '428': + MCName: birch_door + Name: Porte en bois de bouleau + '429': + MCName: jungle_door + Name: Porte en bois d'acajou + '430': + MCName: acacia_door + Name: Porte en bois d'acacia + '431': + MCName: dark_oak_door + Name: Porte en bois de chêne + '432': + MCName: chorus_fruit + Name: Fruit de Chorus + '433': + MCName: chorus_fruit_popped + Name: Fruit de Chorus Éclaté + '434': + MCName: beetroot + Name: Betterave + '435': + MCName: beetroot_seeds + Name: Graine de Betterave + '436': + MCName: beetroot_soup + Name: Soupe de Betterave + '437': + MCName: dragon_breath + Name: Souffle du Dragon + '439': + MCName: spectral_arrow + Name: Flèche Spectrale + '440': + MCName: tipped_arrow + Name: Flèches spéciales + '441': + MCName: lingering_potion + Name: Potion Persistante + '442': + MCName: shield + Name: Bouclier + '443': + MCName: elytra + Name: Elytra + '2256': + MCName: record_13 + Name: Disque 13 + '2257': + MCName: record_cat + Name: Disque Cat + '2258': + MCName: record_blocks + Name: Disque Blocks + '2259': + MCName: record_chirp + Name: Disque Chirp + '2260': + MCName: record_far + Name: Disque Far + '2261': + MCName: record_mall + Name: Disque Mall + '2262': + MCName: record_mellohi + Name: Disque Mellohi + '2263': + MCName: record_stal + Name: Disque Stal + '2264': + MCName: record_strad + Name: Disque Strad + '2265': + MCName: record_ward + Name: Disque Ward + '2266': + MCName: record_11 + Name: Disque 11 + '2267': + MCName: record_wait + Name: Disque Wait +EntityList: + '-1': + MCName: Player + Name: Joueur + '50': + MCName: Creeper + Name: Creeper + '51': + MCName: Skeleton + Name: Squelette + '51:1': + MCName: Skeleton + Name: Wither Squelette + '52': + MCName: Spider + Name: Araignée + '53': + MCName: Giant + Name: Géant + '54': + MCName: Zombie + Name: Zombie + '54:1': + MCName: Zombie + Name: Zombie Villageois + '55': + MCName: Slime + Name: Slime + '56': + MCName: Ghast + Name: Ghast + '57': + MCName: PigZombie + Name: Cochon zombie + '58': + MCName: Enderman + Name: Enderman + '59': + MCName: CaveSpider + Name: Araignée bleu + '60': + MCName: Silverfish + Name: Poisson d'argent + '61': + MCName: Blaze + Name: Blaze + '62': + MCName: LavaSlime + Name: Cube de magma + '63': + MCName: EnderDragon + Name: EnderDragon + '64': + MCName: WitherBoss + Name: WitherBoss + '65': + MCName: Bat + Name: Chauve souris + '66': + MCName: Witch + Name: Sorcière + '67': + MCName: Endermite + Name: Endermite + '68': + MCName: Guardian + Name: Gardien + '68:1': + MCName: Guardian + Name: Elder Gardien + '69': + MCName: Shulker + Name: Shulker + '90': + MCName: Pig + Name: Cochon + '91': + MCName: Sheep + Name: Mouton + '92': + MCName: Cow + Name: Vache + '93': + MCName: Chicken + Name: Poule + '94': + MCName: Squid + Name: Poulpe + '95': + MCName: Wolf + Name: Loup + '96': + MCName: MushroomCow + Name: Champimeuh + '97': + MCName: SnowMan + Name: Bonhomme de neige + '98': + MCName: Ozelot + Name: Ocelot + '99': + MCName: VillagerGolem + Name: Golem de Fer + '100': + MCName: EntityHorse + Name: Cheval + '101': + MCName: Rabbit + Name: Lapin + '120': + MCName: Villager + Name: Villageois + '200': + MCName: EnderCrystal + Name: Cristal du néant +EnchantList: + '0': + MCName: PROTECTION_ENVIRONMENTAL + Name: Protection + '1': + MCName: PROTECTION_FIRE + Name: Protection contre le feu + '2': + MCName: PROTECTION_FALL + Name: Chute amortie + '3': + MCName: PROTECTION_EXPLOSIONS + Name: Protection contre les explosions + '4': + MCName: ROTECTION_PROJECTILE + Name: Protection contre les projectiles + '5': + MCName: OXYGEN + Name: Apnée + '6': + MCName: DIG_SPEED + Name: Affinité aquatique + '7': + MCName: THORNS + Name: Épines + '8': + MCName: DEPTH_STRIDER + Name: Agilité aquatique + '9': + MCName: FROST_WALKER + Name: Semelles givrantes + '16': + MCName: DAMAGE_ALL + Name: Tranchant + '17': + MCName: DAMAGE_UNDEAD + Name: Châtiment + '18': + MCName: DAMAGE_ARTHROPODS + Name: Fléau des arthropodes + '19': + MCName: KNOCKBACK + Name: Recul + '20': + MCName: FIRE_ASPECT + Name: Aura de Feu + '21': + MCName: LOOT_BONUS_MOBS + Name: Butin + '32': + MCName: DIG_SPEED + Name: Efficacité + '33': + MCName: SILK_TOUCH + Name: Toucher de soie + '34': + MCName: DURABILITY + Name: Solidité + '35': + MCName: LOOT_BONUS_BLOCKS + Name: Fortune + '48': + MCName: ARROW_DAMAGE + Name: Puissance + '49': + MCName: ARROW_KNOCKBACK + Name: Frappe + '50': + MCName: ARROW_FIRE + Name: Flame + '51': + MCName: ARROW_INFINITE + Name: Infinité + '61': + MCName: LUCK + Name: Chance de la mer + '62': + MCName: LURE + Name: Appât + '70': + MCName: MENDING + Name: Raccommodage +ColorList: + '0': + MCName: white + Name: '&fBlanc' + '1': + MCName: orange + Name: '&6Orange' + '2': + MCName: magenta + Name: '&dMagenta' + '3': + MCName: lightBlue + Name: '%9Bleu Clair' + '4': + MCName: yellow + Name: '&eJaune' + '5': + MCName: lime + Name: '&aVert clair' + '6': + MCName: pink + Name: '&dRose' + '7': + MCName: gray + Name: '&8Gris' + '8': + MCName: silver + Name: '&7Gris clair' + '9': + MCName: cyan + Name: '&3Cyan' + '10': + MCName: purple + Name: '&5Violet' + '11': + MCName: blue + Name: '&1Bleu' + '12': + MCName: brown + Name: '&4Marron' + '13': + MCName: green + Name: '&2Vert' + '14': + MCName: red + Name: '&cRouge' + '15': + MCName: black + Name: '&0Noir' diff --git a/com/gamingmesh/jobs/Jobs.java b/com/gamingmesh/jobs/Jobs.java index b360f6ef..16f177ac 100644 --- a/com/gamingmesh/jobs/Jobs.java +++ b/com/gamingmesh/jobs/Jobs.java @@ -522,7 +522,10 @@ public class Jobs { * @return the number of slots */ public static int getUsedSlots(Job job) { - return usedSlots.get(job); + if (usedSlots.containsKey(job)) + return usedSlots.get(job); + else + return 0; } /** @@ -530,7 +533,8 @@ public class Jobs { * @param job - the job someone is taking */ public static void takeSlot(Job job) { - usedSlots.put(job, usedSlots.get(job) + 1); + if (usedSlots.containsKey(job)) + usedSlots.put(job, usedSlots.get(job) + 1); } /** @@ -538,7 +542,8 @@ public class Jobs { * @param job - the job someone is leaving */ public static void leaveSlot(Job job) { - usedSlots.put(job, usedSlots.get(job) - 1); + if (usedSlots.containsKey(job)) + usedSlots.put(job, usedSlots.get(job) - 1); } /** @@ -736,7 +741,7 @@ public class Jobs { if (income != 0D || points != 0D) { // jPlayer - + BoostMultiplier FinalBoost = Jobs.getPlayerManager().getFinalBonus(jPlayer, Jobs.getNoneJob()); // Calculate income diff --git a/com/gamingmesh/jobs/commands/list/shop.java b/com/gamingmesh/jobs/commands/list/shop.java index f40803f0..a2156c0e 100644 --- a/com/gamingmesh/jobs/commands/list/shop.java +++ b/com/gamingmesh/jobs/commands/list/shop.java @@ -2,8 +2,6 @@ package com.gamingmesh.jobs.commands.list; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import org.bukkit.inventory.Inventory; - import com.gamingmesh.jobs.Jobs; import com.gamingmesh.jobs.JobsPlugin; import com.gamingmesh.jobs.commands.Cmd; @@ -19,22 +17,21 @@ public class shop implements Cmd { return true; } - if (args.length != 0) { + if (args.length != 0 && args.length != 1) { Jobs.getCommandManager().sendUsage(sender, "shop"); return true; } + int page = 1; + if (args.length == 1) + try { + page = Integer.parseInt(args[0]); + } catch (NumberFormatException e) { + } + Player player = (Player) sender; - Inventory inv = Jobs.getShopManager().CreateJobsGUI(player); - - Inventory topinv = player.getOpenInventory().getTopInventory(); - if (topinv != null) - player.closeInventory(); - - Jobs.getShopManager().GuiList.add(player.getName()); - - player.openInventory(inv); + Jobs.getShopManager().openInventory(player, page); return true; } diff --git a/com/gamingmesh/jobs/config/LanguageManager.java b/com/gamingmesh/jobs/config/LanguageManager.java index 7f9fc9b5..0513c29b 100644 --- a/com/gamingmesh/jobs/config/LanguageManager.java +++ b/com/gamingmesh/jobs/config/LanguageManager.java @@ -178,6 +178,7 @@ public class LanguageManager { c.get("command.shop.info.price", "&ePrice: &6%price%"); c.get("command.shop.info.reqJobs", "&eRequired jobs:"); c.get("command.shop.info.reqJobsList", " &6%jobsname%&e: &e%level% lvl"); + c.get("command.shop.info.cantOpen", "&cCan't open this page"); c.get("command.shop.info.NoPermForItem", "&cYou don't have required permissions for this item!"); c.get("command.shop.info.NoPermToBuy", "&cNo permissions to buy this item"); diff --git a/com/gamingmesh/jobs/config/NameTranslatorManager.java b/com/gamingmesh/jobs/config/NameTranslatorManager.java index 12107991..deeeb0dd 100644 --- a/com/gamingmesh/jobs/config/NameTranslatorManager.java +++ b/com/gamingmesh/jobs/config/NameTranslatorManager.java @@ -3,6 +3,7 @@ package com.gamingmesh.jobs.config; import java.io.File; import java.io.IOException; import java.util.ArrayList; +import java.util.List; import java.util.Set; import org.bukkit.Bukkit; @@ -113,7 +114,7 @@ public class NameTranslatorManager { } public void readFile() { - YmlMaker ItemFile = new YmlMaker((JavaPlugin) plugin, "TranslatableWords.yml"); + YmlMaker ItemFile = new YmlMaker((JavaPlugin) plugin, "TranslatableWords" + File.separator + "Words_" + Jobs.getGCManager().localeString + ".yml"); ItemFile.saveDefaultConfig(); ConfigurationSection section = ItemFile.getConfig().getConfigurationSection("ItemList"); Set keys = section.getKeys(false); @@ -166,1472 +167,1499 @@ public class NameTranslatorManager { } synchronized void load() { - File f = new File(plugin.getDataFolder(), "TranslatableWords.yml"); - YamlConfiguration conf = YamlConfiguration.loadConfiguration(f); - CommentedYamlConfiguration write = new CommentedYamlConfiguration(); - LocaleReader c = new LocaleReader(conf, write); - c.get("ItemList.0.MCName", "air"); - c.get("ItemList.0.Name", "Air"); - c.get("ItemList.1.MCName", "stone"); - c.get("ItemList.1.Name", "All Stone"); - c.get("ItemList.1:0.MCName", "stone"); - c.get("ItemList.1:0.Name", "Stone"); - c.get("ItemList.1:1.MCName", "stone"); - c.get("ItemList.1:1.Name", "Granite"); - c.get("ItemList.1:2.MCName", "stone"); - c.get("ItemList.1:2.Name", "Polished Granite"); - c.get("ItemList.1:3.MCName", "stone"); - c.get("ItemList.1:3.Name", "Diorite"); - c.get("ItemList.1:4.MCName", "stone"); - c.get("ItemList.1:4.Name", "Polished Diorite"); - c.get("ItemList.1:5.MCName", "stone"); - c.get("ItemList.1:5.Name", "Andesite"); - c.get("ItemList.1:6.MCName", "stone"); - c.get("ItemList.1:6.Name", "Polished Andesite"); - c.get("ItemList.2.MCName", "grass"); - c.get("ItemList.2.Name", "Grass"); - c.get("ItemList.3.MCName", "dirt"); - c.get("ItemList.3.Name", "All Dirt"); - c.get("ItemList.3:0.MCName", "dirt"); - c.get("ItemList.3:0.Name", "Dirt"); - c.get("ItemList.3:1.MCName", "dirt"); - c.get("ItemList.3:1.Name", "Coarse Dirt"); - c.get("ItemList.3:2.MCName", "dirt"); - c.get("ItemList.3:2.Name", "Podzol"); - c.get("ItemList.4.MCName", "cobblestone"); - c.get("ItemList.4.Name", "Cobblestone"); - c.get("ItemList.5.MCName", "planks"); - c.get("ItemList.5.Name", "All Wood Plank"); - c.get("ItemList.5:0.MCName", "planks"); - c.get("ItemList.5:0.Name", "Oak Wood Plank"); - c.get("ItemList.5:1.MCName", "planks"); - c.get("ItemList.5:1.Name", "Spruce Wood Plank"); - c.get("ItemList.5:2.MCName", "planks"); - c.get("ItemList.5:2.Name", "Birch Wood Plank"); - c.get("ItemList.5:3.MCName", "planks"); - c.get("ItemList.5:3.Name", "Jungle Wood Plank"); - c.get("ItemList.5:4.MCName", "planks"); - c.get("ItemList.5:4.Name", "Acacia Wood Plank"); - c.get("ItemList.5:5.MCName", "planks"); - c.get("ItemList.5:5.Name", "Dark Oak Wood Plank"); - c.get("ItemList.6.MCName", "sapling"); - c.get("ItemList.6.Name", "All Saplings"); - c.get("ItemList.6:0.MCName", "sapling"); - c.get("ItemList.6:0.Name", "Oak Sapling"); - c.get("ItemList.6:1.MCName", "sapling"); - c.get("ItemList.6:1.Name", "Spruce Sapling"); - c.get("ItemList.6:2.MCName", "sapling"); - c.get("ItemList.6:2.Name", "Birch Sapling"); - c.get("ItemList.6:3.MCName", "sapling"); - c.get("ItemList.6:3.Name", "Jungle Sapling"); - c.get("ItemList.6:4.MCName", "sapling"); - c.get("ItemList.6:4.Name", "Acacia Sapling"); - c.get("ItemList.6:5.MCName", "sapling"); - c.get("ItemList.6:5.Name", "Dark Oak Sapling"); - c.get("ItemList.7.MCName", "bedrock"); - c.get("ItemList.7.Name", "Bedrock"); - c.get("ItemList.8.MCName", "flowing_water"); - c.get("ItemList.8.Name", "Flowing Water"); - c.get("ItemList.9.MCName", "water"); - c.get("ItemList.9.Name", "Still Water"); - c.get("ItemList.10.MCName", "flowing_lava"); - c.get("ItemList.10.Name", "Flowing Lava"); - c.get("ItemList.11.MCName", "lava"); - c.get("ItemList.11.Name", "Still Lava"); - c.get("ItemList.12.MCName", "sand"); - c.get("ItemList.12.Name", "All Sand"); - c.get("ItemList.12:0.MCName", "sand"); - c.get("ItemList.12:0.Name", "Sand"); - c.get("ItemList.12:1.MCName", "sand"); - c.get("ItemList.12:1.Name", "Red Sand"); - c.get("ItemList.13.MCName", "gravel"); - c.get("ItemList.13.Name", "Gravel"); - c.get("ItemList.14.MCName", "gold_ore"); - c.get("ItemList.14.Name", "Gold Ore"); - c.get("ItemList.15.MCName", "iron_ore"); - c.get("ItemList.15.Name", "Iron Ore"); - c.get("ItemList.16.MCName", "coal_ore"); - c.get("ItemList.16.Name", "Coal Ore"); - c.get("ItemList.17.MCName", "log"); - c.get("ItemList.17.Name", "All Wood"); - c.get("ItemList.17:0.MCName", "log"); - c.get("ItemList.17:0.Name", "Oak Wood"); - c.get("ItemList.17:1.MCName", "log"); - c.get("ItemList.17:1.Name", "Spruce Wood"); - c.get("ItemList.17:2.MCName", "log"); - c.get("ItemList.17:2.Name", "Birch Wood"); - c.get("ItemList.17:3.MCName", "log"); - c.get("ItemList.17:3.Name", "Jungle Wood"); - c.get("ItemList.18.MCName", "leaves"); - c.get("ItemList.18.Name", "All Leaves"); - c.get("ItemList.18:0.MCName", "leaves"); - c.get("ItemList.18:0.Name", "Oak Leaves"); - c.get("ItemList.18:1.MCName", "leaves"); - c.get("ItemList.18:1.Name", "Spruce Leaves"); - c.get("ItemList.18:2.MCName", "leaves"); - c.get("ItemList.18:2.Name", "Birch Leaves"); - c.get("ItemList.18:3.MCName", "leaves"); - c.get("ItemList.18:3.Name", "Jungle Leaves"); - c.get("ItemList.19.MCName", "sponge"); - c.get("ItemList.19.Name", "Sponge"); - c.get("ItemList.19:1.MCName", "sponge"); - c.get("ItemList.19:1.Name", "Wet Sponge"); - c.get("ItemList.20.MCName", "glass"); - c.get("ItemList.20.Name", "Glass"); - c.get("ItemList.21.MCName", "lapis_ore"); - c.get("ItemList.21.Name", "Lapis Lazuli Ore"); - c.get("ItemList.22.MCName", "lapis_block"); - c.get("ItemList.22.Name", "Lapis Lazuli Block"); - c.get("ItemList.23.MCName", "dispenser"); - c.get("ItemList.23.Name", "Dispenser"); - c.get("ItemList.24.MCName", "sandstone"); - c.get("ItemList.24.Name", "Sandstone"); - c.get("ItemList.24:1.MCName", "sandstone"); - c.get("ItemList.24:1.Name", "Chiseled Sandstone"); - c.get("ItemList.24:2.MCName", "sandstone"); - c.get("ItemList.24:2.Name", "Smooth Sandstone"); - c.get("ItemList.25.MCName", "noteblock"); - c.get("ItemList.25.Name", "Note Block"); - c.get("ItemList.26.MCName", "bed"); - c.get("ItemList.26.Name", "Bed"); - c.get("ItemList.27.MCName", "golden_rail"); - c.get("ItemList.27.Name", "Powered Rail"); - c.get("ItemList.28.MCName", "detector_rail"); - c.get("ItemList.28.Name", "Detector Rail"); - c.get("ItemList.29.MCName", "sticky_piston"); - c.get("ItemList.29.Name", "Sticky Piston"); - c.get("ItemList.30.MCName", "web"); - c.get("ItemList.30.Name", "Cobweb"); - c.get("ItemList.31.MCName", "tallgrass"); - c.get("ItemList.31.Name", "Dead Shrub"); - c.get("ItemList.31:1.MCName", "tallgrass"); - c.get("ItemList.31:1.Name", "Grass"); - c.get("ItemList.31:2.MCName", "tallgrass"); - c.get("ItemList.31:2.Name", "Fern"); - c.get("ItemList.32.MCName", "deadbush"); - c.get("ItemList.32.Name", "Dead Shrub"); - c.get("ItemList.33.MCName", "piston"); - c.get("ItemList.33.Name", "Piston"); - c.get("ItemList.34.MCName", "piston_head"); - c.get("ItemList.34.Name", "Piston Head"); - c.get("ItemList.35.MCName", "wool"); - c.get("ItemList.35.Name", "All Wool"); - c.get("ItemList.35:0.MCName", "wool"); - c.get("ItemList.35:0.Name", "White Wool"); - c.get("ItemList.35:1.MCName", "wool"); - c.get("ItemList.35:1.Name", "Orange Wool"); - c.get("ItemList.35:2.MCName", "wool"); - c.get("ItemList.35:2.Name", "Magenta Wool"); - c.get("ItemList.35:3.MCName", "wool"); - c.get("ItemList.35:3.Name", "Light Blue Wool"); - c.get("ItemList.35:4.MCName", "wool"); - c.get("ItemList.35:4.Name", "Yellow Wool"); - c.get("ItemList.35:5.MCName", "wool"); - c.get("ItemList.35:5.Name", "Lime Wool"); - c.get("ItemList.35:6.MCName", "wool"); - c.get("ItemList.35:6.Name", "Pink Wool"); - c.get("ItemList.35:7.MCName", "wool"); - c.get("ItemList.35:7.Name", "Gray Wool"); - c.get("ItemList.35:8.MCName", "wool"); - c.get("ItemList.35:8.Name", "Light Gray Wool"); - c.get("ItemList.35:9.MCName", "wool"); - c.get("ItemList.35:9.Name", "Cyan Wool"); - c.get("ItemList.35:10.MCName", "wool"); - c.get("ItemList.35:10.Name", "Purple Wool"); - c.get("ItemList.35:11.MCName", "wool"); - c.get("ItemList.35:11.Name", "Blue Wool"); - c.get("ItemList.35:12.MCName", "wool"); - c.get("ItemList.35:12.Name", "Brown Wool"); - c.get("ItemList.35:13.MCName", "wool"); - c.get("ItemList.35:13.Name", "Green Wool"); - c.get("ItemList.35:14.MCName", "wool"); - c.get("ItemList.35:14.Name", "Red Wool"); - c.get("ItemList.35:15.MCName", "wool"); - c.get("ItemList.35:15.Name", "Black Wool"); - c.get("ItemList.37.MCName", "yellow_flower"); - c.get("ItemList.37.Name", "Dandelion"); - c.get("ItemList.38.MCName", "red_flower"); - c.get("ItemList.38.Name", "All Flowers"); - c.get("ItemList.38:0.MCName", "red_flower"); - c.get("ItemList.38:0.Name", "Poppy"); - c.get("ItemList.38:1.MCName", "red_flower"); - c.get("ItemList.38:1.Name", "Blue Orchid"); - c.get("ItemList.38:2.MCName", "red_flower"); - c.get("ItemList.38:2.Name", "Allium"); - c.get("ItemList.38:3.MCName", "red_flower"); - c.get("ItemList.38:3.Name", "Azure Bluet"); - c.get("ItemList.38:4.MCName", "red_flower"); - c.get("ItemList.38:4.Name", "Red Tulip"); - c.get("ItemList.38:5.MCName", "red_flower"); - c.get("ItemList.38:5.Name", "Orange Tulip"); - c.get("ItemList.38:6.MCName", "red_flower"); - c.get("ItemList.38:6.Name", "White Tulip"); - c.get("ItemList.38:7.MCName", "red_flower"); - c.get("ItemList.38:7.Name", "Pink Tulip"); - c.get("ItemList.38:8.MCName", "red_flower"); - c.get("ItemList.38:8.Name", "Oxeye Daisy"); - c.get("ItemList.39.MCName", "brown_mushroom"); - c.get("ItemList.39.Name", "Brown Mushroom"); - c.get("ItemList.40.MCName", "red_mushroom"); - c.get("ItemList.40.Name", "Red Mushroom"); - c.get("ItemList.41.MCName", "gold_block"); - c.get("ItemList.41.Name", "Gold Block"); - c.get("ItemList.42.MCName", "iron_block"); - c.get("ItemList.42.Name", "Iron Block"); - c.get("ItemList.43.MCName", "double_stone_slab"); - c.get("ItemList.43.Name", "All Double Slabs"); - c.get("ItemList.43:0.MCName", "double_stone_slab"); - c.get("ItemList.43:0.Name", "Double Stone Slab"); - c.get("ItemList.43:1.MCName", "double_stone_slab"); - c.get("ItemList.43:1.Name", "Double Sandstone Slab"); - c.get("ItemList.43:2.MCName", "double_stone_slab"); - c.get("ItemList.43:2.Name", "Double Wooden Slab"); - c.get("ItemList.43:3.MCName", "double_stone_slab"); - c.get("ItemList.43:3.Name", "Double Cobblestone Slab"); - c.get("ItemList.43:4.MCName", "double_stone_slab"); - c.get("ItemList.43:4.Name", "Double Brick Slab"); - c.get("ItemList.43:5.MCName", "double_stone_slab"); - c.get("ItemList.43:5.Name", "Double Stone Brick Slab"); - c.get("ItemList.43:6.MCName", "double_stone_slab"); - c.get("ItemList.43:6.Name", "Double Nether Brick Slab"); - c.get("ItemList.43:7.MCName", "double_stone_slab"); - c.get("ItemList.43:7.Name", "Double Quartz Slab"); - c.get("ItemList.44.MCName", "stone_slab"); - c.get("ItemList.44.Name", "All Slabs"); - c.get("ItemList.44:0.MCName", "stone_slab"); - c.get("ItemList.44:0.Name", "Stone Slab"); - c.get("ItemList.44:1.MCName", "stone_slab"); - c.get("ItemList.44:1.Name", "Sandstone Slab"); - c.get("ItemList.44:2.MCName", "stone_slab"); - c.get("ItemList.44:2.Name", "Wooden Slab"); - c.get("ItemList.44:3.MCName", "stone_slab"); - c.get("ItemList.44:3.Name", "Cobblestone Slab"); - c.get("ItemList.44:4.MCName", "stone_slab"); - c.get("ItemList.44:4.Name", "Brick Slab"); - c.get("ItemList.44:5.MCName", "stone_slab"); - c.get("ItemList.44:5.Name", "Stone Brick Slab"); - c.get("ItemList.44:6.MCName", "stone_slab"); - c.get("ItemList.44:6.Name", "Nether Brick Slab"); - c.get("ItemList.44:7.MCName", "stone_slab"); - c.get("ItemList.44:7.Name", "Quartz Slab"); - c.get("ItemList.45.MCName", "brick_block"); - c.get("ItemList.45.Name", "Bricks"); - c.get("ItemList.46.MCName", "tnt"); - c.get("ItemList.46.Name", "TNT"); - c.get("ItemList.47.MCName", "bookshelf"); - c.get("ItemList.47.Name", "Bookshelf"); - c.get("ItemList.48.MCName", "mossy_cobblestone"); - c.get("ItemList.48.Name", "Moss Stone"); - c.get("ItemList.49.MCName", "obsidian"); - c.get("ItemList.49.Name", "Obsidian"); - c.get("ItemList.50.MCName", "torch"); - c.get("ItemList.50.Name", "Torch"); - c.get("ItemList.51.MCName", "fire"); - c.get("ItemList.51.Name", "Fire"); - c.get("ItemList.52.MCName", "mob_spawner"); - c.get("ItemList.52.Name", "Monster Spawner"); - c.get("ItemList.53.MCName", "oak_stairs"); - c.get("ItemList.53.Name", "Oak Wood Stairs"); - c.get("ItemList.54.MCName", "chest"); - c.get("ItemList.54.Name", "Chest"); - c.get("ItemList.55.MCName", "redstone_wire"); - c.get("ItemList.55.Name", "Redstone Wire"); - c.get("ItemList.56.MCName", "diamond_ore"); - c.get("ItemList.56.Name", "Diamond Ore"); - c.get("ItemList.57.MCName", "diamond_block"); - c.get("ItemList.57.Name", "Diamond Block"); - c.get("ItemList.58.MCName", "crafting_table"); - c.get("ItemList.58.Name", "Crafting Table"); - c.get("ItemList.59.MCName", "wheat"); - c.get("ItemList.59.Name", "Wheat Crops"); - c.get("ItemList.60.MCName", "farmland"); - c.get("ItemList.60.Name", "Farmland"); - c.get("ItemList.61.MCName", "furnace"); - c.get("ItemList.61.Name", "Furnace"); - c.get("ItemList.62.MCName", "lit_furnace"); - c.get("ItemList.62.Name", "Burning Furnace"); - c.get("ItemList.63.MCName", "standing_sign"); - c.get("ItemList.63.Name", "Standing Sign Block"); - c.get("ItemList.64.MCName", "wooden_door"); - c.get("ItemList.64.Name", "Wooden Door Block"); - c.get("ItemList.65.MCName", "ladder"); - c.get("ItemList.65.Name", "Ladder"); - c.get("ItemList.66.MCName", "rail"); - c.get("ItemList.66.Name", "Rail"); - c.get("ItemList.67.MCName", "stone_stairs"); - c.get("ItemList.67.Name", "Cobblestone Stairs"); - c.get("ItemList.68.MCName", "wall_sign"); - c.get("ItemList.68.Name", "Wall-mounted Sign Block"); - c.get("ItemList.69.MCName", "lever"); - c.get("ItemList.69.Name", "Lever"); - c.get("ItemList.70.MCName", "stone_pressure_plate"); - c.get("ItemList.70.Name", "Stone Pressure Plate"); - c.get("ItemList.71.MCName", "iron_door"); - c.get("ItemList.71.Name", "Iron Door Block"); - c.get("ItemList.72.MCName", "wooden_pressure_plate"); - c.get("ItemList.72.Name", "Wooden Pressure Plate"); - c.get("ItemList.73.MCName", "redstone_ore"); - c.get("ItemList.73.Name", "Redstone Ore"); - c.get("ItemList.74.MCName", "lit_redstone_ore"); - c.get("ItemList.74.Name", "Glowing Redstone Ore"); - c.get("ItemList.75.MCName", "unlit_redstone_torch"); - c.get("ItemList.75.Name", "Redstone Torch (off)"); - c.get("ItemList.76.MCName", "redstone_torch"); - c.get("ItemList.76.Name", "Redstone Torch (on)"); - c.get("ItemList.77.MCName", "stone_button"); - c.get("ItemList.77.Name", "Stone Button"); - c.get("ItemList.78.MCName", "snow_layer"); - c.get("ItemList.78.Name", "Snow"); - c.get("ItemList.79.MCName", "ice"); - c.get("ItemList.79.Name", "Ice"); - c.get("ItemList.80.MCName", "snow"); - c.get("ItemList.80.Name", "Snow Block"); - c.get("ItemList.81.MCName", "cactus"); - c.get("ItemList.81.Name", "Cactus"); - c.get("ItemList.82.MCName", "clay"); - c.get("ItemList.82.Name", "Clay"); - c.get("ItemList.83.MCName", "reeds"); - c.get("ItemList.83.Name", "Sugar Canes"); - c.get("ItemList.84.MCName", "jukebox"); - c.get("ItemList.84.Name", "Jukebox"); - c.get("ItemList.85.MCName", "fence"); - c.get("ItemList.85.Name", "Oak Fence"); - c.get("ItemList.86.MCName", "pumpkin"); - c.get("ItemList.86.Name", "Pumpkin"); - c.get("ItemList.87.MCName", "netherrack"); - c.get("ItemList.87.Name", "Netherrack"); - c.get("ItemList.88.MCName", "soul_sand"); - c.get("ItemList.88.Name", "Soul Sand"); - c.get("ItemList.89.MCName", "glowstone"); - c.get("ItemList.89.Name", "Glowstone"); - c.get("ItemList.90.MCName", "portal"); - c.get("ItemList.90.Name", "Nether Portal"); - c.get("ItemList.91.MCName", "lit_pumpkin"); - c.get("ItemList.91.Name", "Jack o'Lantern"); - c.get("ItemList.92.MCName", "cake"); - c.get("ItemList.92.Name", "Cake Block"); - c.get("ItemList.93.MCName", "unpowered_repeater"); - c.get("ItemList.93.Name", "Redstone Repeater Block (off)"); - c.get("ItemList.94.MCName", "powered_repeater"); - c.get("ItemList.94.Name", "Redstone Repeater Block (on)"); - c.get("ItemList.95.MCName", "stained_glass"); - c.get("ItemList.95.Name", "All Stained Glass"); - c.get("ItemList.95:0.MCName", "stained_glass"); - c.get("ItemList.95:0.Name", "White Stained Glass"); - c.get("ItemList.95:1.MCName", "stained_glass"); - c.get("ItemList.95:1.Name", "Orange Stained Glass"); - c.get("ItemList.95:2.MCName", "stained_glass"); - c.get("ItemList.95:2.Name", "Magenta Stained Glass"); - c.get("ItemList.95:3.MCName", "stained_glass"); - c.get("ItemList.95:3.Name", "Light Blue Stained Glass"); - c.get("ItemList.95:4.MCName", "stained_glass"); - c.get("ItemList.95:4.Name", "Yellow Stained Glass"); - c.get("ItemList.95:5.MCName", "stained_glass"); - c.get("ItemList.95:5.Name", "Lime Stained Glass"); - c.get("ItemList.95:6.MCName", "stained_glass"); - c.get("ItemList.95:6.Name", "Pink Stained Glass"); - c.get("ItemList.95:7.MCName", "stained_glass"); - c.get("ItemList.95:7.Name", "Gray Stained Glass"); - c.get("ItemList.95:8.MCName", "stained_glass"); - c.get("ItemList.95:8.Name", "Light Gray Stained Glass"); - c.get("ItemList.95:9.MCName", "stained_glass"); - c.get("ItemList.95:9.Name", "Cyan Stained Glass"); - c.get("ItemList.95:10.MCName", "stained_glass"); - c.get("ItemList.95:10.Name", "Purple Stained Glass"); - c.get("ItemList.95:11.MCName", "stained_glass"); - c.get("ItemList.95:11.Name", "Blue Stained Glass"); - c.get("ItemList.95:12.MCName", "stained_glass"); - c.get("ItemList.95:12.Name", "Brown Stained Glass"); - c.get("ItemList.95:13.MCName", "stained_glass"); - c.get("ItemList.95:13.Name", "Green Stained Glass"); - c.get("ItemList.95:14.MCName", "stained_glass"); - c.get("ItemList.95:14.Name", "Red Stained Glass"); - c.get("ItemList.95:15.MCName", "stained_glass"); - c.get("ItemList.95:15.Name", "Black Stained Glass"); - c.get("ItemList.96.MCName", "trapdoor"); - c.get("ItemList.96.Name", "Wooden Trapdoor"); - c.get("ItemList.97.MCName", "monster_egg"); - c.get("ItemList.97.Name", "Stone Monster Egg"); - c.get("ItemList.97:1.MCName", "monster_egg"); - c.get("ItemList.97:1.Name", "Cobblestone Monster Egg"); - c.get("ItemList.97:2.MCName", "monster_egg"); - c.get("ItemList.97:2.Name", "Stone Brick Monster Egg"); - c.get("ItemList.97:3.MCName", "monster_egg"); - c.get("ItemList.97:3.Name", "Mossy Stone Brick Monster Egg"); - c.get("ItemList.97:4.MCName", "monster_egg"); - c.get("ItemList.97:4.Name", "Cracked Stone Brick Monster Egg"); - c.get("ItemList.97:5.MCName", "monster_egg"); - c.get("ItemList.97:5.Name", "Chiseled Stone Brick Monster Egg"); - c.get("ItemList.98.MCName", "stonebrick"); - c.get("ItemList.98.Name", "Stone Bricks"); - c.get("ItemList.98:1.MCName", "stonebrick"); - c.get("ItemList.98:1.Name", "Mossy Stone Bricks"); - c.get("ItemList.98:2.MCName", "stonebrick"); - c.get("ItemList.98:2.Name", "Cracked Stone Bricks"); - c.get("ItemList.98:3.MCName", "stonebrick"); - c.get("ItemList.98:3.Name", "Chiseled Stone Bricks"); - c.get("ItemList.99.MCName", "brown_mushroom_block"); - c.get("ItemList.99.Name", "Brown Mushroom Cap"); - c.get("ItemList.100.MCName", "red_mushroom_block"); - c.get("ItemList.100.Name", "Red Mushroom Cap"); - c.get("ItemList.101.MCName", "iron_bars"); - c.get("ItemList.101.Name", "Iron Bars"); - c.get("ItemList.102.MCName", "glass_pane"); - c.get("ItemList.102.Name", "Glass Pane"); - c.get("ItemList.103.MCName", "melon_block"); - c.get("ItemList.103.Name", "Melon Block"); - c.get("ItemList.104.MCName", "pumpkin_stem"); - c.get("ItemList.104.Name", "Pumpkin Stem"); - c.get("ItemList.105.MCName", "melon_stem"); - c.get("ItemList.105.Name", "Melon Stem"); - c.get("ItemList.106.MCName", "vine"); - c.get("ItemList.106.Name", "Vines"); - c.get("ItemList.107.MCName", "fence_gate"); - c.get("ItemList.107.Name", "Oak Fence Gate"); - c.get("ItemList.108.MCName", "brick_stairs"); - c.get("ItemList.108.Name", "Brick Stairs"); - c.get("ItemList.109.MCName", "stone_brick_stairs"); - c.get("ItemList.109.Name", "Stone Brick Stairs"); - c.get("ItemList.110.MCName", "mycelium"); - c.get("ItemList.110.Name", "Mycelium"); - c.get("ItemList.111.MCName", "waterlily"); - c.get("ItemList.111.Name", "Lily Pad"); - c.get("ItemList.112.MCName", "nether_brick"); - c.get("ItemList.112.Name", "Nether Brick"); - c.get("ItemList.113.MCName", "nether_brick_fence"); - c.get("ItemList.113.Name", "Nether Brick Fence"); - c.get("ItemList.114.MCName", "nether_brick_stairs"); - c.get("ItemList.114.Name", "Nether Brick Stairs"); - c.get("ItemList.115.MCName", "nether_wart"); - c.get("ItemList.115.Name", "Nether Wart"); - c.get("ItemList.116.MCName", "enchanting_table"); - c.get("ItemList.116.Name", "Enchantment Table"); - c.get("ItemList.117.MCName", "brewing_stand"); - c.get("ItemList.117.Name", "Brewing Stand"); - c.get("ItemList.118.MCName", "cauldron"); - c.get("ItemList.118.Name", "Cauldron"); - c.get("ItemList.119.MCName", "end_portal"); - c.get("ItemList.119.Name", "End Portal"); - c.get("ItemList.120.MCName", "end_portal_frame"); - c.get("ItemList.120.Name", "End Portal Frame"); - c.get("ItemList.121.MCName", "end_stone"); - c.get("ItemList.121.Name", "End Stone"); - c.get("ItemList.122.MCName", "dragon_egg"); - c.get("ItemList.122.Name", "Dragon Egg"); - c.get("ItemList.123.MCName", "redstone_lamp"); - c.get("ItemList.123.Name", "Redstone Lamp (inactive)"); - c.get("ItemList.124.MCName", "lit_redstone_lamp"); - c.get("ItemList.124.Name", "Redstone Lamp (active)"); - c.get("ItemList.125.MCName", "double_wooden_slab"); - c.get("ItemList.125.Name", "All Double Wood Slab"); - c.get("ItemList.125:0.MCName", "double_wooden_slab"); - c.get("ItemList.125:0.Name", "Double Oak Wood Slab"); - c.get("ItemList.125:1.MCName", "double_wooden_slab"); - c.get("ItemList.125:1.Name", "Double Spruce Wood Slab"); - c.get("ItemList.125:2.MCName", "double_wooden_slab"); - c.get("ItemList.125:2.Name", "Double Birch Wood Slab"); - c.get("ItemList.125:3.MCName", "double_wooden_slab"); - c.get("ItemList.125:3.Name", "Double Jungle Wood Slab"); - c.get("ItemList.125:4.MCName", "double_wooden_slab"); - c.get("ItemList.125:4.Name", "Double Acacia Wood Slab"); - c.get("ItemList.125:5.MCName", "double_wooden_slab"); - c.get("ItemList.125:5.Name", "Double Dark Oak Wood Slab"); - c.get("ItemList.126.MCName", "wooden_slab"); - c.get("ItemList.126.Name", "All Wood Slab"); - c.get("ItemList.126:0.MCName", "wooden_slab"); - c.get("ItemList.126:0.Name", "Oak Wood Slab"); - c.get("ItemList.126:1.MCName", "wooden_slab"); - c.get("ItemList.126:1.Name", "Spruce Wood Slab"); - c.get("ItemList.126:2.MCName", "wooden_slab"); - c.get("ItemList.126:2.Name", "Birch Wood Slab"); - c.get("ItemList.126:3.MCName", "wooden_slab"); - c.get("ItemList.126:3.Name", "Jungle Wood Slab"); - c.get("ItemList.126:4.MCName", "wooden_slab"); - c.get("ItemList.126:4.Name", "Acacia Wood Slab"); - c.get("ItemList.126:5.MCName", "wooden_slab"); - c.get("ItemList.126:5.Name", "Dark Oak Wood Slab"); - c.get("ItemList.127.MCName", "cocoa"); - c.get("ItemList.127.Name", "Cocoa"); - c.get("ItemList.128.MCName", "sandstone_stairs"); - c.get("ItemList.128.Name", "Sandstone Stairs"); - c.get("ItemList.129.MCName", "emerald_ore"); - c.get("ItemList.129.Name", "Emerald Ore"); - c.get("ItemList.130.MCName", "ender_chest"); - c.get("ItemList.130.Name", "Ender Chest"); - c.get("ItemList.131.MCName", "tripwire_hook"); - c.get("ItemList.131.Name", "Tripwire Hook"); - c.get("ItemList.132.MCName", "tripwire_hook"); - c.get("ItemList.132.Name", "Tripwire"); - c.get("ItemList.133.MCName", "emerald_block"); - c.get("ItemList.133.Name", "Emerald Block"); - c.get("ItemList.134.MCName", "spruce_stairs"); - c.get("ItemList.134.Name", "Spruce Wood Stairs"); - c.get("ItemList.135.MCName", "birch_stairs"); - c.get("ItemList.135.Name", "Birch Wood Stairs"); - c.get("ItemList.136.MCName", "jungle_stairs"); - c.get("ItemList.136.Name", "Jungle Wood Stairs"); - c.get("ItemList.137.MCName", "command_block"); - c.get("ItemList.137.Name", "Command Block"); - c.get("ItemList.138.MCName", "beacon"); - c.get("ItemList.138.Name", "Beacon"); - c.get("ItemList.139.MCName", "cobblestone_wall"); - c.get("ItemList.139.Name", "Cobblestone Wall"); - c.get("ItemList.139:1.MCName", "cobblestone_wall"); - c.get("ItemList.139:1.Name", "Mossy Cobblestone Wall"); - c.get("ItemList.140.MCName", "flower_pot"); - c.get("ItemList.140.Name", "Flower Pot"); - c.get("ItemList.141.MCName", "carrots"); - c.get("ItemList.141.Name", "Carrots"); - c.get("ItemList.142.MCName", "potatoes"); - c.get("ItemList.142.Name", "Potatoes"); - c.get("ItemList.143.MCName", "wooden_button"); - c.get("ItemList.143.Name", "Wooden Button"); - c.get("ItemList.144.MCName", "skull"); - c.get("ItemList.144.Name", "Mob Head"); - c.get("ItemList.145.MCName", "anvil"); - c.get("ItemList.145.Name", "Anvil"); - c.get("ItemList.146.MCName", "trapped_chest"); - c.get("ItemList.146.Name", "Trapped Chest"); - c.get("ItemList.147.MCName", "light_weighted_pressure_plate"); - c.get("ItemList.147.Name", "Weighted Pressure Plate (light)"); - c.get("ItemList.148.MCName", "heavy_weighted_pressure_plate"); - c.get("ItemList.148.Name", "Weighted Pressure Plate (heavy)"); - c.get("ItemList.149.MCName", "unpowered_comparator"); - c.get("ItemList.149.Name", "Redstone Comparator (inactive)"); - c.get("ItemList.150.MCName", "powered_comparator"); - c.get("ItemList.150.Name", "Redstone Comparator (active)"); - c.get("ItemList.151.MCName", "daylight_detector"); - c.get("ItemList.151.Name", "Daylight Sensor"); - c.get("ItemList.152.MCName", "redstone_block"); - c.get("ItemList.152.Name", "Redstone Block"); - c.get("ItemList.153.MCName", "quartz_ore"); - c.get("ItemList.153.Name", "Nether Quartz Ore"); - c.get("ItemList.154.MCName", "hopper"); - c.get("ItemList.154.Name", "Hopper"); - c.get("ItemList.155.MCName", "quartz_block"); - c.get("ItemList.155.Name", "Quartz Block"); - c.get("ItemList.155:1.MCName", "quartz_block"); - c.get("ItemList.155:1.Name", "Chiseled Quartz Block"); - c.get("ItemList.155:2.MCName", "quartz_block"); - c.get("ItemList.155:2.Name", "Pillar Quartz Block"); - c.get("ItemList.156.MCName", "quartz_stairs"); - c.get("ItemList.156.Name", "Quartz Stairs"); - c.get("ItemList.157.MCName", "activator_rail"); - c.get("ItemList.157.Name", "Activator Rail"); - c.get("ItemList.158.MCName", "dropper"); - c.get("ItemList.158.Name", "Dropper"); - c.get("ItemList.159.MCName", "stained_hardened_clay"); - c.get("ItemList.159.Name", "All Stained Clays"); - c.get("ItemList.159:0.MCName", "stained_hardened_clay"); - c.get("ItemList.159:0.Name", "White Stained Clay"); - c.get("ItemList.159:1.MCName", "stained_hardened_clay"); - c.get("ItemList.159:1.Name", "Orange Stained Clay"); - c.get("ItemList.159:2.MCName", "stained_hardened_clay"); - c.get("ItemList.159:2.Name", "Magenta Stained Clay"); - c.get("ItemList.159:3.MCName", "stained_hardened_clay"); - c.get("ItemList.159:3.Name", "Light Blue Stained Clay"); - c.get("ItemList.159:4.MCName", "stained_hardened_clay"); - c.get("ItemList.159:4.Name", "Yellow Stained Clay"); - c.get("ItemList.159:5.MCName", "stained_hardened_clay"); - c.get("ItemList.159:5.Name", "Lime Stained Clay"); - c.get("ItemList.159:6.MCName", "stained_hardened_clay"); - c.get("ItemList.159:6.Name", "Pink Stained Clay"); - c.get("ItemList.159:7.MCName", "stained_hardened_clay"); - c.get("ItemList.159:7.Name", "Gray Stained Clay"); - c.get("ItemList.159:8.MCName", "stained_hardened_clay"); - c.get("ItemList.159:8.Name", "Light Gray Stained Clay"); - c.get("ItemList.159:9.MCName", "stained_hardened_clay"); - c.get("ItemList.159:9.Name", "Cyan Stained Clay"); - c.get("ItemList.159:10.MCName", "stained_hardened_clay"); - c.get("ItemList.159:10.Name", "Purple Stained Clay"); - c.get("ItemList.159:11.MCName", "stained_hardened_clay"); - c.get("ItemList.159:11.Name", "Blue Stained Clay"); - c.get("ItemList.159:12.MCName", "stained_hardened_clay"); - c.get("ItemList.159:12.Name", "Brown Stained Clay"); - c.get("ItemList.159:13.MCName", "stained_hardened_clay"); - c.get("ItemList.159:13.Name", "Green Stained Clay"); - c.get("ItemList.159:14.MCName", "stained_hardened_clay"); - c.get("ItemList.159:14.Name", "Red Stained Clay"); - c.get("ItemList.159:15.MCName", "stained_hardened_clay"); - c.get("ItemList.159:15.Name", "Black Stained Clay"); - c.get("ItemList.160.MCName", "stained_glass_pane"); - c.get("ItemList.160.Name", "All Stained Glass Panes"); - c.get("ItemList.160:0.MCName", "stained_glass_pane"); - c.get("ItemList.160:0.Name", "White Stained Glass Pane"); - c.get("ItemList.160:1.MCName", "stained_glass_pane"); - c.get("ItemList.160:1.Name", "Orange Stained Glass Pane"); - c.get("ItemList.160:2.MCName", "stained_glass_pane"); - c.get("ItemList.160:2.Name", "Magenta Stained Glass Pane"); - c.get("ItemList.160:3.MCName", "stained_glass_pane"); - c.get("ItemList.160:3.Name", "Light Blue Stained Glass Pane"); - c.get("ItemList.160:4.MCName", "stained_glass_pane"); - c.get("ItemList.160:4.Name", "Yellow Stained Glass Pane"); - c.get("ItemList.160:5.MCName", "stained_glass_pane"); - c.get("ItemList.160:5.Name", "Lime Stained Glass Pane"); - c.get("ItemList.160:6.MCName", "stained_glass_pane"); - c.get("ItemList.160:6.Name", "Pink Stained Glass Pane"); - c.get("ItemList.160:7.MCName", "stained_glass_pane"); - c.get("ItemList.160:7.Name", "Gray Stained Glass Pane"); - c.get("ItemList.160:8.MCName", "stained_glass_pane"); - c.get("ItemList.160:8.Name", "Light Gray Stained Glass Pane"); - c.get("ItemList.160:9.MCName", "stained_glass_pane"); - c.get("ItemList.160:9.Name", "Cyan Stained Glass Pane"); - c.get("ItemList.160:10.MCName", "stained_glass_pane"); - c.get("ItemList.160:10.Name", "Purple Stained Glass Pane"); - c.get("ItemList.160:11.MCName", "stained_glass_pane"); - c.get("ItemList.160:11.Name", "Blue Stained Glass Pane"); - c.get("ItemList.160:12.MCName", "stained_glass_pane"); - c.get("ItemList.160:12.Name", "Brown Stained Glass Pane"); - c.get("ItemList.160:13.MCName", "stained_glass_pane"); - c.get("ItemList.160:13.Name", "Green Stained Glass Pane"); - c.get("ItemList.160:14.MCName", "stained_glass_pane"); - c.get("ItemList.160:14.Name", "Red Stained Glass Pane"); - c.get("ItemList.160:15.MCName", "stained_glass_pane"); - c.get("ItemList.160:15.Name", "Black Stained Glass Pane"); - c.get("ItemList.161.MCName", "leaves2"); - c.get("ItemList.161.Name", "Acacia Or Dark Oak Leaves"); - c.get("ItemList.161:0.MCName", "leaves2"); - c.get("ItemList.161:0.Name", "Acacia Leaves"); - c.get("ItemList.161:1.MCName", "leaves2"); - c.get("ItemList.161:1.Name", "Dark Oak Leaves"); - c.get("ItemList.162.MCName", "logs2"); - c.get("ItemList.162.Name", "Acacia Or Dark Oak Wood"); - c.get("ItemList.162:0.MCName", "logs2"); - c.get("ItemList.162:0.Name", "Acacia Wood"); - c.get("ItemList.162:1.MCName", "logs2"); - c.get("ItemList.162:1.Name", "Dark Oak Wood"); - c.get("ItemList.163.MCName", "acacia_stairs"); - c.get("ItemList.163.Name", "Acacia Wood Stairs"); - c.get("ItemList.164.MCName", "dark_oak_stairs"); - c.get("ItemList.164.Name", "Dark Oak Wood Stairs"); - c.get("ItemList.165.MCName", "slime"); - c.get("ItemList.165.Name", "Slime Block"); - c.get("ItemList.166.MCName", "barrier"); - c.get("ItemList.166.Name", "Barrier"); - c.get("ItemList.167.MCName", "iron_trapdoor"); - c.get("ItemList.167.Name", "Iron Trapdoor"); - c.get("ItemList.168.MCName", "prismarine"); - c.get("ItemList.168.Name", "All Prismarine"); - c.get("ItemList.168:0.MCName", "prismarine"); - c.get("ItemList.168:0.Name", "Prismarine"); - c.get("ItemList.168:1.MCName", "prismarine"); - c.get("ItemList.168:1.Name", "Prismarine Bricks"); - c.get("ItemList.168:2.MCName", "prismarine"); - c.get("ItemList.168:2.Name", "Dark Prismarine"); - c.get("ItemList.169.MCName", "sea_lantern"); - c.get("ItemList.169.Name", "Sea Lantern"); - c.get("ItemList.170.MCName", "hay_block"); - c.get("ItemList.170.Name", "Hay Bale"); - c.get("ItemList.171.MCName", "carpet"); - c.get("ItemList.171.Name", "All Carpet"); - c.get("ItemList.171:0.MCName", "carpet"); - c.get("ItemList.171:0.Name", "White Carpet"); - c.get("ItemList.171:1.MCName", "carpet"); - c.get("ItemList.171:1.Name", "Orange Carpet"); - c.get("ItemList.171:2.MCName", "carpet"); - c.get("ItemList.171:2.Name", "Magenta Carpet"); - c.get("ItemList.171:3.MCName", "carpet"); - c.get("ItemList.171:3.Name", "Light Blue Carpet"); - c.get("ItemList.171:4.MCName", "carpet"); - c.get("ItemList.171:4.Name", "Yellow Carpet"); - c.get("ItemList.171:5.MCName", "carpet"); - c.get("ItemList.171:5.Name", "Lime Carpet"); - c.get("ItemList.171:6.MCName", "carpet"); - c.get("ItemList.171:6.Name", "Pink Carpet"); - c.get("ItemList.171:7.MCName", "carpet"); - c.get("ItemList.171:7.Name", "Gray Carpet"); - c.get("ItemList.171:8.MCName", "carpet"); - c.get("ItemList.171:8.Name", "Light Gray Carpet"); - c.get("ItemList.171:9.MCName", "carpet"); - c.get("ItemList.171:9.Name", "Cyan Carpet"); - c.get("ItemList.171:10.MCName", "carpet"); - c.get("ItemList.171:10.Name", "Purple Carpet"); - c.get("ItemList.171:11.MCName", "carpet"); - c.get("ItemList.171:11.Name", "Blue Carpet"); - c.get("ItemList.171:12.MCName", "carpet"); - c.get("ItemList.171:12.Name", "Brown Carpet"); - c.get("ItemList.171:13.MCName", "carpet"); - c.get("ItemList.171:13.Name", "Green Carpet"); - c.get("ItemList.171:14.MCName", "carpet"); - c.get("ItemList.171:14.Name", "Red Carpet"); - c.get("ItemList.171:15.MCName", "carpet"); - c.get("ItemList.171:15.Name", "Black Carpet"); - c.get("ItemList.172.MCName", "hardened_clay"); - c.get("ItemList.172.Name", "Hardened Clay"); - c.get("ItemList.173.MCName", "coal_block"); - c.get("ItemList.173.Name", "Block of Coal"); - c.get("ItemList.174.MCName", "packed_ice"); - c.get("ItemList.174.Name", "Packed Ice"); - c.get("ItemList.175.MCName", "double_plant"); - c.get("ItemList.175.Name", "All Big Flowers"); - c.get("ItemList.175:0.MCName", "double_plant"); - c.get("ItemList.175:0.Name", "Sunflower"); - c.get("ItemList.175:1.MCName", "double_plant"); - c.get("ItemList.175:1.Name", "Lilac"); - c.get("ItemList.175:2.MCName", "double_plant"); - c.get("ItemList.175:2.Name", "Double Tallgrass"); - c.get("ItemList.175:3.MCName", "double_plant"); - c.get("ItemList.175:3.Name", "Large Fern"); - c.get("ItemList.175:4.MCName", "double_plant"); - c.get("ItemList.175:4.Name", "Rose Bush"); - c.get("ItemList.175:5.MCName", "double_plant"); - c.get("ItemList.175:5.Name", "Peony"); - c.get("ItemList.176.MCName", "standing_banner"); - c.get("ItemList.176.Name", "Free-standing Banner"); - c.get("ItemList.177.MCName", "wall_banner"); - c.get("ItemList.177.Name", "Wall-mounted Banner"); - c.get("ItemList.178.MCName", "daylight_detector_inverted"); - c.get("ItemList.178.Name", "Inverted Daylight Sensor"); - c.get("ItemList.179.MCName", "red_sandstone"); - c.get("ItemList.179.Name", "Red Sandstone"); - c.get("ItemList.179:1.MCName", "red_sandstone"); - c.get("ItemList.179:1.Name", "Chiseled Red Sandstone"); - c.get("ItemList.179:2.MCName", "red_sandstone"); - c.get("ItemList.179:2.Name", "Smooth Red Sandstone"); - c.get("ItemList.180.MCName", "red_sandstone_stairs"); - c.get("ItemList.180.Name", "Red Sandstone Stairs"); - c.get("ItemList.181.MCName", "stone_slab2"); - c.get("ItemList.181.Name", "Double Red Sandstone Slab"); - c.get("ItemList.182.MCName", "double_stone_slab2"); - c.get("ItemList.182.Name", "Red Sandstone Slab"); - c.get("ItemList.183.MCName", "spruce_fence_gate"); - c.get("ItemList.183.Name", "Spruce Fence Gate"); - c.get("ItemList.184.MCName", "birch_fence_gate"); - c.get("ItemList.184.Name", "Birch Fence Gate"); - c.get("ItemList.185.MCName", "jungle_fence_gate"); - c.get("ItemList.185.Name", "Jungle Fence Gate"); - c.get("ItemList.186.MCName", "dark_oak_fence_gate"); - c.get("ItemList.186.Name", "Dark Oak Fence Gate"); - c.get("ItemList.187.MCName", "acacia_fence_gate"); - c.get("ItemList.187.Name", "Acacia Fence Gate"); - c.get("ItemList.188.MCName", "spruce_fence"); - c.get("ItemList.188.Name", "Spruce Fence"); - c.get("ItemList.189.MCName", "birch_fence"); - c.get("ItemList.189.Name", "Birch Fence"); - c.get("ItemList.190.MCName", "jungle_fence"); - c.get("ItemList.190.Name", "Jungle Fence"); - c.get("ItemList.191.MCName", "dark_oak_fence"); - c.get("ItemList.191.Name", "Dark Oak Fence"); - c.get("ItemList.192.MCName", "acacia_fence"); - c.get("ItemList.192.Name", "Acacia Fence"); - c.get("ItemList.193.MCName", "spruce_door"); - c.get("ItemList.193.Name", "Spure Door Block"); - c.get("ItemList.194.MCName", "birch_door"); - c.get("ItemList.194.Name", "Birch Door Block"); - c.get("ItemList.195.MCName", "jungle_door"); - c.get("ItemList.195.Name", "Jungle Door Block"); - c.get("ItemList.196.MCName", "acacia_door"); - c.get("ItemList.196.Name", "Acacia Door Block"); - c.get("ItemList.197.MCName", "dark_oak_door"); - c.get("ItemList.197.Name", "Dark Oak Door Block"); - c.get("ItemList.198.MCName", "end_rod"); - c.get("ItemList.198.Name", "End Rod"); - c.get("ItemList.199.MCName", "chorus_plant"); - c.get("ItemList.199.Name", "Chorus Plant"); - c.get("ItemList.200.MCName", "chorus_flower"); - c.get("ItemList.200.Name", "Chorus Flower"); - c.get("ItemList.201.MCName", "purpur_block"); - c.get("ItemList.201.Name", "Purpur Block"); - c.get("ItemList.202.MCName", "purpur_pillar"); - c.get("ItemList.202.Name", "Purpur Pillar"); - c.get("ItemList.203.MCName", "purpur_stairs"); - c.get("ItemList.203.Name", "Purpur Stairs"); - c.get("ItemList.204.MCName", "purpur_double_slab"); - c.get("ItemList.204.Name", "Double Purpur Slab"); - c.get("ItemList.205.MCName", "purpur_slab"); - c.get("ItemList.205.Name", "Purpur Slab"); - c.get("ItemList.206.MCName", "end_bricks"); - c.get("ItemList.206.Name", "End Stone Bricks"); - c.get("ItemList.207.MCName", "beetroots"); - c.get("ItemList.207.Name", "Beetroot Block"); - c.get("ItemList.208.MCName", "grass_path"); - c.get("ItemList.208.Name", "Grass Path"); - c.get("ItemList.209.MCName", "end_gateway"); - c.get("ItemList.209.Name", "End Gateway Block"); - c.get("ItemList.212.MCName", "frosted_ice"); - c.get("ItemList.212.Name", "Frosted Ice"); - c.get("ItemList.256.MCName", "iron_shovel"); - c.get("ItemList.256.Name", "Iron Shovel"); - c.get("ItemList.257.MCName", "iron_pickaxe"); - c.get("ItemList.257.Name", "Iron Pickaxe"); - c.get("ItemList.258.MCName", "iron_axe"); - c.get("ItemList.258.Name", "Iron Axe"); - c.get("ItemList.259.MCName", "flint_and_steel"); - c.get("ItemList.259.Name", "Flint and Steel"); - c.get("ItemList.260.MCName", "apple"); - c.get("ItemList.260.Name", "Apple"); - c.get("ItemList.261.MCName", "bow"); - c.get("ItemList.261.Name", "Bow"); - c.get("ItemList.262.MCName", "arrow"); - c.get("ItemList.262.Name", "Arrow"); - c.get("ItemList.263.MCName", "coal"); - c.get("ItemList.263.Name", "Coal"); - c.get("ItemList.263:1.MCName", "coal"); - c.get("ItemList.263:1.Name", "Charcoal"); - c.get("ItemList.264.MCName", "diamond"); - c.get("ItemList.264.Name", "Diamond"); - c.get("ItemList.265.MCName", "iron_ingot"); - c.get("ItemList.265.Name", "Iron Ingot"); - c.get("ItemList.266.MCName", "gold_ingot"); - c.get("ItemList.266.Name", "Gold Ingot"); - c.get("ItemList.267.MCName", "iron_sword"); - c.get("ItemList.267.Name", "Iron Sword"); - c.get("ItemList.268.MCName", "wooden_sword"); - c.get("ItemList.268.Name", "Wooden Sword"); - c.get("ItemList.269.MCName", "wooden_shovel"); - c.get("ItemList.269.Name", "Wooden Shovel"); - c.get("ItemList.270.MCName", "wooden_pickaxe"); - c.get("ItemList.270.Name", "Wooden Pickaxe"); - c.get("ItemList.271.MCName", "wooden_axe"); - c.get("ItemList.271.Name", "Wooden Axe"); - c.get("ItemList.272.MCName", "stone_sword"); - c.get("ItemList.272.Name", "Stone Sword"); - c.get("ItemList.273.MCName", "stone_shovel"); - c.get("ItemList.273.Name", "Stone Shovel"); - c.get("ItemList.274.MCName", "stone_pickaxe"); - c.get("ItemList.274.Name", "Stone Pickaxe"); - c.get("ItemList.275.MCName", "stone_axe"); - c.get("ItemList.275.Name", "Stone Axe"); - c.get("ItemList.276.MCName", "diamond_sword"); - c.get("ItemList.276.Name", "Diamond Sword"); - c.get("ItemList.277.MCName", "diamond_shovel"); - c.get("ItemList.277.Name", "Diamond Shovel"); - c.get("ItemList.278.MCName", "diamond_pickaxe"); - c.get("ItemList.278.Name", "Diamond Pickaxe"); - c.get("ItemList.279.MCName", "diamond_axe"); - c.get("ItemList.279.Name", "Diamond Axe"); - c.get("ItemList.280.MCName", "stick"); - c.get("ItemList.280.Name", "Stick"); - c.get("ItemList.281.MCName", "bowl"); - c.get("ItemList.281.Name", "Bowl"); - c.get("ItemList.282.MCName", "mushroom_stew"); - c.get("ItemList.282.Name", "Mushroom Stew"); - c.get("ItemList.283.MCName", "golden_sword"); - c.get("ItemList.283.Name", "Golden Sword"); - c.get("ItemList.284.MCName", "golden_shovel"); - c.get("ItemList.284.Name", "Golden Shovel"); - c.get("ItemList.285.MCName", "golden_pickaxe"); - c.get("ItemList.285.Name", "Golden Pickaxe"); - c.get("ItemList.286.MCName", "golden_axe"); - c.get("ItemList.286.Name", "Golden Axe"); - c.get("ItemList.287.MCName", "string"); - c.get("ItemList.287.Name", "String"); - c.get("ItemList.288.MCName", "feather"); - c.get("ItemList.288.Name", "Feather"); - c.get("ItemList.289.MCName", "gunpowder"); - c.get("ItemList.289.Name", "Gunpowder"); - c.get("ItemList.290.MCName", "wooden_hoe"); - c.get("ItemList.290.Name", "Wooden Hoe"); - c.get("ItemList.291.MCName", "stone_hoe"); - c.get("ItemList.291.Name", "Stone Hoe"); - c.get("ItemList.292.MCName", "iron_hoe"); - c.get("ItemList.292.Name", "Iron Hoe"); - c.get("ItemList.293.MCName", "diamond_hoe"); - c.get("ItemList.293.Name", "Diamond Hoe"); - c.get("ItemList.294.MCName", "golden_hoe"); - c.get("ItemList.294.Name", "Golden Hoe"); - c.get("ItemList.295.MCName", "wheat_seeds"); - c.get("ItemList.295.Name", "Wheat Seeds"); - c.get("ItemList.296.MCName", "wheat"); - c.get("ItemList.296.Name", "Wheat"); - c.get("ItemList.297.MCName", "bread"); - c.get("ItemList.297.Name", "Bread"); - c.get("ItemList.298.MCName", "leather_helmet"); - c.get("ItemList.298.Name", "Leather Helmet"); - c.get("ItemList.299.MCName", "leather_chestplate"); - c.get("ItemList.299.Name", "Leather Tunic"); - c.get("ItemList.300.MCName", "leather_leggings"); - c.get("ItemList.300.Name", "Leather Pants"); - c.get("ItemList.301.MCName", "leather_boots"); - c.get("ItemList.301.Name", "Leather Boots"); - c.get("ItemList.302.MCName", "chainmail_helmet"); - c.get("ItemList.302.Name", "Chainmail Helmet"); - c.get("ItemList.303.MCName", "chainmail_chestplate"); - c.get("ItemList.303.Name", "Chainmail Chestplate"); - c.get("ItemList.304.MCName", "chainmail_leggings"); - c.get("ItemList.304.Name", "Chainmail Leggings"); - c.get("ItemList.305.MCName", "chainmail_boots"); - c.get("ItemList.305.Name", "Chainmail Boots"); - c.get("ItemList.306.MCName", "iron_helmet"); - c.get("ItemList.306.Name", "Iron Helmet"); - c.get("ItemList.307.MCName", "iron_chestplate"); - c.get("ItemList.307.Name", "Iron Chestplate"); - c.get("ItemList.308.MCName", "iron_leggings"); - c.get("ItemList.308.Name", "Iron Leggings"); - c.get("ItemList.309.MCName", "iron_boots"); - c.get("ItemList.309.Name", "Iron Boots"); - c.get("ItemList.310.MCName", "diamond_helmet"); - c.get("ItemList.310.Name", "Diamond Helmet"); - c.get("ItemList.311.MCName", "diamond_chestplate"); - c.get("ItemList.311.Name", "Diamond Chestplate"); - c.get("ItemList.312.MCName", "diamond_leggings"); - c.get("ItemList.312.Name", "Diamond Leggings"); - c.get("ItemList.313.MCName", "diamond_boots"); - c.get("ItemList.313.Name", "Diamond Boots"); - c.get("ItemList.314.MCName", "golden_helmet"); - c.get("ItemList.314.Name", "Golden Helmet"); - c.get("ItemList.315.MCName", "golden_chestplate"); - c.get("ItemList.315.Name", "Golden Chestplate"); - c.get("ItemList.316.MCName", "golden_leggings"); - c.get("ItemList.316.Name", "Golden Leggings"); - c.get("ItemList.317.MCName", "golden_boots"); - c.get("ItemList.317.Name", "Golden Boots"); - c.get("ItemList.318.MCName", "flint_and_steel"); - c.get("ItemList.318.Name", "Flint"); - c.get("ItemList.319.MCName", "porkchop"); - c.get("ItemList.319.Name", "Raw Porkchop"); - c.get("ItemList.320.MCName", "cooked_porkchop"); - c.get("ItemList.320.Name", "Cooked Porkchop"); - c.get("ItemList.321.MCName", "painting"); - c.get("ItemList.321.Name", "Painting"); - c.get("ItemList.322.MCName", "golden_apple"); - c.get("ItemList.322.Name", "Golden Apple"); - c.get("ItemList.322:1.MCName", "golden_apple"); - c.get("ItemList.322:1.Name", "Enchanted Golden Apple"); - c.get("ItemList.323.MCName", "sign"); - c.get("ItemList.323.Name", "Sign"); - c.get("ItemList.324.MCName", "wooden_door"); - c.get("ItemList.324.Name", "Wooden Door"); - c.get("ItemList.325.MCName", "bucket"); - c.get("ItemList.325.Name", "Bucket"); - c.get("ItemList.326.MCName", "water_bucket"); - c.get("ItemList.326.Name", "Water Bucket"); - c.get("ItemList.327.MCName", "lava_bucket"); - c.get("ItemList.327.Name", "Lava Bucket"); - c.get("ItemList.328.MCName", "minecart"); - c.get("ItemList.328.Name", "Minecart"); - c.get("ItemList.329.MCName", "saddle"); - c.get("ItemList.329.Name", "Saddle"); - c.get("ItemList.330.MCName", "iron_door"); - c.get("ItemList.330.Name", "Iron Door"); - c.get("ItemList.331.MCName", "redstone"); - c.get("ItemList.331.Name", "Redstone"); - c.get("ItemList.332.MCName", "snowball"); - c.get("ItemList.332.Name", "Snowball"); - c.get("ItemList.333.MCName", "boat"); - c.get("ItemList.333.Name", "Boat"); - c.get("ItemList.334.MCName", "leather"); - c.get("ItemList.334.Name", "Leather"); - c.get("ItemList.335.MCName", "milk_bucket"); - c.get("ItemList.335.Name", "Milk Bucket"); - c.get("ItemList.336.MCName", "brick"); - c.get("ItemList.336.Name", "Brick"); - c.get("ItemList.337.MCName", "clay_ball"); - c.get("ItemList.337.Name", "Clay Ball"); - c.get("ItemList.338.MCName", "reeds"); - c.get("ItemList.338.Name", "Sugar Canes"); - c.get("ItemList.339.MCName", "paper"); - c.get("ItemList.339.Name", "Paper"); - c.get("ItemList.340.MCName", "book"); - c.get("ItemList.340.Name", "Book"); - c.get("ItemList.341.MCName", "slime_ball"); - c.get("ItemList.341.Name", "Slimeball"); - c.get("ItemList.342.MCName", "chest_minecart"); - c.get("ItemList.342.Name", "Minecart with Chest"); - c.get("ItemList.343.MCName", "furnace_minecart"); - c.get("ItemList.343.Name", "Minecart with Furnace"); - c.get("ItemList.344.MCName", "egg"); - c.get("ItemList.344.Name", "Egg"); - c.get("ItemList.345.MCName", "compass"); - c.get("ItemList.345.Name", "Compass"); - c.get("ItemList.346.MCName", "fishing_rod"); - c.get("ItemList.346.Name", "Fishing Rod"); - c.get("ItemList.347.MCName", "clock"); - c.get("ItemList.347.Name", "Clock"); - c.get("ItemList.348.MCName", "glowstone_dust"); - c.get("ItemList.348.Name", "Glowstone Dust"); - c.get("ItemList.349.MCName", "fish"); - c.get("ItemList.349.Name", "Raw Fish"); - c.get("ItemList.349:1.MCName", "fish"); - c.get("ItemList.349:1.Name", "Raw Salmon"); - c.get("ItemList.349:2.MCName", "fish"); - c.get("ItemList.349:2.Name", "Clownfish"); - c.get("ItemList.349:3.MCName", "fish"); - c.get("ItemList.349:3.Name", "Pufferfish"); - c.get("ItemList.350.MCName", "cooked_fish"); - c.get("ItemList.350.Name", "Cooked Fish"); - c.get("ItemList.350:1.MCName", "cooked_fish"); - c.get("ItemList.350:1.Name", "Cooked Salmon"); - c.get("ItemList.351.MCName", "dye"); - c.get("ItemList.351.Name", "All Dyes"); - c.get("ItemList.351:0.MCName", "dye"); - c.get("ItemList.351:0.Name", "Ink Sack"); - c.get("ItemList.351:1.MCName", "dye"); - c.get("ItemList.351:1.Name", "Rose Red"); - c.get("ItemList.351:2.MCName", "dye"); - c.get("ItemList.351:2.Name", "Cactus Green"); - c.get("ItemList.351:3.MCName", "dye"); - c.get("ItemList.351:3.Name", "Coco Beans"); - c.get("ItemList.351:4.MCName", "dye"); - c.get("ItemList.351:4.Name", "Lapis Lazuli"); - c.get("ItemList.351:5.MCName", "dye"); - c.get("ItemList.351:5.Name", "Purple Dye"); - c.get("ItemList.351:6.MCName", "dye"); - c.get("ItemList.351:6.Name", "Cyan Dye"); - c.get("ItemList.351:7.MCName", "dye"); - c.get("ItemList.351:7.Name", "Light Gray Dye"); - c.get("ItemList.351:8.MCName", "dye"); - c.get("ItemList.351:8.Name", "Gray Dye"); - c.get("ItemList.351:9.MCName", "dye"); - c.get("ItemList.351:9.Name", "Pink Dye"); - c.get("ItemList.351:10.MCName", "dye"); - c.get("ItemList.351:10.Name", "Lime Dye"); - c.get("ItemList.351:11.MCName", "dye"); - c.get("ItemList.351:11.Name", "Dandelion Yellow"); - c.get("ItemList.351:12.MCName", "dye"); - c.get("ItemList.351:12.Name", "Light Blue Dye"); - c.get("ItemList.351:13.MCName", "dye"); - c.get("ItemList.351:13.Name", "Magenta Dye"); - c.get("ItemList.351:14.MCName", "dye"); - c.get("ItemList.351:14.Name", "Orange Dye"); - c.get("ItemList.351:15.MCName", "dye"); - c.get("ItemList.351:15.Name", "Bone Meal"); - c.get("ItemList.352.MCName", "bone"); - c.get("ItemList.352.Name", "Bone"); - c.get("ItemList.353.MCName", "sugar"); - c.get("ItemList.353.Name", "Sugar"); - c.get("ItemList.354.MCName", "cake"); - c.get("ItemList.354.Name", "Cake"); - c.get("ItemList.355.MCName", "bed"); - c.get("ItemList.355.Name", "Bed"); - c.get("ItemList.356.MCName", "repeater"); - c.get("ItemList.356.Name", "Redstone Repeater"); - c.get("ItemList.357.MCName", "cookie"); - c.get("ItemList.357.Name", "Cookie"); - c.get("ItemList.358.MCName", "filled_map"); - c.get("ItemList.358.Name", "Map"); - c.get("ItemList.359.MCName", "shears"); - c.get("ItemList.359.Name", "Shears"); - c.get("ItemList.360.MCName", "melon"); - c.get("ItemList.360.Name", "Melon"); - c.get("ItemList.361.MCName", "pumpkin_seeds"); - c.get("ItemList.361.Name", "Pumpkin Seeds"); - c.get("ItemList.362.MCName", "melon_seeds"); - c.get("ItemList.362.Name", "Melon Seeds"); - c.get("ItemList.363.MCName", "beef"); - c.get("ItemList.363.Name", "Raw Beef"); - c.get("ItemList.364.MCName", "cooked_beef"); - c.get("ItemList.364.Name", "Steak"); - c.get("ItemList.365.MCName", "chicken"); - c.get("ItemList.365.Name", "Raw Chicken"); - c.get("ItemList.366.MCName", "cooked_chicken"); - c.get("ItemList.366.Name", "Cooked Chicken"); - c.get("ItemList.367.MCName", "rotten_flesh"); - c.get("ItemList.367.Name", "Rotten Flesh"); - c.get("ItemList.368.MCName", "ender_pearl"); - c.get("ItemList.368.Name", "Ender Pearl"); - c.get("ItemList.369.MCName", "blaze_rod"); - c.get("ItemList.369.Name", "Blaze Rod"); - c.get("ItemList.370.MCName", "ghast_tear"); - c.get("ItemList.370.Name", "Ghast Tear"); - c.get("ItemList.371.MCName", "gold_nugget"); - c.get("ItemList.371.Name", "Gold Nugget"); - c.get("ItemList.372.MCName", "nether_wart"); - c.get("ItemList.372.Name", "Nether Wart"); - c.get("ItemList.373.MCName", "potion"); - c.get("ItemList.373.Name", "Potion"); - c.get("ItemList.374.MCName", "glass_bottle"); - c.get("ItemList.374.Name", "Glass Bottle"); - c.get("ItemList.375.MCName", "spider_eye"); - c.get("ItemList.375.Name", "Spider Eye"); - c.get("ItemList.376.MCName", "fermented_spider_eye"); - c.get("ItemList.376.Name", "Fermented Spider Eye"); - c.get("ItemList.377.MCName", "blaze_powder"); - c.get("ItemList.377.Name", "Blaze Powder"); - c.get("ItemList.378.MCName", "magma_cream"); - c.get("ItemList.378.Name", "Magma Cream"); - c.get("ItemList.379.MCName", "brewing_stand"); - c.get("ItemList.379.Name", "Brewing Stand"); - c.get("ItemList.380.MCName", "cauldron"); - c.get("ItemList.380.Name", "Cauldron"); - c.get("ItemList.381.MCName", "ender_eye"); - c.get("ItemList.381.Name", "Eye of Ender"); - c.get("ItemList.382.MCName", "speckled_melon"); - c.get("ItemList.382.Name", "Glistering Melon"); - c.get("ItemList.383:50.MCName", "spawn_egg"); - c.get("ItemList.383:50.Name", "Spawn Creeper"); - c.get("ItemList.383:51.MCName", "spawn_egg"); - c.get("ItemList.383:51.Name", "Spawn Skeleton"); - c.get("ItemList.383:52.MCName", "spawn_egg"); - c.get("ItemList.383:52.Name", "Spawn Spider"); - c.get("ItemList.383:54.MCName", "spawn_egg"); - c.get("ItemList.383:54.Name", "Spawn Zombie"); - c.get("ItemList.383:55.MCName", "spawn_egg"); - c.get("ItemList.383:55.Name", "Spawn Slime"); - c.get("ItemList.383:56.MCName", "spawn_egg"); - c.get("ItemList.383:56.Name", "Spawn Ghast"); - c.get("ItemList.383:57.MCName", "spawn_egg"); - c.get("ItemList.383:57.Name", "Spawn Pigman"); - c.get("ItemList.383:58.MCName", "spawn_egg"); - c.get("ItemList.383:58.Name", "Spawn Enderman"); - c.get("ItemList.383:59.MCName", "spawn_egg"); - c.get("ItemList.383:59.Name", "Spawn Cave Spider"); - c.get("ItemList.383:60.MCName", "spawn_egg"); - c.get("ItemList.383:60.Name", "Spawn Silverfish"); - c.get("ItemList.383:61.MCName", "spawn_egg"); - c.get("ItemList.383:61.Name", "Spawn Blaze"); - c.get("ItemList.383:62.MCName", "spawn_egg"); - c.get("ItemList.383:62.Name", "Spawn Magma Cube"); - c.get("ItemList.383:65.MCName", "spawn_egg"); - c.get("ItemList.383:65.Name", "Spawn Bat"); - c.get("ItemList.383:66.MCName", "spawn_egg"); - c.get("ItemList.383:66.Name", "Spawn Witch"); - c.get("ItemList.383:67.MCName", "spawn_egg"); - c.get("ItemList.383:67.Name", "Spawn Endermite"); - c.get("ItemList.383:68.MCName", "spawn_egg"); - c.get("ItemList.383:68.Name", "Spawn Guardian"); - c.get("ItemList.383:90.MCName", "spawn_egg"); - c.get("ItemList.383:90.Name", "Spawn Pig"); - c.get("ItemList.383:91.MCName", "spawn_egg"); - c.get("ItemList.383:91.Name", "Spawn Sheep"); - c.get("ItemList.383:92.MCName", "spawn_egg"); - c.get("ItemList.383:92.Name", "Spawn Cow"); - c.get("ItemList.383:93.MCName", "spawn_egg"); - c.get("ItemList.383:93.Name", "Spawn Chicken"); - c.get("ItemList.383:94.MCName", "spawn_egg"); - c.get("ItemList.383:94.Name", "Spawn Squid"); - c.get("ItemList.383:95.MCName", "spawn_egg"); - c.get("ItemList.383:95.Name", "Spawn Wolf"); - c.get("ItemList.383:96.MCName", "spawn_egg"); - c.get("ItemList.383:96.Name", "Spawn Mooshroom"); - c.get("ItemList.383:98.MCName", "spawn_egg"); - c.get("ItemList.383:98.Name", "Spawn Ocelot"); - c.get("ItemList.383:100.MCName", "spawn_egg"); - c.get("ItemList.383:100.Name", "Spawn Horse"); - c.get("ItemList.383:101.MCName", "spawn_egg"); - c.get("ItemList.383:101.Name", "Spawn Rabbit"); - c.get("ItemList.383:120.MCName", "spawn_egg"); - c.get("ItemList.383:120.Name", "Spawn Villager"); - c.get("ItemList.384.MCName", "experience_bottle"); - c.get("ItemList.384.Name", "Bottle o' Enchanting"); - c.get("ItemList.385.MCName", "fire_charge"); - c.get("ItemList.385.Name", "Fire Charge"); - c.get("ItemList.386.MCName", "writable_book"); - c.get("ItemList.386.Name", "Book and Quill"); - c.get("ItemList.387.MCName", "written_book"); - c.get("ItemList.387.Name", "Written Book"); - c.get("ItemList.388.MCName", "emerald"); - c.get("ItemList.388.Name", "Emerald"); - c.get("ItemList.389.MCName", "item_frame"); - c.get("ItemList.389.Name", "Item Frame"); - c.get("ItemList.390.MCName", "flower_pot"); - c.get("ItemList.390.Name", "Flower Pot"); - c.get("ItemList.391.MCName", "carrot"); - c.get("ItemList.391.Name", "Carrot"); - c.get("ItemList.392.MCName", "potato"); - c.get("ItemList.392.Name", "Potato"); - c.get("ItemList.393.MCName", "baked_potato"); - c.get("ItemList.393.Name", "Baked Potato"); - c.get("ItemList.394.MCName", "poisonous_potato"); - c.get("ItemList.394.Name", "Poisonous Potato"); - c.get("ItemList.395.MCName", "map"); - c.get("ItemList.395.Name", "Empty Map"); - c.get("ItemList.396.MCName", "golden_carrot"); - c.get("ItemList.396.Name", "Golden Carrot"); - c.get("ItemList.397.MCName", "skull"); - c.get("ItemList.397.Name", "Mob Head (Skeleton)"); - c.get("ItemList.397:1.MCName", "skull"); - c.get("ItemList.397:1.Name", "Mob Head (Wither Skeleton)"); - c.get("ItemList.397:2.MCName", "skull"); - c.get("ItemList.397:2.Name", "Mob Head (Zombie)"); - c.get("ItemList.397:3.MCName", "skull"); - c.get("ItemList.397:3.Name", "Mob Head (Human)"); - c.get("ItemList.397:4.MCName", "skull"); - c.get("ItemList.397:4.Name", "Mob Head (Creeper)"); - c.get("ItemList.398.MCName", "carrot_on_a_stick"); - c.get("ItemList.398.Name", "Carrot on a Stick"); - c.get("ItemList.399.MCName", "nether_star"); - c.get("ItemList.399.Name", "Nether Star"); - c.get("ItemList.400.MCName", "pumpkin_pie"); - c.get("ItemList.400.Name", "Pumpkin Pie"); - c.get("ItemList.401.MCName", "fireworks"); - c.get("ItemList.401.Name", "Firework Rocket"); - c.get("ItemList.402.MCName", "firework_charge"); - c.get("ItemList.402.Name", "Firework Star"); - c.get("ItemList.403.MCName", "enchanted_book"); - c.get("ItemList.403.Name", "Enchanted Book"); - c.get("ItemList.404.MCName", "comparator"); - c.get("ItemList.404.Name", "Redstone Comparator"); - c.get("ItemList.405.MCName", "netherbrick"); - c.get("ItemList.405.Name", "Nether Brick"); - c.get("ItemList.406.MCName", "quartz"); - c.get("ItemList.406.Name", "Nether Quartz"); - c.get("ItemList.407.MCName", "tnt_minecart"); - c.get("ItemList.407.Name", "Minecart with TNT"); - c.get("ItemList.408.MCName", "hopper_minecart"); - c.get("ItemList.408.Name", "Minecart with Hopper"); - c.get("ItemList.409.MCName", "prismarine_shard"); - c.get("ItemList.409.Name", "Prismarine Shard"); - c.get("ItemList.410.MCName", "prismarine_crystals"); - c.get("ItemList.410.Name", "Prismarine Crystals"); - c.get("ItemList.411.MCName", "rabbit"); - c.get("ItemList.411.Name", "Raw Rabbit"); - c.get("ItemList.412.MCName", "cooked_rabbit"); - c.get("ItemList.412.Name", "Cooked Rabbit"); - c.get("ItemList.413.MCName", "rabbit_stew"); - c.get("ItemList.413.Name", "Rabbit Stew"); - c.get("ItemList.414.MCName", "rabbit_foot"); - c.get("ItemList.414.Name", "Rabbit's Foot"); - c.get("ItemList.415.MCName", "rabbit_hide"); - c.get("ItemList.415.Name", "Rabbit Hide"); - c.get("ItemList.416.MCName", "armor_stand"); - c.get("ItemList.416.Name", "Armor Stand"); - c.get("ItemList.417.MCName", "iron_horse_armor"); - c.get("ItemList.417.Name", "Iron Horse Armor"); - c.get("ItemList.418.MCName", "golden_horse_armor"); - c.get("ItemList.418.Name", "Golden Horse Armor"); - c.get("ItemList.419.MCName", "diamond_horse_armor"); - c.get("ItemList.419.Name", "Diamond Horse Armor"); - c.get("ItemList.420.MCName", "lead"); - c.get("ItemList.420.Name", "Lead"); - c.get("ItemList.421.MCName", "name_tag"); - c.get("ItemList.421.Name", "Name Tag"); - c.get("ItemList.422.MCName", "command_block_minecart"); - c.get("ItemList.422.Name", "Minecart with Command Block"); - c.get("ItemList.423.MCName", "mutton"); - c.get("ItemList.423.Name", "Raw Mutton"); - c.get("ItemList.424.MCName", "cooked_mutton"); - c.get("ItemList.424.Name", "Cooked Mutton"); - c.get("ItemList.425.MCName", "banner"); - c.get("ItemList.425.Name", "Banner"); - c.get("ItemList.426.MCName", "end_crystal"); - c.get("ItemList.426.Name", "End Crystal"); - c.get("ItemList.427.MCName", "spruce_door"); - c.get("ItemList.427.Name", "Spruce Door"); - c.get("ItemList.428.MCName", "birch_door"); - c.get("ItemList.428.Name", "Birch Door"); - c.get("ItemList.429.MCName", "jungle_door"); - c.get("ItemList.429.Name", "Jungle Door"); - c.get("ItemList.430.MCName", "acacia_door"); - c.get("ItemList.430.Name", "Acacia Door"); - c.get("ItemList.431.MCName", "dark_oak_door"); - c.get("ItemList.431.Name", "Dark Oak Door"); - c.get("ItemList.432.MCName", "chorus_fruit"); - c.get("ItemList.432.Name", "Chorus Fruit"); - c.get("ItemList.433.MCName", "chorus_fruit_popped"); - c.get("ItemList.433.Name", "Popped Chorus Fruit"); - c.get("ItemList.434.MCName", "beetroot"); - c.get("ItemList.434.Name", "Beetroot"); - c.get("ItemList.435.MCName", "beetroot_seeds"); - c.get("ItemList.435.Name", "Beetroot Seeds"); - c.get("ItemList.436.MCName", "beetroot_soup"); - c.get("ItemList.436.Name", "Beetroot Soup"); - c.get("ItemList.437.MCName", "dragon_breath"); - c.get("ItemList.437.Name", "Dragon's Breath"); - c.get("ItemList.439.MCName", "spectral_arrow"); - c.get("ItemList.439.Name", "Spectral Arrow"); - c.get("ItemList.440.MCName", "tipped_arrow"); - c.get("ItemList.440.Name", "Tipped Arrow"); - c.get("ItemList.441.MCName", "lingering_potion"); - c.get("ItemList.441.Name", "Lingering Potion"); - c.get("ItemList.442.MCName", "shield"); - c.get("ItemList.442.Name", "Shield"); - c.get("ItemList.443.MCName", "elytra"); - c.get("ItemList.443.Name", "Elytra"); - c.get("ItemList.2256.MCName", "record_13"); - c.get("ItemList.2256.Name", "13 Disc"); - c.get("ItemList.2257.MCName", "record_cat"); - c.get("ItemList.2257.Name", "Cat Disc"); - c.get("ItemList.2258.MCName", "record_blocks"); - c.get("ItemList.2258.Name", "Blocks Disc"); - c.get("ItemList.2259.MCName", "record_chirp"); - c.get("ItemList.2259.Name", "Chirp Disc"); - c.get("ItemList.2260.MCName", "record_far"); - c.get("ItemList.2260.Name", "Far Disc"); - c.get("ItemList.2261.MCName", "record_mall"); - c.get("ItemList.2261.Name", "Mall Disc"); - c.get("ItemList.2262.MCName", "record_mellohi"); - c.get("ItemList.2262.Name", "Mellohi Disc"); - c.get("ItemList.2263.MCName", "record_stal"); - c.get("ItemList.2263.Name", "Stal Disc"); - c.get("ItemList.2264.MCName", "record_strad"); - c.get("ItemList.2264.Name", "Strad Disc"); - c.get("ItemList.2265.MCName", "record_ward"); - c.get("ItemList.2265.Name", "Ward Disc"); - c.get("ItemList.2266.MCName", "record_11"); - c.get("ItemList.2266.Name", "11 Disc"); - c.get("ItemList.2267.MCName", "record_wait"); - c.get("ItemList.2267.Name", "Wait Disc"); + File file = new File(plugin.getDataFolder(), "TranslatableWords.yml"); + File file2 = new File(plugin.getDataFolder(), "TranslatableWords" + File.separator + "Words_" + Jobs.getGCManager().localeString + ".yml"); + if (file.exists()) + file.renameTo(file2); - // Entity list - c.get("EntityList.-1.MCName", "Player"); - c.get("EntityList.-1.Name", "Player"); - c.get("EntityList.50.MCName", "Creeper"); - c.get("EntityList.50.Name", "Creeper"); - c.get("EntityList.51.MCName", "Skeleton"); - c.get("EntityList.51.Name", "Skeleton"); - c.get("EntityList.51:1.MCName", "Skeleton"); - c.get("EntityList.51:1.Name", "WitherSkeleton"); - c.get("EntityList.51:2.MCName", "Skeleton"); - c.get("EntityList.51:2.Name", "Skeleton Stray"); - c.get("EntityList.52.MCName", "Spider"); - c.get("EntityList.52.Name", "Spider"); - c.get("EntityList.53.MCName", "Giant"); - c.get("EntityList.53.Name", "Giant"); - c.get("EntityList.54.MCName", "Zombie"); - c.get("EntityList.54.Name", "Zombie"); - c.get("EntityList.54:1.MCName", "Zombie"); - c.get("EntityList.54:1.Name", "Zombie Villager"); - c.get("EntityList.54:2.MCName", "Zombie"); - c.get("EntityList.54:2.Name", "Zombie Husk"); - c.get("EntityList.55.MCName", "Slime"); - c.get("EntityList.55.Name", "Slime"); - c.get("EntityList.56.MCName", "Ghast"); - c.get("EntityList.56.Name", "Ghast"); - c.get("EntityList.57.MCName", "PigZombie"); - c.get("EntityList.57.Name", "Zombie Pigman"); - c.get("EntityList.58.MCName", "Enderman"); - c.get("EntityList.58.Name", "Enderman"); - c.get("EntityList.59.MCName", "CaveSpider"); - c.get("EntityList.59.Name", "Cave Spider"); - c.get("EntityList.60.MCName", "Silverfish"); - c.get("EntityList.60.Name", "Silverfish"); - c.get("EntityList.61.MCName", "Blaze"); - c.get("EntityList.61.Name", "Blaze"); - c.get("EntityList.62.MCName", "LavaSlime"); - c.get("EntityList.62.Name", "LavaSlime"); - c.get("EntityList.63.MCName", "EnderDragon"); - c.get("EntityList.63.Name", "EnderDragon"); - c.get("EntityList.64.MCName", "WitherBoss"); - c.get("EntityList.64.Name", "Wither"); - c.get("EntityList.65.MCName", "Bat"); - c.get("EntityList.65.Name", "Bat"); - c.get("EntityList.66.MCName", "Witch"); - c.get("EntityList.66.Name", "Witch"); - c.get("EntityList.67.MCName", "Endermite"); - c.get("EntityList.67.Name", "Endermite"); - c.get("EntityList.68.MCName", "Guardian"); - c.get("EntityList.68.Name", "Guardian"); - c.get("EntityList.68:1.MCName", "Guardian"); - c.get("EntityList.68:1.Name", "Elder Guardian"); - c.get("EntityList.69.MCName", "Shulker"); - c.get("EntityList.69.Name", "Shulker"); - c.get("EntityList.90.MCName", "Pig"); - c.get("EntityList.90.Name", "Pig"); - c.get("EntityList.91.MCName", "Sheep"); - c.get("EntityList.91.Name", "Sheep"); - c.get("EntityList.92.MCName", "Cow"); - c.get("EntityList.92.Name", "Cow"); - c.get("EntityList.93.MCName", "Chicken"); - c.get("EntityList.93.Name", "Chicken"); - c.get("EntityList.94.MCName", "Squid"); - c.get("EntityList.94.Name", "Squid"); - c.get("EntityList.95.MCName", "Wolf"); - c.get("EntityList.95.Name", "Wolf"); - c.get("EntityList.96.MCName", "MushroomCow"); - c.get("EntityList.96.Name", "MushroomCow"); - c.get("EntityList.97.MCName", "SnowMan"); - c.get("EntityList.97.Name", "Snow Golem"); - c.get("EntityList.98.MCName", "Ozelot"); - c.get("EntityList.98.Name", "Ocelot"); - c.get("EntityList.99.MCName", "VillagerGolem"); - c.get("EntityList.99.Name", "Iron Golem"); - c.get("EntityList.100.MCName", "EntityHorse"); - c.get("EntityList.100.Name", "Horse"); - c.get("EntityList.101.MCName", "Rabbit"); - c.get("EntityList.101.Name", "Rabbit"); - c.get("EntityList.102.MCName", "PolarBear"); - c.get("EntityList.102.Name", "Polar Bear"); - c.get("EntityList.120.MCName", "Villager"); - c.get("EntityList.120.Name", "Villager"); - c.get("EntityList.200.MCName", "EnderCrystal"); - c.get("EntityList.200.Name", "Ender Crystal"); + // Just copying default language files, except en, that one will be generated + List languages = new ArrayList(); + languages.add("fr"); - // Enchant list - c.get("EnchantList.0.MCName", "PROTECTION_ENVIRONMENTAL"); - c.get("EnchantList.0.Name", "Protection"); - c.get("EnchantList.1.MCName", "PROTECTION_FIRE"); - c.get("EnchantList.1.Name", "Fire Protection"); - c.get("EnchantList.2.MCName", "PROTECTION_FALL"); - c.get("EnchantList.2.Name", "Feather Falling"); - c.get("EnchantList.3.MCName", "PROTECTION_EXPLOSIONS"); - c.get("EnchantList.3.Name", "Blast Protection"); - c.get("EnchantList.4.MCName", "ROTECTION_PROJECTILE"); - c.get("EnchantList.4.Name", "Projectile Protection"); - c.get("EnchantList.5.MCName", "OXYGEN"); - c.get("EnchantList.5.Name", "Respiration"); - c.get("EnchantList.6.MCName", "DIG_SPEED"); - c.get("EnchantList.6.Name", "Aqua Affinity"); - c.get("EnchantList.7.MCName", "THORNS"); - c.get("EnchantList.7.Name", "Thorns"); - c.get("EnchantList.8.MCName", "DEPTH_STRIDER"); - c.get("EnchantList.8.Name", "Depth Strider"); - c.get("EnchantList.9.MCName", "FROST_WALKER"); - c.get("EnchantList.9.Name", "Frost Walker"); - c.get("EnchantList.16.MCName", "DAMAGE_ALL"); - c.get("EnchantList.16.Name", "Sharpness"); - c.get("EnchantList.17.MCName", "DAMAGE_UNDEAD"); - c.get("EnchantList.17.Name", "Smite"); - c.get("EnchantList.18.MCName", "DAMAGE_ARTHROPODS"); - c.get("EnchantList.18.Name", "Bane of Arthropods"); - c.get("EnchantList.19.MCName", "KNOCKBACK"); - c.get("EnchantList.19.Name", "Knockback"); - c.get("EnchantList.20.MCName", "FIRE_ASPECT"); - c.get("EnchantList.20.Name", "Fire Aspect"); - c.get("EnchantList.21.MCName", "LOOT_BONUS_MOBS"); - c.get("EnchantList.21.Name", "Looting"); - c.get("EnchantList.32.MCName", "DIG_SPEED"); - c.get("EnchantList.32.Name", "Efficiency"); - c.get("EnchantList.33.MCName", "SILK_TOUCH"); - c.get("EnchantList.33.Name", "Silk Touch"); - c.get("EnchantList.34.MCName", "DURABILITY"); - c.get("EnchantList.34.Name", "Unbreaking"); - c.get("EnchantList.35.MCName", "LOOT_BONUS_BLOCKS"); - c.get("EnchantList.35.Name", "Fortune"); - c.get("EnchantList.48.MCName", "ARROW_DAMAGE"); - c.get("EnchantList.48.Name", "Power"); - c.get("EnchantList.49.MCName", "ARROW_KNOCKBACK"); - c.get("EnchantList.49.Name", "Punch"); - c.get("EnchantList.50.MCName", "ARROW_FIRE"); - c.get("EnchantList.50.Name", "Flame"); - c.get("EnchantList.51.MCName", "ARROW_INFINITE"); - c.get("EnchantList.51.Name", "Infinity"); - c.get("EnchantList.61.MCName", "LUCK"); - c.get("EnchantList.61.Name", "Luck of the Sea"); - c.get("EnchantList.62.MCName", "LURE"); - c.get("EnchantList.62.Name", "Lure"); - c.get("EnchantList.70.MCName", "MENDING"); - c.get("EnchantList.70.Name", "Mending"); + for (String lang : languages) { + YmlMaker langFile = new YmlMaker((JavaPlugin) plugin, "TranslatableWords" + File.separator + "Words_" + lang + ".yml"); + if (langFile != null) + langFile.saveDefaultConfig(); + } - // Color list - c.get("ColorList.0.MCName", "white"); - c.get("ColorList.0.Name", "&fWhite"); - c.get("ColorList.1.MCName", "orange"); - c.get("ColorList.1.Name", "&6Orange"); - c.get("ColorList.2.MCName", "magenta"); - c.get("ColorList.2.Name", "&dMagenta"); - c.get("ColorList.3.MCName", "lightBlue"); - c.get("ColorList.3.Name", "%9Light blue"); - c.get("ColorList.4.MCName", "yellow"); - c.get("ColorList.4.Name", "&eYellow"); - c.get("ColorList.5.MCName", "lime"); - c.get("ColorList.5.Name", "&aLime"); - c.get("ColorList.6.MCName", "pink"); - c.get("ColorList.6.Name", "&dPink"); - c.get("ColorList.7.MCName", "gray"); - c.get("ColorList.7.Name", "&8Gray"); - c.get("ColorList.8.MCName", "silver"); - c.get("ColorList.8.Name", "&7Light gray"); - c.get("ColorList.9.MCName", "cyan"); - c.get("ColorList.9.Name", "&3Cyan"); - c.get("ColorList.10.MCName", "purple"); - c.get("ColorList.10.Name", "&5Purple"); - c.get("ColorList.11.MCName", "blue"); - c.get("ColorList.11.Name", "&1Blue"); - c.get("ColorList.12.MCName", "brown"); - c.get("ColorList.12.Name", "&4Brown"); - c.get("ColorList.13.MCName", "green"); - c.get("ColorList.13.Name", "&2Green"); - c.get("ColorList.14.MCName", "red"); - c.get("ColorList.14.Name", "&cRed"); - c.get("ColorList.15.MCName", "black"); - c.get("ColorList.15.Name", "&0Black"); + languages.add("en"); - try { - c.getW().save(f); - } catch (IOException e) { - e.printStackTrace(); + File customLocaleFile = new File(plugin.getDataFolder(), "TranslatableWords" + File.separator + "Words_" + Jobs.getGCManager().localeString + ".yml"); + if (!customLocaleFile.exists() && !Jobs.getGCManager().localeString.equalsIgnoreCase("en")) + languages.add(Jobs.getGCManager().localeString); + + for (String lang : languages) { + + File f = new File(plugin.getDataFolder(), "TranslatableWords" + File.separator + "Words_" + lang + ".yml"); + YamlConfiguration config = YamlConfiguration.loadConfiguration(f); + CommentedYamlConfiguration writer = new CommentedYamlConfiguration(); + + LocaleReader c = new LocaleReader(config, writer); + + c.getC().options().copyDefaults(true); + + c.get("ItemList.0.MCName", "air"); + c.get("ItemList.0.Name", "Air"); + c.get("ItemList.1.MCName", "stone"); + c.get("ItemList.1.Name", "All Stone"); + c.get("ItemList.1:0.MCName", "stone"); + c.get("ItemList.1:0.Name", "Stone"); + c.get("ItemList.1:1.MCName", "stone"); + c.get("ItemList.1:1.Name", "Granite"); + c.get("ItemList.1:2.MCName", "stone"); + c.get("ItemList.1:2.Name", "Polished Granite"); + c.get("ItemList.1:3.MCName", "stone"); + c.get("ItemList.1:3.Name", "Diorite"); + c.get("ItemList.1:4.MCName", "stone"); + c.get("ItemList.1:4.Name", "Polished Diorite"); + c.get("ItemList.1:5.MCName", "stone"); + c.get("ItemList.1:5.Name", "Andesite"); + c.get("ItemList.1:6.MCName", "stone"); + c.get("ItemList.1:6.Name", "Polished Andesite"); + c.get("ItemList.2.MCName", "grass"); + c.get("ItemList.2.Name", "Grass"); + c.get("ItemList.3.MCName", "dirt"); + c.get("ItemList.3.Name", "All Dirt"); + c.get("ItemList.3:0.MCName", "dirt"); + c.get("ItemList.3:0.Name", "Dirt"); + c.get("ItemList.3:1.MCName", "dirt"); + c.get("ItemList.3:1.Name", "Coarse Dirt"); + c.get("ItemList.3:2.MCName", "dirt"); + c.get("ItemList.3:2.Name", "Podzol"); + c.get("ItemList.4.MCName", "cobblestone"); + c.get("ItemList.4.Name", "Cobblestone"); + c.get("ItemList.5.MCName", "planks"); + c.get("ItemList.5.Name", "All Wood Plank"); + c.get("ItemList.5:0.MCName", "planks"); + c.get("ItemList.5:0.Name", "Oak Wood Plank"); + c.get("ItemList.5:1.MCName", "planks"); + c.get("ItemList.5:1.Name", "Spruce Wood Plank"); + c.get("ItemList.5:2.MCName", "planks"); + c.get("ItemList.5:2.Name", "Birch Wood Plank"); + c.get("ItemList.5:3.MCName", "planks"); + c.get("ItemList.5:3.Name", "Jungle Wood Plank"); + c.get("ItemList.5:4.MCName", "planks"); + c.get("ItemList.5:4.Name", "Acacia Wood Plank"); + c.get("ItemList.5:5.MCName", "planks"); + c.get("ItemList.5:5.Name", "Dark Oak Wood Plank"); + c.get("ItemList.6.MCName", "sapling"); + c.get("ItemList.6.Name", "All Saplings"); + c.get("ItemList.6:0.MCName", "sapling"); + c.get("ItemList.6:0.Name", "Oak Sapling"); + c.get("ItemList.6:1.MCName", "sapling"); + c.get("ItemList.6:1.Name", "Spruce Sapling"); + c.get("ItemList.6:2.MCName", "sapling"); + c.get("ItemList.6:2.Name", "Birch Sapling"); + c.get("ItemList.6:3.MCName", "sapling"); + c.get("ItemList.6:3.Name", "Jungle Sapling"); + c.get("ItemList.6:4.MCName", "sapling"); + c.get("ItemList.6:4.Name", "Acacia Sapling"); + c.get("ItemList.6:5.MCName", "sapling"); + c.get("ItemList.6:5.Name", "Dark Oak Sapling"); + c.get("ItemList.7.MCName", "bedrock"); + c.get("ItemList.7.Name", "Bedrock"); + c.get("ItemList.8.MCName", "flowing_water"); + c.get("ItemList.8.Name", "Flowing Water"); + c.get("ItemList.9.MCName", "water"); + c.get("ItemList.9.Name", "Still Water"); + c.get("ItemList.10.MCName", "flowing_lava"); + c.get("ItemList.10.Name", "Flowing Lava"); + c.get("ItemList.11.MCName", "lava"); + c.get("ItemList.11.Name", "Still Lava"); + c.get("ItemList.12.MCName", "sand"); + c.get("ItemList.12.Name", "All Sand"); + c.get("ItemList.12:0.MCName", "sand"); + c.get("ItemList.12:0.Name", "Sand"); + c.get("ItemList.12:1.MCName", "sand"); + c.get("ItemList.12:1.Name", "Red Sand"); + c.get("ItemList.13.MCName", "gravel"); + c.get("ItemList.13.Name", "Gravel"); + c.get("ItemList.14.MCName", "gold_ore"); + c.get("ItemList.14.Name", "Gold Ore"); + c.get("ItemList.15.MCName", "iron_ore"); + c.get("ItemList.15.Name", "Iron Ore"); + c.get("ItemList.16.MCName", "coal_ore"); + c.get("ItemList.16.Name", "Coal Ore"); + c.get("ItemList.17.MCName", "log"); + c.get("ItemList.17.Name", "All Wood"); + c.get("ItemList.17:0.MCName", "log"); + c.get("ItemList.17:0.Name", "Oak Wood"); + c.get("ItemList.17:1.MCName", "log"); + c.get("ItemList.17:1.Name", "Spruce Wood"); + c.get("ItemList.17:2.MCName", "log"); + c.get("ItemList.17:2.Name", "Birch Wood"); + c.get("ItemList.17:3.MCName", "log"); + c.get("ItemList.17:3.Name", "Jungle Wood"); + c.get("ItemList.18.MCName", "leaves"); + c.get("ItemList.18.Name", "All Leaves"); + c.get("ItemList.18:0.MCName", "leaves"); + c.get("ItemList.18:0.Name", "Oak Leaves"); + c.get("ItemList.18:1.MCName", "leaves"); + c.get("ItemList.18:1.Name", "Spruce Leaves"); + c.get("ItemList.18:2.MCName", "leaves"); + c.get("ItemList.18:2.Name", "Birch Leaves"); + c.get("ItemList.18:3.MCName", "leaves"); + c.get("ItemList.18:3.Name", "Jungle Leaves"); + c.get("ItemList.19.MCName", "sponge"); + c.get("ItemList.19.Name", "Sponge"); + c.get("ItemList.19:1.MCName", "sponge"); + c.get("ItemList.19:1.Name", "Wet Sponge"); + c.get("ItemList.20.MCName", "glass"); + c.get("ItemList.20.Name", "Glass"); + c.get("ItemList.21.MCName", "lapis_ore"); + c.get("ItemList.21.Name", "Lapis Lazuli Ore"); + c.get("ItemList.22.MCName", "lapis_block"); + c.get("ItemList.22.Name", "Lapis Lazuli Block"); + c.get("ItemList.23.MCName", "dispenser"); + c.get("ItemList.23.Name", "Dispenser"); + c.get("ItemList.24.MCName", "sandstone"); + c.get("ItemList.24.Name", "Sandstone"); + c.get("ItemList.24:1.MCName", "sandstone"); + c.get("ItemList.24:1.Name", "Chiseled Sandstone"); + c.get("ItemList.24:2.MCName", "sandstone"); + c.get("ItemList.24:2.Name", "Smooth Sandstone"); + c.get("ItemList.25.MCName", "noteblock"); + c.get("ItemList.25.Name", "Note Block"); + c.get("ItemList.26.MCName", "bed"); + c.get("ItemList.26.Name", "Bed"); + c.get("ItemList.27.MCName", "golden_rail"); + c.get("ItemList.27.Name", "Powered Rail"); + c.get("ItemList.28.MCName", "detector_rail"); + c.get("ItemList.28.Name", "Detector Rail"); + c.get("ItemList.29.MCName", "sticky_piston"); + c.get("ItemList.29.Name", "Sticky Piston"); + c.get("ItemList.30.MCName", "web"); + c.get("ItemList.30.Name", "Cobweb"); + c.get("ItemList.31.MCName", "tallgrass"); + c.get("ItemList.31.Name", "Dead Shrub"); + c.get("ItemList.31:1.MCName", "tallgrass"); + c.get("ItemList.31:1.Name", "Grass"); + c.get("ItemList.31:2.MCName", "tallgrass"); + c.get("ItemList.31:2.Name", "Fern"); + c.get("ItemList.32.MCName", "deadbush"); + c.get("ItemList.32.Name", "Dead Shrub"); + c.get("ItemList.33.MCName", "piston"); + c.get("ItemList.33.Name", "Piston"); + c.get("ItemList.34.MCName", "piston_head"); + c.get("ItemList.34.Name", "Piston Head"); + c.get("ItemList.35.MCName", "wool"); + c.get("ItemList.35.Name", "All Wool"); + c.get("ItemList.35:0.MCName", "wool"); + c.get("ItemList.35:0.Name", "White Wool"); + c.get("ItemList.35:1.MCName", "wool"); + c.get("ItemList.35:1.Name", "Orange Wool"); + c.get("ItemList.35:2.MCName", "wool"); + c.get("ItemList.35:2.Name", "Magenta Wool"); + c.get("ItemList.35:3.MCName", "wool"); + c.get("ItemList.35:3.Name", "Light Blue Wool"); + c.get("ItemList.35:4.MCName", "wool"); + c.get("ItemList.35:4.Name", "Yellow Wool"); + c.get("ItemList.35:5.MCName", "wool"); + c.get("ItemList.35:5.Name", "Lime Wool"); + c.get("ItemList.35:6.MCName", "wool"); + c.get("ItemList.35:6.Name", "Pink Wool"); + c.get("ItemList.35:7.MCName", "wool"); + c.get("ItemList.35:7.Name", "Gray Wool"); + c.get("ItemList.35:8.MCName", "wool"); + c.get("ItemList.35:8.Name", "Light Gray Wool"); + c.get("ItemList.35:9.MCName", "wool"); + c.get("ItemList.35:9.Name", "Cyan Wool"); + c.get("ItemList.35:10.MCName", "wool"); + c.get("ItemList.35:10.Name", "Purple Wool"); + c.get("ItemList.35:11.MCName", "wool"); + c.get("ItemList.35:11.Name", "Blue Wool"); + c.get("ItemList.35:12.MCName", "wool"); + c.get("ItemList.35:12.Name", "Brown Wool"); + c.get("ItemList.35:13.MCName", "wool"); + c.get("ItemList.35:13.Name", "Green Wool"); + c.get("ItemList.35:14.MCName", "wool"); + c.get("ItemList.35:14.Name", "Red Wool"); + c.get("ItemList.35:15.MCName", "wool"); + c.get("ItemList.35:15.Name", "Black Wool"); + c.get("ItemList.37.MCName", "yellow_flower"); + c.get("ItemList.37.Name", "Dandelion"); + c.get("ItemList.38.MCName", "red_flower"); + c.get("ItemList.38.Name", "All Flowers"); + c.get("ItemList.38:0.MCName", "red_flower"); + c.get("ItemList.38:0.Name", "Poppy"); + c.get("ItemList.38:1.MCName", "red_flower"); + c.get("ItemList.38:1.Name", "Blue Orchid"); + c.get("ItemList.38:2.MCName", "red_flower"); + c.get("ItemList.38:2.Name", "Allium"); + c.get("ItemList.38:3.MCName", "red_flower"); + c.get("ItemList.38:3.Name", "Azure Bluet"); + c.get("ItemList.38:4.MCName", "red_flower"); + c.get("ItemList.38:4.Name", "Red Tulip"); + c.get("ItemList.38:5.MCName", "red_flower"); + c.get("ItemList.38:5.Name", "Orange Tulip"); + c.get("ItemList.38:6.MCName", "red_flower"); + c.get("ItemList.38:6.Name", "White Tulip"); + c.get("ItemList.38:7.MCName", "red_flower"); + c.get("ItemList.38:7.Name", "Pink Tulip"); + c.get("ItemList.38:8.MCName", "red_flower"); + c.get("ItemList.38:8.Name", "Oxeye Daisy"); + c.get("ItemList.39.MCName", "brown_mushroom"); + c.get("ItemList.39.Name", "Brown Mushroom"); + c.get("ItemList.40.MCName", "red_mushroom"); + c.get("ItemList.40.Name", "Red Mushroom"); + c.get("ItemList.41.MCName", "gold_block"); + c.get("ItemList.41.Name", "Gold Block"); + c.get("ItemList.42.MCName", "iron_block"); + c.get("ItemList.42.Name", "Iron Block"); + c.get("ItemList.43.MCName", "double_stone_slab"); + c.get("ItemList.43.Name", "All Double Slabs"); + c.get("ItemList.43:0.MCName", "double_stone_slab"); + c.get("ItemList.43:0.Name", "Double Stone Slab"); + c.get("ItemList.43:1.MCName", "double_stone_slab"); + c.get("ItemList.43:1.Name", "Double Sandstone Slab"); + c.get("ItemList.43:2.MCName", "double_stone_slab"); + c.get("ItemList.43:2.Name", "Double Wooden Slab"); + c.get("ItemList.43:3.MCName", "double_stone_slab"); + c.get("ItemList.43:3.Name", "Double Cobblestone Slab"); + c.get("ItemList.43:4.MCName", "double_stone_slab"); + c.get("ItemList.43:4.Name", "Double Brick Slab"); + c.get("ItemList.43:5.MCName", "double_stone_slab"); + c.get("ItemList.43:5.Name", "Double Stone Brick Slab"); + c.get("ItemList.43:6.MCName", "double_stone_slab"); + c.get("ItemList.43:6.Name", "Double Nether Brick Slab"); + c.get("ItemList.43:7.MCName", "double_stone_slab"); + c.get("ItemList.43:7.Name", "Double Quartz Slab"); + c.get("ItemList.44.MCName", "stone_slab"); + c.get("ItemList.44.Name", "All Slabs"); + c.get("ItemList.44:0.MCName", "stone_slab"); + c.get("ItemList.44:0.Name", "Stone Slab"); + c.get("ItemList.44:1.MCName", "stone_slab"); + c.get("ItemList.44:1.Name", "Sandstone Slab"); + c.get("ItemList.44:2.MCName", "stone_slab"); + c.get("ItemList.44:2.Name", "Wooden Slab"); + c.get("ItemList.44:3.MCName", "stone_slab"); + c.get("ItemList.44:3.Name", "Cobblestone Slab"); + c.get("ItemList.44:4.MCName", "stone_slab"); + c.get("ItemList.44:4.Name", "Brick Slab"); + c.get("ItemList.44:5.MCName", "stone_slab"); + c.get("ItemList.44:5.Name", "Stone Brick Slab"); + c.get("ItemList.44:6.MCName", "stone_slab"); + c.get("ItemList.44:6.Name", "Nether Brick Slab"); + c.get("ItemList.44:7.MCName", "stone_slab"); + c.get("ItemList.44:7.Name", "Quartz Slab"); + c.get("ItemList.45.MCName", "brick_block"); + c.get("ItemList.45.Name", "Bricks"); + c.get("ItemList.46.MCName", "tnt"); + c.get("ItemList.46.Name", "TNT"); + c.get("ItemList.47.MCName", "bookshelf"); + c.get("ItemList.47.Name", "Bookshelf"); + c.get("ItemList.48.MCName", "mossy_cobblestone"); + c.get("ItemList.48.Name", "Moss Stone"); + c.get("ItemList.49.MCName", "obsidian"); + c.get("ItemList.49.Name", "Obsidian"); + c.get("ItemList.50.MCName", "torch"); + c.get("ItemList.50.Name", "Torch"); + c.get("ItemList.51.MCName", "fire"); + c.get("ItemList.51.Name", "Fire"); + c.get("ItemList.52.MCName", "mob_spawner"); + c.get("ItemList.52.Name", "Monster Spawner"); + c.get("ItemList.53.MCName", "oak_stairs"); + c.get("ItemList.53.Name", "Oak Wood Stairs"); + c.get("ItemList.54.MCName", "chest"); + c.get("ItemList.54.Name", "Chest"); + c.get("ItemList.55.MCName", "redstone_wire"); + c.get("ItemList.55.Name", "Redstone Wire"); + c.get("ItemList.56.MCName", "diamond_ore"); + c.get("ItemList.56.Name", "Diamond Ore"); + c.get("ItemList.57.MCName", "diamond_block"); + c.get("ItemList.57.Name", "Diamond Block"); + c.get("ItemList.58.MCName", "crafting_table"); + c.get("ItemList.58.Name", "Crafting Table"); + c.get("ItemList.59.MCName", "wheat"); + c.get("ItemList.59.Name", "Wheat Crops"); + c.get("ItemList.60.MCName", "farmland"); + c.get("ItemList.60.Name", "Farmland"); + c.get("ItemList.61.MCName", "furnace"); + c.get("ItemList.61.Name", "Furnace"); + c.get("ItemList.62.MCName", "lit_furnace"); + c.get("ItemList.62.Name", "Burning Furnace"); + c.get("ItemList.63.MCName", "standing_sign"); + c.get("ItemList.63.Name", "Standing Sign Block"); + c.get("ItemList.64.MCName", "wooden_door"); + c.get("ItemList.64.Name", "Wooden Door Block"); + c.get("ItemList.65.MCName", "ladder"); + c.get("ItemList.65.Name", "Ladder"); + c.get("ItemList.66.MCName", "rail"); + c.get("ItemList.66.Name", "Rail"); + c.get("ItemList.67.MCName", "stone_stairs"); + c.get("ItemList.67.Name", "Cobblestone Stairs"); + c.get("ItemList.68.MCName", "wall_sign"); + c.get("ItemList.68.Name", "Wall-mounted Sign Block"); + c.get("ItemList.69.MCName", "lever"); + c.get("ItemList.69.Name", "Lever"); + c.get("ItemList.70.MCName", "stone_pressure_plate"); + c.get("ItemList.70.Name", "Stone Pressure Plate"); + c.get("ItemList.71.MCName", "iron_door"); + c.get("ItemList.71.Name", "Iron Door Block"); + c.get("ItemList.72.MCName", "wooden_pressure_plate"); + c.get("ItemList.72.Name", "Wooden Pressure Plate"); + c.get("ItemList.73.MCName", "redstone_ore"); + c.get("ItemList.73.Name", "Redstone Ore"); + c.get("ItemList.74.MCName", "lit_redstone_ore"); + c.get("ItemList.74.Name", "Glowing Redstone Ore"); + c.get("ItemList.75.MCName", "unlit_redstone_torch"); + c.get("ItemList.75.Name", "Redstone Torch (off)"); + c.get("ItemList.76.MCName", "redstone_torch"); + c.get("ItemList.76.Name", "Redstone Torch (on)"); + c.get("ItemList.77.MCName", "stone_button"); + c.get("ItemList.77.Name", "Stone Button"); + c.get("ItemList.78.MCName", "snow_layer"); + c.get("ItemList.78.Name", "Snow"); + c.get("ItemList.79.MCName", "ice"); + c.get("ItemList.79.Name", "Ice"); + c.get("ItemList.80.MCName", "snow"); + c.get("ItemList.80.Name", "Snow Block"); + c.get("ItemList.81.MCName", "cactus"); + c.get("ItemList.81.Name", "Cactus"); + c.get("ItemList.82.MCName", "clay"); + c.get("ItemList.82.Name", "Clay"); + c.get("ItemList.83.MCName", "reeds"); + c.get("ItemList.83.Name", "Sugar Canes"); + c.get("ItemList.84.MCName", "jukebox"); + c.get("ItemList.84.Name", "Jukebox"); + c.get("ItemList.85.MCName", "fence"); + c.get("ItemList.85.Name", "Oak Fence"); + c.get("ItemList.86.MCName", "pumpkin"); + c.get("ItemList.86.Name", "Pumpkin"); + c.get("ItemList.87.MCName", "netherrack"); + c.get("ItemList.87.Name", "Netherrack"); + c.get("ItemList.88.MCName", "soul_sand"); + c.get("ItemList.88.Name", "Soul Sand"); + c.get("ItemList.89.MCName", "glowstone"); + c.get("ItemList.89.Name", "Glowstone"); + c.get("ItemList.90.MCName", "portal"); + c.get("ItemList.90.Name", "Nether Portal"); + c.get("ItemList.91.MCName", "lit_pumpkin"); + c.get("ItemList.91.Name", "Jack o'Lantern"); + c.get("ItemList.92.MCName", "cake"); + c.get("ItemList.92.Name", "Cake Block"); + c.get("ItemList.93.MCName", "unpowered_repeater"); + c.get("ItemList.93.Name", "Redstone Repeater Block (off)"); + c.get("ItemList.94.MCName", "powered_repeater"); + c.get("ItemList.94.Name", "Redstone Repeater Block (on)"); + c.get("ItemList.95.MCName", "stained_glass"); + c.get("ItemList.95.Name", "All Stained Glass"); + c.get("ItemList.95:0.MCName", "stained_glass"); + c.get("ItemList.95:0.Name", "White Stained Glass"); + c.get("ItemList.95:1.MCName", "stained_glass"); + c.get("ItemList.95:1.Name", "Orange Stained Glass"); + c.get("ItemList.95:2.MCName", "stained_glass"); + c.get("ItemList.95:2.Name", "Magenta Stained Glass"); + c.get("ItemList.95:3.MCName", "stained_glass"); + c.get("ItemList.95:3.Name", "Light Blue Stained Glass"); + c.get("ItemList.95:4.MCName", "stained_glass"); + c.get("ItemList.95:4.Name", "Yellow Stained Glass"); + c.get("ItemList.95:5.MCName", "stained_glass"); + c.get("ItemList.95:5.Name", "Lime Stained Glass"); + c.get("ItemList.95:6.MCName", "stained_glass"); + c.get("ItemList.95:6.Name", "Pink Stained Glass"); + c.get("ItemList.95:7.MCName", "stained_glass"); + c.get("ItemList.95:7.Name", "Gray Stained Glass"); + c.get("ItemList.95:8.MCName", "stained_glass"); + c.get("ItemList.95:8.Name", "Light Gray Stained Glass"); + c.get("ItemList.95:9.MCName", "stained_glass"); + c.get("ItemList.95:9.Name", "Cyan Stained Glass"); + c.get("ItemList.95:10.MCName", "stained_glass"); + c.get("ItemList.95:10.Name", "Purple Stained Glass"); + c.get("ItemList.95:11.MCName", "stained_glass"); + c.get("ItemList.95:11.Name", "Blue Stained Glass"); + c.get("ItemList.95:12.MCName", "stained_glass"); + c.get("ItemList.95:12.Name", "Brown Stained Glass"); + c.get("ItemList.95:13.MCName", "stained_glass"); + c.get("ItemList.95:13.Name", "Green Stained Glass"); + c.get("ItemList.95:14.MCName", "stained_glass"); + c.get("ItemList.95:14.Name", "Red Stained Glass"); + c.get("ItemList.95:15.MCName", "stained_glass"); + c.get("ItemList.95:15.Name", "Black Stained Glass"); + c.get("ItemList.96.MCName", "trapdoor"); + c.get("ItemList.96.Name", "Wooden Trapdoor"); + c.get("ItemList.97.MCName", "monster_egg"); + c.get("ItemList.97.Name", "Stone Monster Egg"); + c.get("ItemList.97:1.MCName", "monster_egg"); + c.get("ItemList.97:1.Name", "Cobblestone Monster Egg"); + c.get("ItemList.97:2.MCName", "monster_egg"); + c.get("ItemList.97:2.Name", "Stone Brick Monster Egg"); + c.get("ItemList.97:3.MCName", "monster_egg"); + c.get("ItemList.97:3.Name", "Mossy Stone Brick Monster Egg"); + c.get("ItemList.97:4.MCName", "monster_egg"); + c.get("ItemList.97:4.Name", "Cracked Stone Brick Monster Egg"); + c.get("ItemList.97:5.MCName", "monster_egg"); + c.get("ItemList.97:5.Name", "Chiseled Stone Brick Monster Egg"); + c.get("ItemList.98.MCName", "stonebrick"); + c.get("ItemList.98.Name", "Stone Bricks"); + c.get("ItemList.98:1.MCName", "stonebrick"); + c.get("ItemList.98:1.Name", "Mossy Stone Bricks"); + c.get("ItemList.98:2.MCName", "stonebrick"); + c.get("ItemList.98:2.Name", "Cracked Stone Bricks"); + c.get("ItemList.98:3.MCName", "stonebrick"); + c.get("ItemList.98:3.Name", "Chiseled Stone Bricks"); + c.get("ItemList.99.MCName", "brown_mushroom_block"); + c.get("ItemList.99.Name", "Brown Mushroom Cap"); + c.get("ItemList.100.MCName", "red_mushroom_block"); + c.get("ItemList.100.Name", "Red Mushroom Cap"); + c.get("ItemList.101.MCName", "iron_bars"); + c.get("ItemList.101.Name", "Iron Bars"); + c.get("ItemList.102.MCName", "glass_pane"); + c.get("ItemList.102.Name", "Glass Pane"); + c.get("ItemList.103.MCName", "melon_block"); + c.get("ItemList.103.Name", "Melon Block"); + c.get("ItemList.104.MCName", "pumpkin_stem"); + c.get("ItemList.104.Name", "Pumpkin Stem"); + c.get("ItemList.105.MCName", "melon_stem"); + c.get("ItemList.105.Name", "Melon Stem"); + c.get("ItemList.106.MCName", "vine"); + c.get("ItemList.106.Name", "Vines"); + c.get("ItemList.107.MCName", "fence_gate"); + c.get("ItemList.107.Name", "Oak Fence Gate"); + c.get("ItemList.108.MCName", "brick_stairs"); + c.get("ItemList.108.Name", "Brick Stairs"); + c.get("ItemList.109.MCName", "stone_brick_stairs"); + c.get("ItemList.109.Name", "Stone Brick Stairs"); + c.get("ItemList.110.MCName", "mycelium"); + c.get("ItemList.110.Name", "Mycelium"); + c.get("ItemList.111.MCName", "waterlily"); + c.get("ItemList.111.Name", "Lily Pad"); + c.get("ItemList.112.MCName", "nether_brick"); + c.get("ItemList.112.Name", "Nether Brick"); + c.get("ItemList.113.MCName", "nether_brick_fence"); + c.get("ItemList.113.Name", "Nether Brick Fence"); + c.get("ItemList.114.MCName", "nether_brick_stairs"); + c.get("ItemList.114.Name", "Nether Brick Stairs"); + c.get("ItemList.115.MCName", "nether_wart"); + c.get("ItemList.115.Name", "Nether Wart"); + c.get("ItemList.116.MCName", "enchanting_table"); + c.get("ItemList.116.Name", "Enchantment Table"); + c.get("ItemList.117.MCName", "brewing_stand"); + c.get("ItemList.117.Name", "Brewing Stand"); + c.get("ItemList.118.MCName", "cauldron"); + c.get("ItemList.118.Name", "Cauldron"); + c.get("ItemList.119.MCName", "end_portal"); + c.get("ItemList.119.Name", "End Portal"); + c.get("ItemList.120.MCName", "end_portal_frame"); + c.get("ItemList.120.Name", "End Portal Frame"); + c.get("ItemList.121.MCName", "end_stone"); + c.get("ItemList.121.Name", "End Stone"); + c.get("ItemList.122.MCName", "dragon_egg"); + c.get("ItemList.122.Name", "Dragon Egg"); + c.get("ItemList.123.MCName", "redstone_lamp"); + c.get("ItemList.123.Name", "Redstone Lamp (inactive)"); + c.get("ItemList.124.MCName", "lit_redstone_lamp"); + c.get("ItemList.124.Name", "Redstone Lamp (active)"); + c.get("ItemList.125.MCName", "double_wooden_slab"); + c.get("ItemList.125.Name", "All Double Wood Slab"); + c.get("ItemList.125:0.MCName", "double_wooden_slab"); + c.get("ItemList.125:0.Name", "Double Oak Wood Slab"); + c.get("ItemList.125:1.MCName", "double_wooden_slab"); + c.get("ItemList.125:1.Name", "Double Spruce Wood Slab"); + c.get("ItemList.125:2.MCName", "double_wooden_slab"); + c.get("ItemList.125:2.Name", "Double Birch Wood Slab"); + c.get("ItemList.125:3.MCName", "double_wooden_slab"); + c.get("ItemList.125:3.Name", "Double Jungle Wood Slab"); + c.get("ItemList.125:4.MCName", "double_wooden_slab"); + c.get("ItemList.125:4.Name", "Double Acacia Wood Slab"); + c.get("ItemList.125:5.MCName", "double_wooden_slab"); + c.get("ItemList.125:5.Name", "Double Dark Oak Wood Slab"); + c.get("ItemList.126.MCName", "wooden_slab"); + c.get("ItemList.126.Name", "All Wood Slab"); + c.get("ItemList.126:0.MCName", "wooden_slab"); + c.get("ItemList.126:0.Name", "Oak Wood Slab"); + c.get("ItemList.126:1.MCName", "wooden_slab"); + c.get("ItemList.126:1.Name", "Spruce Wood Slab"); + c.get("ItemList.126:2.MCName", "wooden_slab"); + c.get("ItemList.126:2.Name", "Birch Wood Slab"); + c.get("ItemList.126:3.MCName", "wooden_slab"); + c.get("ItemList.126:3.Name", "Jungle Wood Slab"); + c.get("ItemList.126:4.MCName", "wooden_slab"); + c.get("ItemList.126:4.Name", "Acacia Wood Slab"); + c.get("ItemList.126:5.MCName", "wooden_slab"); + c.get("ItemList.126:5.Name", "Dark Oak Wood Slab"); + c.get("ItemList.127.MCName", "cocoa"); + c.get("ItemList.127.Name", "Cocoa"); + c.get("ItemList.128.MCName", "sandstone_stairs"); + c.get("ItemList.128.Name", "Sandstone Stairs"); + c.get("ItemList.129.MCName", "emerald_ore"); + c.get("ItemList.129.Name", "Emerald Ore"); + c.get("ItemList.130.MCName", "ender_chest"); + c.get("ItemList.130.Name", "Ender Chest"); + c.get("ItemList.131.MCName", "tripwire_hook"); + c.get("ItemList.131.Name", "Tripwire Hook"); + c.get("ItemList.132.MCName", "tripwire_hook"); + c.get("ItemList.132.Name", "Tripwire"); + c.get("ItemList.133.MCName", "emerald_block"); + c.get("ItemList.133.Name", "Emerald Block"); + c.get("ItemList.134.MCName", "spruce_stairs"); + c.get("ItemList.134.Name", "Spruce Wood Stairs"); + c.get("ItemList.135.MCName", "birch_stairs"); + c.get("ItemList.135.Name", "Birch Wood Stairs"); + c.get("ItemList.136.MCName", "jungle_stairs"); + c.get("ItemList.136.Name", "Jungle Wood Stairs"); + c.get("ItemList.137.MCName", "command_block"); + c.get("ItemList.137.Name", "Command Block"); + c.get("ItemList.138.MCName", "beacon"); + c.get("ItemList.138.Name", "Beacon"); + c.get("ItemList.139.MCName", "cobblestone_wall"); + c.get("ItemList.139.Name", "Cobblestone Wall"); + c.get("ItemList.139:1.MCName", "cobblestone_wall"); + c.get("ItemList.139:1.Name", "Mossy Cobblestone Wall"); + c.get("ItemList.140.MCName", "flower_pot"); + c.get("ItemList.140.Name", "Flower Pot"); + c.get("ItemList.141.MCName", "carrots"); + c.get("ItemList.141.Name", "Carrots"); + c.get("ItemList.142.MCName", "potatoes"); + c.get("ItemList.142.Name", "Potatoes"); + c.get("ItemList.143.MCName", "wooden_button"); + c.get("ItemList.143.Name", "Wooden Button"); + c.get("ItemList.144.MCName", "skull"); + c.get("ItemList.144.Name", "Mob Head"); + c.get("ItemList.145.MCName", "anvil"); + c.get("ItemList.145.Name", "Anvil"); + c.get("ItemList.146.MCName", "trapped_chest"); + c.get("ItemList.146.Name", "Trapped Chest"); + c.get("ItemList.147.MCName", "light_weighted_pressure_plate"); + c.get("ItemList.147.Name", "Weighted Pressure Plate (light)"); + c.get("ItemList.148.MCName", "heavy_weighted_pressure_plate"); + c.get("ItemList.148.Name", "Weighted Pressure Plate (heavy)"); + c.get("ItemList.149.MCName", "unpowered_comparator"); + c.get("ItemList.149.Name", "Redstone Comparator (inactive)"); + c.get("ItemList.150.MCName", "powered_comparator"); + c.get("ItemList.150.Name", "Redstone Comparator (active)"); + c.get("ItemList.151.MCName", "daylight_detector"); + c.get("ItemList.151.Name", "Daylight Sensor"); + c.get("ItemList.152.MCName", "redstone_block"); + c.get("ItemList.152.Name", "Redstone Block"); + c.get("ItemList.153.MCName", "quartz_ore"); + c.get("ItemList.153.Name", "Nether Quartz Ore"); + c.get("ItemList.154.MCName", "hopper"); + c.get("ItemList.154.Name", "Hopper"); + c.get("ItemList.155.MCName", "quartz_block"); + c.get("ItemList.155.Name", "Quartz Block"); + c.get("ItemList.155:1.MCName", "quartz_block"); + c.get("ItemList.155:1.Name", "Chiseled Quartz Block"); + c.get("ItemList.155:2.MCName", "quartz_block"); + c.get("ItemList.155:2.Name", "Pillar Quartz Block"); + c.get("ItemList.156.MCName", "quartz_stairs"); + c.get("ItemList.156.Name", "Quartz Stairs"); + c.get("ItemList.157.MCName", "activator_rail"); + c.get("ItemList.157.Name", "Activator Rail"); + c.get("ItemList.158.MCName", "dropper"); + c.get("ItemList.158.Name", "Dropper"); + c.get("ItemList.159.MCName", "stained_hardened_clay"); + c.get("ItemList.159.Name", "All Stained Clays"); + c.get("ItemList.159:0.MCName", "stained_hardened_clay"); + c.get("ItemList.159:0.Name", "White Stained Clay"); + c.get("ItemList.159:1.MCName", "stained_hardened_clay"); + c.get("ItemList.159:1.Name", "Orange Stained Clay"); + c.get("ItemList.159:2.MCName", "stained_hardened_clay"); + c.get("ItemList.159:2.Name", "Magenta Stained Clay"); + c.get("ItemList.159:3.MCName", "stained_hardened_clay"); + c.get("ItemList.159:3.Name", "Light Blue Stained Clay"); + c.get("ItemList.159:4.MCName", "stained_hardened_clay"); + c.get("ItemList.159:4.Name", "Yellow Stained Clay"); + c.get("ItemList.159:5.MCName", "stained_hardened_clay"); + c.get("ItemList.159:5.Name", "Lime Stained Clay"); + c.get("ItemList.159:6.MCName", "stained_hardened_clay"); + c.get("ItemList.159:6.Name", "Pink Stained Clay"); + c.get("ItemList.159:7.MCName", "stained_hardened_clay"); + c.get("ItemList.159:7.Name", "Gray Stained Clay"); + c.get("ItemList.159:8.MCName", "stained_hardened_clay"); + c.get("ItemList.159:8.Name", "Light Gray Stained Clay"); + c.get("ItemList.159:9.MCName", "stained_hardened_clay"); + c.get("ItemList.159:9.Name", "Cyan Stained Clay"); + c.get("ItemList.159:10.MCName", "stained_hardened_clay"); + c.get("ItemList.159:10.Name", "Purple Stained Clay"); + c.get("ItemList.159:11.MCName", "stained_hardened_clay"); + c.get("ItemList.159:11.Name", "Blue Stained Clay"); + c.get("ItemList.159:12.MCName", "stained_hardened_clay"); + c.get("ItemList.159:12.Name", "Brown Stained Clay"); + c.get("ItemList.159:13.MCName", "stained_hardened_clay"); + c.get("ItemList.159:13.Name", "Green Stained Clay"); + c.get("ItemList.159:14.MCName", "stained_hardened_clay"); + c.get("ItemList.159:14.Name", "Red Stained Clay"); + c.get("ItemList.159:15.MCName", "stained_hardened_clay"); + c.get("ItemList.159:15.Name", "Black Stained Clay"); + c.get("ItemList.160.MCName", "stained_glass_pane"); + c.get("ItemList.160.Name", "All Stained Glass Panes"); + c.get("ItemList.160:0.MCName", "stained_glass_pane"); + c.get("ItemList.160:0.Name", "White Stained Glass Pane"); + c.get("ItemList.160:1.MCName", "stained_glass_pane"); + c.get("ItemList.160:1.Name", "Orange Stained Glass Pane"); + c.get("ItemList.160:2.MCName", "stained_glass_pane"); + c.get("ItemList.160:2.Name", "Magenta Stained Glass Pane"); + c.get("ItemList.160:3.MCName", "stained_glass_pane"); + c.get("ItemList.160:3.Name", "Light Blue Stained Glass Pane"); + c.get("ItemList.160:4.MCName", "stained_glass_pane"); + c.get("ItemList.160:4.Name", "Yellow Stained Glass Pane"); + c.get("ItemList.160:5.MCName", "stained_glass_pane"); + c.get("ItemList.160:5.Name", "Lime Stained Glass Pane"); + c.get("ItemList.160:6.MCName", "stained_glass_pane"); + c.get("ItemList.160:6.Name", "Pink Stained Glass Pane"); + c.get("ItemList.160:7.MCName", "stained_glass_pane"); + c.get("ItemList.160:7.Name", "Gray Stained Glass Pane"); + c.get("ItemList.160:8.MCName", "stained_glass_pane"); + c.get("ItemList.160:8.Name", "Light Gray Stained Glass Pane"); + c.get("ItemList.160:9.MCName", "stained_glass_pane"); + c.get("ItemList.160:9.Name", "Cyan Stained Glass Pane"); + c.get("ItemList.160:10.MCName", "stained_glass_pane"); + c.get("ItemList.160:10.Name", "Purple Stained Glass Pane"); + c.get("ItemList.160:11.MCName", "stained_glass_pane"); + c.get("ItemList.160:11.Name", "Blue Stained Glass Pane"); + c.get("ItemList.160:12.MCName", "stained_glass_pane"); + c.get("ItemList.160:12.Name", "Brown Stained Glass Pane"); + c.get("ItemList.160:13.MCName", "stained_glass_pane"); + c.get("ItemList.160:13.Name", "Green Stained Glass Pane"); + c.get("ItemList.160:14.MCName", "stained_glass_pane"); + c.get("ItemList.160:14.Name", "Red Stained Glass Pane"); + c.get("ItemList.160:15.MCName", "stained_glass_pane"); + c.get("ItemList.160:15.Name", "Black Stained Glass Pane"); + c.get("ItemList.161.MCName", "leaves2"); + c.get("ItemList.161.Name", "Acacia Or Dark Oak Leaves"); + c.get("ItemList.161:0.MCName", "leaves2"); + c.get("ItemList.161:0.Name", "Acacia Leaves"); + c.get("ItemList.161:1.MCName", "leaves2"); + c.get("ItemList.161:1.Name", "Dark Oak Leaves"); + c.get("ItemList.162.MCName", "logs2"); + c.get("ItemList.162.Name", "Acacia Or Dark Oak Wood"); + c.get("ItemList.162:0.MCName", "logs2"); + c.get("ItemList.162:0.Name", "Acacia Wood"); + c.get("ItemList.162:1.MCName", "logs2"); + c.get("ItemList.162:1.Name", "Dark Oak Wood"); + c.get("ItemList.163.MCName", "acacia_stairs"); + c.get("ItemList.163.Name", "Acacia Wood Stairs"); + c.get("ItemList.164.MCName", "dark_oak_stairs"); + c.get("ItemList.164.Name", "Dark Oak Wood Stairs"); + c.get("ItemList.165.MCName", "slime"); + c.get("ItemList.165.Name", "Slime Block"); + c.get("ItemList.166.MCName", "barrier"); + c.get("ItemList.166.Name", "Barrier"); + c.get("ItemList.167.MCName", "iron_trapdoor"); + c.get("ItemList.167.Name", "Iron Trapdoor"); + c.get("ItemList.168.MCName", "prismarine"); + c.get("ItemList.168.Name", "All Prismarine"); + c.get("ItemList.168:0.MCName", "prismarine"); + c.get("ItemList.168:0.Name", "Prismarine"); + c.get("ItemList.168:1.MCName", "prismarine"); + c.get("ItemList.168:1.Name", "Prismarine Bricks"); + c.get("ItemList.168:2.MCName", "prismarine"); + c.get("ItemList.168:2.Name", "Dark Prismarine"); + c.get("ItemList.169.MCName", "sea_lantern"); + c.get("ItemList.169.Name", "Sea Lantern"); + c.get("ItemList.170.MCName", "hay_block"); + c.get("ItemList.170.Name", "Hay Bale"); + c.get("ItemList.171.MCName", "carpet"); + c.get("ItemList.171.Name", "All Carpet"); + c.get("ItemList.171:0.MCName", "carpet"); + c.get("ItemList.171:0.Name", "White Carpet"); + c.get("ItemList.171:1.MCName", "carpet"); + c.get("ItemList.171:1.Name", "Orange Carpet"); + c.get("ItemList.171:2.MCName", "carpet"); + c.get("ItemList.171:2.Name", "Magenta Carpet"); + c.get("ItemList.171:3.MCName", "carpet"); + c.get("ItemList.171:3.Name", "Light Blue Carpet"); + c.get("ItemList.171:4.MCName", "carpet"); + c.get("ItemList.171:4.Name", "Yellow Carpet"); + c.get("ItemList.171:5.MCName", "carpet"); + c.get("ItemList.171:5.Name", "Lime Carpet"); + c.get("ItemList.171:6.MCName", "carpet"); + c.get("ItemList.171:6.Name", "Pink Carpet"); + c.get("ItemList.171:7.MCName", "carpet"); + c.get("ItemList.171:7.Name", "Gray Carpet"); + c.get("ItemList.171:8.MCName", "carpet"); + c.get("ItemList.171:8.Name", "Light Gray Carpet"); + c.get("ItemList.171:9.MCName", "carpet"); + c.get("ItemList.171:9.Name", "Cyan Carpet"); + c.get("ItemList.171:10.MCName", "carpet"); + c.get("ItemList.171:10.Name", "Purple Carpet"); + c.get("ItemList.171:11.MCName", "carpet"); + c.get("ItemList.171:11.Name", "Blue Carpet"); + c.get("ItemList.171:12.MCName", "carpet"); + c.get("ItemList.171:12.Name", "Brown Carpet"); + c.get("ItemList.171:13.MCName", "carpet"); + c.get("ItemList.171:13.Name", "Green Carpet"); + c.get("ItemList.171:14.MCName", "carpet"); + c.get("ItemList.171:14.Name", "Red Carpet"); + c.get("ItemList.171:15.MCName", "carpet"); + c.get("ItemList.171:15.Name", "Black Carpet"); + c.get("ItemList.172.MCName", "hardened_clay"); + c.get("ItemList.172.Name", "Hardened Clay"); + c.get("ItemList.173.MCName", "coal_block"); + c.get("ItemList.173.Name", "Block of Coal"); + c.get("ItemList.174.MCName", "packed_ice"); + c.get("ItemList.174.Name", "Packed Ice"); + c.get("ItemList.175.MCName", "double_plant"); + c.get("ItemList.175.Name", "All Big Flowers"); + c.get("ItemList.175:0.MCName", "double_plant"); + c.get("ItemList.175:0.Name", "Sunflower"); + c.get("ItemList.175:1.MCName", "double_plant"); + c.get("ItemList.175:1.Name", "Lilac"); + c.get("ItemList.175:2.MCName", "double_plant"); + c.get("ItemList.175:2.Name", "Double Tallgrass"); + c.get("ItemList.175:3.MCName", "double_plant"); + c.get("ItemList.175:3.Name", "Large Fern"); + c.get("ItemList.175:4.MCName", "double_plant"); + c.get("ItemList.175:4.Name", "Rose Bush"); + c.get("ItemList.175:5.MCName", "double_plant"); + c.get("ItemList.175:5.Name", "Peony"); + c.get("ItemList.176.MCName", "standing_banner"); + c.get("ItemList.176.Name", "Free-standing Banner"); + c.get("ItemList.177.MCName", "wall_banner"); + c.get("ItemList.177.Name", "Wall-mounted Banner"); + c.get("ItemList.178.MCName", "daylight_detector_inverted"); + c.get("ItemList.178.Name", "Inverted Daylight Sensor"); + c.get("ItemList.179.MCName", "red_sandstone"); + c.get("ItemList.179.Name", "Red Sandstone"); + c.get("ItemList.179:1.MCName", "red_sandstone"); + c.get("ItemList.179:1.Name", "Chiseled Red Sandstone"); + c.get("ItemList.179:2.MCName", "red_sandstone"); + c.get("ItemList.179:2.Name", "Smooth Red Sandstone"); + c.get("ItemList.180.MCName", "red_sandstone_stairs"); + c.get("ItemList.180.Name", "Red Sandstone Stairs"); + c.get("ItemList.181.MCName", "stone_slab2"); + c.get("ItemList.181.Name", "Double Red Sandstone Slab"); + c.get("ItemList.182.MCName", "double_stone_slab2"); + c.get("ItemList.182.Name", "Red Sandstone Slab"); + c.get("ItemList.183.MCName", "spruce_fence_gate"); + c.get("ItemList.183.Name", "Spruce Fence Gate"); + c.get("ItemList.184.MCName", "birch_fence_gate"); + c.get("ItemList.184.Name", "Birch Fence Gate"); + c.get("ItemList.185.MCName", "jungle_fence_gate"); + c.get("ItemList.185.Name", "Jungle Fence Gate"); + c.get("ItemList.186.MCName", "dark_oak_fence_gate"); + c.get("ItemList.186.Name", "Dark Oak Fence Gate"); + c.get("ItemList.187.MCName", "acacia_fence_gate"); + c.get("ItemList.187.Name", "Acacia Fence Gate"); + c.get("ItemList.188.MCName", "spruce_fence"); + c.get("ItemList.188.Name", "Spruce Fence"); + c.get("ItemList.189.MCName", "birch_fence"); + c.get("ItemList.189.Name", "Birch Fence"); + c.get("ItemList.190.MCName", "jungle_fence"); + c.get("ItemList.190.Name", "Jungle Fence"); + c.get("ItemList.191.MCName", "dark_oak_fence"); + c.get("ItemList.191.Name", "Dark Oak Fence"); + c.get("ItemList.192.MCName", "acacia_fence"); + c.get("ItemList.192.Name", "Acacia Fence"); + c.get("ItemList.193.MCName", "spruce_door"); + c.get("ItemList.193.Name", "Spure Door Block"); + c.get("ItemList.194.MCName", "birch_door"); + c.get("ItemList.194.Name", "Birch Door Block"); + c.get("ItemList.195.MCName", "jungle_door"); + c.get("ItemList.195.Name", "Jungle Door Block"); + c.get("ItemList.196.MCName", "acacia_door"); + c.get("ItemList.196.Name", "Acacia Door Block"); + c.get("ItemList.197.MCName", "dark_oak_door"); + c.get("ItemList.197.Name", "Dark Oak Door Block"); + c.get("ItemList.198.MCName", "end_rod"); + c.get("ItemList.198.Name", "End Rod"); + c.get("ItemList.199.MCName", "chorus_plant"); + c.get("ItemList.199.Name", "Chorus Plant"); + c.get("ItemList.200.MCName", "chorus_flower"); + c.get("ItemList.200.Name", "Chorus Flower"); + c.get("ItemList.201.MCName", "purpur_block"); + c.get("ItemList.201.Name", "Purpur Block"); + c.get("ItemList.202.MCName", "purpur_pillar"); + c.get("ItemList.202.Name", "Purpur Pillar"); + c.get("ItemList.203.MCName", "purpur_stairs"); + c.get("ItemList.203.Name", "Purpur Stairs"); + c.get("ItemList.204.MCName", "purpur_double_slab"); + c.get("ItemList.204.Name", "Double Purpur Slab"); + c.get("ItemList.205.MCName", "purpur_slab"); + c.get("ItemList.205.Name", "Purpur Slab"); + c.get("ItemList.206.MCName", "end_bricks"); + c.get("ItemList.206.Name", "End Stone Bricks"); + c.get("ItemList.207.MCName", "beetroots"); + c.get("ItemList.207.Name", "Beetroot Block"); + c.get("ItemList.208.MCName", "grass_path"); + c.get("ItemList.208.Name", "Grass Path"); + c.get("ItemList.209.MCName", "end_gateway"); + c.get("ItemList.209.Name", "End Gateway Block"); + c.get("ItemList.212.MCName", "frosted_ice"); + c.get("ItemList.212.Name", "Frosted Ice"); + c.get("ItemList.256.MCName", "iron_shovel"); + c.get("ItemList.256.Name", "Iron Shovel"); + c.get("ItemList.257.MCName", "iron_pickaxe"); + c.get("ItemList.257.Name", "Iron Pickaxe"); + c.get("ItemList.258.MCName", "iron_axe"); + c.get("ItemList.258.Name", "Iron Axe"); + c.get("ItemList.259.MCName", "flint_and_steel"); + c.get("ItemList.259.Name", "Flint and Steel"); + c.get("ItemList.260.MCName", "apple"); + c.get("ItemList.260.Name", "Apple"); + c.get("ItemList.261.MCName", "bow"); + c.get("ItemList.261.Name", "Bow"); + c.get("ItemList.262.MCName", "arrow"); + c.get("ItemList.262.Name", "Arrow"); + c.get("ItemList.263.MCName", "coal"); + c.get("ItemList.263.Name", "Coal"); + c.get("ItemList.263:1.MCName", "coal"); + c.get("ItemList.263:1.Name", "Charcoal"); + c.get("ItemList.264.MCName", "diamond"); + c.get("ItemList.264.Name", "Diamond"); + c.get("ItemList.265.MCName", "iron_ingot"); + c.get("ItemList.265.Name", "Iron Ingot"); + c.get("ItemList.266.MCName", "gold_ingot"); + c.get("ItemList.266.Name", "Gold Ingot"); + c.get("ItemList.267.MCName", "iron_sword"); + c.get("ItemList.267.Name", "Iron Sword"); + c.get("ItemList.268.MCName", "wooden_sword"); + c.get("ItemList.268.Name", "Wooden Sword"); + c.get("ItemList.269.MCName", "wooden_shovel"); + c.get("ItemList.269.Name", "Wooden Shovel"); + c.get("ItemList.270.MCName", "wooden_pickaxe"); + c.get("ItemList.270.Name", "Wooden Pickaxe"); + c.get("ItemList.271.MCName", "wooden_axe"); + c.get("ItemList.271.Name", "Wooden Axe"); + c.get("ItemList.272.MCName", "stone_sword"); + c.get("ItemList.272.Name", "Stone Sword"); + c.get("ItemList.273.MCName", "stone_shovel"); + c.get("ItemList.273.Name", "Stone Shovel"); + c.get("ItemList.274.MCName", "stone_pickaxe"); + c.get("ItemList.274.Name", "Stone Pickaxe"); + c.get("ItemList.275.MCName", "stone_axe"); + c.get("ItemList.275.Name", "Stone Axe"); + c.get("ItemList.276.MCName", "diamond_sword"); + c.get("ItemList.276.Name", "Diamond Sword"); + c.get("ItemList.277.MCName", "diamond_shovel"); + c.get("ItemList.277.Name", "Diamond Shovel"); + c.get("ItemList.278.MCName", "diamond_pickaxe"); + c.get("ItemList.278.Name", "Diamond Pickaxe"); + c.get("ItemList.279.MCName", "diamond_axe"); + c.get("ItemList.279.Name", "Diamond Axe"); + c.get("ItemList.280.MCName", "stick"); + c.get("ItemList.280.Name", "Stick"); + c.get("ItemList.281.MCName", "bowl"); + c.get("ItemList.281.Name", "Bowl"); + c.get("ItemList.282.MCName", "mushroom_stew"); + c.get("ItemList.282.Name", "Mushroom Stew"); + c.get("ItemList.283.MCName", "golden_sword"); + c.get("ItemList.283.Name", "Golden Sword"); + c.get("ItemList.284.MCName", "golden_shovel"); + c.get("ItemList.284.Name", "Golden Shovel"); + c.get("ItemList.285.MCName", "golden_pickaxe"); + c.get("ItemList.285.Name", "Golden Pickaxe"); + c.get("ItemList.286.MCName", "golden_axe"); + c.get("ItemList.286.Name", "Golden Axe"); + c.get("ItemList.287.MCName", "string"); + c.get("ItemList.287.Name", "String"); + c.get("ItemList.288.MCName", "feather"); + c.get("ItemList.288.Name", "Feather"); + c.get("ItemList.289.MCName", "gunpowder"); + c.get("ItemList.289.Name", "Gunpowder"); + c.get("ItemList.290.MCName", "wooden_hoe"); + c.get("ItemList.290.Name", "Wooden Hoe"); + c.get("ItemList.291.MCName", "stone_hoe"); + c.get("ItemList.291.Name", "Stone Hoe"); + c.get("ItemList.292.MCName", "iron_hoe"); + c.get("ItemList.292.Name", "Iron Hoe"); + c.get("ItemList.293.MCName", "diamond_hoe"); + c.get("ItemList.293.Name", "Diamond Hoe"); + c.get("ItemList.294.MCName", "golden_hoe"); + c.get("ItemList.294.Name", "Golden Hoe"); + c.get("ItemList.295.MCName", "wheat_seeds"); + c.get("ItemList.295.Name", "Wheat Seeds"); + c.get("ItemList.296.MCName", "wheat"); + c.get("ItemList.296.Name", "Wheat"); + c.get("ItemList.297.MCName", "bread"); + c.get("ItemList.297.Name", "Bread"); + c.get("ItemList.298.MCName", "leather_helmet"); + c.get("ItemList.298.Name", "Leather Helmet"); + c.get("ItemList.299.MCName", "leather_chestplate"); + c.get("ItemList.299.Name", "Leather Tunic"); + c.get("ItemList.300.MCName", "leather_leggings"); + c.get("ItemList.300.Name", "Leather Pants"); + c.get("ItemList.301.MCName", "leather_boots"); + c.get("ItemList.301.Name", "Leather Boots"); + c.get("ItemList.302.MCName", "chainmail_helmet"); + c.get("ItemList.302.Name", "Chainmail Helmet"); + c.get("ItemList.303.MCName", "chainmail_chestplate"); + c.get("ItemList.303.Name", "Chainmail Chestplate"); + c.get("ItemList.304.MCName", "chainmail_leggings"); + c.get("ItemList.304.Name", "Chainmail Leggings"); + c.get("ItemList.305.MCName", "chainmail_boots"); + c.get("ItemList.305.Name", "Chainmail Boots"); + c.get("ItemList.306.MCName", "iron_helmet"); + c.get("ItemList.306.Name", "Iron Helmet"); + c.get("ItemList.307.MCName", "iron_chestplate"); + c.get("ItemList.307.Name", "Iron Chestplate"); + c.get("ItemList.308.MCName", "iron_leggings"); + c.get("ItemList.308.Name", "Iron Leggings"); + c.get("ItemList.309.MCName", "iron_boots"); + c.get("ItemList.309.Name", "Iron Boots"); + c.get("ItemList.310.MCName", "diamond_helmet"); + c.get("ItemList.310.Name", "Diamond Helmet"); + c.get("ItemList.311.MCName", "diamond_chestplate"); + c.get("ItemList.311.Name", "Diamond Chestplate"); + c.get("ItemList.312.MCName", "diamond_leggings"); + c.get("ItemList.312.Name", "Diamond Leggings"); + c.get("ItemList.313.MCName", "diamond_boots"); + c.get("ItemList.313.Name", "Diamond Boots"); + c.get("ItemList.314.MCName", "golden_helmet"); + c.get("ItemList.314.Name", "Golden Helmet"); + c.get("ItemList.315.MCName", "golden_chestplate"); + c.get("ItemList.315.Name", "Golden Chestplate"); + c.get("ItemList.316.MCName", "golden_leggings"); + c.get("ItemList.316.Name", "Golden Leggings"); + c.get("ItemList.317.MCName", "golden_boots"); + c.get("ItemList.317.Name", "Golden Boots"); + c.get("ItemList.318.MCName", "flint_and_steel"); + c.get("ItemList.318.Name", "Flint"); + c.get("ItemList.319.MCName", "porkchop"); + c.get("ItemList.319.Name", "Raw Porkchop"); + c.get("ItemList.320.MCName", "cooked_porkchop"); + c.get("ItemList.320.Name", "Cooked Porkchop"); + c.get("ItemList.321.MCName", "painting"); + c.get("ItemList.321.Name", "Painting"); + c.get("ItemList.322.MCName", "golden_apple"); + c.get("ItemList.322.Name", "Golden Apple"); + c.get("ItemList.322:1.MCName", "golden_apple"); + c.get("ItemList.322:1.Name", "Enchanted Golden Apple"); + c.get("ItemList.323.MCName", "sign"); + c.get("ItemList.323.Name", "Sign"); + c.get("ItemList.324.MCName", "wooden_door"); + c.get("ItemList.324.Name", "Wooden Door"); + c.get("ItemList.325.MCName", "bucket"); + c.get("ItemList.325.Name", "Bucket"); + c.get("ItemList.326.MCName", "water_bucket"); + c.get("ItemList.326.Name", "Water Bucket"); + c.get("ItemList.327.MCName", "lava_bucket"); + c.get("ItemList.327.Name", "Lava Bucket"); + c.get("ItemList.328.MCName", "minecart"); + c.get("ItemList.328.Name", "Minecart"); + c.get("ItemList.329.MCName", "saddle"); + c.get("ItemList.329.Name", "Saddle"); + c.get("ItemList.330.MCName", "iron_door"); + c.get("ItemList.330.Name", "Iron Door"); + c.get("ItemList.331.MCName", "redstone"); + c.get("ItemList.331.Name", "Redstone"); + c.get("ItemList.332.MCName", "snowball"); + c.get("ItemList.332.Name", "Snowball"); + c.get("ItemList.333.MCName", "boat"); + c.get("ItemList.333.Name", "Boat"); + c.get("ItemList.334.MCName", "leather"); + c.get("ItemList.334.Name", "Leather"); + c.get("ItemList.335.MCName", "milk_bucket"); + c.get("ItemList.335.Name", "Milk Bucket"); + c.get("ItemList.336.MCName", "brick"); + c.get("ItemList.336.Name", "Brick"); + c.get("ItemList.337.MCName", "clay_ball"); + c.get("ItemList.337.Name", "Clay Ball"); + c.get("ItemList.338.MCName", "reeds"); + c.get("ItemList.338.Name", "Sugar Canes"); + c.get("ItemList.339.MCName", "paper"); + c.get("ItemList.339.Name", "Paper"); + c.get("ItemList.340.MCName", "book"); + c.get("ItemList.340.Name", "Book"); + c.get("ItemList.341.MCName", "slime_ball"); + c.get("ItemList.341.Name", "Slimeball"); + c.get("ItemList.342.MCName", "chest_minecart"); + c.get("ItemList.342.Name", "Minecart with Chest"); + c.get("ItemList.343.MCName", "furnace_minecart"); + c.get("ItemList.343.Name", "Minecart with Furnace"); + c.get("ItemList.344.MCName", "egg"); + c.get("ItemList.344.Name", "Egg"); + c.get("ItemList.345.MCName", "compass"); + c.get("ItemList.345.Name", "Compass"); + c.get("ItemList.346.MCName", "fishing_rod"); + c.get("ItemList.346.Name", "Fishing Rod"); + c.get("ItemList.347.MCName", "clock"); + c.get("ItemList.347.Name", "Clock"); + c.get("ItemList.348.MCName", "glowstone_dust"); + c.get("ItemList.348.Name", "Glowstone Dust"); + c.get("ItemList.349.MCName", "fish"); + c.get("ItemList.349.Name", "Raw Fish"); + c.get("ItemList.349:1.MCName", "fish"); + c.get("ItemList.349:1.Name", "Raw Salmon"); + c.get("ItemList.349:2.MCName", "fish"); + c.get("ItemList.349:2.Name", "Clownfish"); + c.get("ItemList.349:3.MCName", "fish"); + c.get("ItemList.349:3.Name", "Pufferfish"); + c.get("ItemList.350.MCName", "cooked_fish"); + c.get("ItemList.350.Name", "Cooked Fish"); + c.get("ItemList.350:1.MCName", "cooked_fish"); + c.get("ItemList.350:1.Name", "Cooked Salmon"); + c.get("ItemList.351.MCName", "dye"); + c.get("ItemList.351.Name", "All Dyes"); + c.get("ItemList.351:0.MCName", "dye"); + c.get("ItemList.351:0.Name", "Ink Sack"); + c.get("ItemList.351:1.MCName", "dye"); + c.get("ItemList.351:1.Name", "Rose Red"); + c.get("ItemList.351:2.MCName", "dye"); + c.get("ItemList.351:2.Name", "Cactus Green"); + c.get("ItemList.351:3.MCName", "dye"); + c.get("ItemList.351:3.Name", "Coco Beans"); + c.get("ItemList.351:4.MCName", "dye"); + c.get("ItemList.351:4.Name", "Lapis Lazuli"); + c.get("ItemList.351:5.MCName", "dye"); + c.get("ItemList.351:5.Name", "Purple Dye"); + c.get("ItemList.351:6.MCName", "dye"); + c.get("ItemList.351:6.Name", "Cyan Dye"); + c.get("ItemList.351:7.MCName", "dye"); + c.get("ItemList.351:7.Name", "Light Gray Dye"); + c.get("ItemList.351:8.MCName", "dye"); + c.get("ItemList.351:8.Name", "Gray Dye"); + c.get("ItemList.351:9.MCName", "dye"); + c.get("ItemList.351:9.Name", "Pink Dye"); + c.get("ItemList.351:10.MCName", "dye"); + c.get("ItemList.351:10.Name", "Lime Dye"); + c.get("ItemList.351:11.MCName", "dye"); + c.get("ItemList.351:11.Name", "Dandelion Yellow"); + c.get("ItemList.351:12.MCName", "dye"); + c.get("ItemList.351:12.Name", "Light Blue Dye"); + c.get("ItemList.351:13.MCName", "dye"); + c.get("ItemList.351:13.Name", "Magenta Dye"); + c.get("ItemList.351:14.MCName", "dye"); + c.get("ItemList.351:14.Name", "Orange Dye"); + c.get("ItemList.351:15.MCName", "dye"); + c.get("ItemList.351:15.Name", "Bone Meal"); + c.get("ItemList.352.MCName", "bone"); + c.get("ItemList.352.Name", "Bone"); + c.get("ItemList.353.MCName", "sugar"); + c.get("ItemList.353.Name", "Sugar"); + c.get("ItemList.354.MCName", "cake"); + c.get("ItemList.354.Name", "Cake"); + c.get("ItemList.355.MCName", "bed"); + c.get("ItemList.355.Name", "Bed"); + c.get("ItemList.356.MCName", "repeater"); + c.get("ItemList.356.Name", "Redstone Repeater"); + c.get("ItemList.357.MCName", "cookie"); + c.get("ItemList.357.Name", "Cookie"); + c.get("ItemList.358.MCName", "filled_map"); + c.get("ItemList.358.Name", "Map"); + c.get("ItemList.359.MCName", "shears"); + c.get("ItemList.359.Name", "Shears"); + c.get("ItemList.360.MCName", "melon"); + c.get("ItemList.360.Name", "Melon"); + c.get("ItemList.361.MCName", "pumpkin_seeds"); + c.get("ItemList.361.Name", "Pumpkin Seeds"); + c.get("ItemList.362.MCName", "melon_seeds"); + c.get("ItemList.362.Name", "Melon Seeds"); + c.get("ItemList.363.MCName", "beef"); + c.get("ItemList.363.Name", "Raw Beef"); + c.get("ItemList.364.MCName", "cooked_beef"); + c.get("ItemList.364.Name", "Steak"); + c.get("ItemList.365.MCName", "chicken"); + c.get("ItemList.365.Name", "Raw Chicken"); + c.get("ItemList.366.MCName", "cooked_chicken"); + c.get("ItemList.366.Name", "Cooked Chicken"); + c.get("ItemList.367.MCName", "rotten_flesh"); + c.get("ItemList.367.Name", "Rotten Flesh"); + c.get("ItemList.368.MCName", "ender_pearl"); + c.get("ItemList.368.Name", "Ender Pearl"); + c.get("ItemList.369.MCName", "blaze_rod"); + c.get("ItemList.369.Name", "Blaze Rod"); + c.get("ItemList.370.MCName", "ghast_tear"); + c.get("ItemList.370.Name", "Ghast Tear"); + c.get("ItemList.371.MCName", "gold_nugget"); + c.get("ItemList.371.Name", "Gold Nugget"); + c.get("ItemList.372.MCName", "nether_wart"); + c.get("ItemList.372.Name", "Nether Wart"); + c.get("ItemList.373.MCName", "potion"); + c.get("ItemList.373.Name", "Potion"); + c.get("ItemList.374.MCName", "glass_bottle"); + c.get("ItemList.374.Name", "Glass Bottle"); + c.get("ItemList.375.MCName", "spider_eye"); + c.get("ItemList.375.Name", "Spider Eye"); + c.get("ItemList.376.MCName", "fermented_spider_eye"); + c.get("ItemList.376.Name", "Fermented Spider Eye"); + c.get("ItemList.377.MCName", "blaze_powder"); + c.get("ItemList.377.Name", "Blaze Powder"); + c.get("ItemList.378.MCName", "magma_cream"); + c.get("ItemList.378.Name", "Magma Cream"); + c.get("ItemList.379.MCName", "brewing_stand"); + c.get("ItemList.379.Name", "Brewing Stand"); + c.get("ItemList.380.MCName", "cauldron"); + c.get("ItemList.380.Name", "Cauldron"); + c.get("ItemList.381.MCName", "ender_eye"); + c.get("ItemList.381.Name", "Eye of Ender"); + c.get("ItemList.382.MCName", "speckled_melon"); + c.get("ItemList.382.Name", "Glistering Melon"); + c.get("ItemList.383:50.MCName", "spawn_egg"); + c.get("ItemList.383:50.Name", "Spawn Creeper"); + c.get("ItemList.383:51.MCName", "spawn_egg"); + c.get("ItemList.383:51.Name", "Spawn Skeleton"); + c.get("ItemList.383:52.MCName", "spawn_egg"); + c.get("ItemList.383:52.Name", "Spawn Spider"); + c.get("ItemList.383:54.MCName", "spawn_egg"); + c.get("ItemList.383:54.Name", "Spawn Zombie"); + c.get("ItemList.383:55.MCName", "spawn_egg"); + c.get("ItemList.383:55.Name", "Spawn Slime"); + c.get("ItemList.383:56.MCName", "spawn_egg"); + c.get("ItemList.383:56.Name", "Spawn Ghast"); + c.get("ItemList.383:57.MCName", "spawn_egg"); + c.get("ItemList.383:57.Name", "Spawn Pigman"); + c.get("ItemList.383:58.MCName", "spawn_egg"); + c.get("ItemList.383:58.Name", "Spawn Enderman"); + c.get("ItemList.383:59.MCName", "spawn_egg"); + c.get("ItemList.383:59.Name", "Spawn Cave Spider"); + c.get("ItemList.383:60.MCName", "spawn_egg"); + c.get("ItemList.383:60.Name", "Spawn Silverfish"); + c.get("ItemList.383:61.MCName", "spawn_egg"); + c.get("ItemList.383:61.Name", "Spawn Blaze"); + c.get("ItemList.383:62.MCName", "spawn_egg"); + c.get("ItemList.383:62.Name", "Spawn Magma Cube"); + c.get("ItemList.383:65.MCName", "spawn_egg"); + c.get("ItemList.383:65.Name", "Spawn Bat"); + c.get("ItemList.383:66.MCName", "spawn_egg"); + c.get("ItemList.383:66.Name", "Spawn Witch"); + c.get("ItemList.383:67.MCName", "spawn_egg"); + c.get("ItemList.383:67.Name", "Spawn Endermite"); + c.get("ItemList.383:68.MCName", "spawn_egg"); + c.get("ItemList.383:68.Name", "Spawn Guardian"); + c.get("ItemList.383:90.MCName", "spawn_egg"); + c.get("ItemList.383:90.Name", "Spawn Pig"); + c.get("ItemList.383:91.MCName", "spawn_egg"); + c.get("ItemList.383:91.Name", "Spawn Sheep"); + c.get("ItemList.383:92.MCName", "spawn_egg"); + c.get("ItemList.383:92.Name", "Spawn Cow"); + c.get("ItemList.383:93.MCName", "spawn_egg"); + c.get("ItemList.383:93.Name", "Spawn Chicken"); + c.get("ItemList.383:94.MCName", "spawn_egg"); + c.get("ItemList.383:94.Name", "Spawn Squid"); + c.get("ItemList.383:95.MCName", "spawn_egg"); + c.get("ItemList.383:95.Name", "Spawn Wolf"); + c.get("ItemList.383:96.MCName", "spawn_egg"); + c.get("ItemList.383:96.Name", "Spawn Mooshroom"); + c.get("ItemList.383:98.MCName", "spawn_egg"); + c.get("ItemList.383:98.Name", "Spawn Ocelot"); + c.get("ItemList.383:100.MCName", "spawn_egg"); + c.get("ItemList.383:100.Name", "Spawn Horse"); + c.get("ItemList.383:101.MCName", "spawn_egg"); + c.get("ItemList.383:101.Name", "Spawn Rabbit"); + c.get("ItemList.383:120.MCName", "spawn_egg"); + c.get("ItemList.383:120.Name", "Spawn Villager"); + c.get("ItemList.384.MCName", "experience_bottle"); + c.get("ItemList.384.Name", "Bottle o' Enchanting"); + c.get("ItemList.385.MCName", "fire_charge"); + c.get("ItemList.385.Name", "Fire Charge"); + c.get("ItemList.386.MCName", "writable_book"); + c.get("ItemList.386.Name", "Book and Quill"); + c.get("ItemList.387.MCName", "written_book"); + c.get("ItemList.387.Name", "Written Book"); + c.get("ItemList.388.MCName", "emerald"); + c.get("ItemList.388.Name", "Emerald"); + c.get("ItemList.389.MCName", "item_frame"); + c.get("ItemList.389.Name", "Item Frame"); + c.get("ItemList.390.MCName", "flower_pot"); + c.get("ItemList.390.Name", "Flower Pot"); + c.get("ItemList.391.MCName", "carrot"); + c.get("ItemList.391.Name", "Carrot"); + c.get("ItemList.392.MCName", "potato"); + c.get("ItemList.392.Name", "Potato"); + c.get("ItemList.393.MCName", "baked_potato"); + c.get("ItemList.393.Name", "Baked Potato"); + c.get("ItemList.394.MCName", "poisonous_potato"); + c.get("ItemList.394.Name", "Poisonous Potato"); + c.get("ItemList.395.MCName", "map"); + c.get("ItemList.395.Name", "Empty Map"); + c.get("ItemList.396.MCName", "golden_carrot"); + c.get("ItemList.396.Name", "Golden Carrot"); + c.get("ItemList.397.MCName", "skull"); + c.get("ItemList.397.Name", "Mob Head (Skeleton)"); + c.get("ItemList.397:1.MCName", "skull"); + c.get("ItemList.397:1.Name", "Mob Head (Wither Skeleton)"); + c.get("ItemList.397:2.MCName", "skull"); + c.get("ItemList.397:2.Name", "Mob Head (Zombie)"); + c.get("ItemList.397:3.MCName", "skull"); + c.get("ItemList.397:3.Name", "Mob Head (Human)"); + c.get("ItemList.397:4.MCName", "skull"); + c.get("ItemList.397:4.Name", "Mob Head (Creeper)"); + c.get("ItemList.398.MCName", "carrot_on_a_stick"); + c.get("ItemList.398.Name", "Carrot on a Stick"); + c.get("ItemList.399.MCName", "nether_star"); + c.get("ItemList.399.Name", "Nether Star"); + c.get("ItemList.400.MCName", "pumpkin_pie"); + c.get("ItemList.400.Name", "Pumpkin Pie"); + c.get("ItemList.401.MCName", "fireworks"); + c.get("ItemList.401.Name", "Firework Rocket"); + c.get("ItemList.402.MCName", "firework_charge"); + c.get("ItemList.402.Name", "Firework Star"); + c.get("ItemList.403.MCName", "enchanted_book"); + c.get("ItemList.403.Name", "Enchanted Book"); + c.get("ItemList.404.MCName", "comparator"); + c.get("ItemList.404.Name", "Redstone Comparator"); + c.get("ItemList.405.MCName", "netherbrick"); + c.get("ItemList.405.Name", "Nether Brick"); + c.get("ItemList.406.MCName", "quartz"); + c.get("ItemList.406.Name", "Nether Quartz"); + c.get("ItemList.407.MCName", "tnt_minecart"); + c.get("ItemList.407.Name", "Minecart with TNT"); + c.get("ItemList.408.MCName", "hopper_minecart"); + c.get("ItemList.408.Name", "Minecart with Hopper"); + c.get("ItemList.409.MCName", "prismarine_shard"); + c.get("ItemList.409.Name", "Prismarine Shard"); + c.get("ItemList.410.MCName", "prismarine_crystals"); + c.get("ItemList.410.Name", "Prismarine Crystals"); + c.get("ItemList.411.MCName", "rabbit"); + c.get("ItemList.411.Name", "Raw Rabbit"); + c.get("ItemList.412.MCName", "cooked_rabbit"); + c.get("ItemList.412.Name", "Cooked Rabbit"); + c.get("ItemList.413.MCName", "rabbit_stew"); + c.get("ItemList.413.Name", "Rabbit Stew"); + c.get("ItemList.414.MCName", "rabbit_foot"); + c.get("ItemList.414.Name", "Rabbit's Foot"); + c.get("ItemList.415.MCName", "rabbit_hide"); + c.get("ItemList.415.Name", "Rabbit Hide"); + c.get("ItemList.416.MCName", "armor_stand"); + c.get("ItemList.416.Name", "Armor Stand"); + c.get("ItemList.417.MCName", "iron_horse_armor"); + c.get("ItemList.417.Name", "Iron Horse Armor"); + c.get("ItemList.418.MCName", "golden_horse_armor"); + c.get("ItemList.418.Name", "Golden Horse Armor"); + c.get("ItemList.419.MCName", "diamond_horse_armor"); + c.get("ItemList.419.Name", "Diamond Horse Armor"); + c.get("ItemList.420.MCName", "lead"); + c.get("ItemList.420.Name", "Lead"); + c.get("ItemList.421.MCName", "name_tag"); + c.get("ItemList.421.Name", "Name Tag"); + c.get("ItemList.422.MCName", "command_block_minecart"); + c.get("ItemList.422.Name", "Minecart with Command Block"); + c.get("ItemList.423.MCName", "mutton"); + c.get("ItemList.423.Name", "Raw Mutton"); + c.get("ItemList.424.MCName", "cooked_mutton"); + c.get("ItemList.424.Name", "Cooked Mutton"); + c.get("ItemList.425.MCName", "banner"); + c.get("ItemList.425.Name", "Banner"); + c.get("ItemList.426.MCName", "end_crystal"); + c.get("ItemList.426.Name", "End Crystal"); + c.get("ItemList.427.MCName", "spruce_door"); + c.get("ItemList.427.Name", "Spruce Door"); + c.get("ItemList.428.MCName", "birch_door"); + c.get("ItemList.428.Name", "Birch Door"); + c.get("ItemList.429.MCName", "jungle_door"); + c.get("ItemList.429.Name", "Jungle Door"); + c.get("ItemList.430.MCName", "acacia_door"); + c.get("ItemList.430.Name", "Acacia Door"); + c.get("ItemList.431.MCName", "dark_oak_door"); + c.get("ItemList.431.Name", "Dark Oak Door"); + c.get("ItemList.432.MCName", "chorus_fruit"); + c.get("ItemList.432.Name", "Chorus Fruit"); + c.get("ItemList.433.MCName", "chorus_fruit_popped"); + c.get("ItemList.433.Name", "Popped Chorus Fruit"); + c.get("ItemList.434.MCName", "beetroot"); + c.get("ItemList.434.Name", "Beetroot"); + c.get("ItemList.435.MCName", "beetroot_seeds"); + c.get("ItemList.435.Name", "Beetroot Seeds"); + c.get("ItemList.436.MCName", "beetroot_soup"); + c.get("ItemList.436.Name", "Beetroot Soup"); + c.get("ItemList.437.MCName", "dragon_breath"); + c.get("ItemList.437.Name", "Dragon's Breath"); + c.get("ItemList.439.MCName", "spectral_arrow"); + c.get("ItemList.439.Name", "Spectral Arrow"); + c.get("ItemList.440.MCName", "tipped_arrow"); + c.get("ItemList.440.Name", "Tipped Arrow"); + c.get("ItemList.441.MCName", "lingering_potion"); + c.get("ItemList.441.Name", "Lingering Potion"); + c.get("ItemList.442.MCName", "shield"); + c.get("ItemList.442.Name", "Shield"); + c.get("ItemList.443.MCName", "elytra"); + c.get("ItemList.443.Name", "Elytra"); + c.get("ItemList.2256.MCName", "record_13"); + c.get("ItemList.2256.Name", "13 Disc"); + c.get("ItemList.2257.MCName", "record_cat"); + c.get("ItemList.2257.Name", "Cat Disc"); + c.get("ItemList.2258.MCName", "record_blocks"); + c.get("ItemList.2258.Name", "Blocks Disc"); + c.get("ItemList.2259.MCName", "record_chirp"); + c.get("ItemList.2259.Name", "Chirp Disc"); + c.get("ItemList.2260.MCName", "record_far"); + c.get("ItemList.2260.Name", "Far Disc"); + c.get("ItemList.2261.MCName", "record_mall"); + c.get("ItemList.2261.Name", "Mall Disc"); + c.get("ItemList.2262.MCName", "record_mellohi"); + c.get("ItemList.2262.Name", "Mellohi Disc"); + c.get("ItemList.2263.MCName", "record_stal"); + c.get("ItemList.2263.Name", "Stal Disc"); + c.get("ItemList.2264.MCName", "record_strad"); + c.get("ItemList.2264.Name", "Strad Disc"); + c.get("ItemList.2265.MCName", "record_ward"); + c.get("ItemList.2265.Name", "Ward Disc"); + c.get("ItemList.2266.MCName", "record_11"); + c.get("ItemList.2266.Name", "11 Disc"); + c.get("ItemList.2267.MCName", "record_wait"); + c.get("ItemList.2267.Name", "Wait Disc"); + + // Entity list + c.get("EntityList.-1.MCName", "Player"); + c.get("EntityList.-1.Name", "Player"); + c.get("EntityList.50.MCName", "Creeper"); + c.get("EntityList.50.Name", "Creeper"); + c.get("EntityList.51.MCName", "Skeleton"); + c.get("EntityList.51.Name", "Skeleton"); + c.get("EntityList.51:1.MCName", "Skeleton"); + c.get("EntityList.51:1.Name", "WitherSkeleton"); + c.get("EntityList.51:2.MCName", "Skeleton"); + c.get("EntityList.51:2.Name", "Skeleton Stray"); + c.get("EntityList.52.MCName", "Spider"); + c.get("EntityList.52.Name", "Spider"); + c.get("EntityList.53.MCName", "Giant"); + c.get("EntityList.53.Name", "Giant"); + c.get("EntityList.54.MCName", "Zombie"); + c.get("EntityList.54.Name", "Zombie"); + c.get("EntityList.54:1.MCName", "Zombie"); + c.get("EntityList.54:1.Name", "Zombie Villager"); + c.get("EntityList.54:2.MCName", "Zombie"); + c.get("EntityList.54:2.Name", "Zombie Husk"); + c.get("EntityList.55.MCName", "Slime"); + c.get("EntityList.55.Name", "Slime"); + c.get("EntityList.56.MCName", "Ghast"); + c.get("EntityList.56.Name", "Ghast"); + c.get("EntityList.57.MCName", "PigZombie"); + c.get("EntityList.57.Name", "Zombie Pigman"); + c.get("EntityList.58.MCName", "Enderman"); + c.get("EntityList.58.Name", "Enderman"); + c.get("EntityList.59.MCName", "CaveSpider"); + c.get("EntityList.59.Name", "Cave Spider"); + c.get("EntityList.60.MCName", "Silverfish"); + c.get("EntityList.60.Name", "Silverfish"); + c.get("EntityList.61.MCName", "Blaze"); + c.get("EntityList.61.Name", "Blaze"); + c.get("EntityList.62.MCName", "LavaSlime"); + c.get("EntityList.62.Name", "LavaSlime"); + c.get("EntityList.63.MCName", "EnderDragon"); + c.get("EntityList.63.Name", "EnderDragon"); + c.get("EntityList.64.MCName", "WitherBoss"); + c.get("EntityList.64.Name", "Wither"); + c.get("EntityList.65.MCName", "Bat"); + c.get("EntityList.65.Name", "Bat"); + c.get("EntityList.66.MCName", "Witch"); + c.get("EntityList.66.Name", "Witch"); + c.get("EntityList.67.MCName", "Endermite"); + c.get("EntityList.67.Name", "Endermite"); + c.get("EntityList.68.MCName", "Guardian"); + c.get("EntityList.68.Name", "Guardian"); + c.get("EntityList.68:1.MCName", "Guardian"); + c.get("EntityList.68:1.Name", "Elder Guardian"); + c.get("EntityList.69.MCName", "Shulker"); + c.get("EntityList.69.Name", "Shulker"); + c.get("EntityList.90.MCName", "Pig"); + c.get("EntityList.90.Name", "Pig"); + c.get("EntityList.91.MCName", "Sheep"); + c.get("EntityList.91.Name", "Sheep"); + c.get("EntityList.92.MCName", "Cow"); + c.get("EntityList.92.Name", "Cow"); + c.get("EntityList.93.MCName", "Chicken"); + c.get("EntityList.93.Name", "Chicken"); + c.get("EntityList.94.MCName", "Squid"); + c.get("EntityList.94.Name", "Squid"); + c.get("EntityList.95.MCName", "Wolf"); + c.get("EntityList.95.Name", "Wolf"); + c.get("EntityList.96.MCName", "MushroomCow"); + c.get("EntityList.96.Name", "MushroomCow"); + c.get("EntityList.97.MCName", "SnowMan"); + c.get("EntityList.97.Name", "Snow Golem"); + c.get("EntityList.98.MCName", "Ozelot"); + c.get("EntityList.98.Name", "Ocelot"); + c.get("EntityList.99.MCName", "VillagerGolem"); + c.get("EntityList.99.Name", "Iron Golem"); + c.get("EntityList.100.MCName", "EntityHorse"); + c.get("EntityList.100.Name", "Horse"); + c.get("EntityList.101.MCName", "Rabbit"); + c.get("EntityList.101.Name", "Rabbit"); + c.get("EntityList.102.MCName", "PolarBear"); + c.get("EntityList.102.Name", "Polar Bear"); + c.get("EntityList.120.MCName", "Villager"); + c.get("EntityList.120.Name", "Villager"); + c.get("EntityList.200.MCName", "EnderCrystal"); + c.get("EntityList.200.Name", "Ender Crystal"); + + // Enchant list + c.get("EnchantList.0.MCName", "PROTECTION_ENVIRONMENTAL"); + c.get("EnchantList.0.Name", "Protection"); + c.get("EnchantList.1.MCName", "PROTECTION_FIRE"); + c.get("EnchantList.1.Name", "Fire Protection"); + c.get("EnchantList.2.MCName", "PROTECTION_FALL"); + c.get("EnchantList.2.Name", "Feather Falling"); + c.get("EnchantList.3.MCName", "PROTECTION_EXPLOSIONS"); + c.get("EnchantList.3.Name", "Blast Protection"); + c.get("EnchantList.4.MCName", "ROTECTION_PROJECTILE"); + c.get("EnchantList.4.Name", "Projectile Protection"); + c.get("EnchantList.5.MCName", "OXYGEN"); + c.get("EnchantList.5.Name", "Respiration"); + c.get("EnchantList.6.MCName", "DIG_SPEED"); + c.get("EnchantList.6.Name", "Aqua Affinity"); + c.get("EnchantList.7.MCName", "THORNS"); + c.get("EnchantList.7.Name", "Thorns"); + c.get("EnchantList.8.MCName", "DEPTH_STRIDER"); + c.get("EnchantList.8.Name", "Depth Strider"); + c.get("EnchantList.9.MCName", "FROST_WALKER"); + c.get("EnchantList.9.Name", "Frost Walker"); + c.get("EnchantList.16.MCName", "DAMAGE_ALL"); + c.get("EnchantList.16.Name", "Sharpness"); + c.get("EnchantList.17.MCName", "DAMAGE_UNDEAD"); + c.get("EnchantList.17.Name", "Smite"); + c.get("EnchantList.18.MCName", "DAMAGE_ARTHROPODS"); + c.get("EnchantList.18.Name", "Bane of Arthropods"); + c.get("EnchantList.19.MCName", "KNOCKBACK"); + c.get("EnchantList.19.Name", "Knockback"); + c.get("EnchantList.20.MCName", "FIRE_ASPECT"); + c.get("EnchantList.20.Name", "Fire Aspect"); + c.get("EnchantList.21.MCName", "LOOT_BONUS_MOBS"); + c.get("EnchantList.21.Name", "Looting"); + c.get("EnchantList.32.MCName", "DIG_SPEED"); + c.get("EnchantList.32.Name", "Efficiency"); + c.get("EnchantList.33.MCName", "SILK_TOUCH"); + c.get("EnchantList.33.Name", "Silk Touch"); + c.get("EnchantList.34.MCName", "DURABILITY"); + c.get("EnchantList.34.Name", "Unbreaking"); + c.get("EnchantList.35.MCName", "LOOT_BONUS_BLOCKS"); + c.get("EnchantList.35.Name", "Fortune"); + c.get("EnchantList.48.MCName", "ARROW_DAMAGE"); + c.get("EnchantList.48.Name", "Power"); + c.get("EnchantList.49.MCName", "ARROW_KNOCKBACK"); + c.get("EnchantList.49.Name", "Punch"); + c.get("EnchantList.50.MCName", "ARROW_FIRE"); + c.get("EnchantList.50.Name", "Flame"); + c.get("EnchantList.51.MCName", "ARROW_INFINITE"); + c.get("EnchantList.51.Name", "Infinity"); + c.get("EnchantList.61.MCName", "LUCK"); + c.get("EnchantList.61.Name", "Luck of the Sea"); + c.get("EnchantList.62.MCName", "LURE"); + c.get("EnchantList.62.Name", "Lure"); + c.get("EnchantList.70.MCName", "MENDING"); + c.get("EnchantList.70.Name", "Mending"); + + // Color list + c.get("ColorList.0.MCName", "white"); + c.get("ColorList.0.Name", "&fWhite"); + c.get("ColorList.1.MCName", "orange"); + c.get("ColorList.1.Name", "&6Orange"); + c.get("ColorList.2.MCName", "magenta"); + c.get("ColorList.2.Name", "&dMagenta"); + c.get("ColorList.3.MCName", "lightBlue"); + c.get("ColorList.3.Name", "%9Light blue"); + c.get("ColorList.4.MCName", "yellow"); + c.get("ColorList.4.Name", "&eYellow"); + c.get("ColorList.5.MCName", "lime"); + c.get("ColorList.5.Name", "&aLime"); + c.get("ColorList.6.MCName", "pink"); + c.get("ColorList.6.Name", "&dPink"); + c.get("ColorList.7.MCName", "gray"); + c.get("ColorList.7.Name", "&8Gray"); + c.get("ColorList.8.MCName", "silver"); + c.get("ColorList.8.Name", "&7Light gray"); + c.get("ColorList.9.MCName", "cyan"); + c.get("ColorList.9.Name", "&3Cyan"); + c.get("ColorList.10.MCName", "purple"); + c.get("ColorList.10.Name", "&5Purple"); + c.get("ColorList.11.MCName", "blue"); + c.get("ColorList.11.Name", "&1Blue"); + c.get("ColorList.12.MCName", "brown"); + c.get("ColorList.12.Name", "&4Brown"); + c.get("ColorList.13.MCName", "green"); + c.get("ColorList.13.Name", "&2Green"); + c.get("ColorList.14.MCName", "red"); + c.get("ColorList.14.Name", "&cRed"); + c.get("ColorList.15.MCName", "black"); + c.get("ColorList.15.Name", "&0Black"); + try { + c.getW().save(f); + } catch (IOException e) { + e.printStackTrace(); + } } readFile(); } diff --git a/com/gamingmesh/jobs/config/ShopManager.java b/com/gamingmesh/jobs/config/ShopManager.java index bb5e31fa..3c6509ae 100644 --- a/com/gamingmesh/jobs/config/ShopManager.java +++ b/com/gamingmesh/jobs/config/ShopManager.java @@ -32,7 +32,7 @@ import com.gamingmesh.jobs.stuff.Perm; public class ShopManager { private JobsPlugin plugin; public List list = new ArrayList(); - public List GuiList = new ArrayList(); + public HashMap GuiList = new HashMap(); public ShopManager(JobsPlugin plugin) { this.plugin = plugin; @@ -42,9 +42,38 @@ public class ShopManager { return list; } - public void checkSlot(Player player, int slot) { + public void openInventory(Player player, int page) { + Inventory inv = Jobs.getShopManager().CreateJobsGUI(player, page); + if (inv == null) { + player.sendMessage(Jobs.getLanguage().getMessage("command.shop.info.cantOpen")); + return; + } + Inventory topinv = player.getOpenInventory().getTopInventory(); + if (topinv != null) + player.closeInventory(); + Jobs.getShopManager().GuiList.put(player.getName(), page); + player.openInventory(inv); + } - ShopItem item = list.get(slot); + public void checkSlot(Player player, int slot, int page) { + + List ls = getItemsByPage(page); + + int GuiSize = this.getGuiSize(ls, page); + if (slot == getPrevButtonSlot(GuiSize, page)) { + openInventory(player, page - 1); + return; + } + + if (slot == getnextButtonSlot(GuiSize, page)) { + openInventory(player, page + 1); + return; + } + + if (slot > ls.size() - 1) + return; + + ShopItem item = ls.get(slot); PlayerPoints pointsInfo = Jobs.getPlayerManager().getPointsData().getPlayerPointsInfo(player.getUniqueId()); if (!Perm.hasPermission(player, "jobs.items.bypass")) { @@ -125,29 +154,66 @@ public class ShopManager { player.sendMessage(Jobs.getLanguage().getMessage("command.shop.info.Paid", "%amount%", item.getPrice())); } - player.getOpenInventory().getTopInventory().setContents(CreateJobsGUI(player).getContents()); + player.getOpenInventory().getTopInventory().setContents(CreateJobsGUI(player, page).getContents()); } - public Inventory CreateJobsGUI(Player player) { + private List getItemsByPage(Integer page) { + List ls = new ArrayList(); + for (ShopItem one : list) { + if (one.getPage() == page) + ls.add(one); + } + return ls; + } + private int getGuiSize(List ls, int page) { int GuiSize = 9; - - if (list.size() > 9) + if (ls.size() > 9) GuiSize = 18; - if (list.size() > 18) + if (ls.size() > 18) GuiSize = 27; - if (list.size() > 27) + if (ls.size() > 27) GuiSize = 36; - if (list.size() > 36) + if (ls.size() > 36) GuiSize = 45; - if (list.size() > 45) + if (ls.size() == 45) GuiSize = 54; + if (page > 1 && GuiSize < 54) + GuiSize += 9; + + return GuiSize; + } + + private int getPrevButtonSlot(int GuiSize, int page) { + int prev = -1; + if (page > 1) + prev = GuiSize - 9; + return prev; + } + + private int getnextButtonSlot(int GuiSize, int page) { + int next = -1; + List lsnext = getItemsByPage(page + 1); + if (!lsnext.isEmpty()) + next = GuiSize - 1; + return next; + } + + public Inventory CreateJobsGUI(Player player, Integer page) { + + List ls = getItemsByPage(page); + + if (ls.isEmpty()) + return null; + + int GuiSize = getGuiSize(ls, page); + String title = Jobs.getLanguage().getMessage("command.shop.info.title"); if (title.length() > 32) title = title.substring(0, 30) + ".."; @@ -159,9 +225,9 @@ public class ShopManager { Inventory GuiInv = Bukkit.createInventory(null, GuiSize, title); - for (int i = 0; i < list.size(); i++) { + for (int i = 0; i < ls.size(); i++) { - ShopItem item = list.get(i); + ShopItem item = ls.get(i); ArrayList Lore = new ArrayList(); @@ -220,6 +286,24 @@ public class ShopManager { GUIitem.setItemMeta(meta); GuiInv.setItem(i, GUIitem); } + + ItemStack Item = new ItemStack(Material.ARROW); + + ItemMeta meta = Item.getItemMeta(); + int pervSlot = getPrevButtonSlot(GuiSize, page); + if (pervSlot != -1) { + meta.setDisplayName(Jobs.getLanguage().getMessage("command.help.output.prev")); + Item.setItemMeta(meta); + GuiInv.setItem(pervSlot, Item); + } + + int nextSlot = getnextButtonSlot(GuiSize, page); + if (nextSlot != -1) { + meta.setDisplayName(Jobs.getLanguage().getMessage("command.help.output.next")); + Item.setItemMeta(meta); + GuiInv.setItem(nextSlot, Item); + } + return GuiInv; } @@ -235,6 +319,8 @@ public class ShopManager { ArrayList categoriesList = new ArrayList(ConfCategory.getKeys(false)); if (categoriesList.size() == 0) return; + int i = 0; + int y = 1; for (String category : categoriesList) { ConfigurationSection NameSection = ConfCategory.getConfigurationSection(category); @@ -361,10 +447,19 @@ public class ShopManager { Sitem.setitems(items); } - if (list.size() >= 54) { - Bukkit.getConsoleSender().sendMessage(ChatColor.RED + "[Jobs] To many jobs shop items, max allowed is 54! Only first 54 items will be used!"); - break; +// if (list.size() >= 54) { +// Bukkit.getConsoleSender().sendMessage(ChatColor.RED + "[Jobs] To many jobs shop items, max allowed is 54! Only first 54 items will be used!"); +// break; +// } + i++; + + if (i > 45) { + i = 1; + y++; } + + Sitem.setSlot(i); + Sitem.setPage(y); list.add(Sitem); } @@ -375,8 +470,8 @@ public class ShopManager { } public void CloseInventories() { - for (String one : GuiList) { - Player player = Bukkit.getPlayer(one); + for (Entry one : GuiList.entrySet()) { + Player player = Bukkit.getPlayer(one.getKey()); if (player != null) { player.closeInventory(); } diff --git a/com/gamingmesh/jobs/container/ExploreRespond.class b/com/gamingmesh/jobs/container/ExploreRespond.class index f17b0bc7d6f5f6ceaeb94e2ef11783ac769778ce..e39fefbc687e498bbaa920eabc763b1e29e87356 100644 GIT binary patch delta 17 Zcmcc5a-W6c)W2Q(7#J9gH*$nC0RTg=22=n5 delta 17 Zcmcc5a-W6c)W2Q(7#J8#HgbeB0RTg_22}t6 diff --git a/com/gamingmesh/jobs/container/JobsPlayer.java b/com/gamingmesh/jobs/container/JobsPlayer.java index 624c6b7f..a25c01bc 100644 --- a/com/gamingmesh/jobs/container/JobsPlayer.java +++ b/com/gamingmesh/jobs/container/JobsPlayer.java @@ -253,10 +253,10 @@ public class JobsPlayer { private Double getPlayerBoost(String JobName, BoostType type) { double Boost = 1.0; - if (Perm.hasPermission(player, "jobs.boost." + JobName + "." + type.getName().toLowerCase()) || - Perm.hasPermission(player, "jobs.boost." + JobName + ".all") || - Perm.hasPermission(player, "jobs.boost.all.all") || - Perm.hasPermission(player, "jobs.boost.all." + type.getName().toLowerCase())) { + if (player.hasPermission("jobs.boost." + JobName + "." + type.getName().toLowerCase()) || + player.hasPermission("jobs.boost." + JobName + ".all") || + player.hasPermission("jobs.boost.all.all") || + player.hasPermission("jobs.boost.all." + type.getName().toLowerCase())) { Boost = Jobs.getGCManager().Boost.get(type); } return Boost; diff --git a/com/gamingmesh/jobs/container/ShopItem.java b/com/gamingmesh/jobs/container/ShopItem.java index 7e4abb3b..737ce602 100644 --- a/com/gamingmesh/jobs/container/ShopItem.java +++ b/com/gamingmesh/jobs/container/ShopItem.java @@ -10,6 +10,9 @@ public class ShopItem { private double price = 0D; + private int slot = -1; + private int page = -1; + private int IconId = 1; private int IconData = 0; private int IconAmount = 1; @@ -31,6 +34,22 @@ public class ShopItem { this.IconId = IconId; } + public void setPage(Integer page) { + this.page = page; + } + + public int getPage() { + return this.page; + } + + public void setSlot(Integer slot) { + this.slot = slot; + } + + public int getSlot() { + return this.slot; + } + public void setitems(List items) { this.items = items; } diff --git a/com/gamingmesh/jobs/dao/JobsDAO.java b/com/gamingmesh/jobs/dao/JobsDAO.java index 5b8c8819..483cc98c 100644 --- a/com/gamingmesh/jobs/dao/JobsDAO.java +++ b/com/gamingmesh/jobs/dao/JobsDAO.java @@ -116,6 +116,10 @@ public abstract class JobsDAO { protected abstract void checkUpdate9() throws SQLException; + protected abstract boolean createDefaultLogBase(); + + protected abstract boolean dropDataBase(String name); + /** * Gets the database prefix * @return the prefix @@ -771,11 +775,10 @@ public abstract class JobsDAO { JobsConnection conn = getConnection(); if (conn == null) return; + PreparedStatement prest = null; try { - int time = TimeManage.timeInInt(); - - PreparedStatement prest = conn.prepareStatement("SELECT * FROM `" + prefix + "log` WHERE `userid` = ? AND `time` = ? ;"); + prest = conn.prepareStatement("SELECT * FROM `" + prefix + "log` WHERE `userid` = ? AND `time` = ? ;"); prest.setInt(1, player.getUserId()); prest.setInt(2, time); ResultSet res = prest.executeQuery(); @@ -783,9 +786,22 @@ public abstract class JobsDAO { Loging.loadToLog(player, res.getString("action"), res.getString("itemname"), res.getInt("count"), res.getDouble("money"), res.getDouble("exp")); } res.close(); - prest.close(); - } catch (SQLException e) { - e.printStackTrace(); + } catch (Exception e) { + if (prest != null) + try { + prest.close(); + } catch (SQLException e1) { + e1.printStackTrace(); + } + this.dropDataBase("log"); + this.createDefaultLogBase(); + } finally { + if (prest != null) + try { + prest.close(); + } catch (SQLException e) { + e.printStackTrace(); + } } } diff --git a/com/gamingmesh/jobs/dao/JobsDAOMySQL.java b/com/gamingmesh/jobs/dao/JobsDAOMySQL.java index a3524608..7afd092c 100644 --- a/com/gamingmesh/jobs/dao/JobsDAOMySQL.java +++ b/com/gamingmesh/jobs/dao/JobsDAOMySQL.java @@ -764,7 +764,7 @@ public class JobsDAOMySQL extends JobsDAO { return true; } - private boolean createDefaultLogBase() { + protected boolean createDefaultLogBase() { try { executeSQL("CREATE TABLE `" + getPrefix() + "log` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `userid` int, `time` bigint, `action` varchar(20), `itemname` varchar(60), `count` int, `money` double, `exp` double);"); @@ -804,7 +804,7 @@ public class JobsDAOMySQL extends JobsDAO { return true; } - private boolean dropDataBase(String name) { + protected boolean dropDataBase(String name) { try { executeSQL("DROP TABLE IF EXISTS `" + getPrefix() + name + "`;"); } catch (SQLException e) { diff --git a/com/gamingmesh/jobs/dao/JobsDAOSQLite.java b/com/gamingmesh/jobs/dao/JobsDAOSQLite.java index 32c183c7..0a900d00 100644 --- a/com/gamingmesh/jobs/dao/JobsDAOSQLite.java +++ b/com/gamingmesh/jobs/dao/JobsDAOSQLite.java @@ -851,7 +851,7 @@ public class JobsDAOSQLite extends JobsDAO { return true; } - private boolean createDefaultLogBase() { + protected boolean createDefaultLogBase() { try { executeSQL("CREATE TABLE `" + getPrefix() + "log` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `userid` int, `time` bigint, `action` varchar(20), `itemname` varchar(60), `count` int, `money` double, `exp` double);"); @@ -881,7 +881,7 @@ public class JobsDAOSQLite extends JobsDAO { return true; } - private boolean dropDataBase(String name) { + protected boolean dropDataBase(String name) { try { executeSQL("DROP TABLE IF EXISTS `" + getPrefix() + name + "`;"); } catch (SQLException e) { diff --git a/com/gamingmesh/jobs/economy/BufferedEconomy.java b/com/gamingmesh/jobs/economy/BufferedEconomy.java index 924b8bab..0df4314e 100644 --- a/com/gamingmesh/jobs/economy/BufferedEconomy.java +++ b/com/gamingmesh/jobs/economy/BufferedEconomy.java @@ -96,6 +96,9 @@ public class BufferedEconomy { TaxesPoints += payment.getPoints() * (Jobs.getGCManager().TaxesAmount / 100.0); } + if (payment.getOfflinePlayer() == null) + continue; + UUID uuid = payment.getOfflinePlayer().getUniqueId(); if (paymentCache.containsKey(uuid)) { BufferedPayment existing = paymentCache.get(uuid); @@ -160,6 +163,9 @@ public class BufferedEconomy { for (BufferedPayment payment : paymentCache.values()) { i++; + if (payment.getOfflinePlayer() == null) + continue; + // JobsPayment event JobsPaymentEvent JobsPaymentEvent = new JobsPaymentEvent(payment.getOfflinePlayer(), payment.getAmount(), payment.getPoints()); Bukkit.getServer().getPluginManager().callEvent(JobsPaymentEvent); diff --git a/com/gamingmesh/jobs/listeners/JobsListener.java b/com/gamingmesh/jobs/listeners/JobsListener.java index c6f8b5bd..afd25283 100644 --- a/com/gamingmesh/jobs/listeners/JobsListener.java +++ b/com/gamingmesh/jobs/listeners/JobsListener.java @@ -67,6 +67,7 @@ import com.gamingmesh.jobs.container.Job; import com.gamingmesh.jobs.container.JobLimitedItems; import com.gamingmesh.jobs.container.JobProgression; import com.gamingmesh.jobs.container.JobsPlayer; +import com.gamingmesh.jobs.stuff.Debug; public class JobsListener implements Listener { // hook to the main plugin @@ -83,15 +84,19 @@ public class JobsListener implements Listener { Player player = (Player) event.getWhoClicked(); - if (!Jobs.getShopManager().GuiList.contains(player.getName())) + if (!Jobs.getShopManager().GuiList.containsKey(player.getName())) return; event.setCancelled(true); + + Debug.D(event.getRawSlot()); - if (event.getSlot() < 0 || event.getSlot() >= Jobs.getShopManager().list.size()) + int tsize = player.getOpenInventory().getTopInventory().getSize(); + + if (event.getRawSlot() < 0 || event.getRawSlot() >= tsize) return; - Jobs.getShopManager().checkSlot(player, event.getSlot()); + Jobs.getShopManager().checkSlot(player, event.getRawSlot(), Jobs.getShopManager().GuiList.get(player.getName())); } @@ -102,7 +107,7 @@ public class JobsListener implements Listener { Player player = (Player) event.getPlayer(); - if (Jobs.getShopManager().GuiList.contains(player.getName())) + if (Jobs.getShopManager().GuiList.containsKey(player.getName())) Jobs.getShopManager().GuiList.remove(player.getName()); } diff --git a/com/gamingmesh/jobs/listeners/JobsPaymentListener.java b/com/gamingmesh/jobs/listeners/JobsPaymentListener.java index 3dbc0912..de80e69d 100644 --- a/com/gamingmesh/jobs/listeners/JobsPaymentListener.java +++ b/com/gamingmesh/jobs/listeners/JobsPaymentListener.java @@ -278,7 +278,7 @@ public class JobsPaymentListener implements Listener { return; // check if in creative - if (player.getGameMode()== GameMode.CREATIVE && !Jobs.getGCManager().payInCreative()) + if (player.getGameMode() == GameMode.CREATIVE && !Jobs.getGCManager().payInCreative()) return; if (!Jobs.getPermissionHandler().hasWorldPermission(player, player.getLocation().getWorld().getName())) @@ -1080,7 +1080,7 @@ public class JobsPaymentListener implements Listener { if (block == null) continue; - if (block.getType().equals(Material.FURNACE) && block.hasMetadata(furnaceOwnerMetadata)) + if (block.getType() == Material.FURNACE && block.hasMetadata(furnaceOwnerMetadata)) block.removeMetadata(furnaceOwnerMetadata, plugin); if (Jobs.getGCManager().useBlockProtection) @@ -1104,12 +1104,14 @@ public class JobsPaymentListener implements Listener { if (block == null) return; - if (block.getType().equals(Material.FURNACE)) { + if (event.isCancelled()) + return; + + if (block.getType() == Material.FURNACE || block.getType() == Material.BURNING_FURNACE) { if (block.hasMetadata(furnaceOwnerMetadata)) block.removeMetadata(furnaceOwnerMetadata, plugin); - block.setMetadata(furnaceOwnerMetadata, new FixedMetadataValue(plugin, event.getPlayer().getName())); - } else if (block.getType().equals(Material.BREWING_STAND)) { + } else if (block.getType() == Material.BREWING_STAND) { if (block.hasMetadata(brewingOwnerMetadata)) block.removeMetadata(brewingOwnerMetadata, plugin); diff --git a/com/gamingmesh/jobs/nmsUtil/v1_9.class b/com/gamingmesh/jobs/nmsUtil/v1_9.class index a74b5716b2fac6717d8268a8dbedd74b79496c0d..fcca0d67d3b6d0b6c35a51a2271bbf5405948d76 100644 GIT binary patch delta 17 YcmZp&XtLlq^>5cc1_lP>jU2zE0Y8TZz5oCK delta 17 YcmZp&XtLlq^>5cc1_lO`jU2zE0Y8iezW@LL diff --git a/locale/messages_fr.yml b/locale/messages_fr.yml index 87bd9173..064a78c9 100644 --- a/locale/messages_fr.yml +++ b/locale/messages_fr.yml @@ -1,50 +1,158 @@ economy: error: - nomoney: Il n''y a plus d''argent dans la banque nationale ! + nomoney: Il n'y a plus d'argent dans la banque du serveur! +limitedItem: + error: + levelup: '&cVous devez augmenter votre niveau dans le métier [jobname] pour utiliser + cet objet!' +general: + info: + toplineseparator: '&7*********************** &6%playername% &7***********************' + separator: '&7*******************************************************' + admin: + error: '&cIl y a eu une erreur pendant la commande.' + success: '&eVotre commande a été exécuté avec succès.' + error: + noHelpPage: '&cIl n''y a pas de page d''aide portant ce numéro!' + notNumber: '&eMerci d''utiliser des chiffres!' + job: '&cLe métier que vous avez selectionné n''existe pas!' + permission: '&cVous n''avez pas la permission de faire cela!' + noinfo: '&cAucune information trouvée!' + noinfoByPlayer: '&cAucune information trouvée par [%playername%] nom du joueur!' + ingame: '&cVous ne pouvez utiliser cette commande qu''en jeu!' + fromconsole: '&cCette commande doit être lancée depuis la console!' + worldisdisabled: '&cVous ne pouvez pas utiliser cette commande dans ce monde!' command: - boost: + moneyboost: help: - info: Boost les gains d''Exp/Argent pour tous les joueurs + info: Booster le gain d'argent pour tous les joueurs args: '[jobname] [rate]' output: - allreset: Tous les boosts d''Exp/Argent ont été désactivés. - jobsboostreset: Le boost pour %jobname% a été désactivé. - nothingtoreset: Il n''y a rien à désactiver. - boostalladded: Boost de %boost% ajouté à tous les métiers ! - boostadded: Boost de &e%boost% &aajouté pour &e%jobname% ! - infostats: '&c-----> &aTaux d''Exp/argent de x%boost% activé&c <-------' + allreset: Tous les boost d'argent ont été désactivés + jobsboostreset: Le boost d'argent pour le métier %jobname% a été désactivé + nothingtoreset: Il n'y a rien à remettre à zéro + boostalladded: Un boost d'argent de %boost% a été ajouté pour tous les métiers! + boostadded: Un boost d'argent de &e%boost% &aa été ajouté pour le métier &e%jobname%! + infostats: '&c-----> &aBoost d''argent x%boost% activé&c <-------' + pointboost: + help: + info: Booster de points pour tous les joueurs + args: '[jobname] [rate]' + output: + allreset: Tous les boost de points ont été désactivés + jobsboostreset: Le boost de points pour le métier %jobname% a été désactivé + nothingtoreset: Il n'y a rien a remettre à zéro + boostalladded: Un boost de points de %boost% a été ajouté pour tous les métiers! + boostadded: Un boost de points de &e%boost% &aa été ajouté pour le métier &e%jobname%! + infostats: '&c-----> &aBoost de points x%boost% activé&c <-------' + expboost: + help: + info: Booster d'XP pour tous les joueurs + args: '[jobname] [rate]' + output: + allreset: Tous les boost d'XP ont été désactivés + jobsboostreset: Le boost d'XP pour le métier %jobname% a été désactivé + nothingtoreset: Il n'y a rien a reset + boostalladded: Un boost d'XP de %boost% a été ajouté pour tous les métiers! + boostadded: Un boost d'XP de &e%boost% &aa été ajouté pour le métier &e%jobname%! + infostats: '&c-----> &aBoost d''XP x%boost% activé&c <-------' + bonus: + help: + info: Voir les bonus de métiers + args: '[jobname]' + output: + topline: '&7**************** &2[argent] &6[points] &e[exp] &7****************' + permission: ' &eBonus de permission: %money% %points% %exp%' + item: ' &eBonus d''Objet: %money% %points% %exp%' + global: ' &eBonus global: %money% %points% %exp%' + dynamic: ' &eBonus de paiement dynamique: %money% %points% %exp%' + area: ' &eBonus de zone: %money% %points% %exp%' + final: ' &eBonus final: %money% %points% %exp%' convert: help: - info: Convertit le système de la base de données. Si vous utilisez SQLite, cela sera converti à MySQL et vice-versa. + info: Converti le système de la base de données. Si vous utilisez SQLite, cela sera converti à MySQL et vice-versa. args: '' limit: help: info: Montre les limites des métiers args: '' output: - lefttime: '&eTemps restant avant la fin de la limite : &2%hour% &eheure(s) &2%min% &emin &2%sec% - &esec' + lefttime: '&eTemps restant avant la fin de la limite : &2%hour%&eh &2%min%&em + &2%sec%&es' moneylimit: '&eLimite : &2%money%&e/&2%totalmoney%' - reachedlimit: '&4Vous avez atteint le nombre d''argent gagner max pour cette heure!' - reachedlimit2: '&eVous pouvez vérifier votre limite avec &2/jobs limit &ecommand' + leftexptime: '&eTemps restant avant la fin de la limite d''XP: &2%hour%&eh &2%min + &em &2%sec%&es' + explimit: '&eLimite d''XP: &2%exp%&e/&2%totalexp%' + leftpointtime: '&eTemps restant avant la fin de la limite de points: &2%hour%&eh + &2%min &em &2%sec%&es' + pointlimit: '&eLimite de points: &2%current%&e/&2%total%' + reachedlimit: '&4Vous avez atteint le nombre maximum d''argent gagné pendant + le temps imparti!' + reachedlimit2: '&eVous pouvez vérifier votre limite avec la commande &2/jobs + limit' + reachedExplimit: '&4Vous avez atteint le nombre maximal d''XP gagné pendant + le temps imparti!' + reachedExplimit2: '&eVous pouvez voir la limite avec la commande &2/jobs limit' + reachedPointlimit: '&4Vous avez atteint le nombre maximal de points gagné pendant + le temps imparti!' + reachedPointlimit2: '&eVous pouvez voir la limite avec la commande &2/jobs limit' notenabled: '&eLa limite n''est pas activée.' - admin: - error: Erreur dans la commande. - success: Votre commande a été exécutée. - error: - job: Le métier que vous avez selectionné n''existe pas ! - permission: Vous n''avez pas la permission ! help: output: info: Tapez /jobs [cmd] ? pour plus d''information sur une commande. usage: 'Utilisation: %usage%' + title: '&e-------&e ======= &6Métiers &e======= &e-------' + page: '&e-----&e ====== Page &6[1] &esur &6[2] &e====== &e-----' + prev: '&e--- <<<<< &6Page précédente &e|' + next: '&e|&6 Page suivante &e>>>> ---' + points: + help: + info: Montrer combien de points a le joueur. + args: '[playername]' + currentpoints: ' &eNombre de points actuel: &6%currentpoints%' + totalpoints: ' &eNombre de points total collecté : &6%totalpoints%' + editpoints: + help: + info: Editer le nombre de points d'un joueur. + args: '[set/add/take] [playername] [amount]' + output: + set: '&eLes points du joueur &6%playername%&e ont été mis à &6%amount%' + add: '&eLe joueur &6%playername% &ea reçu &6%amount% &epoints. Il a maintenant + &6%total%' + take: '&eLe joueur &6%playername% &ea perdu &6%amount% &epoints. Il a maintenant + &6%total%' + blockinfo: + help: + info: Montre les infos du bloc que vous regardez. + args: '' + output: + name: ' &eNom du bloc: &6%blockname%' + id: ' &eId du bloc: &6%blockid%' + data: ' &eData du bloc: &6%blockdata%' + usage: ' &eUtilisation: &6%first% &eou &6%second%' stats: help: - info: 'Donne votre niveau dans chacun de vos métiers.' + info: Donne votre niveau dans chacun de vos métiers. args: '[playername]' error: nojob: Vous n''avez pas de métier. output: 'lvl%joblevel% %jobname% : %jobxp%/%jobmaxxp% xp' + shop: + help: + info: Ouvrir les magasins spéciaux de métiers. + args: '' + info: + title: '&e------- &8Magasin de métier &e-------' + currentPoints: '&eVous avez: &6%currentpoints%' + price: '&ePrix: &6%price%' + reqJobs: '&eMétier requis:' + reqJobsList: ' &6%jobsname%&e: &e%level% lvl' + NoPermForItem: '&cVous n''avez pas la permission requise pour utiliser cet objet!' + NoPermToBuy: '&cVous n''avez pas la permission requise pour acheter cet objet!' + NoJobReqForitem: '&cVous n''avez pas le métier requis (&6%jobname%&e) qui nécéssite + (&6%joblevel%&e) level' + NoPoints: '&cVous n''avez pas assez de points' + Paid: '&eVous avez payé &6%amount% &epour cet objet' archive: help: info: Donne tous les métiers en archive par joueur. @@ -55,31 +163,55 @@ command: give: help: info: Donne un objet par nom de métier et nom de catégorie d''objet. Le pseudo est facultatif. - args: '[Spielername] [Jobname] [Item]' + args: '[Nom du joueur] [Métier] [Item]' output: notonline: '&4[%playername%] est hors-ligne !' noitem: '&4Ce nom ne correspond à aucun objet !' info: help: - title: '&2*** &eJobs&2 ***' + title: '&2*** &eMétier&2 ***' info: Donne combien est payé chaque métier et pour quoi. - args: '[jobname] [action]' + penalty: '&eCe métier à &c[penalty]% &ede pénalité car il a trop de succès.' + bonus: '&eCe métier à &2[bonus]% &ede bonus car il est vraiment délaissé.' + args: '[métier] [action]' actions: '&eLes actions possibles sont: &f%actions%' max: ' - &eNiveau Max:&f ' material: '&7%material%' + levelRange: ' &a(&e%levelFrom% &a- &e%levelUntil% &alevels)' + levelFrom: ' &a(from &e%levelFrom% &alevel)' + levelUntil: ' &a(until &e%levelUntil% &alevel)' + money: ' &2%money%$' + points: ' &6%points%points' + exp: ' &e%exp%xp' + gui: + pickjob: '&eChoisissez un métier!' + jobinfo: '&e[jobname] info!' + actions: '&c&nActions rémunérées:' + leftClick: '&bClic gauche pour plus d''infos' + rightClick: '&bClic droit pour rejoindre ce métier' + leftSlots: '&eNombre de place restante:&f ' + working: ' &2&lVous êtes déjà embauché' + max: '&6Level Max:&f ' + back: '&e<<< Retour' output: break: info: Casser none: '%jobname% ne donne rien en cassant des blocs.' + tntbreak: + info: TNT + none: '%jobname% ne donne rien en cassant des blocs avec de la TNT.' place: info: Placer none: '%jobname% ne donne rien en plaçant des blocs.' kill: - info: Tuer + info: TuerMob none: '%jobname% ne donne rien en tuant.' + mmkill: + info: TuerMM + none: '%jobname% ne donne rien en tuant des MM mobs.' fish: info: Pêcher - none: '%jobname% ne donne rien en pêchant.' + none: '%jobname% ne donne rien en pèchant.' craft: info: Crafter none: '%jobname% ne donne rien en craftant.' @@ -89,6 +221,12 @@ command: brew: info: Infuser none: '%jobname% ne donne rien en faisant infuser.' + eat: + info: Manger + none: '%jobname% ne donne rien en mangeant.' + dye: + info: Teindre + none: '%jobname% ne donne rien en teignant des objet.' enchant: info: Enchanter none: '%jobname% ne donne rien en enchantant.' @@ -102,17 +240,20 @@ command: info: Apprivoiser none: '%jobname% ne donne rien en apprivoisant.' milk: - info: Melken - none: '%jobname% bekommt kein Geld für das Melken.' + info: Traire + none: '%jobname% ne donne rien lors de la traite d''une vache.' shear: - info: Scheren - none: '%jobname% bekommt kein Geld für das Scheren.' + info: Tailler + none: '%jobname% ne donne rien en coupant les feuillages avec une cisaille.' + explore: + info: Explorer + none: '%jobname% ne donne rien en explorant.' custom-kill: - info: Tuer + info: TuerJoueur none: '%jobname% ne donne rien en tuant des joueurs particuliers.' playerinfo: help: - info: Donne combien est payé chaque métier et pour quoi pour un autre joueur. + info: Donne le montant payé de chaque action pour un certain métier sur un autre joueur. args: '[playername] [jobname] [action]' join: help: @@ -127,7 +268,7 @@ command: help: info: Quitter le métier. args: '[jobname]' - success: Vous n''exercez plus le métier de %jobname%. + success: Vous n'exercez plus le métier de %jobname%. leaveall: help: info: Quitter tous vos métiers. @@ -142,6 +283,9 @@ command: output: header: 'Vous pouvez exercer les métiers suivants :' footer: Pour plus d'informations, tapez /jobs info [JobName] + totalWorkers: '&6Employés: &f[amount]' + penalty: '&4Penalité: &c[amount]%' + bonus: '&2Bonus: &a[amount]%' fire: help: info: Renvoie le joueur de son métier. @@ -174,7 +318,44 @@ command: nojob: Aucun métier ne porte ce nom. output: topline: '&aTop&e 10 &ades joueurs &e%jobname%' - list: '&e%number%&a. &e%playername% &alvl &e%level% &aavec&e %exp% &aexp' + list: '&e%number%&a. &e%playername% &alvl &e%level% &aavec&e %exp%&axp' + prev: '&e<<<<< Page précédente &2|' + next: '&2|&e Page suivante >>>>' + show: '&2Montrer la top liste depuis &e[from] &2jusqu''a &e[until]' + gtop: + help: + info: Montrer les 15 meilleurs employés. + args: '' + error: + nojob: Impossible de trouver des informations. + output: + topline: '&aMontrer les 15 meilleurs employés par métier' + list: '&e%number%&a. &e%playername% &alvl &e%level% &aavec&e %exp%&axp' + prev: '&e<<<<< Page précédente &2|' + next: '&2|&e Page suivante >>>>' + show: '&2Montrer la top liste depuis &e[from] &2jusqu''a &e[until]' + log: + help: + info: Affiche les stats. + args: '[playername]' + output: + topline: '&7************************* &6%playername% &7*************************' + list: '&7* &6%number%. &3%action%: &6%item% &eqty: %qty% &6argent: %money%&exp: + %exp%' + bottomline: '&7***********************************************************' + prev: '&e<<<<< Page précédente &2|' + next: '&2|&e Page suivante >>>>' + nodata: '&cDonnées introuvable' + glog: + help: + info: Affiche les stats globales. + args: '' + output: + topline: '&7*********************** &6Stats globales &7***********************' + list: '&7* &6%number%. &3%username% &e%action%: &6%item% &eqté: %qty% &6Cubixx: + %money% &exp: %exp%' + bottomline: '&7**************************************************************' + nodata: '&cDonnées introuvable' transfer: help: info: Transfère un joueur d'un métier à un autre. @@ -183,10 +364,10 @@ command: target: Vous avez été transféré de %oldjobname% à %newjobname%. promote: help: - info: Promeut le joueur de X niveaux dans un métier. + info: Promeut le joueur de X niveau(x) dans un métier. args: '[playername] [jobname] [levels]' output: - target: Vous avez été promu de %levelsgained% niveaux en %jobname%. + target: Vous avez été promu de %levelsgained% niveaux en %jobname%. demote: help: info: Rétrograde le joueur de X niveaux dans un métier. @@ -205,17 +386,26 @@ command: args: '[playername] [jobname] [xp]' output: target: Vous avez perdu %xplost% points d'expérience en %jobname%. + signupdate: + help: + info: Mettre à jour manuellement le panneau par son nom + args: '[jobname]' reload: help: info: Recharge la configuration. toggle: help: - info: Toggles payment output on action bar. + info: Changer l'affichage de paiement sur la barre d'action. + args: '[actionbar/bossbar]' output: turnedoff: '&4Cette option est désactivée !' - paid: '&aVous avez été payé pour : &2[amount]' - 'on': '&aToggled: &aON' - 'off': '&aToggled: &4OFF' + paid: + main: '&aVous avez:' + money: '&e[amount] Cubixx' + exp: '&7[exp] xp' + points: '&6[points] points' + 'on': '&aChangé: &aON' + 'off': '&aChangé: &4OFF' message: skillup: broadcast: '%playername% a été promu %titlename% %jobname%.' @@ -223,19 +413,40 @@ message: levelup: broadcast: '%playername% est maintenant au niveau %joblevel% %jobname%.' nobroadcast: Vous êtes maintenant au niveau %joblevel% %jobname%. - cowtimer: '&eVous devez attendre &6%time% &esec avant d''etre payer.' - blocktimer: '&eDu musst &3[time] &eSekunden warten um wieder etwas für das Abbauen zu verdienen!' - placeblocktimer: '&eDu musst &6[time] &eSekunden warten um wieder etwas für das Setzen zu -verdienen!' + cowtimer: '&eVous devez attendre &6%time% &esec avant d''être payé pour ce métier.' + blocktimer: '&eVous devez attendre: &3[time] &esec encore pour être payé pour cela!' + placeblocktimer: '&eVous ne pouvez placer des blocs que toutes les &6[time] &esec + d''intervale au même endroit!' + taxes: '&3[amount] &edes taxes du serveur ont été transférées sur ce compte' + boostStarted: '&eLe boost métier a commencé!' + boostStoped: '&eLe boost métier est terminé!' crafting: fullinventory: Votre inventaire est plein ! signs: + List: '&0[number].&8[player]&7:&4[level]' + SpecialList: + '1': + '1': '&b*** &81er &b***' + '2': '&9[player]' + '3': '&8Level [level]' + '4': '&b************' + '2': + '1': '&b*** &82nd &b***' + '2': '&9[player]' + '3': '&8Level [level]' + '4': '&b************' + '3': + '1': '&b** &83ème &b**' + '2': '&9[player]' + '3': '&8Level [level]' + '4': '&b************' cantcreate: '&4Vous ne pouvez pas créer ce panneau !' + cantdestroy: '&4Vous ne pouvez pas détruire ce panneau!' topline: '&e[Jobs]' secondline: join: '&2Rejoindre' leave: '&4Quitter' - toggle: '&eBasculer' + toggle: '&eChanger' top: '&eTop' browse: '&eListe' stats: '&eStats' @@ -243,6 +454,6 @@ signs: info: '&eInfo' archive: '&eArchive' scoreboard: - clear: '&eSi vous voulez enlever le scoreboard, tapez &2/jobs top clear' topline: '&2Top &e%jobname%' - lines: '&2%number%. &e%playername%' \ No newline at end of file + gtopline: '&2Top Général' + lines: '&2%number%. &e%playername%' diff --git a/plugin.yml b/plugin.yml index 65eb5a88..a63146f6 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,7 +1,7 @@ name: Jobs description: Jobs Plugin for the BukkitAPI main: com.gamingmesh.jobs.JobsPlugin -version: 3.4.7 +version: 3.5.1 author: phrstbrn depend: [Vault] softdepend: [CoreProtect, MythicMobs, McMMO]