How to remove all items of a specific type on the serverHow can I count and remove all of the mobs of a specific type on a bukkit server?How can I kill all entities of a specific type, EXCEPT the youngest one?How can I just clear an item with a name, not all items of the same type?Is there a command to remove all of one type of block in minecraft?Remove armor/any item with specific namePlace items in specific slots?how to remove all but one specific blockKeeping specific items on death, rather than allRemove items from chestHow do I remove a specific enchantment?
Can attackers change the public key of certificate during the SSL handshake
Need reasons why a satellite network would not work
How do I handle a DM that plays favorites with certain players?
Is there a booking app or site that lets you specify your gender for shared dormitories?
Properties: Left of the colon
Are valid inequalities worth the effort given modern solver preprocessing options?
What is it exactly about flying a Flyboard across the English channel that made Zapata's thighs burn?
Is a switch from R to Python worth it?
Is space radiation a risk for space film photography, and how is this prevented?
Pronouns when writing from the point of view of a robot
When using the Proficiency Dice optional rule, how should they be used in determining a character's Spell Save DC?
Why do rocket engines use nitrogen actuators to operate the fuel/oxidiser valves instead of electric servos?
How do the surviving Asgardians get to Earth?
ZFS on Linux: Which mountpoint option when mounting manually per script?
A verb for when some rights are not violated?
Why do dragons like shiny stuff?
How do I know when and if a character requires a backstory?
foot-pounds of energy?
Does a humanoid possessed by a ghost register as undead to a paladin's Divine Sense?
What license to choose for my PhD thesis?
How long should I wait to plug in my refrigerator after unplugging it?
Why is the Vasa Museum in Stockholm so Popular?
Is there a way to improve my grade after graduation?
How does Geralt transport his swords?
How to remove all items of a specific type on the server
How can I count and remove all of the mobs of a specific type on a bukkit server?How can I kill all entities of a specific type, EXCEPT the youngest one?How can I just clear an item with a name, not all items of the same type?Is there a command to remove all of one type of block in minecraft?Remove armor/any item with specific namePlace items in specific slots?how to remove all but one specific blockKeeping specific items on death, rather than allRemove items from chestHow do I remove a specific enchantment?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
My goal is to remove all existing Elytras from our server (only on the overworld, but not much of a problem otherwise, since we can just respawn the end).
I read about the command /kill @e[type=Item] on reddit. It did not work for me somehow. I tried it using: /kill @e[type=elytra] and got the message "Selector '@e[type=minecraft:elytra]' found nothing. Entity type type 'minecraft:elytra' is invalid". I took one out of the chest, threw it on the ground, but I get the same message.
The entity type cannot be invalid IMHO, since /give <playername> elytra works.
minecraft minecraft-commands
add a comment |
My goal is to remove all existing Elytras from our server (only on the overworld, but not much of a problem otherwise, since we can just respawn the end).
I read about the command /kill @e[type=Item] on reddit. It did not work for me somehow. I tried it using: /kill @e[type=elytra] and got the message "Selector '@e[type=minecraft:elytra]' found nothing. Entity type type 'minecraft:elytra' is invalid". I took one out of the chest, threw it on the ground, but I get the same message.
The entity type cannot be invalid IMHO, since /give <playername> elytra works.
minecraft minecraft-commands
1
The entity type for dropped items is alwaysitem.elytrais an item name but not an entity type./kill @e[type=Item]should remove all dropped items, but only from chunks that are loaded. Are you wanting to remove the item from chests and unloaded chunks too?
– SirBenet
Dec 25 '16 at 10:38
@SirBenet I'm looking for a way to remove all items, also those stored in chests and player inventories.
– TrudleR
Dec 25 '16 at 10:40
add a comment |
My goal is to remove all existing Elytras from our server (only on the overworld, but not much of a problem otherwise, since we can just respawn the end).
I read about the command /kill @e[type=Item] on reddit. It did not work for me somehow. I tried it using: /kill @e[type=elytra] and got the message "Selector '@e[type=minecraft:elytra]' found nothing. Entity type type 'minecraft:elytra' is invalid". I took one out of the chest, threw it on the ground, but I get the same message.
The entity type cannot be invalid IMHO, since /give <playername> elytra works.
minecraft minecraft-commands
My goal is to remove all existing Elytras from our server (only on the overworld, but not much of a problem otherwise, since we can just respawn the end).
I read about the command /kill @e[type=Item] on reddit. It did not work for me somehow. I tried it using: /kill @e[type=elytra] and got the message "Selector '@e[type=minecraft:elytra]' found nothing. Entity type type 'minecraft:elytra' is invalid". I took one out of the chest, threw it on the ground, but I get the same message.
The entity type cannot be invalid IMHO, since /give <playername> elytra works.
minecraft minecraft-commands
minecraft minecraft-commands
edited 1 hour ago
pppery
1,4901 gold badge7 silver badges20 bronze badges
1,4901 gold badge7 silver badges20 bronze badges
asked Dec 25 '16 at 10:34
TrudleRTrudleR
1,66410 gold badges31 silver badges50 bronze badges
1,66410 gold badges31 silver badges50 bronze badges
1
The entity type for dropped items is alwaysitem.elytrais an item name but not an entity type./kill @e[type=Item]should remove all dropped items, but only from chunks that are loaded. Are you wanting to remove the item from chests and unloaded chunks too?
– SirBenet
Dec 25 '16 at 10:38
@SirBenet I'm looking for a way to remove all items, also those stored in chests and player inventories.
– TrudleR
Dec 25 '16 at 10:40
add a comment |
1
The entity type for dropped items is alwaysitem.elytrais an item name but not an entity type./kill @e[type=Item]should remove all dropped items, but only from chunks that are loaded. Are you wanting to remove the item from chests and unloaded chunks too?
– SirBenet
Dec 25 '16 at 10:38
@SirBenet I'm looking for a way to remove all items, also those stored in chests and player inventories.
– TrudleR
Dec 25 '16 at 10:40
1
1
The entity type for dropped items is always
item. elytra is an item name but not an entity type. /kill @e[type=Item] should remove all dropped items, but only from chunks that are loaded. Are you wanting to remove the item from chests and unloaded chunks too?– SirBenet
Dec 25 '16 at 10:38
The entity type for dropped items is always
item. elytra is an item name but not an entity type. /kill @e[type=Item] should remove all dropped items, but only from chunks that are loaded. Are you wanting to remove the item from chests and unloaded chunks too?– SirBenet
Dec 25 '16 at 10:38
@SirBenet I'm looking for a way to remove all items, also those stored in chests and player inventories.
– TrudleR
Dec 25 '16 at 10:40
@SirBenet I'm looking for a way to remove all items, also those stored in chests and player inventories.
– TrudleR
Dec 25 '16 at 10:40
add a comment |
2 Answers
2
active
oldest
votes
Commands can't target entities in unloaded chunks, and are generally bad at editing the contents of containers. To do what you want to do, you will need to use an external tool.
Here's how to do it with MCEdit Unified:
- Double click on any chest containing an elytra to bring up the chest GUI:

