public class Text
extends Object
text.with("Arial", 18).xyz2(Vec.xyz(0, 2, 0)).draw("Hello, world!").
Modifier and Type | Method and Description |
---|---|
Text |
at(Vec pos)
Set the position of the text
|
void |
draw(String text)
Draw a text with the current settings in the Minecraft world
|
Text |
with(Block block)
Set the block type to use for drawing
|
Text |
with(String fontName,
int fontSizeInPoints)
Set the font
|
Text |
withOrientation(VecUnit u,
VecUnit v)
Set the orientation of the text
|
public Text with(String fontName, int fontSizeInPoints)
public void draw(String text)