tutorial:datagen_buckets
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:datagen_buckets [2023/06/21 10:25] – tinypandas | tutorial:datagen_buckets [2023/06/21 17:30] (current) – [Client registration] tinypandas | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| </ | </ | ||
| + | |||
| + | Here our '' | ||
| ===== Create our bucket item ===== | ===== Create our bucket item ===== | ||
| Line 106: | Line 108: | ||
| @Override | @Override | ||
| public void onInitializeClient() { | public void onInitializeClient() { | ||
| - | ColorProviderRegistry.ITEM.register((stack, | + | ColorProviderRegistry.ITEM.register((stack, |
| - | ColorProviderRegistry.ITEM.register((stack, tintIndex) -> ((CustomBucket) | + | ExampleMod.RED_WATER_BUCKET, |
| - | ColorProviderRegistry.ITEM.register((stack, | + | |
| } | } | ||
| </ | </ | ||
| Line 116: | Line 117: | ||
| {{: | {{: | ||
| - | Now that we have reached the end, upon starting up minecraft and joining a world, we should be able to `/give @a examplemod: | + | Now that we have reached the end, upon starting up minecraft and joining a world, we should be able to '' |
| '' | '' | ||
tutorial/datagen_buckets.1687343113.txt.gz · Last modified: 2023/06/21 10:25 by tinypandas