A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
581B

  1. namespace GamecraftModdingAPI.Blocks
  2. {
  3. public struct BlockColor
  4. {
  5. public BlockColors Color;
  6. public byte Darkness;
  7. public override string ToString()
  8. {
  9. return $"{nameof(Color)}: {Color}, {nameof(Darkness)}: {Darkness}";
  10. }
  11. }
  12. /// <summary>
  13. /// Preset block colours
  14. /// </summary>
  15. public enum BlockColors
  16. {
  17. Default = byte.MaxValue,
  18. White = 0,
  19. Pink,
  20. Purple,
  21. Blue,
  22. Aqua,
  23. Green,
  24. Lime,
  25. Yellow,
  26. Orange,
  27. Red
  28. }
  29. }