Class Text3D
- All Implemented Interfaces:
AutoCloseable
Camera-facing text with optional distance scaling. The material paint color is submitted as the glyph ARGB color;
disabling the background removes only the translucent backdrop.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackground(boolean value) protected voidextract(WorldRenderContext context) protected WorldBoundsscale(float value) text(net.minecraft.network.chat.Component value) Methods inherited from class WorldObject
animation, animationValue, close, closed, effectiveTransform, effects, effects, localBounds, material, material, pickable, pickable, pickable, pickId, position, position, releaseResources, self, transform, transform, updater, visible, visible
-
Constructor Details
-
Text3D
public Text3D() -
Text3D
public Text3D(net.minecraft.world.phys.Vec3 position) -
Text3D
public Text3D(double x, double y, double z)
-
-
Method Details
-
text
-
text
-
scale
-
distanceScaling
-
background
-
localBounds
- Overrides:
localBoundsin classWorldObject<Text3D>
-
extract
- Specified by:
extractin classWorldObject<Text3D>
-