Package com.prupe.mcpatcher.ctm

Examples of com.prupe.mcpatcher.ctm.TileOverrideImpl$BetterGrass


    }
  }

  public void afterChange() {
    if (CTMUtils.access$900()) {
      CTMUtils.access$800(CTMUtils.access$502(new TileOverrideImpl$BetterGrass(CTMUtils.access$300(), 2, "grass")));
      CTMUtils.access$800(new TileOverrideImpl$BetterGrass(CTMUtils.access$300(), 110, "mycel"));
    }

    Iterator i$ = CTMUtils.access$000().iterator();

    while (i$.hasNext()) {
View Full Code Here


            }
          } else {
            override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
          }
        } else {
          override = new TileOverrideImpl$CTM(propertiesFile, properties, tileLoader);
        }

        if (override != null && !((TileOverride)override).disabled) {
          String status = ((TileOverride)override).checkTileMap();
View Full Code Here

        if (!method.equals("default") && !method.equals("glass") && !method.equals("ctm")) {
          if (method.equals("random")) {
            override = new TileOverrideImpl$Random1(propertiesFile, properties, tileLoader);

            if (((TileOverride)override).getNumberOfTiles() == 1) {
              override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
            }
          } else if (!method.equals("fixed") && !method.equals("static")) {
            if (!method.equals("bookshelf") && !method.equals("horizontal")) {
              if (!method.equals("horizontal+vertical") && !method.equals("h+v")) {
                if (method.equals("vertical")) {
                  override = new TileOverrideImpl$Vertical(propertiesFile, properties, tileLoader);
                } else if (!method.equals("vertical+horizontal") && !method.equals("v+h")) {
                  if (!method.equals("sandstone") && !method.equals("top")) {
                    if (!method.equals("repeat") && !method.equals("pattern")) {
                      logger.error("%s: unknown method \"%s\"", new Object[] {propertiesFile, method});
                    } else {
                      override = new TileOverrideImpl$Repeat(propertiesFile, properties, tileLoader);
                    }
                  } else {
                    override = new TileOverrideImpl$Top(propertiesFile, properties, tileLoader);
                  }
                } else {
                  override = new TileOverrideImpl$VerticalHorizontal(propertiesFile, properties, tileLoader);
                }
              } else {
                override = new TileOverrideImpl$HorizontalVertical(propertiesFile, properties, tileLoader);
              }
            } else {
              override = new TileOverrideImpl$Horizontal(propertiesFile, properties, tileLoader);
            }
          } else {
            override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
          }
        } else {
          override = new TileOverrideImpl$CTM(propertiesFile, properties, tileLoader);
        }
View Full Code Here

                }
              } else {
                override = new TileOverrideImpl$HorizontalVertical(propertiesFile, properties, tileLoader);
              }
            } else {
              override = new TileOverrideImpl$Horizontal(propertiesFile, properties, tileLoader);
            }
          } else {
            override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
          }
        } else {
View Full Code Here

                  }
                } else {
                  override = new TileOverrideImpl$VerticalHorizontal(propertiesFile, properties, tileLoader);
                }
              } else {
                override = new TileOverrideImpl$HorizontalVertical(propertiesFile, properties, tileLoader);
              }
            } else {
              override = new TileOverrideImpl$Horizontal(propertiesFile, properties, tileLoader);
            }
          } else {
View Full Code Here

        String method = properties.getProperty("method", "default").trim().toLowerCase();
        Object override = null;

        if (!method.equals("default") && !method.equals("glass") && !method.equals("ctm")) {
          if (method.equals("random")) {
            override = new TileOverrideImpl$Random1(propertiesFile, properties, tileLoader);

            if (((TileOverride)override).getNumberOfTiles() == 1) {
              override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
            }
          } else if (!method.equals("fixed") && !method.equals("static")) {
View Full Code Here

                } else if (!method.equals("vertical+horizontal") && !method.equals("v+h")) {
                  if (!method.equals("sandstone") && !method.equals("top")) {
                    if (!method.equals("repeat") && !method.equals("pattern")) {
                      logger.error("%s: unknown method \"%s\"", new Object[] {propertiesFile, method});
                    } else {
                      override = new TileOverrideImpl$Repeat(propertiesFile, properties, tileLoader);
                    }
                  } else {
                    override = new TileOverrideImpl$Top(propertiesFile, properties, tileLoader);
                  }
                } else {
View Full Code Here

                      logger.error("%s: unknown method \"%s\"", new Object[] {propertiesFile, method});
                    } else {
                      override = new TileOverrideImpl$Repeat(propertiesFile, properties, tileLoader);
                    }
                  } else {
                    override = new TileOverrideImpl$Top(propertiesFile, properties, tileLoader);
                  }
                } else {
                  override = new TileOverrideImpl$VerticalHorizontal(propertiesFile, properties, tileLoader);
                }
              } else {
View Full Code Here

            }
          } else if (!method.equals("fixed") && !method.equals("static")) {
            if (!method.equals("bookshelf") && !method.equals("horizontal")) {
              if (!method.equals("horizontal+vertical") && !method.equals("h+v")) {
                if (method.equals("vertical")) {
                  override = new TileOverrideImpl$Vertical(propertiesFile, properties, tileLoader);
                } else if (!method.equals("vertical+horizontal") && !method.equals("v+h")) {
                  if (!method.equals("sandstone") && !method.equals("top")) {
                    if (!method.equals("repeat") && !method.equals("pattern")) {
                      logger.error("%s: unknown method \"%s\"", new Object[] {propertiesFile, method});
                    } else {
View Full Code Here

                    }
                  } else {
                    override = new TileOverrideImpl$Top(propertiesFile, properties, tileLoader);
                  }
                } else {
                  override = new TileOverrideImpl$VerticalHorizontal(propertiesFile, properties, tileLoader);
                }
              } else {
                override = new TileOverrideImpl$HorizontalVertical(propertiesFile, properties, tileLoader);
              }
            } else {
View Full Code Here

TOP

Related Classes of com.prupe.mcpatcher.ctm.TileOverrideImpl$BetterGrass

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.