lithium-fabric icon indicating copy to clipboard operation
lithium-fabric copied to clipboard

Shulker box doesn't show up on pie-ray with Lithium

Open Anas13303 opened this issue 7 months ago • 2 comments

Version Information

Versions in which I discovered the bug: lithium-fabric-mc1.20.4-0.12.1, lithium-fabric-mc1.21.4-0.15.1, lithium-fabric-mc1.21.5-1.16.0

Hello, a while ago, I found a small issue where the vanilla pie-ray doesn't detect shulker boxes with Lithium installed. I discovered this in 1.20.4, 1.21.4, and 1.21.5. Chances are this bug is in older versions as well. It's worth mentioning this because from time to time, I play on servers where griefing and using the pie-ray to basehunt is allowed, so if you hid shulker boxes somewhere in your base and your pie-ray doesn't show anything, you might unknowingly compromise your own base

Expected Behavior

The shulker box should show up on the pie-ray like so:

Image

Actual Behavior

The shulker box doesn't show up on the pie-ray:

Image

Reproduction Steps

  1. Install Lithium on the client side
  2. Load your world and place a shulker box
  3. If on MC 1.20.2+, press 'F3' and '1' to bring up the pie-ray. If on 1.20.1 and below, press 'F3' and 'Shift' instead. The shulker box won't show up

Other Information

In my 1.21.5 world, I use these other mods including Lithium:

  • AppleSkin [3.0.6+mc1.21.5]
  • BadOptimizations [2.2.1]
  • Clean F3 [0.4.9]
  • Cloth Config v17 [18.0.145]
  • Concurrent Chunk Management Engine [0.3.2+beta.1.0+1.21.5]
  • Distant Horizons [2.3.2-b]
  • Dynamic FPS [3.9.2]
  • EntityCulling [1.7.4]
  • Fabric API [0.119.9+1.21.5]
  • FerriteCore [8.0.0]
  • Gamma Utils [2.2.3]
  • ImmediatelyFast [1.9.3+1.21.5]
  • Lithium [0.16.0+mc1.21.5]
  • MidnightLib [1.7.1]
  • Mod Menu [14.0.0-rc.2]
  • Model Gap Fix [1.21.5-1.12]
  • More Culling [1.3.0]
  • NoTextureRotations [1.0.3]
  • Reese's Sodium Options [1.8.3+mc1.21.4]
  • Shulker Box Tooltip [5.2.5+1.21.5]
  • Sodium [0.6.13+mc1.21.5]
  • Sodium Extra [0.6.3+mc1.21.5]
  • Status Effect Bars [1.0.8]
  • Totem Tweaks [1.0.1]
  • uku's Armor HUD [0.7.0+mc1.21.5]
  • ukulib [1.7.1+1.21.5]

Anas13303 avatar Apr 10 '25 09:04 Anas13303

This is intentional as the pie chart indicates lag, and lithium optimizes various parts of the game, reducing lag of many different things, including shulker boxes. The optimization was first included in Lithium 0.9.0.

You can get the shulker box lag back (and visible in the pie chart) by adding the line mixin.world.block_entity_ticking.sleeping.shulker_box=false to the lithium.properties file in the config folder and restarting the game.

2No2Name avatar Apr 10 '25 10:04 2No2Name

This is intentional as the pie chart indicates lag, and lithium optimizes various parts of the game, reducing lag of many different things, including shulker boxes. The optimization was first included in Lithium 0.9.0.

You can get the shulker box lag back (and visible in the pie chart) by adding the line mixin.world.block_entity_ticking.sleeping.shulker_box=false to the lithium.properties file in the config folder and restarting the game.

Thanks a lot for clarifying! I never knew the pie-ray indicated lag in the 'blockEntities' section. So far I tested your workaround in 1.21.4 and 1.21.5 and it worked! May I suggest mentioning in the mod's page just in case? It would likely benefit players who play such servers

Anas13303 avatar Apr 10 '25 13:04 Anas13303