Hello, I want to draw block colours similar to how maps does it but in a gui.
Here's what I do in a tickable tileentity every 100 seconds:
public void updateMapColourData()
{
if (world == null)
return;
mapColourData = new ArrayList<>();
System.out.println("updating");
for (int x = getPos().getX() - RADIUS; x < getPos().getX() + RADIUS; x++)
{
for (int z = getPos().getZ() - SCAN_RADIUS; z < getPos().getZ() + SCAN_RADIUS; z++)
ma