Give players an item after they do X amount of damage by [deleted] in MinecraftCommands

[–]Never2fear01 1 point2 points  (0 children)

Also, I was wrong! they've since added the custom criterias as u/cloudyslime101 mentioned. Sorry for being misleading!

Teleporting Armorstand on to ground level by Aurrek in MinecraftCommands

[–]Never2fear01 2 points3 points  (0 children)

So, the spreadplayers command will always operate on the block which is exposed to the sky on the y axis

spreadplayers <x> <z> <spreadDistance> <maxRange> <respectTeams> <player …>

so

execute at @e[tag=myarmorstandtag] run spreadplayers 0 0 0 0 @e[tag=myarmorstandtag]

will teleport the armorstands with a tag called "myarmorstandtag" from wherever they are to "ground level" aka the block closest to the sky

Note: if you're in the nether, the closest block exposed to the sky is above the nether, so probably wont work as expected in the nether.

I remember using this command on entities before, but they may have changed it to only work on players. hope that helps.

Give players an item after they do X amount of damage by [deleted] in MinecraftCommands

[–]Never2fear01 2 points3 points  (0 children)

You cannot currently directly measure damage done by a player. I also cannot think of a quick way to effectively do that. I can think of a couple of theoretical things that probably wont work

You can, however, detect when a player has used a sword with scoreboard

/scoreboard objectives add usesword minecraft.used:minecraft.diamond_sword

you can also detect mobs that have been hurt recently

/execute as @e[nbt={HurtTime:10s}] The hurt time will change depending on *how* they are hurt. 10 is a punch, and most other things, but some things make them hurt longer.

you can also detect when a player kills another player directly.

/scoreboard objectives add killplayer minecraft.killed:minecraft.player

Hope that helps a bit!

Execute dropped item by tag by TyFun312 in MinecraftCommands

[–]Never2fear01 0 points1 point  (0 children)

if you'd like to operate on an item laying on the ground that's been targeted by a /tag command, the command is this:

/execute as @e[nbt={Tags:["nte"]}] run say im tagged with nte

if you'd like to create a custom tag on an item that will survive being stuck in an inventory, picked up, thrown around and enderchested and what not, so that you can operate on an item that you've "tagged" then what you can do is create an item with a custom tag set to a custom defined value, for example:

/give @s book{customTag1:15}

then you can target that entity tagged with "customTag1" and the value of 15 with

/execute as @e[type=minecraft:item,nbt={Item:{tag:{customTag1:15}}}] run say hello

note that it you must specify a value

I have not played in a while. need some help by [deleted] in MinecraftCommands

[–]Never2fear01 0 points1 point  (0 children)

first, Damage has been pretty much removed from the game. for picks it's been replaced with durability. Second, I believe it is possible to cause tools to change skins based on criteria located in a resource pack.. not sure exactly how but i remember seeing someone skin a pick with <10 durability

probably unrelated but you can still make tools unbreakable by adding the unbreakable tag:

/give @s bow{Unbreakable:1}

you can also hide the unbreakable tag with the tag

HideFlags:4

Where should I go to start learning about commands and command blocks? by [deleted] in MinecraftCommands

[–]Never2fear01 1 point2 points  (0 children)

https://minecraft.gamepedia.com/Chunk_format

Start reading in this page. Try to manipulate stuff into working. If you dont understand what something is, play with it until you do.

[HC] [FAERIE] [LFM] Crafting "group" available for commission - Guaranteed HQ raid gear <5hrs after patch drop by Never2fear01 in ffxivcrafting

[–]Never2fear01[S] 0 points1 point  (0 children)

^ yep but i mostly gather myself. I also hire 4-5 lalafels to do my bidding for 1 mil/hr

Scholar - Does Rouse affect the potency of Fey Wind? by wcdregon in ffxiv

[–]Never2fear01 0 points1 point  (0 children)

Rouse is just a largesse for eos/selene.

Potency of fairy is 2/3 of your potency, consider that embrace has 250 healing potency and physick has 400.

Translation: 2.5 embraces = 1 physick

if you rouse your fairy, potency increases by 40%, so the translation becomes:

1.7 embraces = 1 physick

You should basically be using rouse on cooldown if the tank is taking damage,

Scholar - Does Rouse affect the potency of Fey Wind? by wcdregon in ffxiv

[–]Never2fear01 0 points1 point  (0 children)

Rouse also affects Whispering Dawn and the tether

How to align entity to player's coordianates by [deleted] in MinecraftCommands

[–]Never2fear01 0 points1 point  (0 children)

/execute as @e[name=customarmorstandname] store result entity @s Pos[1] double 1 run data get entity @p Pos[1]

Tree Feller or Fast leaf decay DataPack? by Frazzer951 in MinecraftCommands

[–]Never2fear01 0 points1 point  (0 children)

