Table of Contents
Blocks in ClassiCube have no metadata for storing their rotation or direction.
For example, if you have a Stone slab block and want to be able to place an upside-down stone slab, you will need to make a separate new Upside-down stone slab block.
Another example, if you have a Sideways stone slab north block that is north-facing, you will need to make separate blocks that face south, west, and east.
However, after you've added all the variants, you may find it problematic remembering which directional variant to place, and end up placing the wrong one half the time.
This is where "Auto-Rotate" comes in (Turned on or off by pressing F6 in-game). If you're placing a block with other defined rotations, Auto-Rotate automatically picks the correct block rotation for you to place.
For Auto-Rotate to work, you must name your blocks with special endings/suffixes that are detailed below:
Directional endings
- -N
Min (0, 0, 0) : Max (16, 16, 8)
- -S
Min (0, 0, 8) : Max (16, 16, 16)
- -W
Min (0, 0, 0) : Max (8, 16, 16)
- -E
Min (8, 0, 0) : Max (16, 16, 16)
These suffixes stand for North, South, West and East, and should come after the block name without a space. For example: Wood wall-N, Wood wall-S, Wood wall-W, Wood wall-E.
If you make a block such as a chest, remember that the Chest-N should have its front facing south. This way it will face you when you place it.
It should be noted that you may press F7 in-game to see the red and blue line. The blue line always points south.
Corner endings
- -NW
Min (0, 0, 0) : Max (8, 16, 8)
- -NE
Min (8, 0, 0) : Max (16, 16, 8)
- -SW
Min (0, 0, 8) : Max (8, 16, 16)
- -SE
Min (8, 0, 8) : Max (16, 16, 16)
These suffixes stand for Northwest, Northeast, Southwest and Southeast.
Slab endings
- -D
Min (0, 0, 0) : Max (16, 8, 16)
- -U
Min (0, 8, 0) : Max (16, 16, 16)
These suffixes stand for Down and Up.
Pillar/Pole endings
- -NS
Min (4, 4, 0) : Max (12, 12, 16)
- -WE
Min (0, 4, 4) : Max (16, 12, 12)
- -UD
Min (4, 0, 4) : Max (12, 16, 12)
These suffixes stand for North/South, West/East and Up/Down
Note that if you do not include a "-UD" variant, auto-rotate will determine which block to place based on the direction you're looking when you place it. This makes it useful for fence or centered wall type blocks:
Wiki & Documentation
Users (WIP)
- Frequently Asked Questions
- Setting up a MC Classic Server
Developers
- MC Classic Lava Animation
- Dig Animation Detail
- MC Classic Map Generation
- Physics
- Position of the player's arm
- Directional Blocks & Auto Rotate