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

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


   *
   * @param entity to get it for
   * @return List of metadata Parameters to update
   */
  public List<Parameter<?>> getUpdateParameters(Entity entity) {
    MetadataComponent metadataComponent = entity.get(MetadataComponent.class);
    if (metadataComponent == null) {
      return Collections.emptyList();
    } else {
      return metadataComponent.getUpdateParameters();
    }
  }
View Full Code Here

TOP

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

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.