#(DRAGNIL68) how to remove a item from a players inventory with custom model data and name
19 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
!m remove
Multiple possible mechanisms: server.remove_recipes, NPCTag.remove_nickname, CuboidTag.remove_member, EntityTag.remove_effects, NPCTag.remove_assignment, ItemTag.remove_enchantments, EntityTag.remove_custom_effect, PlayerTag.remove_tab_completions, PlayerTag.remove_essentials_home, ItemTag.remove_attribute_modifiers, ItemTag.remove_charged_projectiles, EntityTag.remove_attribute_modifiers, DiscordChannelTag.remove_thread_member.
Did you mean to search for command remove?
!m item remove
Multiple possible mechanisms: ItemTag.map, ItemTag.book, ItemTag.flag, ItemTag.lock, ItemTag.lore, ItemTag.trim, ItemTag.color, ItemTag.hides, ItemTag.worth, EntityTag.item, ItemTag.display, ItemTag.display, ItemTag.raw_nbt, ItemTag.material, NPCTag.item_type, ItemTag.firework, ItemTag.flag_map, ItemTag.patterns, ItemTag.quantity, ItemTag.invisible, ...
Did you mean to search for command team?
item
inventory [open/close/copy/move/swap/set/keep/exclude/fill/clear/update/adjust <mechanism>:<value>/flag <name>(:<action>)[:<value>] (expire:<time>)] (destination:<inventory>) (origin:<inventory>/<item>|...) (slot:<slot>)
Edits the inventory of a player, NPC, or chest.
Use this command to edit the state of inventories.
By default, the destination inventory is the current attached player's inventory.
If you are copying, swapping, removing from (including via "keep" and "exclude"), adding to, moving, or filling inventories,
you'll need both destination and origin inventories.
Origin inventories may be specified as a list of ItemTags, but destinations must be actual InventoryTags.
Using "open", "clear", or "update" only require a destination.
"Update" also req...
i know that much but how do you get it to clear only the item in there inventory with a specific custom model data
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
Could you provide your script please so I'll get a better overview?