tutorial:blockentity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:blockentity [2021/01/22 17:49] – Add BlockEntity#toTag BlockState parameter technici4n | tutorial:blockentity [2021/05/20 11:17] – [[tutorial:items]] mentioned that In this tutorial and all future ones, the “tutorial” namespace is used as a placeholder. solidblock | ||
---|---|---|---|
Line 23: | Line 23: | ||
===== Registering your BlockEntity ===== | ===== Registering your BlockEntity ===== | ||
- | Once you have created the '' | + | Once you have created the '' |
The '' | The '' | ||
Line 32: | Line 32: | ||
@Override | @Override | ||
public void onInitialize() { | public void onInitialize() { | ||
- | | + | |
} | } | ||
</ | </ | ||
Line 41: | Line 41: | ||
<code java> | <code java> | ||
- | public class MyBlock | + | public class DemoBlock |
[...] | [...] |
tutorial/blockentity.txt · Last modified: 2023/09/20 19:18 by haykam