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 revision
Previous revision
Next revisionBoth sides next revision
tutorial:directionalblock [2022/01/31 01:11] solidblocktutorial:directionalblock [2022/01/31 01:23] – external edit 127.0.0.1
Line 1: Line 1:
-====== Directional Blocks ======+====== Making a Directional Block ======
  
  
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