New answers tagged

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 ...
Fabian Röling's user avatar
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 ...
0xEARTH's user avatar
  • 996
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 ...
Patrykyj's user avatar
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 ...
LostXOR's user avatar
  • 339
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 ...
TimMcYeah's user avatar
  • 800
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 ...
Titan Fearless's user avatar
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"}}]
Semlan Bakelsen's user avatar
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 ...
TimMcYeah's user avatar
  • 800
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 ...
SF.'s user avatar
  • 17.8k
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 ...
SF.'s user avatar
  • 17.8k
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 ...
schnejj's user avatar
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.
TimMcYeah's user avatar
  • 800
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 ...
Isaac Egan's user avatar
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 ...
TheEngineerGuy's user avatar
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 ...
TheEngineerGuy's user avatar
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 ...
TheEngineerGuy's user avatar
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 # ################### ...
TheEngineerGuy's user avatar
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:{...
TheEngineerGuy's user avatar
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 ...
TheEngineerGuy's user avatar
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.
Fabian Röling's user avatar
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 ...
Hipposgrumm's user avatar
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)....
TimMcYeah's user avatar
  • 800

Top 50 recent answers are included