mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-15 23:56:14 +01:00
fixed some stuff
a
This commit is contained in:
parent
7ddf11004b
commit
80100ff504
4 changed files with 4 additions and 3 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue