You're in Grave Danger

You're in Grave Danger

17M Downloads

"You can not retrieve your items in less than a second" message when level.dat replaced after death

technotherion opened this issue ยท 7 comments

commented

Describe the bug
When right clicking on my grave, the message "You can not retrieve your items in less than a second" message appears.

To Reproduce
Before this issue occurred, I had replaced my level.dat with a new one because my nether portals had ceased to function. I died before replacing my level.dat.

  1. Die somewhere
  2. Replace level.dat with a file from another world (in my case, it was from a brand new world)
  3. Go to your gravestone and right click. The message will say "You can not retrieve your items in less than a second"

When recovering from a backup (before I replaced level.dat) I was able to pick up my grave normally with no issue.

Expected behavior
I expected to right click and get my equipment and items back.
Error message did not match the situation that created the error.

Desktop (please complete the following information):

  • OS: Windows 10
  • Minecraft Version: 1.19.2
  • Version: [e.g. 1.0.0, 1.0.3] 1.4.4

Full list of mods:

 - additionalstructures 4.1.0
  • adorn 3.6.1+1.19
  • architects_palette 2.1.1
  • architectury 6.2.46
  • betteranimalmodels 1.19-5.6.0
  • betteranimalsplus 1.19-11.0.7
  • biomemakeover 1.19.2-1.5.12
  • blur 2.6.0
  • cardinal-components-base 5.0.1 via comforts
  • cardinal-components-entity 5.0.1 via comforts
  • cloth-basic-math 0.6.1 via cloth-config
  • cloth-config 8.2.88
  • com_electronwill_night-config_core 3.6.5 via spectrelib
  • com_electronwill_night-config_toml 3.6.5 via spectrelib
  • comforts 6.0.1+1.19.2
  • cpm 0.5.0a
  • emerald_tools 1.4.34
  • error_notifier 1.0.9 via roughlyenoughitems
  • everycomp 1.19.2-2.0.4
  • extended_armor_bars 1.2.1
  • extendedcopper 1.0.0
  • fabric-api 0.62.0+1.19.2
  • fabric-api-base 0.4.12+93d8cb8290 via fabric-api
  • fabric-api-lookup-api-v1 1.6.10+93d8cb8290 via fabric-api
  • fabric-biome-api-v1 9.0.18+c6af733c90 via fabric-api
  • fabric-blockrenderlayer-v1 1.1.21+c6af733c90 via fabric-api
  • fabric-client-tags-api-v1 1.0.2+b35fea8390 via fabric-api
  • fabric-command-api-v1 1.2.12+f71b366f90 via fabric-api
  • fabric-command-api-v2 2.1.8+93d8cb8290 via fabric-api
  • fabric-commands-v0 0.2.29+df3654b390 via fabric-api
  • fabric-containers-v0 0.1.35+df3654b390 via fabric-api
  • fabric-content-registries-v0 3.3.1+624e468e90 via fabric-api
  • fabric-convention-tags-v1 1.1.2+93d8cb8290 via fabric-api
  • fabric-crash-report-info-v1 0.2.6+aeb40ebe90 via fabric-api
  • fabric-data-generation-api-v1 5.2.0+b598f4ac90 via fabric-api
  • fabric-dimensions-v1 2.1.32+0dd10df690 via fabric-api
  • fabric-entity-events-v1 1.4.19+9ff28f4090 via fabric-api
  • fabric-events-interaction-v0 0.4.29+c6af733c90 via fabric-api
  • fabric-events-lifecycle-v0 0.2.29+df3654b390 via fabric-api
  • fabric-game-rule-api-v1 1.0.22+c6af733c90 via fabric-api
  • fabric-item-api-v1 1.5.8+93d8cb8290 via fabric-api
  • fabric-item-groups-v0 0.3.30+93d8cb8290 via fabric-api
  • fabric-key-binding-api-v1 1.0.21+93d8cb8290 via fabric-api
  • fabric-keybindings-v0 0.2.19+df3654b390 via fabric-api
  • fabric-language-kotlin 1.8.3+kotlin.1.7.10
  • fabric-lifecycle-events-v1 2.2.0+33ffe9ec90 via fabric-api
  • fabric-loot-api-v2 1.1.4+83a8659290 via fabric-api
  • fabric-loot-tables-v1 1.1.7+9e7660c690 via fabric-api
  • fabric-message-api-v1 5.0.4+93d8cb8290 via fabric-api
  • fabric-mining-level-api-v1 2.1.15+33fbc73890 via fabric-api
  • fabric-models-v0 0.3.18+c6af733c90 via fabric-api
  • fabric-networking-api-v1 1.2.5+c6af733c90 via fabric-api
  • fabric-networking-v0 0.3.22+df3654b390 via fabric-api
  • fabric-object-builder-api-v1 4.0.12+93d8cb8290 via fabric-api
  • fabric-particles-v1 1.0.11+79adfe0a90 via fabric-api
  • fabric-registry-sync-v0 0.9.26+c6af733c90 via fabric-api
  • fabric-renderer-api-v1 1.0.11+c6af733c90 via fabric-api
  • fabric-renderer-indigo 0.6.13+aeb40ebe90 via fabric-api
  • fabric-renderer-registries-v1 3.2.21+df3654b390 via fabric-api
  • fabric-rendering-data-attachment-v1 0.3.15+aeb40ebe90 via fabric-api
  • fabric-rendering-fluids-v1 3.0.8+c6af733c90 via fabric-api
  • fabric-rendering-v0 1.1.23+df3654b390 via fabric-api
  • fabric-rendering-v1 1.11.0+73145abb90 via fabric-api
  • fabric-resource-conditions-api-v1 2.0.12+a29562c890 via fabric-api
  • fabric-resource-loader-v0 0.7.0+93d8cb8290 via fabric-api
  • fabric-screen-api-v1 1.0.27+93d8cb8290 via fabric-api
  • fabric-screen-handler-api-v1 1.3.1+1cc24b1b90 via fabric-api
  • fabric-textures-v0 1.0.21+aeb40ebe90 via fabric-api
  • fabric-transfer-api-v1 2.1.1+93d8cb8290 via fabric-api
  • fabric-transitive-access-wideners-v1 1.3.1+42d99c3290 via fabric-api
  • fabricloader 0.14.9
  • fallingleaves 1.12.2+1.19.2
  • fallingtree 3.10.0
  • itemmodelfix 1.0.3+1.19
  • jade 8.2.1
  • java 17
  • lambdynlights 2.1.2+1.19
  • midnightlib 0.5.2 via blur
  • minecraft 1.19.2
  • modmenu 4.0.6
  • moonlight 1.19.2-2.0.30
  • mousetweaks 2.22
  • org_jetbrains_kotlin_kotlin-reflect 1.7.10 via fabric-language-kotlin
  • org_jetbrains_kotlin_kotlin-stdlib 1.7.10 via fabric-language-kotlin
  • org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.7.10 via fabric-language-kotlin
  • org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.7.10 via fabric-language-kotlin
  • org_jetbrains_kotlinx_atomicfu-jvm 0.18.3 via fabric-language-kotlin
  • org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.6.4 via fabric-language-kotlin
  • org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.6.4 via fabric-language-kotlin
  • org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.4.0 via fabric-language-kotlin
  • org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.4.0 via fabric-language-kotlin
  • org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.4.0 via fabric-language-kotlin
  • org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.4.0 via fabric-language-kotlin
  • org_joml_joml 1.10.4 via sodium
  • pride 1.1.2+1.19 via lambdynlights
  • pugh_tools 1.3.20 via emerald_tools
  • roughlyenoughitems 9.1.550
  • satin 1.8.0 via blur
  • sodium 0.4.4+build.18
  • spectrelib 0.10.0+1.19 via comforts
  • spruceui 4.0.0+1.19 via lambdynlights
  • xaerominimap 22.15.0
  • yigd 1.4.4

