tutorial:biomecoloring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:biomecoloring [2019/05/26 16:21] – Code highlighting jamieswhiteshirt | tutorial:biomecoloring [2019/05/28 18:43] – mapping changes draylar | ||
---|---|---|---|
Line 9: | Line 9: | ||
public void onInitializeClient() { | public void onInitializeClient() { | ||
ColorProviderRegistry.BLOCK.register((block, | ColorProviderRegistry.BLOCK.register((block, | ||
- | | + | |
return provider == null ? -1 : provider.getColor(block, | return provider == null ? -1 : provider.getColor(block, | ||
}, YOUR_BLOCK_INSTANCE); | }, YOUR_BLOCK_INSTANCE); |