(question) How do I use summoning by name?

Discussion in 'Plugin Development' started by digitalbarrito, Feb 23, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    digitalbarrito

    I have a super plugin that does a lot of different things, I'd like to figure out how to get it so I can use Item names from a file or something inplace of id #'s.
     
  2. Offline

    Archelaus

    Use Material.

    Material.AIR ect.
     
  3. Offline

    digitalbarrito

    can you give me a quick example that includes the full string and what not, I wanna make sure I get it right (If you can :p)
     
  4. Offline

    Archelaus

    Code:
    block.setType(new ItemStack(Material.SAND));
     
Thread Status:
Not open for further replies.

Share This Page