Additional context
The reason i replaced my levels.dat is because my nether portals stopped functioning.
Upon

Screenshots
If applicable, add screenshots to help explain your problem.

https://i.imgur.com/SXp7464.png

commented

When you die and a grave spawn, the grave will save when the grave generated in how many ticks has passed in the world. You can retrieve the grave as long as the "time" is a second later, or more, from when the grave was created. This to avoid accidental looting of graves the same tick you die.

So what has happened is that the game time (I would guess) has not been transfered when replacing the level.dat, and the game time is way less than when the grave think it spawned.

I will make sure that this "creation time" is reset to current world time in next update if world time is less than expected for the next update. This should make things work

commented

I think this should be fixed in the latest update for 1.18.2 and 1.19.2

commented

I have this exact issue with the latest version of the mod

commented

I think what happened is that I updated the graves, so that instead of ticking and counting time, they just check with the world time if enough time has passed or not. Seems like I forgot to put this fix in then

commented

I think what happened is that I updated the graves, so that instead of ticking and counting time, they just check with the world time if enough time has passed or not. Seems like I forgot to put this fix in then

If it checks for the world time it would indeed not work, the current time would be waaaay before the time of the grave, is this fixed now?

commented

I don't think so. The past months I've put all effort into the 1.20 update of the mod and haven't done much (or perhaps anything at all) to the other versions. But this should only be an issue if you move the grave data file to a newer world though

Also you should be able to get your items back by restoring the grave through gui or commands

commented

but... it sort of a new world, because the level.dat is replaced