Ejemplo n.º 1
0
 public override void Write(PrimitiveWriter writer)
 {
     writer.WriteInt(EffectId);
     writer.WriteBlockPosProto(Location);
     writer.WriteInt(Data);
     writer.WriteBool(ServerWide);
 }
Ejemplo n.º 2
0
 public override void Write(PrimitiveWriter writer)
 {
     writer.WriteBlockPosProto(Location);
     writer.WriteByte(Action);
     writer.WriteByte(Param);
     writer.WriteVarint(Block.Id);
 }
Ejemplo n.º 3
0
 public override void Write(PrimitiveWriter writer)
 {
     writer.WriteVarint(EntityId);
     writer.WriteUuidProto(Uuid);
     writer.WriteStringProto(Painting.Name);
     writer.WriteBlockPosProto(Location);
     writer.WriteByte((byte)Direction);
 }
Ejemplo n.º 4
0
 public override void Write(PrimitiveWriter writer)
 {
     writer.WriteBlockPosProto(Location);
     writer.WriteVarint(BlockStateId.ToShort());
 }
Ejemplo n.º 5
0
 public override void Write(PrimitiveWriter writer)
 {
     writer.WriteVarint(EntityId);
     writer.WriteBlockPosProto(Location);
 }
Ejemplo n.º 6
0
 public override void Write(PrimitiveWriter writer)
 {
     writer.WriteBlockPosProto(Location);
     writer.WriteByte(Action);
     writer.WriteNbtBlob(NbtData);
 }
Ejemplo n.º 7
0
 public override void Write(PrimitiveWriter writer)
 {
     writer.WriteBlockPosProto(Position);
 }