Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-262911

Command: Drop Duplication Glitch

XMLWordPrintable

    • Unconfirmed
    • (Unassigned)

      Using these commands inside command blocks to prevent a player from dropping items:

       

      (1st Command Block Settings: Repeat, Unconditional, Needs Redstone)

      /execute as @e[type=item] at @s on origin run data modify entity @e[type=item,sort=nearest,limit=1] Owner set from entity @s UUID

       

      (2nd Command Block Settings: Chain, Conditional, Always Active)

      /execute as @e[type=item] run data modify entity @s PickupDelay set value 0s

       

      (3nd Command Block Settings: Chain, Conditional, Always Active)

      /execute as @e[type=item] at @s on origin run tp @e[type=item,sort=nearest,limit=1] @s

       

      If a player opens up their inventory while in creative mode and repeatedly drag and drop an item out of their inventory, after the first attempt unique per item, it will begin to double the amount of the item. 

      While in survival mode if a player repeats the actions above, the item will not duplicate as is intended.

            Unassigned Unassigned
            Neo_Explorer Neo_Explorer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: