Skip to main content

Questions tagged [minecraft-commands]

Anything related to the usage of commands, command blocks, and functions in the Minecraft game series. Always use this tag together with the [minecraft-java-edition], [minecraft-bedrock-edition], or [minecraft-education-edition] tag. Include details about the issue you're having (e.g. commands, error messages, screenshots, etc) and what you've tried so far to solve it. If you're building a redstone device without commands, use [minecraft-redstone] instead.

1 vote
1 answer
51 views

I want to do /effect for only one player in a quick PvP arena duel on bedrock, with command blocks but it only works when I use @a and not @s or @p. The commands I’m running are /effect @s ...
user418854's user avatar
2 votes
1 answer
66 views

I am trying to have pre-written books on chest via loot tables in Minecraft version 1.20.1. It is possible to do so by setting an NBT tag to the minecraft:written_book, but what I came understanding ...
ActionBotYT's user avatar
3 votes
1 answer
93 views

I am trying to build a simple command block script to build a starter house. Mostly as a learning exercise for commands. The biggest frustration so far is the lack of any kind of variable. I have to ...
danielson317's user avatar
-1 votes
1 answer
141 views

What would the command to clear a curse of binding pumpkin be from a specific player's head? I need this because I have one on me and the server owner is never on, and he doesn't trust me so he won't ...
user425446's user avatar
1 vote
1 answer
103 views

I have been trying to make a command to use in a minecart with a furnace. The idea was for it to play the sound of a piston and at the same time generate smoke particles, but only when it's moving. I ...
Joseccraft's user avatar
2 votes
1 answer
42 views

What I'm trying to do is after there are no people left with the, let’s say “Alive” tag left, the command block will output a command. How do I do this?
Anthony Dankha's user avatar
2 votes
1 answer
50 views

I am working on a datapack with custom items, one of which summons aggressive wolves to fight for the player. The summoning works without problems but I cannot get the wolves to be aggressive towards ...
radical_radiodont's user avatar
1 vote
1 answer
111 views

Testing whether a chest contains any iron ingots (for example) is simple. However, I haven't been able to find/figure out how to automatically apply the test to all chests within a particular area or ...
RoUS's user avatar
  • 193
0 votes
1 answer
294 views

I learned that one could make any shapes with the //gen command with WorldEdit. I learned that one needs to know the formula to make said shapes. I'm currently trying to figure out how to make a ...
Vaikus Games's user avatar
4 votes
1 answer
64 views

I created a scoreboard objective of Shrines (with the dummy criteria). I then created a tagged wisdom scroll with the tag of "Score_Scroll". I'm making a datapack but I can't seem to get it ...
Rin's user avatar
  • 41
1 vote
1 answer
82 views

Me and some friends are in a server, and I want to have a maze where arrows are constantly raining down, maybe every half a second on all the blocks. I don't want to use dozens of command blocks for ...
Cole Riddle's user avatar
4 votes
2 answers
304 views

I want to compute the logarithm of a given stored score and output it in another score, for example input@my_objective -> output@my_objective. Usually scores are treated as integers, so the ...
NODO55's user avatar
  • 930
3 votes
1 answer
149 views

I'm on a mission to convert all the command blocks in my Java 1.21.8 server to datapacks instead. I had a region where I was stopping sound in a repeating unconditional always on command block, with ...
Ibrennan208's user avatar
1 vote
1 answer
98 views

So I'm playing in Minecraft Java Edition (1.20.4) and made a setup with command blocks that gives items and effects when a player steps on a pressure plate. Everything works fine when I'm in Creative ...
explosivebazooka's user avatar
2 votes
1 answer
138 views

I'm trying to create a custom mob (like a zombie or armor stand with a tag) that always targets the nearest player as if it were aggressive — but without using mods or external tools. What I want is: ...
explosivebazooka's user avatar

15 30 50 per page
1
2 3 4 5
349