}
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]);
}
}