From 7c1ceec2c29e699f7098b54fe78030a8b6654b3b Mon Sep 17 00:00:00 2001 From: allstar69 Date: Sun, 7 Jul 2013 01:26:12 -0700 Subject: [PATCH] Fixed the custom villager hut. --- .../WorldGen/ComponentVillagerHut.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/common/MysticWorld/WorldGen/ComponentVillagerHut.java b/common/MysticWorld/WorldGen/ComponentVillagerHut.java index 8f1d7b5..0404cc7 100644 --- a/common/MysticWorld/WorldGen/ComponentVillagerHut.java +++ b/common/MysticWorld/WorldGen/ComponentVillagerHut.java @@ -66,26 +66,26 @@ public class ComponentVillagerHut extends ComponentVillage this.fillWithBlocks(world, sbb, 1, 1, 1, 5, 5, 5, 0, 0, false); this.fillWithMetadataBlocks(world, sbb, 1, 4, 1, 5, 4, 5, MysticStones.Planks.blockID, 5, MysticStones.Planks.blockID, 5, false); /*---------------------------------------------------------Glass and Door--------------------------------------------------------------------------*/ - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 1, 2, 0, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 1, 2, 0, sbb); this.placeBlockAtCurrentPosition(world, MysticStones.Planks.blockID, 5, 2, 2, 0, sbb); this.placeDoorAtCurrentPosition(world, sbb, random, 3, 1, 0, this.getMetadataWithOffset(Block.doorWood.blockID, 1)); this.placeBlockAtCurrentPosition(world, MysticStones.Planks.blockID, 5, 4, 2, 0, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 5, 2, 0, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 1, 2, 6, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 2, 2, 6, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 5, 2, 0, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 1, 2, 6, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 2, 2, 6, sbb); this.placeBlockAtCurrentPosition(world, MysticStones.Planks.blockID, 5, 3, 2, 6, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 4, 2, 6, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 5, 2, 6, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 0, 2, 1, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 0, 2, 2, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 4, 2, 6, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 5, 2, 6, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 0, 2, 1, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 0, 2, 2, sbb); this.placeBlockAtCurrentPosition(world, MysticStones.Planks.blockID, 5, 0, 2, 3, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 0, 2, 4, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 0, 2, 5, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 6, 2, 1, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 6, 2, 2, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 0, 2, 4, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 0, 2, 5, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 6, 2, 1, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 6, 2, 2, sbb); this.placeBlockAtCurrentPosition(world, MysticStones.Planks.blockID, 5, 6, 2, 3, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 6, 2, 4, sbb); - this.placeBlockAtCurrentPosition(world, BlockHandler.ReinforcedGlass.blockID, 0, 6, 2, 5, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 6, 2, 4, sbb); + this.placeBlockAtCurrentPosition(world, BlockHandler.BlockBase.blockID, 12, 6, 2, 5, sbb); /*-------------------------------------------------------------Ladders---------------------------------------------------------------------------*/ int i = this.getMetadataWithOffset(Block.ladder.blockID, 3); this.placeBlockAtCurrentPosition(world, Block.ladder.blockID, i, 3, 1, 5, sbb);