Class Arrow3D
- All Implemented Interfaces:
AutoCloseable
Line with a configurable conical arrow head.
-
Constructor Summary
ConstructorsConstructorDescriptionArrow3D(net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end) -
Method Summary
Modifier and TypeMethodDescriptionprotected WorldStrokeStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.protected voidextract(WorldRenderContext context) head(float length, float radius) protected WorldBoundsstroke(WorldStroke value) Methods inherited from class WorldObject
animation, animationPlayback, animationValue, close, closed, effectiveTransform, effects, effects, localBounds, material, material, pickable, pickable, pickable, pickId, position, position, releaseResources, self, transform, transform, updater, updateState, visible, visible
-
Constructor Details
-
Arrow3D
public Arrow3D(net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
-
-
Method Details
-
stroke
-
head
-
boundsStroke
Description copied from class:WorldObjectStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.- Overrides:
boundsStrokein classWorldObject<Arrow3D>
-
localBounds
- Overrides:
localBoundsin classWorldObject<Arrow3D>
-
extract
- Specified by:
extractin classWorldObject<Arrow3D>
-