-
-
Notifications
You must be signed in to change notification settings - Fork 341
Structure and Feature placement callbacks #2520
Copy link
Copy link
Open
Labels
status: needs triageThis label is automatically applied to new issues and pull requests to indicate they require triageThis label is automatically applied to new issues and pull requests to indicate they require triage
Metadata
Metadata
Assignees
Labels
status: needs triageThis label is automatically applied to new issues and pull requests to indicate they require triageThis label is automatically applied to new issues and pull requests to indicate they require triage
Type
Fields
Give feedbackNo fields configured for issues without a type.
Major SpongeAPI version
12
Is this likely to be a breaking change?
No
What are you requesting?
Currently,
StructureandFeaturehaveboolean place(ServerWorld, Vector3i), which does not allow a mod like WorldEdit to capture or modify the changes. It would be nice if we could get a callback for each block/entity so that WorldEdit may place it, rather than placing it directly into the world. This allows undo, masking, and better control of block placement than using Minecraft's code directly.