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:21] – [Overview] tinypandas | tutorial:datagen_buckets [2023/06/21 17:30] (current) – [Client registration] tinypandas | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Version: 1.20+ | Version: 1.20+ | ||
| - | This section will cover the process around creating bucket textures for your fluids utilizing '' | + | This section will cover the process around creating bucket textures for your fluids utilizing '' |
| While this guide is specifically tailored towards buckets, it can be applied to anything with enough creativity. | While this guide is specifically tailored towards buckets, it can be applied to anything with enough creativity. | ||
| 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 114: | Line 115: | ||
| ===== Final Result ===== | ===== Final Result ===== | ||
| - | 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.1687342891.txt.gz · Last modified: 2023/06/21 10:21 by tinypandas