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 class WrenchModel extends CustomRenderedItemModel {
public WrenchModel(IBakedModel template) { public WrenchModel(IBakedModel template) {
super(template, "wrench"); super(template, "create", "wrench");
addPartials("gear"); addPartials("gear");
} }

View file

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

View file

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

View file

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