- Select the elytra in the item list
- Press Delete All Instances Of This Item From World
- You'll get a warning message telling you what you're about to do, to which you should press OK

- After it's done deleting the item (may take a while) save and exit.
This should only affect the current dimension you're in on MCEdit, so you will not need to regenerate the end.
I will check this out probably this evening and report back. Thank you!
– TrudleR
Dec 25 '16 at 11:19
Sorry that it took so long. I tried it and it worked! The only problem is: All animals on the world were removed. This is not a big deal though, since we can just spawn them in creative mode, but it was a bit annoying when I noticed it. Thanks for your help!
– TrudleR
Dec 29 '16 at 14:30
add a comment |
An item is always @e[type=item], whether its a stone block or a sapling or a bone or an elytra.
to achieve what you're trying to do, you'd have to tag all items that actually are elyras and kill those.
/scoreboard players tag @e[type=item] add isElytra Item:id:"minecraft:elytra",Count:1b
/kill @e[type=item,tag=isElytra]
the problem with this is though, that it will only kill all items that are lying around, not in chests or player inventorys, and only in loaded chunks, so not everywhere on the server. if that is a problem for you, you should try the solution of @SirBenet
1
That doesn't help me, but it may help someone else who gets here over google. Thank you :)
– TrudleR
Dec 29 '16 at 14:32
Also, in 1.13+ you can use thenbt=selector to select those items that are elytra./kill @e[type=item,nbt=Item:id:"minecraft:elytra"]
– Nik3141
47 mins ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "41"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f295660%2fhow-to-remove-all-items-of-a-specific-type-on-the-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Commands can't target entities in unloaded chunks, and are generally bad at editing the contents of containers. To do what you want to do, you will need to use an external tool.
Here's how to do it with MCEdit Unified:
- Double click on any chest containing an elytra to bring up the chest GUI:

- Select the elytra in the item list
- Press Delete All Instances Of This Item From World
- You'll get a warning message telling you what you're about to do, to which you should press OK

