Skip to content

Fix/pc shears speed - #1310

Merged
extremeheat merged 2 commits into
PrismarineJS:masterfrom
Pix3lPirat3:fix/pc-shears-speed
Sep 18, 2026
Merged

extremeheat merged 2 commits into
PrismarineJS:masterfrom
Pix3lPirat3:fix/pc-shears-speed

Conversation

@Pix3lPirat3

Copy link
Copy Markdown
Contributor

From 1.21.5, materials.json lists shears at speed 1.0 on the leaves tables and on wool (vanilla ShearsItem: 15 and 5) - the generator's tool-component walk overwrote its own special cases (fixed in PrismarineJS/minecraft-data-generator#88). prismarine-block digTime() therefore reports wool with shears at 1200 ms instead of 250, and leaves at 300 ms instead of instant.

Regenerated materials.json for 1.21.5, 1.21.6, 1.21.8, 1.21.9 (also 1.21.10), 1.21.11 and 26.1: exactly four entries change per file, all the shears id (leaves, leaves;mineable/hoe, leaves;mineable/axe;mineable/hoe 1.0 -> 15.0; wool 1.0 -> 5.0). Live on vanilla 26.1 with mineflayer 4.39.0: wool with shears 251 ms (was 1211), leaves instant, cobweb and vine unchanged at their correct values.
Stacked on #1309

Copper tools were generated at speed 1.0 because the generator's speed table had no copper entry; vanilla is 5.0. Regenerated with PrismarineJS/minecraft-data-generator#87; 1.21.10 shares pc/1.21.9.
From 1.21.5 the generator overwrote its shears special cases with the 1.0 default; vanilla is 15 on leaves and 5 on wool. Regenerated with PrismarineJS/minecraft-data-generator#88; 1.21.10 shares pc/1.21.9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants