Fixed/tweaked some parts of the portal

This commit is contained in:
WayofTime committed 2014-12-04 19:21:51 -05:00
1 parent 9b0fa9b052
commit 41c8d888b9
6 files changed
+25 -17

No files matched your search

@@ -6,6 +6,7 @@ import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import WayofTime.alchemicalWizardry.ModBlocks;
import WayofTime.alchemicalWizardry.common.Int3;
import WayofTime.alchemicalWizardry.common.demonVillage.tileEntity.IRoadWard;
import WayofTime.alchemicalWizardry.common.demonVillage.tileEntity.TEDemonPortal;
public class DemonVillagePath
@@ -17,7 +18,7 @@ public class DemonVillagePath
public int length;
public static boolean canGoDown = true;
public static boolean tunnelIfObstructed = true;
public static boolean tunnelIfObstructed = false;
public static boolean createBridgeInAirIfObstructed = false;
public DemonVillagePath(int xi, int yi, int zi, ForgeDirection dir, int length)
@@ -222,7 +223,7 @@ public class DemonVillagePath
public boolean isBlockReplaceable(Block block)
{
if (block.getMaterial() == Material.leaves || block.getMaterial() == Material.vine)
if (block.getMaterial() == Material.leaves || block.getMaterial() == Material.vine || block instanceof IRoadWard)
{
return false;
}