[SPIGOT-6697] generateTree no longer uses block change delegate Created: 07/Aug/21  Updated: 22/Aug/21  Resolved: 22/Aug/21

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mathew Donegan Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Version: This server is running CraftBukkit version 3212-Spigot-ff89b97-2cdc6b1 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

After SPIGOT-6428 has been fixed, the fix implemented broke WorldEdit's tree tool. See https://github.com/EngineHub/WorldEdit/issues/1745#issuecomment-835842409 for the full conversation. The issue has been pointed down to a Spigot change.

Reproducible with WorldEdit version 7.2.6-SNAPSHOT+5898-b9f0416 from https://builds.enginehub.org/job/worldedit?branch=version/7.2.x



 Comments   
Comment by Marvin Rieple [ 19/Aug/21 ]

Since Spigot 1.17.1 Build 3218, there is now a new method to generated tress which takes a Consumer<BlockState>.

I don't think it makes much sense to try to fix this and instead just make the method deprecated and link to the new one.

Generated at Tue Apr 22 03:12:15 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.