0

I own a realm that has the "Keep Inventory" rule enabled. (so when one dies, their inventory is not dropped) I'm building a puzzle dungeon that other players can run through but I'd like there to be some risk. Is it possible to define an area where the "Keep Inventory" rule is false?

I'm sure I could copy the inventory of a player upon death, drop the items as entities and clear it but I'm wondering if there was a more direct way to accomplish this.

(Command Blocks are enabled)

3
  • 1
    No, it applies for everyone. Commented Jun 10, 2015 at 4:25
  • 1
    Would it suffice for the items to be simply gone or do you need them to drop on the floor?
    – MrLemon
    Commented Jun 10, 2015 at 15:03
  • I'd like them to drop on the floor so that it mimics standard behavior. Commented Jun 10, 2015 at 18:43

1 Answer 1

0

Using Command Blocks would work if you put one with the /gamerule keepInventory False command into the entrance of the region of no keepInventory, hidden under a block that would activate it (such as a pressure plate). Be sure to reset this at the beginning and after this location with /gamerule keepInventory true.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.