User Tools

Site Tools


tutorial:blockentityrenderers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:blockentityrenderers [2019/12/14 10:43] – fix typo juuztutorial:blockentityrenderers [2019/12/14 21:51] – It takes a BEType now juuz
Line 60: Line 60:
 @Override @Override
 public void onInitializeClient() { public void onInitializeClient() {
-    BlockEntityRendererRegistry.INSTANCE.register(DemoBlockEntity.class, MyBlockEntityRenderer::new);+    BlockEntityRendererRegistry.INSTANCE.register(DEMO_BLOCK_ENTITY, MyBlockEntityRenderer::new);
 } }
 </code> </code>
tutorial/blockentityrenderers.txt · Last modified: 2023/02/09 13:14 by mschae23