Skip to main content

Questions tagged [minecraft-commands]

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.

0 votes
1 answer
57 views

Minecraft obfuscated text

I see people always using obfuscated text in Minecraft servers and I do not know how, /tellraw and other commands don't work since I am not an admin in most servers, I've seen people who aren't admins ...
bean - la bean's user avatar
0 votes
0 answers
29 views

How do I fix this raycasting code issue in Minecraft 1.21.5?

I’ve been using a raycasting datapack from this TimberForge video, which sets up a gun-like system using raycasting in Minecraft. It’s been my go-to setup for a while now, but after updating to ...
Jackson_itb's user avatar
3 votes
3 answers
126 views

What is the most efficient way to build complex structures in Minecraft using commands?

I'm trying to use Minecraft commands to automate the process of building a house. Ideally, the house would include walls, a floor, and a roof, all created with minimal effort. I'm exploring options to ...
ZOMBIE_JERKY's user avatar
-1 votes
1 answer
42 views

Minecraft command block finding [duplicate]

I placed a repeating command block and entered in the command /kill @e and I started it after that. I didn't left the game for long and when I returned to the game I forgot where I put the command ...
Zxwayz1x's user avatar
1 vote
2 answers
55 views

In Minecraft, can a custom enchantment deal variable damage based on a player's score?

I'm creating a datapack which has custom enchantments, some of which deal damage that increases based on a scoreboard objective. Is there a way for an enchantment to deal an amount of damage that ...
Harth's user avatar
  • 309
0 votes
0 answers
27 views

How do I make a block the player is specifically targeting, but with commands like /setblock?

How do I make a block the player is specifically targeting, but with commands like /setblock? In Minecraft Bedrock, I'm in the process of making something like a mod and I want to make an item that ...
Layla Sanders Pretzel's user avatar
1 vote
1 answer
40 views

Is there a command to clear your inventory of a specific item?

I am trying to make it so I get a fire charge every 5 seconds, but a second before I get the fire charge I want all fire charges to be cleared from my inventory. I know how to give myself the fire ...
Liam's user avatar
  • 77
1 vote
0 answers
42 views

Right click to throw fireball with carrot on a stick

In Bedrock edition, is it possible to right click a carrot on a stick, and it launches a fireball? I saw a command for that here, but that's for Java edition, not Bedrock edition.
Liam's user avatar
  • 77
0 votes
0 answers
41 views

In Minecraft, is it possible to change the type of damage dealt by a melee weapon with a datapack?

I'm creating a datapack in which I'd like to create weapons that deal damage types other than minecraft:player_attack when melee attacking. I'm already aware of different damage types with ...
Harth's user avatar
  • 309
0 votes
1 answer
58 views

How do I reset the players' deathCount?

How do I reset the players' deathCount? I am making a Hunger Games-like thing and want to make the player go into spectator mode when they die. I already know how to, but then you're stuck because you ...
user379724's user avatar
-1 votes
1 answer
73 views

Water damage in Minecraft

Is it possible to make it so that when a specific player goes into water, they take damage while they are in the water? I have been trying to look for a command for that, but I haven’t found any.
Liam's user avatar
  • 77
2 votes
2 answers
122 views

Is it possible to make it so that when a specific player goes in water, they get an effect?

On Minecraft Bedrock Edition, is it possible to make it so that when a specific player goes in water, they get an effect? I am trying to make it so that when someone goes in water, they will get ...
Liam's user avatar
  • 77
-1 votes
2 answers
52 views

How to write text in different colors in tellraw?

Why doesn't this code work? tellraw @p { "text":"You see","color":"green", "text":" Black","color":"red", &...
Kas's user avatar
  • 9
0 votes
0 answers
26 views

Not displayed Lore in the recipe

I'm creating a datapack, I need to create a recipe for an item, that is, when creating it, I should get a fart with tags, name and description, but everything is working except LORE, I've tried ...
DEAD OUTSIDE's user avatar
0 votes
0 answers
31 views

Cannot use clone command without "outside of world" error

I am trying to clone a steampunk ship build in Minecraft Bedrock Edition. It's pretty big, but I feel it should be doable. My command is /clone 816 106 1931 733 161 1885 682 147 1600. I tried maxing ...
Minecraftmime's user avatar

15 30 50 per page
1
2 3 4 5
347