Beispiel #1
0
 protected StructureStart getStructureStart(int i, int j) {
   StructureStrongholdStart structurestrongholdstart;
   for (structurestrongholdstart = new StructureStrongholdStart(worldObj, rand, i, j);
       structurestrongholdstart.func_40560_b().isEmpty()
           || ((ComponentStrongholdStairs2) structurestrongholdstart.func_40560_b().get(0))
                   .field_40009_b
               == null;
       structurestrongholdstart = new StructureStrongholdStart(worldObj, rand, i, j)) {}
   return structurestrongholdstart;
 }
  protected StructureStart getStructureStart(int par1, int par2) {
    StructureStrongholdStart structurestrongholdstart;

    for (structurestrongholdstart = new StructureStrongholdStart(worldObj, rand, par1, par2);
        structurestrongholdstart.getComponents().isEmpty()
            || ((ComponentStrongholdStairs2) structurestrongholdstart.getComponents().get(0))
                    .portalRoom
                == null;
        structurestrongholdstart = new StructureStrongholdStart(worldObj, rand, par1, par2)) {}

    return structurestrongholdstart;
  }