bergerhealer / TrainCarts

Minecarts redefined
MIT License
205 stars 63 forks source link

Locked, Finite Train Chests Should Be Removed from the Player’s Inventory #485

Closed FireController1847 closed 10 months ago

FireController1847 commented 1 year ago

Feature Request

Description

I think the title is pretty self-explanatory. I would like to suggest that, when you give a locked, finite train chest, the chest item itself should be removed from the player's inventory. Currently, once you place the cart, the item is returned to you, but it now becomes useless, since a locked, finite train chest cannot be used for any other purpose.

Examples

As described above, the item becomes useless once used.

Here is a video describing the issue and subsequent feature request:

https://github.com/bergerhealer/TrainCarts/assets/16494272/b053cd82-b020-4fef-8d50-f4bd9ee7b6b8

bergerkiller commented 1 year ago

Yeah it probably should. I can change that

bergerkiller commented 1 year ago

Added the requested feature, plus a way to change the spawn message or disable it ("").

Oh, and if you were to have a stack of items (you can middle-mouse button to get more than one) it decrements item count until 0, then it removes.

https://ci.mg-dev.eu/job/TrainCarts/1466/

bbayu123 commented 10 months ago

Closing - feature added.