You're in Grave Danger

You're in Grave Danger

18M Downloads

Graves are causing me to crash

Lunar-Wolf-07 opened this issue · 10 comments

commented

Describe the bug
When I died my game crashed, so I re-spawned and went back to the grave and crashed again. Only other players (on LAN) can go near the graves but I can't (it happens on single player and LAN worlds)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'The chunk with the grave'
  2. I crashed, don't know if this happens with anyone else

Desktop (please complete the following information):

  • OS: MacOS
  • Minecraft Version: 1.18.1
  • Version: 1.2.22
commented

I re-installed the mod but it still crashed when I entered the chunk with the grave, so I found the config file and set 'glowingGrave' to 'false' and I no longer crash and I can interact with my grave to retrieve my items. Thank you for fixing the issue :)

commented

Well the issue probably lies in that you are using a mac then, as I am using windows. This partially means I can't know if I've fixed this error or not but I hope that it will be playable with this config enabled in the next update of the mod.
For now I'll leave the issue open, since this update is not out yet.
Thank you for reporting this! When I update the mod I'll try to remember to tell you in here

commented

If you mean the crash report this is one of them:

---- Minecraft Crash Report ----
// I just don't know what went wrong :(

Time: 02/04/2022, 17:37
Description: Rendering Block Entity

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_276.method_1235(boolean)" because the return value of "net.minecraft.class_761.method_22990()" is null
at net.minecraft.class_4668.method_34556(class_4668.java:477)
at net.minecraft.class_4668.method_23516(class_4668.java:36)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
at net.minecraft.class_1921$class_4687.method_23595(class_1921.java:929)
at net.minecraft.class_4668.method_23516(class_4668.java:36)
at net.minecraft.class_1921.method_23012(class_1921.java:727)
at net.minecraft.class_4597$class_4598.method_22994(class_4597.java:96)
at net.minecraft.class_4597$class_4598.getBuffer(class_4597.java:45)
at net.minecraft.class_327$class_5232.accept(class_327.java:283)
at net.minecraft.class_5223.method_27477(class_5223.java:17)
at net.minecraft.class_5223.method_27473(class_5223.java:120)
at net.minecraft.class_5223.method_27472(class_5223.java:84)
at net.minecraft.class_5223.method_27479(class_5223.java:80)
at net.minecraft.class_327.method_1724(class_327.java:344)
at net.minecraft.class_327.method_27529(class_327.java:181)
at net.minecraft.class_327.method_27522(class_327.java:124)
at net.minecraft.class_327.method_27521(class_327.java:120)
at com.b1n_ry.yigd.client.render.GraveBlockEntityRenderer.render(GraveBlockEntityRenderer.java:280)
at com.b1n_ry.yigd.client.render.GraveBlockEntityRenderer.method_3569(GraveBlockEntityRenderer.java:41)
at net.minecraft.class_824.method_23079(class_824.java:84)
at net.minecraft.class_824.method_23081(class_824.java:73)
at net.minecraft.class_824.method_3554(class_824.java:98)
at net.minecraft.class_824.method_3555(class_824.java:73)
at net.minecraft.class_761.method_22710(class_761.java:1368)
at net.minecraft.class_757.method_3188(class_757.java:1031)
at net.minecraft.class_757.method_3192(class_757.java:811)
at net.minecraft.class_310.method_1523(class_310.java:1117)
at net.minecraft.class_310.method_1514(class_310.java:733)
at net.minecraft.client.main.Main.main(Main.java:238)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at net.minecraft.class_4668.method_34556(class_4668.java:477)
at net.minecraft.class_4668.method_23516(class_4668.java:36)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
at net.minecraft.class_1921$class_4687.method_23595(class_1921.java:929)
at net.minecraft.class_4668.method_23516(class_4668.java:36)
at net.minecraft.class_1921.method_23012(class_1921.java:727)
at net.minecraft.class_4597$class_4598.method_22994(class_4597.java:96)
at net.minecraft.class_4597$class_4598.getBuffer(class_4597.java:45)
at net.minecraft.class_327$class_5232.accept(class_327.java:283)
at net.minecraft.class_5223.method_27477(class_5223.java:17)
at net.minecraft.class_5223.method_27473(class_5223.java:120)
at net.minecraft.class_5223.method_27472(class_5223.java:84)
at net.minecraft.class_5223.method_27479(class_5223.java:80)
at net.minecraft.class_327.method_1724(class_327.java:344)
at net.minecraft.class_327.method_27529(class_327.java:181)
at net.minecraft.class_327.method_27522(class_327.java:124)
at net.minecraft.class_327.method_27521(class_327.java:120)
at com.b1n_ry.yigd.client.render.GraveBlockEntityRenderer.render(GraveBlockEntityRenderer.java:280)
at com.b1n_ry.yigd.client.render.GraveBlockEntityRenderer.method_3569(GraveBlockEntityRenderer.java:41)
at net.minecraft.class_824.method_23079(class_824.java:84)
at net.minecraft.class_824.method_23081(class_824.java:73)
at net.minecraft.class_824.method_3554(class_824.java:98)
at net.minecraft.class_824.method_3555(class_824.java:73)
at net.minecraft.class_761.method_22710(class_761.java:1368)
at net.minecraft.class_757.method_3188(class_757.java:1031)

