Reinforced Chests

Reinforced Chests

1M Downloads

[Bug]Conflict with kubejs mod

PIPILAN opened this issue ยท 1 comments

commented

Describe the bug

Rendering errors cause the game to crash.

To Reproduce

Steps to reproduce the behavior:

  1. Launch your game
  2. Create a new world
  3. Open your Creative inventory
  4. Click the next page button(Switch to the page where this mod resides)
  5. The game crash

Expected behavior

The game works

Screenshots

Gif:

111

Environment

  • Minecraft: 1.19.2
  • Fabric Loader: 0.14.9
  • Fabric API: 0.62.0

See below for more information.

Logs

Pastebin the log [e.g. logs/latest.log] and link it below:

latest.log
crash-2022-10-19_10.27.21-client.txt

Additional context

Mods

image

This happens not only to ReinforcedChests, but also to ShulkerBoxes when used with Kubejs.

I tried to delete the kubejs or ReinforcedChests/Barrels/ShulkerBoxes can play into the game.

I have also reported this problem to the kubejs author, who does not think it is kubejs' problem.

KubeJS-Mods/KubeJS#506

commented

Thank you for reporting. I probably found a clue.

log (without kubejs)

[23:18:57] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/copper_shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/iron_shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[23:18:57] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[23:18:57] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[23:18:57] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/netherite_shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/diamond_shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/gold_shulker_boxes.png-atlas
[23:18:58] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[23:18:58] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[23:18:58] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[23:18:58] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas

log (with kubejs)

[23:19:58] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
[23:19:58] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[23:19:58] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[23:19:58] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[23:19:58] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[23:19:58] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[23:19:58] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[23:19:59] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[23:19:59] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[23:19:59] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[23:19:59] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas

It seems that the kubejs prevents my mod from creating atlas textures.
So, I think this is kubejs's issue, isn't it?