tutorial:blockstate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorial:blockstate [2024/08/26 01:19] – solidblock | tutorial:blockstate [2024/10/27 14:57] (current) – solidblock | ||
---|---|---|---|
Line 24: | Line 24: | ||
<code java> | <code java> | ||
public final class TutorialBlocks { | public final class TutorialBlocks { | ||
+ | // For versions below 1.21.2: | ||
public static final Chargeable CHARGEABLE_BLOCK = register(" | public static final Chargeable CHARGEABLE_BLOCK = register(" | ||
+ | // For versions since 1.21.2: | ||
+ | public static final Chargeable CHARGEABLE_BLOCK = register(" | ||
| | ||
// [...] | // [...] |
tutorial/blockstate.1724635157.txt.gz · Last modified: 2024/08/26 01:19 by solidblock