-- Block Entity Details --
Details:
Name: yigd:grave_block_entity // com.b1n_ry.yigd.block.entity.GraveBlockEntity
Block: Block{yigd:grave}[facing=east,waterlogged=false]
Block location: World: (224,63,-72), Section: (at 0,15,8 in 14,3,-5; chunk contains blocks 224,0,-80 to 239,255,-65), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Block: Block{yigd:grave}[facing=east,waterlogged=false]
Block location: World: (224,63,-72), Section: (at 0,15,8 in 14,3,-5; chunk contains blocks 224,0,-80 to 239,255,-65), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Stacktrace:
at net.minecraft.class_824.method_3554(class_824.java:98)
at net.minecraft.class_824.method_3555(class_824.java:73)
at net.minecraft.class_761.method_22710(class_761.java:1368)
at net.minecraft.class_757.method_3188(class_757.java:1031)
at net.minecraft.class_757.method_3192(class_757.java:811)
at net.minecraft.class_310.method_1523(class_310.java:1117)
at net.minecraft.class_310.method_1514(class_310.java:733)
at net.minecraft.client.main.Main.main(Main.java:238)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Affected level --
Details:
All players: 1 total; [class_746['Lunar_Wolf_07'/146, l='ClientLevel', x=220.81, y=71.80, z=-67.80]]
Chunk stats: 625, 370
Level dimension: minecraft:the_nether
Level spawn location: World: (-252,64,1865), Section: (at 4,0,9 in -16,4,116; chunk contains blocks -256,0,1856 to -241,255,1871), Region: (-1,3; contains chunks -32,96 to -1,127, blocks -512,0,1536 to -1,255,2047)
Level time: 736915 game time, 769953 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:408)
at net.minecraft.class_310.method_1587(class_310.java:2402)
at net.minecraft.class_310.method_1514(class_310.java:752)
at net.minecraft.client.main.Main.main(Main.java:238)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes

