Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
public string GetCommandSetBlock() { var position = $"{Position.X} {Position.Y} {Position.Z}"; var facing = $"facing={Facing.GetFacingString()}"; var conditional = "conditional=" + (Conditional ? "true" : "false"); var command = $"Command=\"{Command}\""; return($"setblock {ToString(Mode)}[{facing},{conditional}]{{{command}}} {position}"); }