tutorial:custom_model
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:custom_model [2021/03/02 04:49] – [Registering the model] it's the tutorial mod as said before solidblock | tutorial:custom_model [2021/11/24 10:42] – [BakedModel methods] don't return null in getQuads technici4n | ||
---|---|---|---|
Line 71: | Line 71: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | Note that the type parameter "'' | ||
==== BakedModel methods ==== | ==== BakedModel methods ==== | ||
Line 77: | Line 79: | ||
@Override | @Override | ||
public List< | public List< | ||
- | | + | // Don't need because we use FabricBakedModel instead. However, it's better to not return null in case some mod decides to call this function. |
+ | return Collections.emptyList(); | ||
} | } | ||
Line 101: | Line 104: | ||
@Override | @Override | ||
- | public Sprite | + | public Sprite |
return SPRITES[1]; // Block break particle, let's use furnace_top | return SPRITES[1]; // Block break particle, let's use furnace_top | ||
} | } |
tutorial/custom_model.txt · Last modified: 2024/04/27 08:58 by florens