Package org.spout.vanilla.component.entity.misc

Examples of org.spout.vanilla.component.entity.misc.Descriptor


      player.sendMessage("Could not find a near Entity you are looking at.");
      return;
    }

    // Send entity information
    Descriptor desc = nearest.get(Descriptor.class);
    if (desc == null) {
      player.sendMessage("Selected Entity: Unknown");
    } else {
      player.sendMessage("Selected Entity: " + desc.getDescription());
    }

    Object currentValue = nearest.getData().get(key);
    if (value == null || value.isEmpty()) {
      if (nearest.getData().containsKey(key)) {
View Full Code Here

TOP

Related Classes of org.spout.vanilla.component.entity.misc.Descriptor

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.