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 79308

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.

3 votes

How can I make a mob in which players can punch blocks through?

Due to the way Minecraft handles raytracing/hit detection this is not possible. In the code, it checks both to see if you are facing a block within hit range, and it finds all entities within hit rang …
Shadowtrot's user avatar
1 vote

How to spawn a named, enchanted, unbreakable sword?

The "Unbreakable" tag is a completely seperate tag from enchantments and belongs in the sword's root json node (inside only the outer set of curly braces). This is not the only problem with your comma …
Shadowtrot's user avatar
0 votes

Detect if player clicks with item such as stick or blaze rod?

The closest you could get would be the useItem statistic, but this only works for items that have a valid "use" action such as tools, weapons, placeable items/blocks, etc. Scoreboards is not currently …
Shadowtrot's user avatar