Package dev.engine_room.vanillin.text
Class TextVisual
java.lang.Object
dev.engine_room.vanillin.text.TextVisual
A visual that renders a single line of text.
-
Constructor Summary
ConstructorsConstructorDescriptionTextVisual(dev.engine_room.flywheel.api.instance.InstancerProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoidbackgroundColor(int backgroundColor) voiddelete()voidsetup(net.minecraft.util.FormattedCharSequence textLine, List<TextLayer> layers, org.joml.Matrix4f pose, int light) voidupdateLight(int packedLight) void
-
Constructor Details
-
TextVisual
public TextVisual(dev.engine_room.flywheel.api.instance.InstancerProvider provider)
-
-
Method Details
-
setup
-
updateObfuscated
public void updateObfuscated() -
backgroundColor
public void backgroundColor(int backgroundColor) -
updateLight
public void updateLight(int packedLight) -
delete
public void delete()
-