tutorial:blockentityrenderers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:blockentityrenderers [2019/12/14 10:42] – fix link juuz | tutorial:blockentityrenderers [2019/12/14 21:51] – It takes a BEType now juuz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Rendering blocks and items dynamically using block entity renderers ====== | ====== Rendering blocks and items dynamically using block entity renderers ====== | ||
- | //This is the 1.15 version of this tutorial. For the latest | + | //This is the 1.15 version of this tutorial. For the 1.14 version, see [[tutorial: |
Make sure you [[tutorial: | Make sure you [[tutorial: | ||
Line 60: | Line 60: | ||
@Override | @Override | ||
public void onInitializeClient() { | public void onInitializeClient() { | ||
- | BlockEntityRendererRegistry.INSTANCE.register(DemoBlockEntity.class, MyBlockEntityRenderer:: | + | BlockEntityRendererRegistry.INSTANCE.register(DEMO_BLOCK_ENTITY, MyBlockEntityRenderer:: |
} | } | ||
</ | </ |
tutorial/blockentityrenderers.txt · Last modified: 2023/02/09 13:14 by mschae23