New answers tagged minecraft-java-edition
3
votes
Find coordinates to the last place you died
In Survival, you can use a Recovery compass. If you don't have one yet, try not to die to the Warden while trying to obtain it…
In player NBT, the field LastDeathLocation contains the last death ...
1
vote
How do you get multiple points on a minecraft scoreboard when you kill someone?
Your best bet would be to check whether their kill count has changed, then add accordingly. You can do this by creating a scoreboard of type dummy (we'll call it "oldKills") that you'll ...
1
vote
How to make slime block not bouncy?
You can easily do that with falling block and barrier block:
/summon falling_block "cordinates of slime block" {BlockState:{Name:slime_block},NoGravity:1b,Time:-999999999}
Before executing ...
1
vote
How can I test if a player is touching a cobweb at all?
You can detect when a player is touching a cobweb with advancements using the minecraft:enter_block requirement. Here is an example advancement file that executes the function example:touched_cobweb ...
1
vote
Accepted
What's the easiest way to find an Ancient City?
There are many ways that you can find an Ancient City!
You can:
Mine and look under these mountain biomes (Ancient Cities will always have a chance of generating under these biomes).
Look for caves ...
1
vote
Is it possible to sort non-stackable items in minecraft?
You can actually sort unstackable items using a design using allays by silentwhisperer. I’m not sure if he created it, but that’s where I saw it first. It works in Bedrock, and I think it works in ...
1
vote
How to use run_function in a tellraw command?
The correct syntax:
/tellraw @a [{"text": "test","clickEvent":{"action":"run_command","value":"function tutorial:test"}}]
1
vote
Accepted
How can I easily see powdered snow?
Yes
There is an easy way to identify powdered snow. Snow layers won't be on top of powdered snow when the world is first generating, but just about every snow block will have a snow layer block on top ...
2
votes
How do I automatically empty a barrel when it is full?
This circuit does what you need. The two droppers below face into each other, with a single item between the two, serving as RS Latch; if the item is in the right dropper, the hopper is unlocked and ...
0
votes
Output redstone single for first empty barrel
If you mean first as in the first one to get emptied (regardless of position), the multi-input NOR is the answer:
Tiles up to 16 with output anywhere, up to 31 with output in the middle. More will ...
0
votes
Is there a way to get back items after /clear command
For what its worth: using a Minecraft Forge Server on 1.20.1 of the game, I found that it saves a .dat_old file in the world folder under the playerdata subfolder. Renaming the original .dat file for ...
1
vote
Accepted
OptiFine Cape Custom Color Background?
No
OptiFine doesn't support RGB color values for banner capes; you can only use the Minecraft dye colors provided.
It is technically true for regular OF capes, but only with a color picker.
3
votes
Why is the fishing rod so helpful for PvP in old combat?
If you do not completely understand what Corsaka said, an easier (and less technical) way to think about it is that more forward momentum gives you more reach and less forward momentum gives you less ...
0
votes
How do I make an item change colours in Minecraft with only one texture?
Unfortunately, the only thing with color change using NBT is leather armor. This can be changed using an item_modifier using the set NBT property. Otherwise, you will need to use OptiFine or some ...
0
votes
Tick.mcfunction file spontaneously gets disabled. How to fix?
To build on what LostXOR said in the comments, Minecraft mcfunction files simply do not load when there are any syntax errors. I believe you can configure the launcher to use the debug terminal. This ...
1
vote
Why can't I detect entity effects with /execute?
Apparently, Minecraft 1.20 (what I tested it on) changed the id from numbers to strings (I haven't properly tested it. But I checked the player NBT via /data get entity @s and it should work).
execute ...
1
vote
How do I set up a scoreboard to measure how many times a player has killed any passive mob?
Unfortunately, this is going to be pretty tedious.
Like you mentioned, there is no scoreboard to track passive mobs. This is what I would do
###################
# load.mcfunction #
###################
...
0
votes
How to get a spawner that spawns experience bottles?
I did a little testing in a creative world, and a little research and I found something that works.
This is the give command that spawned XP orbs consistently
/give @s spawner{BlockEntityTag:{...
1
vote
Minecraft (1.13+) - Get Player By UUID using commands
This is a tricky thing. Simply due to the fact we cannot compare NBT tag values directly. However, if we store the first chunk UUID of a player in a scoreboard...
execute as @a[scores={uuid=0}] store ...
5
votes
Is there a plug-in to give command blocks level 4?
For datapacks, you can set function-permission-level in server.properties on a dedicated server. For Singleplayer or command blocks, there is no way.
3
votes
How to install minecraft 1.21 snapshot?
23w43a and 23w44a are snapshots for 1.20.3. There currently are no snapshots for the actual 1.21 version.
1.21 features (such as the Copper Bulb) can be accessed in these versions by enabling the 1.21 ...
0
votes
How can you instantly get armor, an iron sword, a bow and arrows?
You can use the /item command to put items inside of player inventory slots and mobs. (You can replace @p with a username or @e[type=minecraft:<mob>] and @e[name=<mob name>] for an entity)....
Top 50 recent answers are included
Related Tags
minecraft-java-edition × 13382minecraft-commands × 4414
minecraft-java-edition-server × 950
minecraft-redstone × 573
technical-issues × 510
minecraft-mods × 355
minecraft-feed-the-beast × 328
minecraft-bukkit × 236
mods × 227
minecraft-data-packs × 147
minecraft-launcher × 144
minecraft-bedrock-edition × 133
macos × 97
minecraft-resource-packs × 96
minecraft-forge × 93
hosting × 85
minecraft-tekkit × 71
pc × 64
minecraft-spigot × 60
linux × 57
server-administration × 55
networking × 53
performance × 53
minecraft-buildcraft × 47
minecraft-worldedit × 45