item sprite names

This commit is contained in:
Sen 2025-06-21 21:56:11 +02:00
parent 153e53ba9a
commit 0a701b55d2
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
4 changed files with 4 additions and 4 deletions

View file

@ -144,7 +144,7 @@ public abstract class ModelBakery
String loc = "item/" + ItemRegistry.getNameFromItem(item);
models.put(loc, (ModelBlock)item.getModel(ModelBlock.PROVIDER, ItemRegistry.getNameFromItem(item)));
itemLocations.add(loc);
String[] extra = item.getRenderItems();
String[] extra = item.getSprites();
if(extra != null) {
for(String sprite : extra) {
loc = "item/" + sprite;