24 lines
663 B
Java
24 lines
663 B
Java
package net.minecraft.client.gui.font;
|
|
|
|
import com.mojang.blaze3d.font.GlyphInfo;
|
|
import com.mojang.blaze3d.font.GlyphProvider;
|
|
import it.unimi.dsi.fastutil.ints.IntSet;
|
|
import it.unimi.dsi.fastutil.ints.IntSets;
|
|
import net.fabricmc.api.EnvType;
|
|
import net.fabricmc.api.Environment;
|
|
import net.minecraft.client.gui.font.glyphs.SpecialGlyphs;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
@Environment(EnvType.CLIENT)
|
|
public class AllMissingGlyphProvider implements GlyphProvider {
|
|
@Nullable
|
|
@Override
|
|
public GlyphInfo getGlyph(int character) {
|
|
return SpecialGlyphs.MISSING;
|
|
}
|
|
|
|
@Override
|
|
public IntSet getSupportedGlyphs() {
|
|
return IntSets.EMPTY_SET;
|
|
}
|
|
}
|