[SPIGOT-6903] Expose MapMaterialColor to API Created: 18/Jan/22 Updated: 16/Dec/23 Resolved: 16/Dec/23 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Syd Montague | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Version: | non-applicable |
| Guidelines Read: | Yes |
| Description |
|
At the moment there is no non-NMS way to obtain the MapMaterialColor of a block. Adding this to the API would significantly simplify custom map rendering and other use cases where obtaining the color of a block might be useful. |
| Comments |
| Comment by Syd Montague [ 25/Jan/22 ] |
|
@FreeSoccerHDX |
| Comment by FreeSoccerHDX [ 25/Jan/22 ] |
|
What is the NMS way to do it ? |