Fixed Metadata Rotation for Stairs
Changed BlockRotator so that missing stair types are recognized for applying rotations. The general code for all stairs was there but the block IDs for wooden and brick stairs weren't recognized. Also removed a duplicate reference to nether brick stairs.
This commit is contained in:
parent
350b2e2e2c
commit
62b1629a8a
1 changed files with 6 additions and 1 deletions
|
@ -50,13 +50,18 @@ public class BlockRotator
|
||||||
hasOrientations[Block.hopperBlock.blockID] = true;
|
hasOrientations[Block.hopperBlock.blockID] = true;
|
||||||
hasOrientations[Block.stairsNetherBrick.blockID] = true;
|
hasOrientations[Block.stairsNetherBrick.blockID] = true;
|
||||||
hasOrientations[Block.stairsCobblestone.blockID] = true;
|
hasOrientations[Block.stairsCobblestone.blockID] = true;
|
||||||
hasOrientations[Block.stairsNetherBrick.blockID] = true;
|
|
||||||
hasOrientations[Block.stairsNetherQuartz.blockID] = true;
|
hasOrientations[Block.stairsNetherQuartz.blockID] = true;
|
||||||
hasOrientations[Block.stairsSandStone.blockID] = true;
|
hasOrientations[Block.stairsSandStone.blockID] = true;
|
||||||
|
hasOrientations[Block.stairsBrick.blockID] = true;
|
||||||
|
hasOrientations[Block.stairsWoodBirch.blockID] = true;
|
||||||
|
hasOrientations[Block.stairsWoodOak.blockID] = true;
|
||||||
|
hasOrientations[Block.stairsWoodJungle.blockID] = true;
|
||||||
|
hasOrientations[Block.stairsWoodSpruce.blockID] = true;
|
||||||
hasOrientations[Block.wood.blockID] = true;
|
hasOrientations[Block.wood.blockID] = true;
|
||||||
hasOrientations[Block.blockNetherQuartz.blockID] = true;
|
hasOrientations[Block.blockNetherQuartz.blockID] = true;
|
||||||
hasOrientations[mod_pocketDim.dimDoor.blockID] = true;
|
hasOrientations[mod_pocketDim.dimDoor.blockID] = true;
|
||||||
hasOrientations[mod_pocketDim.ExitDoor.blockID] = true;
|
hasOrientations[mod_pocketDim.ExitDoor.blockID] = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int transformMetadata(int metadata, int turns, int blockID)
|
public static int transformMetadata(int metadata, int turns, int blockID)
|
||||||
|
|
Loading…
Reference in a new issue