Package dev.engine_room.vanillin.text
Interface TextLayer.GlyphMaterial
- Enclosing interface:
TextLayer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TextLayer.GlyphMaterialstatic final TextLayer.GlyphMaterialstatic final TextLayer.GlyphMaterial -
Method Summary
Modifier and TypeMethodDescriptiondev.engine_room.flywheel.api.material.Materialcreate(net.minecraft.resources.ResourceLocation texture) Create a Flywheel material for the given glyph texture.static TextLayer.GlyphMaterialfromDisplayMode(net.minecraft.client.gui.Font.DisplayMode displayMode)
-
Field Details
-
NORMAL
-
SEE_THROUGH
-
POLYGON_OFFSET
-
-
Method Details
-
fromDisplayMode
static TextLayer.GlyphMaterial fromDisplayMode(net.minecraft.client.gui.Font.DisplayMode displayMode) -
create
dev.engine_room.flywheel.api.material.Material create(net.minecraft.resources.ResourceLocation texture) Create a Flywheel material for the given glyph texture.- Parameters:
texture- The texture to use.- Returns:
- A material.
-