User Tools

Site Tools


tutorial:directionalblock

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:directionalblock [2022/01/31 01:12] – [Directional Blocks] solidblocktutorial:directionalblock [2022/01/31 01:23] – [Defining rotation and mirroring of blocks] solidblock
Line 96: Line 96:
  
 ===== Defining rotation and mirroring of blocks ===== ===== Defining rotation and mirroring of blocks =====
-For directional blocks, you may have to override ''rotate'' and ''mirror'' methods, so that in structure blocks, they can be correctly rotated or mirrored.+For directional blocks, you may have to override ''rotate'' and ''mirror'' methods, so that in structure blocks (and structure-related mods like WorldEdit), they can be correctly rotated or mirrored. However, in this case, the ''HorizontalFacingBlock'' class has already done it for you.
tutorial/directionalblock.txt · Last modified: 2023/09/26 05:43 by poopooracoocoo