ldtteam / ldtteam/Structurize

Allow for arbitrary entity placing logic similar to block placement

Open
#382 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement / Change Request
Dominant language
Java
Stars
55
Forks
53
Avg merge
20m
Merged PRs (30d)
1

Description

Prerequisites
  • I am running the latest alpha version of Structurize for my Minecraft version.
  • I checked the MineColonies/Structurize wiki and made sure that my issue is not covered there.
  • I made sure that this change request is not a duplicate of any existing change request.
Context
  • Minecraft Version: 1.16.5
  • Structurize Version: 0.13.174-ALPHA

Is your feature request related to a problem?

Placing entities in non creative mode using Structurize is currently very limited. In ldtteam/minecolonies-features#447 I would like a way to have a book and quill or written book with custom text placed inside of an item frame.

I as I understand the code this is not possible given the way that Structurize is currently coded.

Enhancement or Change description

A system similar to the IPlacementHandler block placement system, but for entity placement would greatly enhance the flexibility of entity placement in mods using Structurize.

This would allow the creation of an entity handler that would consume a blank book and quill and place a item frame containing a book and quill with the custom text.

Notes or related things

Viewers

  • Add a thumbs-up to the change request to vote for it. This helps the request become more visible to the team and doesn't clutter the comments.
  • Add a comment if you have any insights or background information that isn't already part of the conversation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing IPlacementHandler block-placement system and locating Structurize's entity-placement path. Define how an entity handler would receive placement context and consume or modify items, using the item-frame book-and-quill scenario as the acceptance case. Done means arbitrary entity placement handlers can support this scenario without creative mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.