tutorial:datagen_buckets
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial:datagen_buckets [2023/06/21 10:17] – created tinypandas | tutorial:datagen_buckets [2023/06/21 17:30] (current) – [Client registration] tinypandas | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Overview ===== | ===== Overview ===== | ||
- | This section will cover the process around creating bucket textures for your fluids utilizing '' | + | Version: 1.20+ |
+ | 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. | ||
===== Requirements ===== | ===== Requirements ===== | ||
- This guide assumes you have successfully setup '' | - This guide assumes you have successfully setup '' | ||
Line 46: | Line 49: | ||
</ | </ | ||
+ | |||
+ | Here our '' | ||
===== Create our bucket item ===== | ===== Create our bucket item ===== | ||
Line 103: | 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 111: | 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.1687342656.txt.gz · Last modified: 2023/06/21 10:17 by tinypandas