- After it's done deleting the item (may take a while) save and exit.
This should only affect the current dimension you're in on MCEdit, so you will not need to regenerate the end.
I will check this out probably this evening and report back. Thank you!
– TrudleR
Dec 25 '16 at 11:19
Sorry that it took so long. I tried it and it worked! The only problem is: All animals on the world were removed. This is not a big deal though, since we can just spawn them in creative mode, but it was a bit annoying when I noticed it. Thanks for your help!
– TrudleR
Dec 29 '16 at 14:30
add a comment |
Commands can't target entities in unloaded chunks, and are generally bad at editing the contents of containers. To do what you want to do, you will need to use an external tool.
Here's how to do it with MCEdit Unified:
- Double click on any chest containing an elytra to bring up the chest GUI:

- Select the elytra in the item list
- Press Delete All Instances Of This Item From World
- You'll get a warning message telling you what you're about to do, to which you should press OK

- After it's done deleting the item (may take a while) save and exit.
This should only affect the current dimension you're in on MCEdit, so you will not need to regenerate the end.
I will check this out probably this evening and report back. Thank you!
– TrudleR
Dec 25 '16 at 11:19
Sorry that it took so long. I tried it and it worked! The only problem is: All animals on the world were removed. This is not a big deal though, since we can just spawn them in creative mode, but it was a bit annoying when I noticed it. Thanks for your help!
– TrudleR
Dec 29 '16 at 14:30
add a comment |
Commands can't target entities in unloaded chunks, and are generally bad at editing the contents of containers. To do what you want to do, you will need to use an external tool.
Here's how to do it with MCEdit Unified:
- Double click on any chest containing an elytra to bring up the chest GUI:

- Select the elytra in the item list
- Press Delete All Instances Of This Item From World
- You'll get a warning message telling you what you're about to do, to which you should press OK

- After it's done deleting the item (may take a while) save and exit.
This should only affect the current dimension you're in on MCEdit, so you will not need to regenerate the end.
Commands can't target entities in unloaded chunks, and are generally bad at editing the contents of containers. To do what you want to do, you will need to use an external tool.
Here's how to do it with MCEdit Unified:
- Double click on any chest containing an elytra to bring up the chest GUI:

- Select the elytra in the item list
- Press Delete All Instances Of This Item From World
- You'll get a warning message telling you what you're about to do, to which you should press OK

