REI integration

This commit is contained in:
Aleksey 2020-10-02 15:12:53 +03:00
parent 74c6c14b2a
commit e0cf41db63
24 changed files with 272 additions and 38 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.getResId("textures/entity/sign/" + name + ".png"));
RenderLayer layer = RenderLayer.getEntitySolid(BetterEnd.getIdentifier("textures/entity/sign/" + name + ".png"));
LAYERS.put(Block.getRawIdFromState(block.getDefaultState()), layer);
}
}