Please add a Bedrock Script API that allows Add-On creators to create and control dynamic lines rendered between two points, entities, or bones.
For example:
const line = world.createLine({
start: player,
end: webAnchor,
texture: "textures/web",
width: 0.05
});
The line should automatically update as its start and end move.
Ideally, creators should be able to control:
- Start/end position or entity
- Texture
- Width/thickness
- UV/texture scrolling
- Color/tint
- Segments
- Visibility
- Lifetime
It would be especially useful if the rendering worked similarly to Minecraft's fishing line, smoothly following moving entities.
This would enable realistic Spider-Man webs, grappling hooks, ropes, cables, tethers, chains, energy beams, harpoons, and other effects.
Currently, creators must work around this limitation using custom entities, geometries, Molang calculations, and constantly updated positions. This can become complicated and performance-heavy when multiple lines are active.
A native dynamic-line API would provide a cleaner and more performant solution.
Please consider exposing Minecraft's existing fishing-line renderer through Script API, or providing a dedicated dynamic-line renderer for Add-Ons.
Thank you!
0 Comments
Please sign in to leave a comment.
Post a new comment: