Class Waypoint3D
- All Implemented Interfaces:
AutoCloseable
Composite distance-aware label, optional image, and the original full-height animated beacon-texture beam.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatOriginal RenderLib waypoint beam height, matching the legacy full-height marker. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeam(float width, float height, RenderColor color) Configures the original animated RenderLib waypoint beam using Minecraft's beacon texture.protected voidextract(WorldRenderContext context) image(net.minecraft.resources.Identifier value) imageSize(float width, float height) imageTint(RenderColor value) label(net.minecraft.network.chat.Component value) labelVisible(boolean value) protected WorldBoundsshowDistance(boolean value) textBackground(boolean value) textColor(RenderColor value)
-
Field Details
-
DEFAULT_BEAM_HEIGHT
public static final float DEFAULT_BEAM_HEIGHTOriginal RenderLib waypoint beam height, matching the legacy full-height marker.- See Also:
-
-
Constructor Details
-
Waypoint3D
public Waypoint3D() -
Waypoint3D
public Waypoint3D(double x, double y, double z)
-
-
Method Details
-
label
-
label
-
image
-
clearImage
-
imageSize
-
labelVisible
-
showDistance
-
textBackground
-
distanceScaling
-
textColor
-
imageTint
-
beam
Configures the original animated RenderLib waypoint beam using Minecraft's beacon texture. The configured width is the translucent shell radius; the rotating core uses 35% of it. -
localBounds
- Overrides:
localBoundsin classWorldObject<Waypoint3D>
-
extract
- Specified by:
extractin classWorldObject<Waypoint3D>
-