/* * Decompiled with CFR 0.152. */ package net.minecraft.client.renderer.texture; import java.util.Collection; import java.util.Locale; import net.minecraft.client.renderer.texture.Stitcher; public class StitcherException extends RuntimeException { private final Collection allSprites; public StitcherException(Stitcher.Entry sprite, Collection allSprites) { super(String.format(Locale.ROOT, "Unable to fit: %s - size: %dx%d - Maybe try a lower resolution resourcepack?", sprite.name(), sprite.width(), sprite.height())); this.allSprites = allSprites; } public Collection getAllSprites() { return this.allSprites; } }