Search Results
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 |
A 3D exploration and survival sandbox game, based in large generated worlds made of blocks. This tag is for the Java-based edition of Minecraft for PCs. For other editions of the game, please use the tag specific to that edition, e.g. [minecraft-bedrock-edition]
5
votes
1
answer
139
views
What exactly does "/scoreboard @a <obj1> = @a <obj2>" do?
I'm developing a multiplayer minigame, but haven't been able to get any of my friends to help me on testing yet. I need to set EVERY players internalCash score to their cash score, but cannot use /exe …
3
votes
Accepted
How can one fill an area in checkered pattern?
Just use MCEdit
That'll be way easier for you.
Vanilla way (a lot of work)
You could fill with any pattern by using a scoreboard counter (fake player + dummy objective, decrement to count, check …
1
vote
Detect broken blocks that don't drop items
It might be laggy, but you could try execute, clone, and testforblocks to detect changes in the player's environment.
1
vote
Is it possible to remove status effects icons on top screen corner? [1.9]
In the latest versions, effects with showParticles = false don't show up in the hud.
1
vote
How can I make that when a team gets a specific amount of kills the player wins?
If each player has individual scores, the first step would be to add them all up into one cohesive team score. One way to do this would be to use a fake player for each team.
Setup:
/scoreboard ob …
0
votes
Accepted
How to change scoreboard score if player does not have item in his inventory?
You could use set all players' execute score to 1:
/scoreboard players set @a execute 1
Then you could set the score of everyone whom has the item back to 0:
/scoreboard players set @a execute 0 { …
3
votes
Primed TNT on summoned mobs
You can't ignite the TNT in the Zombie's head slot, but you can use the Passengers tag to summon the Zombie with PrimedTnt riding it.
Example:
/summon Zombie ~ ~ ~5 {Passengers:[{id:"PrimedTnt", t …
0
votes
Accepted
Is there a way to give a command a time delay?
You can use scoreboard values and dummy variables.
Example
Setup:
/scoreboard objectives add Timer dummy
Run every tick for each individual command:
/scoreboard players remove cmd1 Timer 1
/scor …
2
votes
Accepted
Summon on rounded coordinates
Item frames are entities you can /summon which snap to the coordinate plane. You could summon an ItemFrame with a tag or give it a scoreboard value/special name and summon the armorstand from that lat …
1
vote
Minecraft testforblock command problem
Saplings use the Damage tag to store their type. Dark Oak's value is 5 and Damage is a short type, hence the s.
This command should test for a dark oak sapling in the chest.
/testforblock -565 18 -1 …
0
votes
How can I test to see if a player is NOT in a boat?
For players:
/scoreboard players tag @a add inboat {RootVehicle:{id:"Boat"}}
will add the "inboat" tag to all players in a boat.
You can then execute commands on players not in boats using the @a[t …
4
votes
2
answers
271
views
Impossible Architecture in Minecraft (multiplayer compatible)
I was writing on a map a while back, and wanted to create something similar to the "too many turns" effect from The Stanley Parable: HD Remix (Walk to a corridor, turn left 3 times and come out on the …
2
votes
Implementing Minecraft Banner Text Parsing
You can use the /stats or check the CommandStats datatag of the ArmorStand. I highly recommend use of the /stats command.
Extract the result:
Run these commands once
Note: Anything suffixed with a "_v …
1
vote
How can I make players share damage using command blocks?
You should use a dummy variable and target selector arguments.
Run once
Have a dummy score, call it healthDif.
/scoreboard objectives add healthDif dummy
Run every tick, in order
Set each players hea …
0
votes
How to test for the entity closest to the player?
In the future, I recommend checking the wiki before posting a question here.
This is entirely possible using the execute command and target selector variables and arguments.
Executing commands at the …