Comments (6)
Can you tell me what was the exact contents of the box?
I think the crash is caused by an invalid NBT tag that the mod doesn't check.
from shulkerboxtooltip.
{id: "minecraft:purple_shulker_box", Count: 1b, tag: {BlockEntityTag: {Items: [{Slot: 0b, id: "minecraft:bell", Count: 4b}, {Slot: 1b, id: "minecraft:oak_log", Count: 3b}, {Slot: 2b, id: "minecraft:chest", Count: 57b}, {Slot: 3b, id: "minecraft:enchanting_table", Count: 2b}, {Slot: 4b, id: "minecraft:stonecutter", Count: 31b}, {Slot: 5b, id: "minecraft:crafting_table", Count: 16b}, {Slot: 6b, id: "minecraft:diamond_hoe", Count: 1b, tag: {Damage: 231}}, {Slot: 7b, id: "minecraft:anvil", Count: 64b}, {Slot: 8b, id: "minecraft:ender_pearl", Count: 10b}, {Slot: 9b, id: "minecraft:coal", Count: 44b}, {Slot: 10b, id: "minecraft:enchanted_book", Count: 19b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}]}}}
from shulkerboxtooltip.
I only crash when in survival.
Edit: I now know that you crash in all gamemodes when the shulker is mined in survival. Weird...
from shulkerboxtooltip.
When mined in survival the shulkers data is this,
{id: "minecraft:purple_shulker_box", Count: 1b, tag: {BlockEntityTag: {Items: [{Slot: 0b, id: "minecraft:bell", Count: 4b}, {Slot: 1b, id: "minecraft:oak_log", Count: 3b}, {Slot: 2b, id: "minecraft:chest", Count: 57b}, {Slot: 3b, id: "minecraft:enchanting_table", Count: 2b}, {Slot: 4b, id: "minecraft:stonecutter", Count: 31b}, {Slot: 5b, id: "minecraft:crafting_table", Count: 16b}, {Slot: 6b, id: "minecraft:diamond_hoe", Count: 1b, tag: {Damage: 231}}, {Slot: 7b, id: "minecraft:anvil", Count: 64b}, {Slot: 8b, id: "minecraft:ender_pearl", Count: 10b}, {Slot: 9b, id: "minecraft:coal", Count: 44b}, {Slot: 10b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 11b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 12b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 13b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 14b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 15b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 16b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 17b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 18b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 19b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 20b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 21b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 22b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 23b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 24b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 25b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 26b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 27b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 28b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 29b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 30b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 31b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 32b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 33b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 34b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 35b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 36b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 37b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 38b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 39b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 40b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 41b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 42b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}, {Slot: 43b, id: "minecraft:enchanted_book", Count: 1b, tag: {StoredEnchantments: [{lvl: 1s, id: "minecraft:mending"}]}}]}}}
from shulkerboxtooltip.
Ok, I fixed it, the problem is that breaking a shulker box in survival checks for invalid stacked items.
If it finds a stack that exceeds the stack limit, it splits the stack without checking the inventory size limit In this case, the stack of 19 enchanted books creates two books that in the slots 27 and 28, but the last slot is 26.
from shulkerboxtooltip.
I reported this bug: https://bugs.mojang.com/browse/MC-170536
from shulkerboxtooltip.
Related Issues (20)
- Crash on Linux Mint HOT 1
- Critical injection failure HOT 2
- Game crashing with code exit 1 HOT 1
- Suggestion: Vanilla improved tooltip HOT 3
- Mod is so good but i dont see a name of item HOT 2
- No config on fabric HOT 1
- Ctrl+Q HotKey isnt working HOT 1
- Unknown custom packet identifier: shulkerboxtooltip:s2c_handshake HOT 1
- GitHub Releases - Line breaks are incorrectly replaced by `%0A`
- 1.18.2 Fabric inmis/SBT Crash HOT 1
- Game crashing because of "Error: java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'shulkerboxtooltip'!" HOT 1
- Proxies are not fully supported HOT 1
- Add compatibility with Carpet-AMS-Addition HOT 3
- Server crash when used with Enderite Mod HOT 3
- Request : Support Carpet AMS largeShulkerBox HOT 1
- Support 1.20.4 HOT 4
- Some dyes give wrong colors when crafted with leather armor HOT 1
- Ender chest won't preview HOT 4
- Add Traditional Chinese to Crowdin.
- Neoforge support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shulkerboxtooltip.