Skip to content

Commit 381707a

Browse files
committed
make hasTESR() true
1 parent fec6377 commit 381707a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/main/java/net/neganote/monilabs/client/renderer/PrismaticCrucibleRenderer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ public PrismaticCrucibleRenderer() {
3838
.getRenderer();
3939
}
4040

41+
@Override
42+
public boolean hasTESR(BlockEntity blockEntity) {
43+
return true;
44+
}
45+
4146
@Override
4247
@OnlyIn(Dist.CLIENT)
4348
public void render(BlockEntity blockEntity, float partialTicks, PoseStack poseStack, MultiBufferSource buffer,

src/main/java/net/neganote/monilabs/data/MoniBlocks.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ public static void init() {}
2828
.lang("Prismatic Casing")
2929
.color(() -> PrismaticActiveBlockColor::new)
3030
.item(BlockItem::new)
31-
.model(((ctx, prov) -> {
31+
.model((ctx, prov) -> {
3232
BlockItem item = ctx.getEntry();
3333
prov.blockItem(() -> item);
34-
}))
34+
})
3535
.build()
3636
.register();
3737

@@ -56,10 +56,10 @@ public static void init() {}
5656
.color(() -> PrismaticActiveBlockColor::new)
5757
.lang("Prismatic Focus")
5858
.item(PrismaticFocusItem::new)
59-
.model(((ctx, prov) -> {
59+
.model((ctx, prov) -> {
6060
BlockItem item = ctx.getEntry();
6161
prov.blockItem(() -> item);
62-
}))
62+
})
6363
.build()
6464
.register();
6565
}

0 commit comments

Comments
 (0)