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/03/19 23:12] – Update outdated Intermediary names daomephsta | tutorial:fluids [2023/05/04 11:31] (current) – [Rendering setup] solidblock | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| /** | /** | ||
| - | * @return whether the fluid is infinite like water | + | * @return whether the fluid is infinite |
| */ | */ | ||
| @Override | @Override | ||
| Line 146: | Line 146: | ||
| @Override | @Override | ||
| public void onInitialize() { | public void onInitialize() { | ||
| - | STILL_ACID = class_2378.method_10230(class_7923.field_41173, | + | STILL_ACID = class_2378.method_10230(class_7923.field_41173, |
| - | FLOWING_ACID = class_2378.method_10230(class_7923.field_41173, | + | FLOWING_ACID = class_2378.method_10230(class_7923.field_41173, |
| - | ACID_BUCKET = class_2378.method_10230(class_7923.field_41178, | + | ACID_BUCKET = class_2378.method_10230(class_7923.field_41178, |
| new class_1755(STILL_ACID, | new class_1755(STILL_ACID, | ||
| Line 163: | Line 163: | ||
| " | " | ||
| [ | [ | ||
| - | "your_mod_id: | + | "tutorial: |
| - | "your_mod_id: | + | "tutorial: |
| ] | ] | ||
| } | } | ||
| 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.1679267562.txt.gz · Last modified: 2023/03/19 23:12 by daomephsta