public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Tile"] = new TagNodeByte(_tile); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Saddle"] = new TagNodeByte((byte)(_saddle ? 1 : 0)); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Sheared"] = new TagNodeByte((byte)(_sheared ? 1 : 0)); tree["Color"] = new TagNodeByte(_color); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Owner"] = new TagNodeString(_owner); tree["Sitting"] = new TagNodeByte((byte)(_sitting ? 1 : 0)); tree["Angry"] = new TagNodeByte((byte)(_angry ? 1 : 0)); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; if (_powered != null) { tree["powered"] = new TagNodeByte((byte)((_powered ?? false) ? 1 : 0)); } return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Dir"] = new TagNodeByte((byte)_dir); tree["Motive"] = new TagNodeString(_motive); tree["TileX"] = new TagNodeInt(_xTile); tree["TileY"] = new TagNodeInt(_yTile); tree["TileZ"] = new TagNodeInt(_zTile); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; if (_record != null) { tree["blockId"] = new TagNodeInt(_blockId); tree["blockData"] = new TagNodeInt(_blockData); tree["facing"] = new TagNodeInt(_facing); tree["progress"] = new TagNodeFloat(_progress); tree["extending"] = new TagNodeByte(_extending); } return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["xTile"] = new TagNodeShort(_xTile); tree["yTile"] = new TagNodeShort(_yTile); tree["zTile"] = new TagNodeShort(_zTile); tree["inTile"] = new TagNodeByte(_inTile); tree["shake"] = new TagNodeByte(_shake); tree["inGround"] = new TagNodeByte(_inGround); return tree; }