We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

9

/tp @e[type=item, name="coal", c=1] ~ ~ ~ should teleport ONE coal

2 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 2
    Registered User commented
    Comment actions Permalink

    I disagree. The rules of target selectors are simple: a count of 1 means to teleport one entity. A stack of coal counts as a single entity, because items like to group up into single stacks, and then single entities. If you want to "move" one item in the stack at a time, you can summon a single coal at the target and use /data modify with scoreboards to remove one count from the item.

  • 0
    Registered User commented
    Comment actions Permalink

    I disagree because "@e" means all entities. that means all of the coal in your world gets teleported.