I am making an adventure world that is players versus monsters. I understand adventure mode doesn't allow players to break blocks, but not monsters. I would like to keep creepers, but it seems to do this I would have to build every thing out of obsidian and bedrock so the creeper explosions don't ruin my paths and rooms! So, what command might be used to make every block in the world unbreakable instead?
88554
Please note that these are NOT acceptable solutions:   Completely disabling monsters (peaceful mode) Completely removing creepers Completely disabling explosions (TNT + Creepers) Disabling creeper explosions   More exactly, I want the creepers to be able to spawn and explode, but without doing their terrain damage (they should still be doing health damage to the players).  I'm fine with the use of mods but I'd prefer a built-in solution if possible.
95742
Hi after following this  I was able to create multiple blocks. But I have couple of issues.   Blocks are not created instantly need to clear cache but cant find a way to do it instantly (solution might be clearing block cache but how ?). I need to assign region to the block while creating itself but cant do so . I want to have x content for x block id and y content for y block id cant write a filter condition as I cant get block id of the blocks.   Basically I want to achieve all the D7 module's functionality in D8.  If anyone have an idea please help me.
101539
When a player joins the server, this command block (containing gamemode 2 @a) puts them into gamemode 2/adventure mode. How can I change this so that only non-admin/not "opped" players' gamemode gets changed?
106579
I am working on a map that I want to test if a player breaks a spawner. Then it gives the player a spawner, and maybe some XP. I want to use a scoreboard command, but /scoreboard objectives add SB stat.mineBlock.minecraft.mob_spawner doesn't work even though the spawner ID is mob_spawner. What is the correct way to write this?  (Forgot: I need it to be any spawner, natural or placed :P )
73740
I have just created a Minecraft 1.13.1 server and was wondering if there was any way to give everyone the teleport command even if they are not op. If not, is there a way that I could make them op but only have access to the teleport command?
1938
Are you looking for how to use /setblock with blocks with data? See .  How do I get a block with data in my inventory so I can place it myself? In Java Edition, these commands work: give @s chest{BlockEntityTag:{Items:[{id:&quot;diamond&quot;,count:10b}]}} give @s sign{BlockEntityTag:{Text1:&quot;{\&quot;text\&quot;:\&quot;foo\&quot;,\&quot;bold\&quot;:true}&quot;}}  How can I do this in Bedrock Edition, where there is no access to NBT tags from commands?
16596
I am looking to try and set multiple commands in a single command block, but so far everything I have tried just returns "Unknown Command".  What is the format for writing multiple commands in a single command block in Minecraft 1.8?  Can I use either of the following:  Command:(command here) Command:(command here)     /command here; /command here;   Or is there another format?
67771
So i'm trying to do different kinds of pickaxes and axes, and I don't now a way to change the blocks that a pickaxe can break. Like how do i to make a diamond pickaxe break bedrock. if possible teach how to do it on 1.16.1. I found that command... /give @s minecraft:diamond_pickaxe 1 0 {&quot;minecraft:can_destroy&quot;:{&quot;blocks&quot;:[&quot;bedrock&quot;]}} ...But it isn't for 1.16.1
34543
I made a server and me and one of my friends want to do a prank on another friend, because he stole all my enchanted diamond armor.  The Prank  I want to set a player's spawn point in a pit of lava, how would I do this without affecting anyone else's spawn point?
76154
In Minecraft survival mode, there are dungeon rooms with mob spawning machines, mossy cobblestones and special treasures.  What's the best way to find those?  I found one the other day and have been looking for more because it was great fun to beat, might be fun to farm, and had awesome special prizes.
20710
I am working on a game that uses commands in such a way that players disconnecting then reconnecting could break the commands. I was wondering if there is a way to detect when players join the game in 1.13.2 and run a command to give them an item. When I researched this, I found solutions for older versions using /testfor or stat.leaveGame, but those seem to be outdated in 1.13. If someone could show me the commands to use as well as the layout for command blocks/redstone that would be great. It can be for the second time they join only, or for all times that they do. Thanks
34676
I am trying to do a Minecraft-like game (like every one have already tried I guess) and i went across the problem i expected: lag with world Generation. I did lot of searching but i can  I tried to combine them into a bigger mesh, which work, but not i can destroy a single block. So how can I place/destroy chunked (mesh combined) block? If i cant, can someone clearly explain me a solution (i am not fluent in english nor with programming expressions, i can code tho) and how to do it (with a script example if possible :) ) ? Thanks in advance !  I generated my world using 2D perlin noise. Once i have the blocks, i split them into 16x16x100 chunk meshes.  Before Making chunks, i first tried to combine all of them into one block (using the unity manual), but the result is only one cube placed at 0,0,0. Where are all the other cubes ?  using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class ThisWorldGen : MonoBehaviour {  public GameObject blockPrefab; public GameObject grass; public GameObject dirt; public GameObject rock; private string[] blockTag;  private GameObject stockin;   public int amp; public int freq; private Vector3 mypos; [SerializeField] private Material material; private Vector3 blockLocations;  public List&lt;MeshFilter&gt; meshes = new List&lt;MeshFilter&gt;();  void Start() {     Generate(); }  void Generate() {     amp = Random.Range(0,100);     freq = Random.Range(30,100);     mypos = this.transform.position;     int cols = 100;     int rows = 100;     float startTime = Time.realtimeSinceStartup;         #region Create Mesh Data     MeshFilter blockMeshes = Instantiate(blockPrefab, Vector3.zero, Quaternion.identity).GetComponent&lt;MeshFilter&gt;();      for(int x = 0; x &lt; cols;x++)     {         for(int z = 0; z &lt; rows;z++)         {              float y = Mathf.PerlinNoise ((mypos.x + x) / freq,(mypos.z + z)/freq) * amp;             y = Mathf.Floor(y);             for(float hy = y; y &gt; 0.0F; y -= 1.0F)             {                            blockMeshes.transform.position = new Vector3(mypos.x + x,y,mypos.z +z);//move the unit cube to the intended position                 meshes.Add(blockMeshes);                     }         }     }     int i = 0;     MeshFilter[] listMeshes = new MeshFilter[meshes.Count];     foreach(MeshFilter cubesToAdd in meshes)     {                            listMeshes[i] = cubesToAdd;         i++;     }     CombineInstance[] combine = new CombineInstance[listMeshes.Length];     int w = 0;     while(w &lt; listMeshes.Length)     {            combine[w].mesh = listMeshes[w].sharedMesh;         combine[w].transform = listMeshes[w].transform.localToWorldMatrix;         listMeshes[w].gameObject.SetActive(false);         w++;     }     Debug.Log (combine.Length);     transform.GetComponent&lt;MeshFilter&gt;().mesh = new Mesh();     transform.GetComponent&lt;MeshFilter&gt;().mesh.CombineMeshes(combine);     transform.gameObject.SetActive(true);     #endregion     Debug.Log("Loaded in " + (Time.realtimeSinceStartup - startTime) + " Seconds."); } }   (the world was generating randomly and perfectly before trying to merge the meshes)
73770
So, I'm trying to make a gravity gun type thing in Minecraft. What I have so far is as follows. A command block which is always powered and has the command: /enchant @p sharpness 2  (it detects when you hold a sword). And a command block which would be the output that has execute @p ~ ~ ~ tp @e[type=villager] ^ ^ ^5 facing ^ ^ ^  Any help? I just need a command that detects if you look at a villager.
108381
I like the /gamerule command, but how would I make it so only zombies or ghasts don't spawn? Ghasts are really annoying... I'm sure you understand.
59385
I am running a Minecraft 1.9 server. I have built a hub and I want to protect it with  but WorldGuard latest version only support Minecraft 1.8.1. I have tried to use the latest version of WorldGuard but it doesn't work.  and EssentialProtect also didn't work for 1.9. So, is there anyway or any plugin can prevent player from greifing certain part of my world?
121622
Up until Minecraft 1.7.10 I enjoyed playing in adventure mode, which restricts one to use the right tools to destroy or harvest blocks (to have a more realistic experience).  In this version (and before that), it was still possible to place blocks without much restrictions. But now in 1.8, sadly, I discovered that this behaviour was changed, and my favourite gamemode was "gone": I'm unable to place any blocks and cannot break any blocks even when using the proper tool (axe for trees etc.).  How can I emulate 1.7.10's adventure mode while playing the new version (1.8)? Can I define rules for every tool with the command block somehow?  (PS: i would prefer a solution without modding the game, staying with pure vanilla MC if possible)
52395
Normal blocks I can mine fine, but when it comes to diamond and gold ores, the block just gets "destroyed" (as in you can't pick it up). I'm playing on multiplayer with no spawning monsters.