Examples of ArrowObjectEntityProtocol


Examples of org.spout.vanilla.protocol.entity.object.ArrowObjectEntityProtocol

  public static final int ID = 60;
  private Entity shooter;

  @Override
  public void onAttached() {
    setEntityProtocol(new ArrowObjectEntityProtocol());
    super.onAttached();

    // Add critical state metadata
    getOwner().add(MetadataComponent.class).addBoolMeta(16, VanillaData.CRITICAL);
  }
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.