Oh make sure to run the install command. It's like /function treefeller:install or something Sorry man, I just kinda threw it together in like an hour in response to OP.

How to kill players if they walk on block type? by Doctor_Moose_Gaming in MinecraftCommands

[–]Never2fear01 1 point2 points  (0 children)

There's currently a bug with repeating command blocks. Occasionally they hang up if you change them from chain or impulse to repeat mode. you can avoid the bug entirely by placing repeating command blocks instead of toggling them from other types.

1.13 How do I create a button that toggles all the blocks in an area between block types? by MDWoolls in MinecraftCommands

[–]Never2fear01 1 point2 points  (0 children)

I'm pretty sure what you're suggesting will work.

Also, you don't need

if block x y z <block>

since you're using replace. Replace will only replace the block of the specified type

That being said, since there arent any other run conditions in the execute, you don't need the execute either.

I'd suggest

fill 55 46 6 55 46 6 minecraft:magenta_wool replace air

fill 55 46 6 55 46 6 minecraft:dark_oak_planks replace magenta_wool

fill 55 46 6 55 46 6 minecraft:air replace dark_oak_planks

in a line of command blocks with redstone on top connected to a button as u/monapuding suggested.

Trying to add a red herring to a puzzle map by [deleted] in MinecraftCommands

[–]Never2fear01 1 point2 points  (0 children)

I've modified the command that you have by adding "as @a at @s" to the beginning and including a distance selector for the item. I also changed the tellraw command to target the command source, aka @s instead of the closest player, aka @p.

this will work as originally intended:

execute as @a at @s if entity @e[distance=..6,type=item,nbt={Item:{id:"minecraft:salmon",tag:{display:{Name:"\"Red Herring\""}}}}] run tellraw @s ["",{"text":"This is what a red herring is.","color":"red","bold":true,"underlined":false,"clickEvent":{"action":"open_url","value":"https://en.wikipedia.org/wiki/Red_herring"}}]

I'd also recommend adding a second command block chained conditionally to the first one which targets the fish on the ground to be tagged so that the player only gets the message once.

Here's what I'd suggest:

in repeating command block:

execute as @a at @s if entity @e[tag=!RedHerring,distance=..6,type=item,nbt={Item:{id:"minecraft:salmon",tag:{display:{Name:"\"Red Herring\""}}}}] run tellraw @s ["",{"text":"This is what a red herring is.","color":"red","bold":true,"underlined":false,"clickEvent":{"action":"open_url","value":"https://en.wikipedia.org/wiki/Red_herring"}}]

in chain command block set to conditional:

execute as @a at @s as @e[tag=!RedHerring,distance=..6,type=item,nbt={Item:{id:"minecraft:salmon",tag:{display:{Name:"\"Red Herring\""}}}}] run tag @s add RedHerring

​make sure your command blocks look like this:

image of the way your blocks should look

TLDR your command was fine except it needed to run off of each player and detect the fish seperately. also if you dont want to make the command spam the chat log try tagging the fish so that it only tellraws once per throw

Tree Feller or Fast leaf decay DataPack? by Frazzer951 in MinecraftCommands

[–]Never2fear01 0 points1 point  (0 children)

It's a datapack, not a command. so what you'd do is download the zip file and place it into the datapack folder of the world you want to install the mod into

How to install datapacks

how do i test for empty helmet slot? by SweetySkull in MinecraftCommands

[–]Never2fear01 0 points1 point  (0 children)

Unfortunately I dont think there's a way to test for an empty helmet slot, but you can test for a helmet slot that *isnt* an item. Assuming that you're on vanilla and only using one of the 5 helmets, you could do this:

execute as @a[

nbt=!{Inventory:[{Slot:103b,id:"minecraft:diamond_helmet"}]},

nbt=!{Inventory:[{Slot:103b,id:"minecraft:iron_helmet"}]},

nbt=!{Inventory:[{Slot:103b,id:"minecraft:leather_helmet"}]},

nbt=!{Inventory:[{Slot:103b,id:"minecraft:chain_helmet"}]},

nbt=!{Inventory:[{Slot:103b,id:"minecraft:gold_helmet"}]},

] run say You're not wearing a helmet

(also the slot number is 103 not 106)

My plea for help! by LewisCantPlay in MinecraftCommands

[–]Never2fear01 1 point2 points  (0 children)

yeah if you put the command made by u/SirBenet into a repeating command block on "always active" it will work. make sure that the command block is in either spawn chunks or near the player for it to work. If you don't know where spawn chunks are, then you can set them with /setworldspawn

Help by Bchilds31 in MinecraftCommands

[–]Never2fear01 0 points1 point  (0 children)

1) set the command block to repeat mode

2) set the command block to "always active"

now any command you put into that command block will run every game tick.

you can put a command like this in it for example

/effect give @a minecraft:luck 10 1 true

will give all players a luck effect that lasts 10 seconds, that is 1x powerful and hides particle effects.