tutorial:fluids
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:fluids [2023/05/04 11:25] – [Implementation] use tutorial namespace solidblock | tutorial:fluids [2023/05/04 11:31] (current) – [Rendering setup] solidblock | ||
|---|---|---|---|
| Line 241: | Line 241: | ||
| ===== Rendering setup ===== | ===== Rendering setup ===== | ||
| - | For your fluids to have textures or be tinted with a color, you will need to register a '' | + | For your fluids to have textures or be tinted with a color, you will need to register a '' |
| < | < | ||
| + | @Environment(EnvType.CLIENT) | ||
| public class TutorialModClient implements ClientModInitializer { | public class TutorialModClient implements ClientModInitializer { | ||
| Line 260: | Line 261: | ||
| //To register your custom textures use this method. | //To register your custom textures use this method. | ||
| // | // | ||
| - | // registry.register(new Identifier(" | + | // registry.register(new Identifier(" |
| - | // registry.register(new Identifier(" | + | // registry.register(new Identifier(" |
| //}); | //}); | ||
tutorial/fluids.1683199518.txt.gz · Last modified: 2023/05/04 11:25 by solidblock