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
Next revisionBoth sides next revision
tutorial:custom_model [2020/12/15 15:10] – [Custom Model] BLOCK_ATLAS_TEX to BLOCK_ATLAS_TEXTURE technici4ntutorial:custom_model [2021/08/08 19:25] – [BakedModel methods] lvanderzande
Line 75: Line 75:
 Not all the methods here are used by the Fabric Renderer, so we don't really care about the implementation. Not all the methods here are used by the Fabric Renderer, so we don't really care about the implementation.
 <code java> <code java>
-@Override+    @Override
     public List<BakedQuad> getQuads(BlockState state, Direction face, Random random) {     public List<BakedQuad> getQuads(BlockState state, Direction face, Random random) {
         return null; // Don't need because we use FabricBakedModel instead         return null; // Don't need because we use FabricBakedModel instead
Line 101: Line 101:
  
     @Override     @Override
-    public Sprite getSprite() {+    public Sprite getParticleSprite() {
         return SPRITES[1]; // Block break particle, let's use furnace_top         return SPRITES[1]; // Block break particle, let's use furnace_top
     }     }
Line 174: Line 174:
     /* ... */     /* ... */
     "client": [     "client": [
-      "tutorial.path.to.ExampleModClient"+      "net.fabricmc.example.ExampleModClient"
     ]     ]
   },   },
tutorial/custom_model.txt · Last modified: 2024/04/27 08:58 by florens