Spaces:
Build error
Build error
package com.mojang.blaze3d.font; | |
import it.unimi.dsi.fastutil.ints.IntSet; | |
import javax.annotation.Nullable; | |
import net.minecraft.client.gui.font.FontOption; | |
import net.minecraftforge.api.distmarker.Dist; | |
import net.minecraftforge.api.distmarker.OnlyIn; | |
public interface GlyphProvider extends AutoCloseable { | |
float BASELINE = 7.0F; | |
default void close() { | |
} | |
default GlyphInfo getGlyph(int p_231091_) { | |
return null; | |
} | |
IntSet getSupportedGlyphs(); | |
public static record Conditional(GlyphProvider provider, FontOption.Filter filter) implements AutoCloseable { | |
public void close() { | |
this.provider.close(); | |
} | |
} | |
} |