示例#1
0
 public PlayNoteBlock(int x, short y, int z, Core.NoteBlockInstrument instrument, sbyte pitch)
 {
     this._X = x;
     this._Y = y;
     this._Z = z;
     this._Instrument = instrument;
     this._Pitch = pitch;
 }
示例#2
0
 public EntityAction(int entityid, Core.EntityAction action)
 {
     this._EntityId = entityid;
     this._Action = action;
 }
示例#3
0
 public Animation(int entityid, Core.Animation animate)
 {
     this._EntityId = entityid;
     this._Animate = animate;
 }
示例#4
0
 public PlayerDigging(Core.DiggingStatus status, int x, sbyte y, int z, Core.Direction face)
 {
     this._Status = status;
     this._X = x;
     this._Y = y;
     this._Z = z;
     this._Face = face;
 }
示例#5
0
 public OpenWindow(sbyte windowid, Core.InventoryType inventorytype, string windowtitle, sbyte slotcount)
 {
     this._WindowId = windowid;
     this._InventoryType = inventorytype;
     this._WindowTitle = windowtitle;
     this._SlotCount = slotcount;
 }
示例#6
0
 public PlayerBlockPlacement(int x, sbyte y, int z, Core.Direction direction, short blockid, sbyte amount, short damage)
 {
     this._X = x;
     this._Y = y;
     this._Z = z;
     this._Direction = direction;
     this._BlockId = blockid;
     this._Amount = amount;
     this._Damage = damage;
 }
示例#7
0
 public MobSpawn(int entityid, Core.MobType type, int x, int y, int z, sbyte yaw, sbyte pitch, byte[] metadata)
 {
     this._EntityId = entityid;
     this._Type = type;
     this._X = x;
     this._Y = y;
     this._Z = z;
     this._Yaw = yaw;
     this._Pitch = pitch;
     this._Metadata = metadata;
 }
示例#8
0
 public NewInvalidState(Core.NewInvalidState reason)
 {
     this._Reason = reason;
 }
示例#9
0
 public AddObjectVehicle(int entityid, Core.ObjectType type, int x, int y, int z)
 {
     this._EntityId = entityid;
     this._Type = type;
     this._X = x;
     this._Y = y;
     this._Z = z;
 }
示例#10
0
 public LoginRequestOutgoing(int protocolversion, string username, long mapseed, Core.Dimension dimension)
 {
     this._ProtocolVersion = protocolversion;
     this._Username = username;
     this._MapSeed = mapseed;
     this._Dimension = dimension;
 }
示例#11
0
 public LoginRequestIncoming(int entityid, string unknown, long mapseed, Core.Dimension dimension)
 {
     this._EntityId = entityid;
     this._Unknown = unknown;
     this._MapSeed = mapseed;
     this._Dimension = dimension;
 }
示例#12
0
 public EntityPainting(int entityid, string title, int x, int y, int z, Core.PaintingDirection direction)
 {
     this._EntityId = entityid;
     this._Title = title;
     this._X = x;
     this._Y = y;
     this._Z = z;
     this._Direction = direction;
 }
示例#13
0
 public EntityEquipment(int entityid, Core.EquipmentSlot slot, short itemid, short unknown)
 {
     this._EntityId = entityid;
     this._Slot = slot;
     this._ItemId = itemid;
     this._Unknown = unknown;
 }