-- System Details --
Details:
Minecraft Version: 1.18.1
Minecraft Version ID: 1.18.1
Operating System: Mac OS X (x86_64) version 10.14.6
Java Version: 17.0.1, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 687537392 bytes (655 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 9
Microarchitecture: Amber Lake
Frequency (GHz): 1.60
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: Intel UHD Graphics 617
Graphics card #0 vendor: Intel
Graphics card #0 VRAM (MB): 1536.00
Graphics card #0 deviceId: 0x87c0
Graphics card #0 versionInfo: Revision ID: 0x0002
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 2.13
Memory slot #0 type: LPDDR3
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 2.13
Memory slot #1 type: LPDDR3
Virtual memory max (MB): 13312.00
Virtual memory used (MB): 9913.19
Swap memory total (MB): 5120.00
Swap memory used (MB): 3918.50
JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
apoli: Apoli 2.2.2
architectury: Architectury 3.7.37
bclib: BCLib 1.3.5
betternether: Better Nether 6.0.11
botania: Botania 1.18.1-429-FABRIC
calio: Calio 1.4.2
cardinal-components-base: Cardinal Components API (base) 4.0.0
cardinal-components-entity: Cardinal Components API (entities) 4.0.0
chipped: Chipped 1.2
cloth-basic-math: cloth-basic-math 0.6.0
cloth-config: Cloth Config v6 6.2.51
dawn: Dawn API 3.2.0
enva: Environmental Armor 1.4.3
extrakeybinds: ThatRobins Extra Origins Keybinds 1.18-0.1.0
extraorigins: Extra Origins 1.18-9
fabric: Fabric API 0.46.6+1.18
fabric-api-base: Fabric API Base 0.4.2+d7c144a865
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.5.3+d7c144a865
fabric-biome-api-v1: Fabric Biome API (v1) 6.0.2+d7c144a865
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.10+3ac43d9565
fabric-command-api-v1: Fabric Command API (v1) 1.1.7+d7c144a865
fabric-commands-v0: Fabric Commands (v0) 0.2.6+b4f4f6cd65
fabric-containers-v0: Fabric Containers (v0) 0.1.19+d7c144a865
fabric-content-registries-v0: Fabric Content Registries (v0) 0.4.9+d7c144a865
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.9+3ac43d9565
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.10+a1d9bbf565
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.6+d7c144a865
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.17+d7c144a865
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.9+d7c144a865
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.11+d7c144a865
fabric-item-api-v1: Fabric Item API (v1) 1.3.1+691a79b565
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.7+3ac43d9565
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.9+d7c144a865
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.7+b4f4f6cd65
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.13+713c266865
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.9+d7c144a865
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.7+d7c144a865
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.12+b4f4f6cd65
fabric-models-v0: Fabric Models (v0) 0.3.4+d7c144a865
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.19+d7c144a865
fabric-networking-v0: Fabric Networking (v0) 0.3.6+b4f4f6cd65
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.11.5+737332ce65
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.13+d7c144a865
fabric-particles-v1: Fabric Particles (v1) 0.2.10+526dc1ac65
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.2+ad01bfbd65
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.11+b0b66fc365
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.15+6825030165
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.10+b4f4f6cd65
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.5+d7c144a865
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.19+3ac43d9565
fabric-rendering-v0: Fabric Rendering (v0) 1.1.12+b4f4f6cd65
fabric-rendering-v1: Fabric Rendering (v1) 1.10.6+713c266865
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 1.0.2+d7c144a865
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.15+8906aafd65
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.8+d7c144a865
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.12+d7c144a865
fabric-structure-api-v1: Fabric Structure API (v1) 2.1.3+d7c144a865
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.9+d7c144a865
fabric-textures-v0: Fabric Textures (v0) 1.0.10+3ac43d9565
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.9+fb3b57b465
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.10+c329913d65
fabricloader: Fabric Loader 0.13.3
fallingtree: FallingTree 3.2.1
fiber: fiber 0.23.0-2
java: OpenJDK 64-Bit Server VM 17
kanos_config: Kanos Config 0.1.4+1.14.4-1.17.1
libcd: LibCapableData 3.0.3+1.16.3
minecraft: Minecraft 1.18.1
more_gems: More Gems 1.3.59.1
morethanapickaxe: MoreThanAPickaxe 0.1.6b
mushroomorigins: Mushroom Origins 1.2
naturescompass: Nature's Compass 1.18.1-2.0.3-fabric
origins: Origins 1.3.1
patchouli: Patchouli 1.18.1-65-FABRIC
pehkui: Pehkui 3.1.0+1.14.4-1.18.1
playerabilitylib: Pal 1.3.0
promenade: Promenade 2.5.1
pugh_tools: Pugh Tools 1.1.18
reach-entity-attributes: Reach Entity Attributes 2.1.1
roughlyenoughitems: Roughly Enough Items 7.3.443
seedfix: Seed Fix 1.0.0
step-height-entity-attribute: Step Height Entity Attribute 1.0.0
survivalplus: SurvivalPlus 0.1.6b
terraform-shapes-api-v1: Terraform Shapes API (v1) 2.1.0
terralith: Terralith for Fabric 2.0.12
trinkets: Trinkets 3.2.0
yigd: You're in Grave Danger 1.2.22
Launched Version: fabric-loader-0.13.3-1.18.1
Backend library: LWJGL version 3.2.1 build 12
Backend API: Intel(R) UHD Graphics 617 GL version 4.1 INTEL-12.10.12, Intel Inc.
Window size: 1708x960
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Type: Integrated Server (map_client.txt)
Graphics mode: fast
Resource Packs: vanilla, Fabric Mods, file/Invisible Item Frame Pack(1.16) (incompatible), file/Silverwood Acacia v1.1 (incompatible), file/VanillaTweaks_r992490 (incompatible), file/VanillaTweaks_r234141 (incompatible), file/VanillaTweaks_r245566 (incompatible), file/VanillaTweaks_r394169 (incompatible), file/VanillaTweaks_r468418 (incompatible), file/VanillaTweaks_r557643 (incompatible), file/VanillaTweaks_r810855 (incompatible), file/VanillaTweaks_r855377 (incompatible), file/VanillaTweaks_r965264 (incompatible), file/MoreVariations - Lilypads (incompatible), file/Bees bee wings (incompatible), file/Philza-pack (incompatible), file/Dark+Modern+GUIs+32x+-+1 (incompatible)
Current Language: English (US)
CPU: 4x Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
Server Running: true
Player Count: 1 / 8; [class_3222['Lunar_Wolf_07'/146, l='ServerLevel[World 23]', x=220.81, y=71.80, z=-67.80]]
Data Packs: vanilla, Fabric Mods

commented

I would imagine this is connected to the grave that should display a glowing-like effect (which is possible to disable for a temporary fix). Do you have any logs to provide?

commented

I have to agree where the crash report says "I just don't know what went wrong". I'm pretty sure that the error is triggered by a value being "null" after it's made sure it's not "null".
Is this happening in singleplayer as well? I can't seem to replicate this, not do I understand why it happens. If you are using a publicly available modpack that could also be useful to know incase there is a incompatible mod

commented

It has happened on a singleplayer world and that same world when it was open to LAN (other players on the LAN server weren’t affected and could interact with graves without any issues)

These are the mods that I was using;
Better Nether
Your In Grave Danger
Botania
Chipped
Environmental Armor
extra key binds
extra origins
Falling Tree
More Gems
More Than A Pickaxe
Mushroom Origins
Natures Compass
Origins
Promenade
Roughly Enough Items
Terralith
APIs;
Archtectury
Bclib
cloth config
dawn
Patchouli
Pehkui
Survival Plus
Trinkets

Version info
architectury: Architectury 3.7.37
bclib: BCLib 1.3.5
betternether: Better Nether 6.0.11
botania: Botania 1.18.1-429-FABRIC
chipped: Chipped 1.2
cloth-config: Cloth Config v6 6.2.51
dawn: Dawn API 3.2.0
enva: Environmental Armor 1.4.3
extrakeybinds: ThatRobins Extra Origins Keybinds 1.18-0.1.0
extraorigins: Extra Origins 1.18-9
fabric: Fabric API 0.46.6+1.18
more_gems: More Gems 1.3.59.1
morethanapickaxe: MoreThanAPickaxe 0.1.6b
mushroomorigins: Mushroom Origins 1.2
naturescompass: Nature's Compass 1.18.1-2.0.3-fabric
origins: Origins 1.3.1
patchouli: Patchouli 1.18.1-65-FABRIC
pehkui: Pehkui 3.1.0+1.14.4-1.18.1
promenade: Promenade 2.5.1
roughlyenoughitems: Roughly Enough Items 7.3.443
survivalplus: SurvivalPlus 0.1.6b
terralith: Terralith for Fabric 2.0.12
trinkets: Trinkets 3.2.0
yigd: You're in Grave Danger 1.2.22

commented

Some extra info- I added the yigd mod after I’d made the world, I don’t know if this would be a contributing factor or not, I was also carrying three bundles in my inventory when I died and since bundles are not enabled in-game by default (I used the /give command to obtain them) I was wondering if that would have any affect on or contribute to the issue.

commented

Ok I have really tried my best to test this after your instructions, but it will not crash like it has for you. When it comes to the bundles, the bundles, they definetely don't have anything to do with this issue as it's just the grave rendering that is crashing.

Best I can do is unfortunately to ask you to perhaps reinstall the mod. Something might've gone wrong in that process. Keep in mind that if you log in on the world whithout the grave mod all graves will disappear. That part will probably not be necessary though.
If you try to reinstall the mod and it's still crashing, go to the config file, find glowingGrave and set that to false. It would be kind of you to update me on if the reinstall works or not

commented

Alright Thank you for the advice, I will re-install the mod tomorrow as I don’t have time now and I’ll keep you updated on it.

commented

I might've fixed the issue. I just released a new version for 1.18.1 and 1.18.2 with a potential fix. Since I think the issue is resolved I will close it, but if it reappears make sure to notify me. I'm also very sorry for the delay I've been busy for the last few weeks
Anyway thanks for reporting in this issue!