public static ComponentStrongholdStairs func_35034_a( List list, Random random, int i, int j, int k, int l, int i1) { StructureBoundingBox structureboundingbox = StructureBoundingBox.func_35747_a(i, j, k, -1, -7, 0, 5, 11, 5, l); if (!func_35030_a(structureboundingbox) || StructureComponent.func_35020_a(list, structureboundingbox) != null) { return null; } else { return new ComponentStrongholdStairs(i1, random, structureboundingbox, l); } }
public static StructureBoundingBox func_35066_a( List p_35066_0_, Random p_35066_1_, int p_35066_2_, int p_35066_3_, int p_35066_4_, int p_35066_5_) { StructureBoundingBox structureboundingbox = new StructureBoundingBox( p_35066_2_, p_35066_3_, p_35066_4_, p_35066_2_, p_35066_3_ + 2, p_35066_4_); int i = p_35066_1_.nextInt(3) + 2; do { if (i <= 0) { break; } int j = i * 5; switch (p_35066_5_) { case 2: // '\002' structureboundingbox.field_35749_d = p_35066_2_ + 2; structureboundingbox.field_35752_c = p_35066_4_ - (j - 1); break; case 0: // '\0' structureboundingbox.field_35749_d = p_35066_2_ + 2; structureboundingbox.field_35748_f = p_35066_4_ + (j - 1); break; case 1: // '\001' structureboundingbox.field_35753_a = p_35066_2_ - (j - 1); structureboundingbox.field_35748_f = p_35066_4_ + 2; break; case 3: // '\003' structureboundingbox.field_35749_d = p_35066_2_ + (j - 1); structureboundingbox.field_35748_f = p_35066_4_ + 2; break; } if (StructureComponent.func_35020_a(p_35066_0_, structureboundingbox) == null) { break; } i--; } while (true); if (i > 0) { return structureboundingbox; } else { return null; } }
public static ComponentStrongholdCrossing func_35039_a( List p_35039_0_, Random p_35039_1_, int p_35039_2_, int p_35039_3_, int p_35039_4_, int p_35039_5_, int p_35039_6_) { StructureBoundingBox structureboundingbox = StructureBoundingBox.func_35747_a( p_35039_2_, p_35039_3_, p_35039_4_, -4, -3, 0, 10, 9, 11, p_35039_5_); if (!func_35030_a(structureboundingbox) || StructureComponent.func_35020_a(p_35039_0_, structureboundingbox) != null) { return null; } else { return new ComponentStrongholdCrossing( p_35039_6_, p_35039_1_, structureboundingbox, p_35039_5_); } }
public static StructureBoundingBox func_35027_a( List p_35027_0_, Random p_35027_1_, int p_35027_2_, int p_35027_3_, int p_35027_4_, int p_35027_5_) { StructureBoundingBox structureboundingbox = new StructureBoundingBox( p_35027_2_, p_35027_3_ - 5, p_35027_4_, p_35027_2_, p_35027_3_ + 2, p_35027_4_); switch (p_35027_5_) { case 2: // '\002' structureboundingbox.field_35749_d = p_35027_2_ + 2; structureboundingbox.field_35752_c = p_35027_4_ - 8; break; case 0: // '\0' structureboundingbox.field_35749_d = p_35027_2_ + 2; structureboundingbox.field_35748_f = p_35027_4_ + 8; break; case 1: // '\001' structureboundingbox.field_35753_a = p_35027_2_ - 8; structureboundingbox.field_35748_f = p_35027_4_ + 2; break; case 3: // '\003' structureboundingbox.field_35749_d = p_35027_2_ + 8; structureboundingbox.field_35748_f = p_35027_4_ + 2; break; } if (StructureComponent.func_35020_a(p_35027_0_, structureboundingbox) != null) { return null; } else { return structureboundingbox; } }