- After it's done deleting the item (may take a while) save and exit.
This should only affect the current dimension you're in on MCEdit, so you will not need to regenerate the end.
answered Dec 25 '16 at 10:58
SirBenetSirBenet
25.7k3 gold badges51 silver badges81 bronze badges
25.7k3 gold badges51 silver badges81 bronze badges
I will check this out probably this evening and report back. Thank you!
– TrudleR
Dec 25 '16 at 11:19
Sorry that it took so long. I tried it and it worked! The only problem is: All animals on the world were removed. This is not a big deal though, since we can just spawn them in creative mode, but it was a bit annoying when I noticed it. Thanks for your help!
– TrudleR
Dec 29 '16 at 14:30
add a comment |
I will check this out probably this evening and report back. Thank you!
– TrudleR
Dec 25 '16 at 11:19
Sorry that it took so long. I tried it and it worked! The only problem is: All animals on the world were removed. This is not a big deal though, since we can just spawn them in creative mode, but it was a bit annoying when I noticed it. Thanks for your help!
– TrudleR
Dec 29 '16 at 14:30
I will check this out probably this evening and report back. Thank you!
– TrudleR
Dec 25 '16 at 11:19
I will check this out probably this evening and report back. Thank you!
– TrudleR
Dec 25 '16 at 11:19
Sorry that it took so long. I tried it and it worked! The only problem is: All animals on the world were removed. This is not a big deal though, since we can just spawn them in creative mode, but it was a bit annoying when I noticed it. Thanks for your help!
– TrudleR
Dec 29 '16 at 14:30
Sorry that it took so long. I tried it and it worked! The only problem is: All animals on the world were removed. This is not a big deal though, since we can just spawn them in creative mode, but it was a bit annoying when I noticed it. Thanks for your help!
– TrudleR
Dec 29 '16 at 14:30
add a comment |
An item is always @e[type=item], whether its a stone block or a sapling or a bone or an elytra.
to achieve what you're trying to do, you'd have to tag all items that actually are elyras and kill those.
/scoreboard players tag @e[type=item] add isElytra Item:id:"minecraft:elytra",Count:1b
/kill @e[type=item,tag=isElytra]
the problem with this is though, that it will only kill all items that are lying around, not in chests or player inventorys, and only in loaded chunks, so not everywhere on the server. if that is a problem for you, you should try the solution of @SirBenet
1
That doesn't help me, but it may help someone else who gets here over google. Thank you :)
– TrudleR
Dec 29 '16 at 14:32
Also, in 1.13+ you can use thenbt=selector to select those items that are elytra./kill @e[type=item,nbt=Item:id:"minecraft:elytra"]
– Nik3141
47 mins ago
add a comment |
An item is always @e[type=item], whether its a stone block or a sapling or a bone or an elytra.
to achieve what you're trying to do, you'd have to tag all items that actually are elyras and kill those.
/scoreboard players tag @e[type=item] add isElytra Item:id:"minecraft:elytra",Count:1b
/kill @e[type=item,tag=isElytra]
the problem with this is though, that it will only kill all items that are lying around, not in chests or player inventorys, and only in loaded chunks, so not everywhere on the server. if that is a problem for you, you should try the solution of @SirBenet
1
That doesn't help me, but it may help someone else who gets here over google. Thank you :)
– TrudleR
Dec 29 '16 at 14:32
Also, in 1.13+ you can use thenbt=selector to select those items that are elytra./kill @e[type=item,nbt=Item:id:"minecraft:elytra"]
– Nik3141
47 mins ago
add a comment |
An item is always @e[type=item], whether its a stone block or a sapling or a bone or an elytra.
to achieve what you're trying to do, you'd have to tag all items that actually are elyras and kill those.
/scoreboard players tag @e[type=item] add isElytra Item:id:"minecraft:elytra",Count:1b
/kill @e[type=item,tag=isElytra]
the problem with this is though, that it will only kill all items that are lying around, not in chests or player inventorys, and only in loaded chunks, so not everywhere on the server. if that is a problem for you, you should try the solution of @SirBenet
An item is always @e[type=item], whether its a stone block or a sapling or a bone or an elytra.
to achieve what you're trying to do, you'd have to tag all items that actually are elyras and kill those.
/scoreboard players tag @e[type=item] add isElytra Item:id:"minecraft:elytra",Count:1b
/kill @e[type=item,tag=isElytra]
the problem with this is though, that it will only kill all items that are lying around, not in chests or player inventorys, and only in loaded chunks, so not everywhere on the server. if that is a problem for you, you should try the solution of @SirBenet
edited Apr 13 '17 at 12:09
Community♦
1
1
answered Dec 26 '16 at 19:04
PlagiatusPlagiatus
9922 silver badges11 bronze badges
9922 silver badges11 bronze badges
1
That doesn't help me, but it may help someone else who gets here over google. Thank you :)
– TrudleR
Dec 29 '16 at 14:32
Also, in 1.13+ you can use thenbt=selector to select those items that are elytra./kill @e[type=item,nbt=Item:id:"minecraft:elytra"]
– Nik3141
47 mins ago
add a comment |
1
That doesn't help me, but it may help someone else who gets here over google. Thank you :)
– TrudleR
Dec 29 '16 at 14:32
Also, in 1.13+ you can use thenbt=selector to select those items that are elytra./kill @e[type=item,nbt=Item:id:"minecraft:elytra"]
– Nik3141
47 mins ago
1
1
That doesn't help me, but it may help someone else who gets here over google. Thank you :)
– TrudleR
Dec 29 '16 at 14:32
That doesn't help me, but it may help someone else who gets here over google. Thank you :)
– TrudleR
Dec 29 '16 at 14:32
Also, in 1.13+ you can use the
nbt= selector to select those items that are elytra. /kill @e[type=item,nbt=Item:id:"minecraft:elytra"]– Nik3141
47 mins ago
Also, in 1.13+ you can use the
nbt= selector to select those items that are elytra. /kill @e[type=item,nbt=Item:id:"minecraft:elytra"]– Nik3141
47 mins ago
add a comment |
Thanks for contributing an answer to Arqade!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f295660%2fhow-to-remove-all-items-of-a-specific-type-on-the-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
The entity type for dropped items is always
item.elytrais an item name but not an entity type./kill @e[type=Item]should remove all dropped items, but only from chunks that are loaded. Are you wanting to remove the item from chests and unloaded chunks too?– SirBenet
Dec 25 '16 at 10:38
@SirBenet I'm looking for a way to remove all items, also those stored in chests and player inventories.
– TrudleR
Dec 25 '16 at 10:40