Example #1
0
        public IPacket ReadPacket(IMinecraftDataReader reader)
        {
            AgeOfTheWorld = reader.ReadLong();
            TimeOfDay     = reader.ReadLong();

            return(this);
        }
        public IPacket ReadPacket(IMinecraftDataReader reader)
        {
            AgeOfTheWorld = reader.ReadLong();
            TimeOfDay = reader.ReadLong();

            return this;
        }
        public IPacket ReadPacket(IMinecraftDataReader reader)
        {
            Location = Position.FromLong(reader.ReadLong());
            BlockIDMeta = reader.ReadVarInt();

            return this;
        }
Example #4
0
        public IPacket ReadPacket(IMinecraftDataReader reader)
        {
            Location    = Position.FromLong(reader.ReadLong());
            BlockIDMeta = reader.ReadVarInt();

            return(this);
        }
Example #5
0
        public IPacket ReadPacket(IMinecraftDataReader reader)
        {
            Time = reader.ReadLong();

            return(this);
        }
Example #6
0
        public IPacket ReadPacket(IMinecraftDataReader reader)
        {
            Time = reader.ReadLong();

            return this;
        }
Example #7
0
 public static Position FromReaderLong(IMinecraftDataReader reader)
 {
     return(FromLong(reader.ReadLong()));
 }