Package org.spout.vanilla.protocol.msg.entity.spawn

Examples of org.spout.vanilla.protocol.msg.entity.spawn.EntityPaintingMessage


    String title = VanillaByteBufUtils.readString(buffer);
    int x = buffer.readInt();
    int y = buffer.readInt();
    int z = buffer.readInt();
    int direction = buffer.readInt();
    return new EntityPaintingMessage(id, title, x, y, z, direction, NullRepositionManager.getInstance());
  }
View Full Code Here


public class PaintingEntityProtocol extends VanillaEntityProtocol {
  @Override
  public List<Message> getSpawnMessages(Entity entity, RepositionManager rm) {
    List<Message> messages = new ArrayList<>();
    messages.add(new EntityPaintingMessage(entity.add(Painting.class), rm));
    return messages;
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.entity.spawn.EntityPaintingMessage

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.