== ID-Library == Old-ID-Support-Lib + New Minecraft ID's - [1.13.x] [2.1.0.0]

-- Give Old and New Minecraft Items a short Item-ID in newer Versions --

  1. goldstarplayer
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    Contributors:
    Gecolay (goldstarplayer)
    Languages Supported:
    English, Custom Language
    [​IMG]

    Minecraft-Item-ID - Library


    General:

    This Library, gives you the Abbility to use the Old Miencraft-Item-ID's from the Version 1.12.x and lower in Newer Versions like 1.13.x and heigher.

    Also this Library gives All new Items from the Version 1.13.x and higher a Item-ID like 1.12.x and lower!

    So you can use a Short Version and get the same Item!

    For places where the new Minecraft item names are just too long you can use the ID instead of the Name!


    If you like my Plugins / Library's please leave a good Rating!



    ===================================================================================

    Special Features:

    Very good performance

    Use old ID's in newer Versions

    Items from Newer Version have a new ID like 1.12.x and lower

    Use Short ID instead of long Item-Names

    Easy to use and implement

    And many more......


    ===================================================================================

    How to use (For Non-Developers):

    - Download this Library

    - Put it into your "plugins"-Folder

    ===================================================================================

    How to use (For Developers):

    - Download this Library

    - Implement this Library in your Project

    ---------------------------------------------------------------------------------
    - Add this to your Import-Section:
    Code (Java):
    import me.idlibrary.main.IDLibrary;
    ---------------------------------------------------------------------------------

    - A few Ways To get a new 1.13 Material from old ID's or Material-Name's:
    Code (Java):
    Material M = IDLibrary.getMaterial("1");
    Material M = IDLibrary.getMaterial("1:1");
    Material M = IDLibrary.getMaterial("stone");
    Material M = IDLibrary.getMaterial("stone:1");
    - About the same Way you can get the Material from the new ID's for 1.13.x and higher Versions:
    Code (Java):
    Material M = IDLibrary.getMaterial("480"); <-- This is a new ID added from this Library!
    Material M = IDLibrary.getMaterial("trident");
    ---------------------------------------------------------------------------------

    - To get the Item-ID's from Items from old and new Versions use:
    Code (Java):
    String IDData = IDLibrary.getIDData(Material);
    - To get the only the Item-ID or the Item-Data use:
    Code (Java):
    int ID = IDLibrary.getID(Material);
    byte Data = IDLibrary.getData(Material);
    ---------------------------------------------------------------------------------

    - There are also some other Ways to get the Material from a ID:

    Code (Java):
    Material M = IDLibrary.getMaterial(int ID);
    Material M = IDLibrary.getMaterial(int ID, byte Data);
    Material M = IDLibrary.getMaterial(String ID, byte Data);
    ---------------------------------------------------------------------------------

    Note!
    When you implement this Library into your Plugin you also
    must move this Library in the Plugins-Folder to!

    ---------------------------------------------------------------------------------

    ===================================================================================

    New ID's from this Library:

    Here you can find all ID's which have been added by this library:

    383 --> BAT_SPAWN_EGG
    383:1 --> BLAZE_SPAWN_EGG
    383:2 --> CAVE_SPIDER_SPAWN_EGG
    383:3 --> CHICKEN_SPAWN_EGG
    383:4 --> COD_SPAWN_EGG
    383:5 --> COW_SPAWN_EGG
    383:6 --> CREEPER_SPAWN_EGG
    383:7 --> DOLPHIN_SPAWN_EGG
    383:8 --> DONKEY_SPAWN_EGG
    383:9 --> DROWNED_SPAWN_EGG
    383:10 --> ELDER_GUARDIAN_SPAWN_EGG
    383:11 --> ENDERMAN_SPAWN_EGG
    383:12 --> ENDERMITE_SPAWN_EGG
    383:13 --> EVOKER_SPAWN_EGG
    383:14 --> GHAST_SPAWN_EGG
    383:15 --> GUARDIAN_SPAWN_EGG
    383:16 --> HORSE_SPAWN_EGG
    383:17 --> HUSK_SPAWN_EGG
    383:18 --> LLAMA_SPAWN_EGG
    383:19 --> MAGMA_CUBE_SPAWN_EGG
    383:20 --> MOOSHROOM_SPAWN_EGG
    383:21 --> MULE_SPAWN_EGG
    383:22 --> OCELOT_SPAWN_EGG
    383:23 --> PARROT_SPAWN_EGG
    383:24 --> PHANTOM_SPAWN_EGG
    383:25 --> PIG_SPAWN_EGG
    383:26 --> POLAR_BEAR_SPAWN_EGG
    383:27 --> PUFFERFISH_SPAWN_EGG
    383:28 --> RABBIT_SPAWN_EGG
    383:29 --> SALMON_SPAWN_EGG
    383:30 --> SHEEP_SPAWN_EGG
    383:31 --> SHULKER_SPAWN_EGG
    383:32 --> SILVERFISH_SPAWN_EGG
    383:33 --> SKELETON_HORSE_SPAWN_EGG
    383:34 --> SKELETON_SPAWN_EGG
    383:35 --> SLIME_SPAWN_EGG
    383:36 --> SPIDER_SPAWN_EGG
    383:37 --> SQUID_SPAWN_EGG
    383:38 --> STRAY_SPAWN_EGG
    383:39 --> TROPICAL_FISH_SPAWN_EGG
    383:40 --> TURTLE_SPAWN_EGG
    383:41 --> VEX_SPAWN_EGG
    383:42 --> VILLAGER_SPAWN_EGG
    383:43 --> VINDICATOR_SPAWN_EGG
    383:44 --> WITCH_SPAWN_EGG
    383:45 --> WITHER_SKELETON_SPAWN_EGG
    383:46 --> WOLF_SPAWN_EGG
    383:47 --> ZOMBIE_HORSE_SPAWN_EGG
    383:48 --> ZOMBIE_PIGMAN_SPAWN_EGG
    383:49 --> ZOMBIE_SPAWN_EGG
    383:50 --> ZOMBIE_VILLAGER_SPAWN_EGG

    454 --> BLUE_ICE

    455 --> OAK_WOOD
    455:1 --> SPRUCE_WOOD
    455:2 --> BIRCH_WOOD
    455:3 --> JUNGLE_WOOD
    455:4 --> ACACIA_WOOD
    455:5 --> DARK_OAK_WOOD

    456 --> BRAIN_CORAL
    456:1 --> BUBBLE_CORAL
    456:2 --> FIRE_CORAL
    456:3 --> HORN_CORAL
    456:4 --> TUBE_CORAL

    457 --> DEAD_BRAIN_CORAL
    457:1 --> DEAD_BUBBLE_CORAL
    457:2 --> DEAD_FIRE_CORAL
    457:3 --> DEAD_HORN_CORAL
    457:4 --> DEAD_TUBE_CORAL

    458 --> BRAIN_CORAL_BLOCK
    458:1 --> BUBBLE_CORAL_BLOCK
    458:2 --> FIRE_CORAL_BLOCK
    458:3 --> HORN_CORAL_BLOCK
    458:4 --> TUBE_CORAL_BLOCK

    459 --> DEAD_BRAIN_CORAL_BLOCK
    459:1 --> DEAD_BUBBLE_CORAL_BLOCK
    459:2 --> DEAD_FIRE_CORAL_BLOCK
    459:3 --> DEAD_HORN_CORAL_BLOCK
    459:4 --> DEAD_TUBE_CORAL_BLOCK

    460 --> BRAIN_CORAL_FAN
    460:1 --> BUBBLE_CORAL_FAN
    460:2 --> FIRE_CORAL_FAN
    460:3 --> HORN_CORAL_FAN
    460:4 --> TUBE_CORAL_FAN

    461 --> DEAD_BRAIN_CORAL_FAN
    461:1 --> DEAD_BUBBLE_CORAL_FAN
    461:2 --> DEAD_FIRE_CORAL_FAN
    461:3 --> DEAD_HORN_CORAL_FAN
    461:4 --> DEAD_TUBE_CORAL_FAN

    462 --> BRAIN_CORAL_WALL_FAN
    462:1 --> BUBBLE_CORAL_WALL_FAN
    462:2 --> FIRE_CORAL_WALL_FAN
    462:3 --> HORN_CORAL_WALL_FAN
    462:4 --> TUBE_CORAL_WALL_FAN

    463 --> DEAD_BRAIN_CORAL_WALL_FAN
    463:1 --> DEAD_BUBBLE_CORAL_WALL_FAN
    463:2 --> DEAD_FIRE_CORAL_WALL_FAN
    463:3 --> DEAD_HORN_CORAL_WALL_FAN
    463:4 --> DEAD_TUBE_CORAL_WALL_FAN

    464 --> TROPICAL_FISH_BUCKET
    464:1 --> COD_BUCKET
    464:2 --> PUFFERFISH_BUCKET
    464:3 --> SALMON_BUCKET

    465 --> CONDUIT

    466 --> PRISMARINE_SLAB
    466:1 --> PRISMARINE_BRICK_SLAB
    466:2 --> DARK_PRISMARINE_SLAB

    467 --> PRISMARINE_STAIRS
    467:1 --> PRISMARINE_BRICK_STAIRS
    467:2 --> DARK_PRISMARINE_STAIRS

    468 --> SEA_PICKLE

    469 --> SEAGRASS

    470 --> KELP

    471 --> DRIED_KELP

    472 --> DRIED_KELP_BLOCK

    473 --> HEART_OF_THE_SEA

    474 --> NAUTILUS_SHELL

    475 --> PHANTOM_MEMBRANE

    476 --> SCUTE

    477 --> TURTLE_HELMET

    478 --> STRIPPED_OAK_LOG
    478:1 --> STRIPPED_SPRUCE_LOG
    478:2 --> STRIPPED_BIRCH_LOG
    478:3 --> STRIPPED_JUNGLE_LOG
    478:4 --> STRIPPED_ACACIA_LOG
    478:5 --> STRIPPED_DARK_OAK_LOG

    479 --> STRIPPED_OAK_WOOD
    479:1 --> STRIPPED_SPRUCE_WOOD
    479:2 --> STRIPPED_BIRCH_WOOD
    479:3 --> STRIPPED_JUNGLE_WOOD
    479:4 --> STRIPPED_ACACIA_WOOD
    479:5 --> STRIPPED_DARK_OAK_WOOD

    480 --> TRIDENT

    481 --> TURTLE_EGG

    482:0 --> SPRUCE_PRESSURE_PLATE
    482:1 --> BIRCH_PRESSURE_PLATE
    482:2 --> JUNGLE_PRESSURE_PLATE
    482:3 --> ACACIA_PRESSURE_PLATE
    482:4 --> DARK_OAK_PRESSURE_PLATE

    483:0 --> SPRUCE_TRAPDOOR
    483:1 --> BIRCH_TRAPDOOR
    483:2 --> JUNGLE_TRAPDOOR
    483:3 --> ACACIA_TRAPDOOR
    483:4 --> DARK_OAK_TRAPDOOR

    484:0 --> SPRUCE_BUTTON
    484:1 --> BIRCH_BUTTON
    484:2 --> JUNGLE_BUTTON
    484:3 --> ACACIA_BUTTON
    484:4 --> DARK_OAK_BUTTON


    ===================================================================================


    Known Bugs:
    Known Bugs:
    • Currently no bugs are known!

    • If you discover a bug let me know in the discussion area so I can fix it quickly!


    ===================================================================================

    Planned Features:

    Planned Features for new Versions:

    • Currently I have no new features planned!

    • If you think of something or you have a desire for an extension let me know in the discussion area!


    ===================================================================================

    This Plugin supports the Minecraft Versions:
    1.13.x

    If you like my Plugins / Library's please leave a good Rating!
    MrGriefer_ and ZunaLive like this.

Recent Reviews

  1. ProDash
    ProDash
    5/5,
    Version: [2.1.0.0]
    the best plugin . .
    1. goldstarplayer
      Author's Response
      Thanks for your positive Review!
  2. NamerPRO
    NamerPRO
    5/5,
    Version: [2.0.0.0]
    Well... the idea is very interesting. But this only could be used if you want to give a support for your old plugin and you are too lazy to adapt it to 1.13+. Otherwise, it’s not that cool, because, what’s the difference for the developer to write a new ID or an old one? In eclipse, especially, you can type the beginning of the name of the ID and press enter. This is even faster than just typing the number. I have an idea for you to create something like a compiler, so our code written goes to your plugin class and in it it transforms to a good understandable by spigot code and replace our code with yours. Like simply we call your function. Got what I mean? I hope to see an update soon. Best wishes, NamerPRO
    1. goldstarplayer
      Author's Response
      Thanks for your positive Review!

      First and foremost, it was intended to create a way to have shortcuts for item material names in version 1.13.x.

      For example, I use this for my ChestShop plugin because it is impossible to write some of the new 1.13.x item material names on a sign line because they are just too long.

      The ID gives the possibility to abbreviate this name.

      The library itself is rather intended for the direct interaction ingame!
      (See example ChestShop)
  3. MrWeefle
    MrWeefle
    5/5,
    Version: [1.1.0.1]
    Thank you very much!!! I needed so much of this type of library, you help me a lot, just keep updating this resource! <3
    1. goldstarplayer
      Author's Response
      Thanks for your positive Review!

      This Library will definitely be updated no worries!