mojira.dev
MC-248940

Corner bookshelves no longer blocked from increasing enchantment levels

My enchantment table (E) is surrounded by 15 bookshelves (1 resp. 2 tall) and torches (T) in this layout (see layout.png):

.222.
2T.T2
2.E.2
...T1

Despite the three torches (T) diagonally from the enchantment table (E) the third slot offers a level 30 enchantment (see problem.png).  I'd expect only the six bookshelves straight to the sides of the enchantment table to be having an effect and the available enchantment levels to be lower, just like when the nine bookshelves "blocked" by the torches are removed (see expected.png).  This worked as expected up to and including v1.18.1, I'm only encountering the problem in v1.18.2.

Linked issues

Attachments

Comments 17

anthony cicinelli

This is intended per the fix of MC-245857

MC-245857 – and MC-2474 which it refers to – speak of 16 bookshelves and that fewer of them than the stated expectation are increasing the available enchantment levels.  The scenario here uses 15 bookshelves but more than expected are active.  I don't dispute that there may be a connection but I'm afraid I can't view this as intended behavior.  I would expect the carpet in MC-2474 and the trap doors in MC-245857 to block the bookshelves.  Just as I would expect my torches to block nine of them – but they do not, as of v1.18.2.

Unlike carpets and trapdoors, torches have no collision; the fix for MC-245857 seems to have been to allow any block without collision to NOT block the bookshelves. Agreed with Anthony.

Unless I'm misinterpreting what I'm seeing, MC-245857 is resolved because it was marked as a duplicate of MC-2474, and the latter is unresolved.  Do you know of any changes that have actively been made to fix MC-245857 and when those have been made?

 

Good point reg. the collisions.  I'll try my scenario with carpets/snow instead of torches after work.  However, I can already state that a torch straight next (i.e. not diagonally) to the enchantment table does reduce the available enchantment levels.

Resolution:Fixed

And resolved by Mojang (bot Piston), so yes, it was actively corrected.

7 more comments

Enchanting items is still 100% possible, so I'd agree that this is more of a change than it is a bug.  However, the process has (a) become less intuitive (you have to place a torch on the left red bookshelf in binary.png to block the brown bookshelf) and (b) requires more torches (prior to this a torch in the corners could block up to six bookshelves, now only three).  "Degrade" isn't the word I'd choose (where there's a will there's a way) but the experience certainly has not improved with this change.

 

A different way to describe the blocking behavior is that in v18.1 and before, the space taken up by a stack of two bookshelves was treated as one logical unit, i.e. a single obstruction either on the lower level (like the carpet in MC-2474) or on the upper level (like the trapdoors in MC-245857) would block bookshelves on both levels.  The fix for MC-245857 seems to have been to separate the two levels, i.e. blocking a bookshelf on the upper level now requires an obstruction on the upper level, while at the same time that doesn't affect the bottom bookshelves any longer.

 

What violine1101 is describing as "overcompensated" is that this same fix in 22w07a also changes the bookshelves that an obstruction is affecting.  Before, an obstruction directly to the side (East, North, South, West) of the enchantment table would only affect one column of bookshelves, while an obstruction diagonally would affect the three columns directly to the side of the obstruction and in the very corner of the setup.  As of 22w07a, an obstruction to the side blocks three columns of bookshelves, while an obstruction in the corners only affects one.  So if only this latter (inadvertent?) part of the change was reversed, it would help with my complaint (a) above and make enchanting more intuitive and familiar again.  Due to the independent levels it would still (b) require more torches than before but I think that's an acceptable compromise as it would leave the fix for MC-245857 in place.

Adding screenshot "intuitive.png" to illustrate my case:

[media]

Without a doubt, obstructions like the honey blocks should disable bookshelves in place of the yellow terracotta, and obstructions like the slime blocks should disable bookshelves in place of the dark green terracotta in the corners.  However, the sides of bookshelves in place of the lime green terracotta are visually obscured by the slime blocks so these bookshelves' effect of increasing the available enchantment levels should also be cancelled by the slime blocks (as is the case before snapshot 22w07a, and in release 1.18.1 and older) and not by the honey blocks (as of 22w07a, in 1.18.2 and likely still in 1.19).

This behavior is not intuitive at all and breaks previous smart enchantment setups. I have a work around that meets my needs with the changed functionality, but there is no logic to it. Reading the wiki is like, "Wait, why?" Before it was just a line of sight from the table to the bookshelves, what was wrong with that? 

still an issue in 1.19.4 and 23w12a

Thought of creating a side-by-side comparison if this needs any further clarification:

[media]

The changes introduced with snapshot 22w07a have it so the visible bookshelf (rightmost in screenshot side-by-side.png) is inactive while the hidden one (second from left) is active.  Prior to that the behavior was opposite and intuitive.

gm72

(Unassigned)

Confirmed

Gameplay

Normal

Enchantments

1.18.2, 22w11a, 22w16b, 1.19, 1.19.1 Pre-release 3, ..., 25w02a, 25w03a, 25w04a, 25w05a, 25w06a

Retrieved