fixed some stuff

a
This commit is contained in:
QubicQuantum 2021-08-15 21:14:26 -07:00
parent 7ddf11004b
commit 80100ff504
4 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer;
public class WrenchModel extends CustomRenderedItemModel {
public WrenchModel(IBakedModel template) {
super(template, "wrench");
super(template, "create", "wrench");
addPartials("gear");
}

View File

@ -82,7 +82,7 @@ public class SandPaperItemRenderer extends ItemStackTileEntityRenderer {
public static class SandPaperModel extends CustomRenderedItemModel {
public SandPaperModel(IBakedModel template) {
super(template, "");
super(template, "create","");
}
@Override

View File

@ -8,7 +8,7 @@ import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer;
public class LinkedControllerModel extends CustomRenderedItemModel {
public LinkedControllerModel(IBakedModel template) {
super(template, "linked_controller");
super(template, "create", "linked_controller");
addPartials("powered", "button");
}

View File

@ -18,6 +18,7 @@ import net.minecraftforge.client.model.BakedModelWrapper;
public abstract class CustomRenderedItemModel extends BakedModelWrapper<IBakedModel> {
protected String namespace;
protected String basePath;
protected Map<String, IBakedModel> partials = new HashMap<>();
protected ItemStackTileEntityRenderer renderer;