tutorial:directionalblock
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:directionalblock [2021/12/20 02:09] – Fix @Override typo haykam | tutorial:directionalblock [2022/01/31 01:08] – [Defining Blockstate] solidblock | ||
---|---|---|---|
Line 8: | Line 8: | ||
<code java> | <code java> | ||
- | public class PolishedAndesiteSideBlock | + | public class VerticalSlabBlock |
- | public | + | public |
super(settings); | super(settings); | ||
setDefaultState(this.stateManager.getDefaultState().with(Properties.HORIZONTAL_FACING, | setDefaultState(this.stateManager.getDefaultState().with(Properties.HORIZONTAL_FACING, | ||
Line 48: | Line 48: | ||
==== Defining Blockstate ==== | ==== Defining Blockstate ==== | ||
- | polished_andesite_side_block.json | + | <code javascript src/ |
- | <code> | + | |
{ | { | ||
" | " | ||
Line 64: | Line 63: | ||
- | side.json | + | <code javascript src/ |
- | <code> | + | |
{ " | { " | ||
" | " | ||
Line 86: | Line 84: | ||
</ | </ | ||
- | polished_andesite_side_block.json | + | <code javascript src/ |
- | <code> | + | |
{ | { | ||
- | " | + | " |
" | " | ||
" | " |
tutorial/directionalblock.txt · Last modified: 2023/09/26 05:43 by poopooracoocoo