|
- namespace GamecraftModdingAPI.Blocks
- {
- public struct BlockColor
- {
- public BlockColors Color;
- public byte Darkness;
-
- public override string ToString()
- {
- return $"{nameof(Color)}: {Color}, {nameof(Darkness)}: {Darkness}";
- }
- }
-
- /// <summary>
- /// Preset block colours
- /// </summary>
- public enum BlockColors
- {
- Default = byte.MaxValue,
- White = 0,
- Pink,
- Purple,
- Blue,
- Aqua,
- Green,
- Lime,
- Yellow,
- Orange,
- Red
- }
- }
|