minecraft-src/net/minecraft/client/gui/font/glyphs/EmptyGlyph.java
2025-07-04 02:49:36 +03:00

21 lines
729 B
Java

package net.minecraft.client.gui.font.glyphs;
import com.mojang.blaze3d.vertex.VertexConsumer;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.gui.font.GlyphRenderTypes;
import net.minecraft.resources.ResourceLocation;
import org.joml.Matrix4f;
@Environment(EnvType.CLIENT)
public class EmptyGlyph extends BakedGlyph {
public static final EmptyGlyph INSTANCE = new EmptyGlyph();
public EmptyGlyph() {
super(GlyphRenderTypes.createForColorTexture(ResourceLocation.withDefaultNamespace("")), 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F);
}
@Override
public void renderChar(BakedGlyph.GlyphInstance glyph, Matrix4f pose, VertexConsumer buffer, int packedLight) {
}
}