Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 90489

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.

2 votes
Accepted

How to setblock snow_layer only if block below is a full-block?

Simple method Run the following 2 commands sequentially in 1 tick: /execute @p ~ ~ ~ setblock ~ ~ ~ snow_layer 0 keep /execute @p ~ ~ ~ detect ~ ~ ~ snow_layer 0 clone ~ ~1 ~ ~ ~1 ~ ~ ~1 ~ repla …
Q20's user avatar
  • 1,042
7 votes
2 answers
4k views

How can one fill an area in checkered pattern?

Is there a way to fill certain area(2d or 3d) in checkered pattern, using commands(/fill, /clone, etc) and vanilla mechanics? The number of commands must remain constant regardless of the number of b …
Q20's user avatar
  • 1,042
1 vote

How can I detect if a player has a specific item with a specific datavalue in their inventory?

You can detect item without actually clearing using /clear command. Syntax for /clear command is following : /clear [player] [item] [data] [maxCount] [dataTag] If you set maxCount to 0, command wil …
Q20's user avatar
  • 1,042
1 vote
Accepted

Display armor as an item in head slot

You can apply different transformations to the model of any item based on its position by using display tag. From Minecraft Wiki: display: Holds the different places where item models are displayed. …
Q20's user avatar
  • 1,042