Examples of MetadataComponent


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
Copyright © 2018 www.massapi.com. 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.