tutorial:biomecoloring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial:biomecoloring [2019/02/19 14:26] – mcrafterzz | tutorial:biomecoloring [2019/11/16 20:44] (current) – removed fudge | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Block Biome Coloring ====== | ||
- | In this tutorial we will show how to make blocks get affected by the biome color similar to leaves and grass. It's very important that it's done on client side in // | ||
- | | ||
- | @Override | ||
- | public void onInitializeClient() { | ||
- | | ||
- | | ||
- | | ||
- | }, block); | ||
- | } | ||
- | } | ||
- | |||
- | So what's happening here? Well, the register method wants a color returned and in this case that color is taken from the grass block, using the method' | ||
- | |||
- | | ||
- | @Override | ||
- | public void onInitializeClient() { | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | }, block.getItem()); | ||
- | } | ||
- | } | ||
- | |||
- | Finished! |
tutorial/biomecoloring.1550586383.txt.gz · Last modified: 2019/02/19 14:26 by mcrafterzz