Package simpleserver.nbt.Inventory

Examples of simpleserver.nbt.Inventory.Enchantment


            } else {
              player.addTMessage(Color.RED, "No enchantment with id %s exists.", id);
            }

          } else {
            item.addEnchantment(new Enchantment(id, level));
            changed = true;
          }
        } catch (NumberFormatException e) {
          player.addTMessage(Color.RED, "%s is not a valid enchantment", parts[i]);
        }
View Full Code Here

TOP

Related Classes of simpleserver.nbt.Inventory.Enchantment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.