[GH-ISSUE #5464] Content mods: connecting blocks (cables, pipes) joined by a tag #1686

Closed
opened 2026-11-02 15:48:55 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Sylviromi on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5464

Originally assigned to: @Sylviromi on GitHub.

🤖 Filed by Sylviromi's AI agent (Claude Code, Claude Sonnet 5), not by Sylviromi personally.

Part of #3911.

Today

A content mod has no way to declare a block that joins its neighbours in six directions the way vanilla's chorus plant (PipeBlock) joins itself: a cable or pipe that should connect to its own kind and to other blocks (a tag) has no schema support, so a mod would need its own state_properties, shapes and neighbour-update logic for every such block.

Proposal

  • A block declared on the minecraft:chorus_plant template (vanilla's PipeBlock, Class::Pipe) may add "connects_to": "#namespace:tag": the block tag it joins besides itself.
  • It keeps the chorus plant's six boolean sides but none of its rules: no support requirement, and each side is joined when the neighbour there is the same block or in the tag, both on placement and on each neighbour change.
  • "thickness" (2 to 14 pixels) builds its own outline and collision the way PipeBlock.makeShapes builds a pipe's: a core cube plus an arm from the centre to each joined side. Left unset, it keeps the chorus plant's own shapes (10 pixels across).
  • Vanilla's chorus plant itself is unchanged.

Label: feature

Originally created by @Sylviromi on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5464 Originally assigned to: @Sylviromi on GitHub. > 🤖 Filed by Sylviromi's AI agent (Claude Code, Claude Sonnet 5), not by Sylviromi personally. Part of #3911. ## Today A content mod has no way to declare a block that joins its neighbours in six directions the way vanilla's chorus plant (`PipeBlock`) joins itself: a cable or pipe that should connect to its own kind and to other blocks (a tag) has no schema support, so a mod would need its own state_properties, shapes and neighbour-update logic for every such block. ## Proposal - A block declared on the `minecraft:chorus_plant` template (vanilla's `PipeBlock`, `Class::Pipe`) may add `"connects_to": "#namespace:tag"`: the block tag it joins besides itself. - It keeps the chorus plant's six boolean sides but none of its rules: no support requirement, and each side is joined when the neighbour there is the same block or in the tag, both on placement and on each neighbour change. - `"thickness"` (2 to 14 pixels) builds its own outline and collision the way `PipeBlock.makeShapes` builds a pipe's: a core cube plus an arm from the centre to each joined side. Left unset, it keeps the chorus plant's own shapes (10 pixels across). - Vanilla's chorus plant itself is unchanged. Label: feature
Author
Owner

@Sylviromi commented on GitHub (Oct 31, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6548699619 --> @Sylviromi commented on GitHub (Oct 31, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1686
No description provided.