Package com.prupe.mcpatcher.mob

Examples of com.prupe.mcpatcher.mob.MobRuleList


          if (properties != null) {
            int i = 0;

            while (true) {
              MobRuleList$MobRuleEntry entry = MobRuleList$MobRuleEntry.load(properties, i, this.skinCount);

              if (entry == null) {
                if (i > 0) {
                  break;
                }
              } else {
                logger.fine("  %s", new Object[] {entry.toString()});
                tmpEntries.add(entry);
              }

              ++i;
            }
View Full Code Here


      }

      return (ResourceLocation)this.allSkins.get(i$1);
    } else {
      Iterator i$ = this.entries.iterator();
      MobRuleList$MobRuleEntry entry;

      do {
        if (!i$.hasNext()) {
          return this.baseSkin;
        }

        entry = (MobRuleList$MobRuleEntry)i$.next();
      } while (!entry.match(i, j, k, biome));

      int index = entry.weightedIndex.choose(key);
      return (ResourceLocation)this.allSkins.get(entry.skins[index]);
    }
  }
View Full Code Here

TOP

Related Classes of com.prupe.mcpatcher.mob.MobRuleList

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.