API for registering custom block-state transform rules
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Java
- Star
- 3.5k
- Fork
- 981
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của EngineHub/WorldEdit
-
Make //drain command also remove bubble columnsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởstatus:accepted type:feature-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
EngineHub/WorldEdit#3001 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[`//stack`] Stack SelectionĐang mởstatus:accepted type:feature-request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
EngineHub/WorldEdit#3038 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Use 26.3 tag for dangerous teleportation targetsCó thể đã có người làm @me4502 đã nhận 29 ngày trước. Đang mởstatus:accepted type:feature-request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
type:tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Metadata-API for SchematicsĐang mởstatus:accepted type:feature-request
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của EngineHub/WorldEdit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
status:pending type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
A CSV row that removes a language with #CLEAR and fills another name of it keeps one of themĐang mởbug level:trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
exoego/keycloak-fuhito#666 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ant-media/Ant-Media-Server#8185 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
desktop grp:about type:graphics-bug ui-public
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày