SirJeffersonIII
SirJeffersonIII
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
How can I exclude all name tagged mobs with @e?
!solved
8 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
How can I exclude all name tagged mobs with @e?
For people that look in the future, the correct command in this instance is: /kill @e[type=minecraft:wither_skeleton,nbt=!{PersistenceRequired:1b}]
8 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
How can I exclude all name tagged mobs with @e?
i have something like this, but it still killed the name wither skeletons: "/kill @e[type=minecraft:wither_skeleton,nbt=!{Entity:{id:"PersistenceRequired:1b"}}]"
8 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
How can I exclude all name tagged mobs with @e?
is there way to do this with the "PersistenceRequired:1b" nbt tag?
8 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
How can I exclude all name tagged mobs with @e?
its not the kill, it fails to apply tags in the first place because "/scoreboard players tag" is invalid as tag isnt a argument for me.
8 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
Commandaliases fabric help
Realized how bad this looekd for mobile right before bed so i made a pastebin:https://pastebin.com/5B1kTYQ3
11 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
Commandaliases fabric help
No description
11 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
Commandaliases fabric help
else im stuck doing something like this:
schemaVersion: 1
commandMode: COMMAND_CUSTOM
command: killhostile
children:
- child: close
type: argument
argumentType: 'minecraft:word'
actions:
- command: 'gamerule doMobLoot false'
commandType: SERVER
actionsIfUnsuccessful:
- startTime: '5'
command: 'kill @e[distance=..50,type=#cdp:hostile]'
commandType: CLIENT
actionsIfUnsuccessful:
- startTime: '5'
command: 'gamerule doMobLoot true'
commandType: SERVER
actionsIfSuccessful:
- startTime: '5'
command: 'gamerule doMobLoot true'
commandType: SERVER
actionsIfSuccessful:
- startTime: '5'
command: 'kill @e[distance=..50,type=#cdp:hostile]'
commandType: CLIENT
actionsIfUnsuccessful:
- startTime: '5'
command: 'gamerule doMobLoot true'
commandType: SERVER
actionsIfSuccessful:
- startTime: '5'
command: 'gamerule doMobLoot true'
commandType: SERVER
schemaVersion: 1
commandMode: COMMAND_CUSTOM
command: killhostile
children:
- child: close
type: argument
argumentType: 'minecraft:word'
actions:
- command: 'gamerule doMobLoot false'
commandType: SERVER
actionsIfUnsuccessful:
- startTime: '5'
command: 'kill @e[distance=..50,type=#cdp:hostile]'
commandType: CLIENT
actionsIfUnsuccessful:
- startTime: '5'
command: 'gamerule doMobLoot true'
commandType: SERVER
actionsIfSuccessful:
- startTime: '5'
command: 'gamerule doMobLoot true'
commandType: SERVER
actionsIfSuccessful:
- startTime: '5'
command: 'kill @e[distance=..50,type=#cdp:hostile]'
commandType: CLIENT
actionsIfUnsuccessful:
- startTime: '5'
command: 'gamerule doMobLoot true'
commandType: SERVER
actionsIfSuccessful:
- startTime: '5'
command: 'gamerule doMobLoot true'
commandType: SERVER
11 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
Commandaliases fabric help
However, if i want to actually use actionsIfSuccessful I need this to function right :/
11 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
Commandaliases fabric help
it says failed if there is more than 1 entity killed. right now i just turned the message off
11 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
Commandaliases fabric help
no, the failed message is along with it completing the command
11 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
Commandaliases fabric help
No description
11 replies
AAdmincraft
Created by SirJeffersonIII on 6/30/2023 in #questions
Commandaliases fabric help
I have changed the code to this :
schemaVersion: 1
commandMode: COMMAND_CUSTOM
command: killhostile
children:
- child: f
type: argument
argumentType: minecraft:word
permission: 0
actions:
- command: kill @e[distance=..50,type=#cdp:hostile]
commandType: CLIENT
requireSuccess: true
messageIfUnsuccessful: 'FAILED'
messageIfSuccessful: 'WORKED!!!'
- child: a
type: argument
argumentType: minecraft:word
permission: 0
actions:
- command: kill @e[type=#cdp:hostile]
commandType: CLIENT
requireSuccess: true
messageIfUnsuccessful: 'FAILED'
messageIfSuccessful: 'WORKED!!!'
schemaVersion: 1
commandMode: COMMAND_CUSTOM
command: killhostile
children:
- child: f
type: argument
argumentType: minecraft:word
permission: 0
actions:
- command: kill @e[distance=..50,type=#cdp:hostile]
commandType: CLIENT
requireSuccess: true
messageIfUnsuccessful: 'FAILED'
messageIfSuccessful: 'WORKED!!!'
- child: a
type: argument
argumentType: minecraft:word
permission: 0
actions:
- command: kill @e[type=#cdp:hostile]
commandType: CLIENT
requireSuccess: true
messageIfUnsuccessful: 'FAILED'
messageIfSuccessful: 'WORKED!!!'
Now every command works as long as the user has permissions. the only problem is it says failed unless it kills one mob.
11 replies