tutorial:custom_model
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial:custom_model [2023/12/31 21:34] – Update to modern Minecraft and Fabric versions. gudenau | tutorial:custom_model [2024/04/27 08:58] (current) – typo florens | ||
---|---|---|---|
Line 25: | Line 25: | ||
// Some constants to avoid magic numbers, these need to match the SPRITE_IDS | // Some constants to avoid magic numbers, these need to match the SPRITE_IDS | ||
- | private static final SPRITE_SIDE = 0; | + | private static final int SPRITE_SIDE = 0; |
- | private static final SPRITE_TOP = 1; | + | private static final int SPRITE_TOP = 1; |
</ | </ | ||
Line 152: | Line 152: | ||
<code java> | <code java> | ||
@Environment(EnvType.CLIENT) | @Environment(EnvType.CLIENT) | ||
- | public class TutorialModelLoadingPlugin | + | public class TutorialModelLoadingPlugin |
public static final ModelIdentifier FOUR_SIDED_FURNACE_MODEL = new ModelIdentifier(" | public static final ModelIdentifier FOUR_SIDED_FURNACE_MODEL = new ModelIdentifier(" | ||
tutorial/custom_model.1704058478.txt.gz · Last modified: 2023/12/31 21:34 by gudenau