Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CovertJaguar committed Sep 22, 2015
2 parents 8987784 + 65af632 commit 6502d9e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
Expand Up @@ -50,8 +50,8 @@ public int testCarts(List<EntityMinecart> carts) {
if (chicken) {
return FULL_POWER;
}
} else if (cart.riddenByEntity instanceof EntityCow) {
if (cow) {
} else if (cart.riddenByEntity instanceof EntityMooshroom) {
if (mooshroom) {
return FULL_POWER;
}
} else if (cart.riddenByEntity instanceof EntityPig) {
Expand All @@ -62,8 +62,8 @@ public int testCarts(List<EntityMinecart> carts) {
if (sheep) {
return FULL_POWER;
}
} else if (cart.riddenByEntity instanceof EntityMooshroom) {
if (mooshroom) {
} else if (cart.riddenByEntity instanceof EntityCow) {
if (cow) {
return FULL_POWER;
}
} else if (cart.riddenByEntity instanceof EntityWolf) {
Expand Down
Expand Up @@ -180,6 +180,21 @@ public boolean addComponentParts(World world, Random random, StructureBoundingBo
if (EnumMachineBeta.ENGINE_STEAM_HOBBY.isAvaliable() && RailcraftConfig.machinesRequirePower())
placeEngine(world, 9, 1, 6, sbb);
}


// foundation
for (int k = 0; k < 11; ++k) {
for (int l = 4; l < 11; ++l) {
this.clearCurrentPositionBlocksUpwards(world, l, 6, k, sbb);
this.func_151554_b(world, Blocks.cobblestone, 0, l, -1, k, sbb);
}
}
for (int k = 1; k < 6; ++k) {
for (int l = 0; l < 4; ++l) {
this.clearCurrentPositionBlocksUpwards(world, l, 6, k, sbb);
this.func_151554_b(world, Blocks.cobblestone, 0, l, -1, k, sbb);
}
}

placeChest(world, 9, 1, 4, 3, random, sbb);

Expand Down

0 comments on commit 6502d9e

Please sign in to comment.