Package org.spout.vanilla.protocol.msg.player

Examples of org.spout.vanilla.protocol.msg.player.PlayerBedMessage


    event.getMessages().add(new PlayerListMessage(name, event.getOnline(), (short) event.getPingDelay()));
  }

  @EventHandler
  public void onPlayerBed(PlayerBedEvent event) {
    event.getMessages().add(new PlayerBedMessage(event.getPlayer(), event.getBed(), getRepositionManager()));
  }
View Full Code Here


    int id = buffer.readInt();
    int used = buffer.readUnsignedByte();
    int x = buffer.readInt();
    int y = buffer.readUnsignedByte();
    int z = buffer.readInt();
    return new PlayerBedMessage(id, used, x, y, z, NullRepositionManager.getInstance());
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.player.PlayerBedMessage

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.