This commit is contained in:
paulevsGitch 2020-10-04 14:09:24 +03:00
parent 74992a7f68
commit 62698e8bf5
24 changed files with 64 additions and 30 deletions

View file

@ -111,7 +111,7 @@ public class ESignBlockEntityRenderer extends BlockEntityRenderer<ESignBlockEnti
Block block = ((BlockItem) item).getBlock();
if (block instanceof BlockSign) {
String name = Registry.BLOCK.getId(block).getPath();
RenderLayer layer = RenderLayer.getEntitySolid(BetterEnd.getIdentifier("textures/entity/sign/" + name + ".png"));
RenderLayer layer = RenderLayer.getEntitySolid(BetterEnd.makeID("textures/entity/sign/" + name + ".png"));
LAYERS.put(Block.getRawIdFromState(block.getDefaultState()), layer);
}
}