Examples of PaintingEntityProtocol


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

  private float timer = 0f;

  @Override
  public void onAttached() {
    super.onAttached();
    setEntityProtocol(new PaintingEntityProtocol());
    if (getAttachedCount() == 1) {
      getOwner().add(DeathDrops.class).addDrop(new ItemStack(VanillaMaterials.PAINTING, 1));
    }
  }
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.