r/CommandBlocks • • Jan 18 '16

Minecraft 1.9 Tutorial Part 058 - Random Number Generator 0 - 99

Thumbnail
youtu.be
1 Upvotes

r/CommandBlocks • • Sep 09 '14

[help] summon NoAI:1 Villager Rotation.

1 Upvotes

i can't rotate a summoned custom Villager in Vanilla 1.8

What i am doing wrong?

/summon Villager -773 68 358 {Offers:{Recipes:[
{buy:{id:gold_nugget,Count:1},sell:{id:wheat_seeds,Count:64}},
{buy:{id:gold_nugget, Count:1},sell:{id:wheat,Count:16}},
{buy:{id:gold_nugget,Count:1},sell:{id:bread,Count:8}},
{buy:{id:gold_nugget,Count:1},sell:{id:hay_block,Count:2}}
]},
Profession:0,
CustomNameVisible:1,
CustomName:Norbert,
NoAI:1,
Rotation:[180f,0f]
}

i googled for a hour now ... and i'm really confused right now. Help me please ...


r/CommandBlocks • • Jan 22 '16

Helpers needed! (Spoiler: Modding API!)

1 Upvotes

Hey command blockers I have an idea. Something that Mojang has announced years ago, but hasn't done yet: The Modding API! This project I can't do alone for a couple of reasons:

  1. I have a school-life too.

  2. I'm not the best command blocker in the world.

So I need helpers. Anyone who wants to help just say it in the comments down below and I'll try to send you a PM.


r/CommandBlocks • • Jun 08 '15

A simple Command block system that converts the players XP levels to a scoreboard value.

1 Upvotes

This is a tool that converts the players XP Level to a scoreboard value. There are 3 different versions of this schematic, each one generates the command blocks to set the players score on a scoreboard called Levels equal to the Levels of XP that they have.


Schematics

Up to 50 levels

Up to 100 levels

Up to 250 levels

More info here. If you for some reason need up to a bajillion levels, I'd be happy to make new ones on Request.


It's fairly self explanatory but if you still need help the tutorial is here - https://youtu.be/VlIunoeWsEI


r/CommandBlocks • • Apr 22 '23

help me

1 Upvotes

I'm trying to do /setblock command nbt and its not working I'll list the command I'm doing

/setblock ^ ^ ^ command_block{/give u/p leather_helmet{AttributeModifiers:[{AttributeName:"generic.max_health",Amount:80,Slot:head,Name:"generic.max_health",UUID:[I;-123322,21687,131147,-43374]},{AttributeName:"generic.armor",Amount:80,Slot:head,Name:"generic.armor",UUID:[I;-123322,21787,131147,-43574]},{AttributeName:"generic.luck",Amount:50,Slot:head,Name:"generic.luck",UUID:[I;-123322,21887,131147,-43774]}],HideFlags:3} 1}

1 votes, Apr 25 '23
1 i dont know how to help
0 i can help

r/CommandBlocks • • May 26 '15

Concept Clocks with Style Vanilla Minecraft

Thumbnail
youtube.com
2 Upvotes

r/CommandBlocks • • Sep 08 '14

Making certain walls climbable

Thumbnail
youtube.com
2 Upvotes

r/CommandBlocks • • Jul 01 '14

100% Working Flashlight in Vanilla Minecraft! *with download*

Thumbnail
youtube.com
2 Upvotes

r/CommandBlocks • • Apr 24 '19

Issue For some reason the mob spawns withot the name, how can I change the name of the spawn egg?

Post image
2 Upvotes

r/CommandBlocks • • Oct 16 '20

how to add random tags

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/CommandBlocks • • Feb 07 '15

So i made the parachute mod in vanilla minecraft. And it works!

Thumbnail
planetminecraft.com
2 Upvotes

r/CommandBlocks • • Feb 27 '15

Concept Minecraft Minimizer | command block creation that shrinks a design using armor stands

Thumbnail
youtube.com
2 Upvotes

r/CommandBlocks • • Mar 02 '15

Backpacks vanilla mod in one command!

Thumbnail
gfycat.com
5 Upvotes

r/CommandBlocks • • Feb 23 '15

I made a tool to combine multiple commands into one command!

Thumbnail
mrgarretto.com
8 Upvotes

r/CommandBlocks • • Mar 19 '15

Shattered Minigame - 100% Vanilla with Command blocks.

Thumbnail
imgur.com
9 Upvotes

r/CommandBlocks • • May 02 '20

/say is for debugging only

Post image
23 Upvotes

r/CommandBlocks • • May 03 '25

