User Tools

Site Tools


tutorial:biomecoloring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:biomecoloring [2019/03/25 01:45] – language fixes draylartutorial:biomecoloring [2019/03/25 01:46] – block is not a reference usable draylar
Line 8: Line 8:
          BlockColorMapper provider = ColorProviderRegistry.BLOCK.get(Blocks.GRASS);          BlockColorMapper provider = ColorProviderRegistry.BLOCK.get(Blocks.GRASS);
          return provider == null ? -1 : provider.getColor(block, pos, world, layer);          return provider == null ? -1 : provider.getColor(block, pos, world, layer);
-         }, block);+         }, Blocks.SPONGE);
       }       }
    }    }