Package org.spout.vanilla.component.entity.substance

Examples of org.spout.vanilla.component.entity.substance.FallingBlock


    super(type);
  }

  @Override
  public List<Message> getSpawnMessages(Entity entity, RepositionManager rm) {
    FallingBlock block = entity.get(FallingBlock.class);
    if (block != null && block.getMaterial() instanceof VanillaBlockMaterial) {
      VanillaBlockMaterial material = (VanillaBlockMaterial) block.getMaterial();
      int messageData = material.getMinecraftId() | (material.getMinecraftData(material.getData()) >> 16);
      List<Message> messages = new ArrayList<Message>();
      //TODO: Redo this as FallingBlock will remain an Entity
      //
      //      final double p = 32d;
View Full Code Here

TOP

Related Classes of org.spout.vanilla.component.entity.substance.FallingBlock

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.