Traveler's Backpack

Traveler's Backpack

26M Downloads

Backpack disappears from grave using "trinketsIntegration" and You're in Grave Danger mod

Makaren0 opened this issue · 9 comments

commented

Describe the bug
I have recently set up a clean server integrating trinkets, You're in Grave Danger and Traveler's Backpack. Enabling the "trinketsIntegration:true" option to integrate the backpack into the corresponding slot in the GUI offered by Trinkets. When the tomb is picked up it does not return the backpack in the corresponding slot, but it does return the other trinkets correctly or a backpack in the inventory without using the special slot.
I have also noticed that I cannot access the backpack inventory directly with the defined key while the backpack is equipped in this slot.
To Reproduce
Steps to reproduce the behavior:

  1. Trinkets, You're in Grave Danger y Traveler's Backpack
  2. fabric-server-mc.1.19.2-loader.0.14.9-launcher.0.11.0

I could provide more debug information, but I think it's really easy to reproduce the error. But please, if you need more information I can provide it

commented

Seems to be an issue with a default config setting in the youre-in-grave-danger mod. Doing what @Ozakinn suggested fixed the issue for me.

However, all of the items inside the backpack do disappear.

Update: Switching to the Universal Graves mod solved the issue. Backpack is placed on the ground next to the grave with all items inside.

commented

Seems to be an issue with a default config setting in the youre-in-grave-danger mod. Doing what @Ozakinn suggested fixed the issue for me.

However, all of the items inside the backpack do disappear.

Update: Switching to the Universal Graves mod solved the issue. Backpack is placed on the ground next to the grave with all items inside.

I'll try that mod too later. I feel like there is a duplicate bug with the traveler backpack and youre-in-grave-danger mod. players in my server keeps killing each other causing massive items(netherites, diamonds, and same armors/swords) in inventory and chests.

commented

Do you have trinketsIntegration enabled on client?

commented

Do you have trinketsIntegration enabled on client?

Yes, I have them activated in both config files.

Config file client side vesión:

{
	"disableCrafting": false,
	// Enables wearing backpack directly from ground
	"enableBackpackBlockQuickEquip": true,
	// Enables backpacks spawning in loot chests
	"enableLoot": true,
	// Backpack immune to any damage source (lava, fire), can't be destroyed, never disappears as floating item
	"invulnerableBackpack": true,
	"tanksCapacity": 324000,
	/* If true, backpack can only be worn by placing it in curios 'Back' slot
	   WARNING - Remember to TAKE OFF BACKPACK BEFORE enabling or disabling this integration!! - if not you'll lose your backpack
	*/
	"trinketsIntegration": true,
	"enableBackpackAbilities": true,
	// Places backpack at place where player died
	"backpackDeathPlace": true,
	// Places backpack at place where player died, replacing all blocks that are breakable and do not have inventory (backpackDeathPlace must be true in order to work)
	"backpackForceDeathPlace": false,
	// Enables button in backpack gui, which allows to empty tank
	"enableEmptyTankButton": true,
	"enableSleepingBagSpawnPoint": false,
	// Enables auto message with backpack coords after player dies
	"enableBackpackCoordsMessage": true,
	// Enables tool cycling via keybind (Default Z) + scroll combination, while backpack is worn
	"enableToolCycling": true,
	// Enables tip, how to obtain a backpack, if there's no crafting recipe for it
	"obtainTips": true,
	// Render tools in tool slots on the backpack, while worn
	"renderTools": true,
	// Render backpack if elytra is present
	"renderBackpackWithElytra": true,
	// Enables tanks and tool slots overlay, while backpack is worn
	"enableOverlay": true,
	// Offsets to left side
	"offsetX": 20,
	// Offsets to up
	"offsetY": 30
}

Config file server side vesión:

{
	"disableCrafting": false,
	// Enables wearing backpack directly from ground
	"enableBackpackBlockQuickEquip": true,
	// Enables backpacks spawning in loot chests
	"enableLoot": true,
	// Backpack immune to any damage source (lava, fire), can't be destroyed, never disappears as floating item
	"invulnerableBackpack": true,
	"enableBackpackAbilities": true,
	"tanksCapacity": 324000,
	/* If true, backpack can only be worn by placing it in curios 'Back' slot
	   WARNING - Remember to TAKE OFF BACKPACK BEFORE enabling or disabling this integration!! - if not you'll lose your backpack
	*/
	"trinketsIntegration": true,
	// Places backpack at place where player died
	"backpackDeathPlace": false,
	// Places backpack at place where player died, replacing all blocks that are breakable and do not have inventory (backpackDeathPlace must be true in order to work)
	"backpackForceDeathPlace": false,
	"enableSleepingBagSpawnPoint": false,
	// Enables tool cycling via keybind (Default Z) + scroll combination, while backpack is worn
	"enableToolCycling": true,
	// Enables tip, how to obtain a backpack, if there's no crafting recipe for it
	"obtainTips": true,
	// Render tools in tool slots on the backpack, while worn
	"renderTools": true,
	// Render backpack if elytra is present
	"renderBackpackWithElytra": true,
	// Disable backpack rendering
	"disableBackpackRender": false,
	// Enables tanks and tool slots overlay, while backpack is worn
	"enableOverlay": true,
	// Offsets to left side
	"offsetX": 20,
	// Offsets to up
	"offsetY": 30
}
commented

Didn't backpack get placed on the ground? I think it dissapeard because I've set trinkets rule to destroy when player dies, beacuse backpack has its own post-death placement logic.

commented

Didn't backpack get placed on the ground? I think it dissapeard because I've set trinkets rule to destroy when player dies, beacuse backpack has its own post-death placement logic.

I was expecting this issue, I disabled it in a test environment and it doesn't seem to work.
And in the absence of more similar answers, I assume that all this will come from some incompatibility that I can't discover.

Later I'll try to do a simulation again with your latest mod pack. Thanks for the suggestions

commented

Go to your yigd.toml and set the keepAllTrinkets to true
edit this on server config if you are playing with your server.
edit this on client config(can be found in .minecraft/config) if you are playing singleplayer

[graveSettings.graveCompatConfig]
levelzXpInGraves = true
levelzXpDropPercent = 100
claimRuleOverride = "CREATE_GRAVE"
prioritiseTheGraveyardGraves = false
graveyardSearchRadius = 10
keepAllTrinkets = true
commented

It'll be fixed in upcoming update