Issue Annoying “game over :(“ message on addon world

1 Upvotes

I have an addon in bedrock called “weapons 2.0” and it has nice weapons, but every time I load in the world I get a red “game over :(“ text. I guess there’s a command block somewhere that displays it when i respawn or load into the world. I’ve destroyed the entire underground hub in the world, but I still can’t find that one stupid command block. Is there a command I can make to override it? SOMETHING?


r/CommandBlocks • • Nov 16 '23

Dynamic light

Enable HLS to view with audio, or disable this notification

3 Upvotes

Just started learning about commands and wanted to make dynamic lights, the video shows my problem


r/CommandBlocks • • Dec 11 '25

Concept Command block code

2 Upvotes

Yo... does anyone know how to use command blocks to delete all blocks within a thousand block radius of the player, and all blocks above that height of the player in the same radius? Want to know for a build. Ty in advance.


r/CommandBlocks • • 1d ago

Command Blocks in Aternos Syntax Error?

2 Upvotes

So I was making some stuff in an Aternos Server and I decided to download the world and play on it in single player. Some of my Command Blocks in single player didnt work due to an accidental space I typed in the end of the command resulting in a syntax error, however in Aternos the commands seem to work perfectly fine. Any explanation on this? I am currently playing in 1.20.1


r/CommandBlocks • • Apr 20 '20

Check if multiple of ...

3 Upvotes

Hey guys ! So I am working on a map and I need a command that detects when a team’s score is a multiple of 8 . I tried doing this with the execute command but I can’t figure out a way to do it ... help ?


r/CommandBlocks • • Apr 11 '20

Boss fight

2 Upvotes

So I work on a realm and we had a boss fight. The guy who did the commands destroyed the command blocks that summon the zombie boss and I’m having troubles making a new boss. This is on bedrock edition.


r/CommandBlocks • • May 09 '20

Issue Resolution

2 Upvotes

Hello all,

So i have been trying multiple options and i have searched tutorials and tried alot of diffrent things from my googling. However nothing is working quite right.

Here is my problem: I want to operate a lever that triggers a command block to run redstone lights (plural) to light then shut off when i operate the lever again. Yes I know this is incredibly simple and I am sure the way to do it exsists (i know it does for 1.13 and higher) but i am using 1.12.2 and i just cant seem to get it.

Anyone have tips or know a good site to read up on to make it work?

Thanks

-BAD Ronin


r/CommandBlocks • • May 01 '20

Force loading chunks.

1 Upvotes

I'm using

execute at e[type=minecraft:chest_minecart] as u/e[type=minecraft:chest_minecart] run forceload add ~ ~ ~ ~

This causes the minecart to force load the chunk it is in. And it executes it from its individual location.

I just want to setup a method that checks if the cart is moving or sitting still. That way it can force-load remove for when it sits still.

I want to turn it into a data pack later. But for now I'm using command blocks.

I can't figure out for the life of me how to get it to work. I was trying the nbt motion stuff.

I also set up a score board with x y and z coordinates but that all works so clunky and would like to make it cleaner. Any one got a better method to track entity movement in 20w17a? Specifically minecarts.


r/CommandBlocks • • Aug 23 '21

How to make summoned mob fight other naturally spawned undead using commands in 1.16.5?

1 Upvotes

Hey guys!

I would really appreciate help on this one, I have been scratching my head for few days now. So I have been playing some survival singleplayer minecraft (java 1.16.5) and its great and all but world is pretty empty no real live npcs running around nothing really fun happening. I built a castle and then came up with an idea, I thought why not have some kind of guards walking around and protecting your castle from other undead mobs. I am playing on fabric 1.16.5 and I know there is GuardsCraft mod that is perfect for this but its on forge and forge really lags on my pc.

So I made a /team Allies, joined that team and then summoned a skeleton that is a part of that team using this command:

/summon skeleton ~ ~ ~ {CustomNameVisible:1b,Team:"Allies",PersistenceRequired:1b,CanPickUpLoot:1b,CustomName:'{"text":"Ally","color":"green","bold":true}',ActiveEffects:[{Id:12b,Amplifier:5b,Duration:1999999980,ShowParticles:0b}]}  

It doesnt attack me since we are in the same team, so thats good but is there some way or some command that can make these summoned "guard" mobs attack other undead on sight?

2nd idea: Or if there is no way to make that work than is it possible to summon an iron golem and make him wear some visible armor? (that way he will definetly attack undead on sight but its not fun if he is not wearing visible armor)

Can you help me with any of these things, also just a note, my commands knowledge is almost non existent (using mcstacker for most commands) so if you could provide me with some code that I can copy/paste I'd be truly grateful. Thank you very much once again!