User Tools

Site Tools


tutorial:custom_model

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorial:custom_model [2023/12/31 21:34] – Update to modern Minecraft and Fabric versions. gudenaututorial: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;
  
 </code> </code>
Line 152: Line 152:
 <code java> <code java>
 @Environment(EnvType.CLIENT) @Environment(EnvType.CLIENT)
-public class TutorialModelLoadingPlugin impelements ModelLoadingPlugin {+public class TutorialModelLoadingPlugin implements ModelLoadingPlugin {
     public static final ModelIdentifier FOUR_SIDED_FURNACE_MODEL = new ModelIdentifier("tutorial", "four_sided_furnace", "");     public static final ModelIdentifier FOUR_SIDED_FURNACE_MODEL = new ModelIdentifier("tutorial", "four_sided_furnace", "");
  
tutorial/custom_model.1704058478.txt.gz · Last modified: 2023/12/31 21:34 by gudenau