How to get the String id in 1.13

Discussion in 'Spigot Plugin Help' started by maxou54200, Aug 18, 2018.

  1. Hello everyone,

    I search how to get the String id of a Material but I don't found in the net. For example:
    Material.STONE that is minecraft:stone
    Or we can use the id number (normally not in 1.13) ?

    Thank's !
  2. Material.STONE.getKey();