Uploaded image for project: 'SpigotPlugins'
  1. SpigotPlugins
  2. PLUG-166

Using new minecraft ID

XMLWordPrintable

    • None

      Since 1.8, minecraft to use of new id alpha ("minecaft:stone") for example. However, the API always uses ID and not two what is it's a pity because since 1.10 (or 1.9) we are obliged to use / give @p minecraft:stone instead of / give @p 1. It would be necessary to add a method which allows to get back a Material from newer ID even if it is possible with the NMS with MinecraftKey.

      Ex: Material m = Material.findByMinecraftId("minecraft:stone");

      Vinetos

            Unassigned Unassigned
            Vinetos Vinetos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: