mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
27 lines
557 B
C#
27 lines
557 B
C#
using System;
|
|
namespace MinecraftClient.Protocol
|
|
{
|
|
public class Item
|
|
{
|
|
public int id;
|
|
public int count;
|
|
public int damage;
|
|
public byte nbtData;
|
|
|
|
public Item(int id, int count)
|
|
{
|
|
this.id = id;
|
|
this.count = count;
|
|
this.damage = 0;
|
|
}
|
|
|
|
public Item(int id, int damage, int count, byte nbtData)
|
|
{
|
|
this.id = id;
|
|
this.count = count;
|
|
this.damage = damage;
|
|
this.nbtData = nbtData;
|
|
}
|
|
|
|
}
|
|
}
|