#
# This file contains the Block Rotation Mappings Ruins might need
# <- lines starting with this symbol are considered comments and disregarded by the parser
# empty lines are allowed.
#
# To enable the Rotation of new or custom Blocks in Minecraft, you need to put Mappings
# for possible metadata occurences and the metadata after they have been rotated in a
# direction in here.
#
#
# Mappings are to follow this standard:
# First, the block ID must be given by either providing it or (with mods you want this:) the absolute BlockName
#
# BlockID=106
# OR
# BlockID=tile.vine
#
# If a multitude of Blocks share the same rotation logic, you can provide them all at once, seperated by semicoli.
# BlockID=108;109;110
#
# Any mappings below such a line are considered part of that BlockID until another BlockID is introduced.
#
# A mapping is a Direction EAST, SOUTH or WEST, followed by the unrotated metadata, followed by the resulting metadata.
# These are seperated by '-'
#
# EAST-8-1
#
# That line means: if the Ruins Mod needs to rotate a Vine EAST, and the unrotated vine has metadata
# 8, the new metadata should be 1.
#
# You need to map any and all possible Rotations, with three Directions that aren't NORTH (= no rotation) and a
# Block that has 4 possible metadata values (such as Vines) that means you need to have 12 mappings.
#
# Other Blocks may have a lot more than that.
#
# Below, some mappings. Do not remove those! In the future, new mappings will be added in this file!
#
#

# mc vanilla Stair Blocks
# normal NESW: 0 2 1 3
# inverted NESW: 4 6 5 7
BlockID=53;67;108;109;114;128;134;135;136

EAST-0-2
EAST-1-3
EAST-2-1
EAST-3-0
EAST-4-6
EAST-5-7
EAST-6-5
EAST-7-4

SOUTH-0-1
SOUTH-1-0
SOUTH-2-3
SOUTH-3-2
SOUTH-4-5
SOUTH-5-4
SOUTH-6-7
SOUTH-7-6

WEST-0-3
WEST-1-2
WEST-2-0
WEST-3-1
WEST-4-7
WEST-5-6
WEST-6-4
WEST-7-5

# tripwire!
BlockID=tile.tripWireSource
# NESW: 1 2 3 0

EAST-1-2
EAST-2-3
EAST-3-0
EAST-0-1

SOUTH-0-2
SOUTH-1-3
SOUTH-2-0
SOUTH-3-1

WEST-0-3
WEST-2-1
WEST-3-2
WEST-1-0

# Sticky Piston
BlockID=29;34
# DUNESW: 0 1 4 2 5 3
# DUNESW: 8 9 12 10 13 11 (Extended)

EAST-0-0
EAST-1-1
EAST-4-2
EAST-5-3
EAST-2-5
EAST-3-4

EAST-8-8
EAST-9-9
EAST-12-10
EAST-13-11
EAST-10-13
EAST-11-12

SOUTH-0-0
SOUTH-1-1
SOUTH-4-5
SOUTH-5-4
SOUTH-2-3
SOUTH-3-2

SOUTH-8-8
SOUTH-9-9
SOUTH-12-13
SOUTH-13-12
SOUTH-10-11
SOUTH-11-10

WEST-0-0
WEST-1-1
WEST-4-3
WEST-5-2
WEST-2-4
WEST-3-5

WEST-8-8
WEST-9-9
WEST-12-11
WEST-13-10
WEST-10-12
WEST-11-13

# Mushroom blocks, courtesy of Arrrg
# They can point in all 8 directions and have center, inside, and stem parts.
# inside Nw N Ne W center E Sw S Se stem: 0 1 2 3 4 5 6 7 8 9 10
BlockID=99;100

EAST-0-0
EAST-1-3
EAST-2-6
EAST-3-9
EAST-4-2
EAST-5-5
EAST-6-8
EAST-7-1
EAST-8-4
EAST-9-7
EAST-10-10

SOUTH-0-0
SOUTH-1-9
SOUTH-2-8
SOUTH-3-7
SOUTH-4-6
SOUTH-5-5
SOUTH-6-4
SOUTH-7-3
SOUTH-8-2
SOUTH-9-1
SOUTH-10-10

WEST-0-0
WEST-1-7
WEST-2-4
WEST-3-1
WEST-4-8
WEST-5-5
WEST-6-2
WEST-7-9
WEST-8-6
WEST-9-3
WEST-10-10