GM4_Datapacks icon indicating copy to clipboard operation
GM4_Datapacks copied to clipboard

Suggestion/Discussion - XP storage mending

Open Levertion opened this issue 4 years ago • 4 comments

I cannot find any previous discussion about whether XP storage should support mending.

I would like it to support mending on withdrawal. This would allow better farms to be made utilising other modules (such as a Forterra farm which doesn't require owning very many pickaxes).

Issues:

  • Probably requires the forceloaded shulker box with /loot trick to change damage values in inventory. It might be possible without that in 1.15, but for 1.16 it would be required.
  • Makes xp storage even more strong, although really it just adds convenience. XP storage is already very strong however.

Further ideas:

  • Some way to make it only do mending (other than standing between two enderchests lol) Suggested UX: Place a sea lantern above the ender chest.
  • Similarly, some way to make it not do mending, if for some reason you wanted that (curse of binding armor piece with mending?) Suggested UX: Soul sand above the ender chest?
  • Make supporting mending more expensive. Either by requiring e.g. a diamond/netherite block above the ender chest or just not being as efficient

Thanks!

Levertion avatar Apr 02 '20 18:04 Levertion

For the time being there is a temporary work around:

  • use a Liquid Tank and the module "Mending Tanks"

The reason why mending doesn't work with any of our xp-Storage modules is that the Experience Orbs dropped by them are purely decorational to prevent nearby players from stealing your xp. I don't think any changes will be made to "emulate" mending, it's more likely that those xp orbs might get a real xp value.

Bloo-dev avatar Apr 02 '20 18:04 Bloo-dev

In previous versions at least, the player absorbed xp slower than 20hz, meaning that giving the orbs actual value resulted in an xp-swarm around the player. Not good for server performance and that swarm could also be leeched by another player.

SpecialBuilder32 avatar Apr 04 '20 15:04 SpecialBuilder32

The alternative of course is to file the Minecraft bug and then strongarm @boq or @slicedlime into fixing it (/s for that second half)

Levertion avatar Apr 05 '20 18:04 Levertion

This is easily possible in 1.17 using /item modify

BPR02 avatar Aug 27 '21 13:08 BPR02