API for registering custom block-state transform rules
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading BlockTransformExtent and the referenced BlockBehaviour#rotate and #mirror entry points. Compare how WorldEdit currently handles known block-state semantics with the requested custom-property case. Done means agreeing on and implementing a public mechanism for mods or plugins to provide the needed transformation behavior.
索引モデルが issue の本文から書いたものです。
説明
The Problem
WorldEdit handles block rotation and flipping through BlockTransformExtent.
This works well for block states whose spatial semantics are already understood by WorldEdit, such as facing, axis, rails, stairs, directional connection properties, etc.
However, modded blocks may contain custom block-state properties whose spatial meaning cannot be inferred by WorldEdit.
For example:
example:machine[orientation=front_left]
The mod may know how this property should behave under a 90° rotation or mirror operation, but currently there does not appear to be a public API for supplying that transformation logic to WorldEdit.
A Solution
It would be useful to expose a public API allowing mods/plugins to register transformation logic for custom block states or properties.
Or use net.minecraft.world.level.block.state.BlockBehaviour#rotate and net.minecraft.world.level.block.state.BlockBehaviour#mirror instead.
Alternatives
No response
Anything Else?
No response
- 主要言語
- Java
- スター
- 3.5k
- フォーク
- 981
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
EngineHub/WorldEdit のほかの issue
-
Make //drain command also remove bubble columns対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンstatus:accepted type:feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
EngineHub/WorldEdit#3001 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
status:accepted type:feature-request
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
EngineHub/WorldEdit#3038 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
Use 26.3 tag for dangerous teleportation targets対応中かも @me4502 が 29 日前に担当しました。 オープンstatus:accepted type:feature-request
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
type:tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
status:accepted type:feature-request
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
EngineHub/WorldEdit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
status:pending type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug level:trivial
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
exoego/keycloak-fuhito#666 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ant-media/Ant-Media-Server#8185 ·
メンテナーはふだん 4 日以内に返信
-
desktop grp:about type:graphics-bug ui-public
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信