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/03/18 08:15] – fix code jummit | tutorial:directionalblock [2021/08/30 16:39] – jamalam | ||
---|---|---|---|
Line 37: | Line 37: | ||
} | } | ||
+ | @Ovveride | ||
public BlockState getPlacementState(ItemPlacementContext ctx) { | public BlockState getPlacementState(ItemPlacementContext ctx) { | ||
return (BlockState)this.getDefaultState().with(Properties.HORIZONTAL_FACING, | return (BlockState)this.getDefaultState().with(Properties.HORIZONTAL_FACING, | ||
Line 51: | Line 52: | ||
{ | { | ||
" | " | ||
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
} | } | ||
} | } | ||
Line 73: | Line 74: | ||
" | " | ||
" | " | ||
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
" | " | ||
" | " |
tutorial/directionalblock.txt · Last modified: 2023/09/26 05:43 by poopooracoocoo