Hot answers tagged

7

Mine the Rail underneath the horse in the minecart. (So that it won't move.) Put your cursor in position so that it is in the lower part of the minecart. Mine away!


6

You could try to take a look at BungeeCord. It acts as a proxy between the player's client and the connected Minecraft servers. [..] free, easy, and reliable way to connect multiple Minecraft servers together BungeeCord latest build


4

You can use CommandStats to simulate an OR gate while reducing the amount of required command blocks (since you'd essentially be running two commands for the price of one). Prerequisites Objective to hold the CommandStats result. /scoreboard objectives add Condition dummy Single armor stand to summon, which could also be used for other chains that needs ...


4

Unfortunately there is not currently a way to limit the CanDestroy or CanPlace NBT Tags to the Damage Value of a block. For example: "minecraft:planks" for all wooden planks works, but Minecraft sees the string "minecraft:planks 0" as an error. This is what is causing the "missigno" error. If there is an error in the formatting of a datatag, i.e. string ...


4

1. CommandStats Using CommandStats allows you to detect the number of specific items in a player's inventory no matter how they are arranged. This both allows you to accurately provide arrows until they reach exactly 64 as well as remove arrows if they have more than 64. Prerequisites Objective to hold the number of relevant items. /scoreboard objectives ...


3

As of 1.9, armor is now an attribute, named generic.armor. When the AttributeModifiers tag is specified on an item, any default modifiers are ignored, which includes the generic.armor modifier for armor (and generic.armorToughness for diamond armor as well). You will need to re-specify those modifiers. You may also want to use the new Slot string tag for ...


3

Simply put the following commands in a repeat/chain command block line: /scoreboard players tag @a[tag=arrows] remove arrows /scoreboard players tag @a[tag=!arrows] add arrows {Inventory:[{id:minecraft:arrow,Count:63}]} /give @a[tag=arrows] minecraft:arrow Note that you must start off with either 63 or 64 arrows for this command to work.


3

Summen the villager like that (He will be in "god mode" and will not move) /summon Villager ~ ~1 ~ {CustomName:"Eliza",CustomNameVisible:1,Profession:0,Invulnerable:1,NoAI:1} To teleport the villager to the Player put this cmd into an repeating cmd block /tp @e[name=Eliza,type=Villager] @p The problem is, that the villeger is exactly in the player. To ...


3

It is not possible to clear the player's chat using commands. However, you could dump a large amount of newlines (~100) using /tellraw, which will clear their current history but will retain the newlines. /tellraw @a ...


3

If you place the mushroom on Mycelium, the light rules do not apply. From the docs: Mushrooms can remain on mycelium blocks in any light level, unlike the situation on other blocks, where mushrooms are broken (dropping as items) during block updates in high light. If you are making a downloadable map, and you don't like the look of Mycelium, you could ...


3

Yes You can use the following two commands in command blocks to cause all creepers and TNT blocks to explode immediately: /entitydata @e[type=PrimedTnt] {Fuse:0} /entitydata @e[type=Creeper] {Fuse:1} Note that the value of the Fuse tag is set to 1 for the Creeper. This is because if it is set to 0, then the Creeper will explode immediately whether or not ...


3

You can use external editors like mcedit to find out where you went and you will find the coords of your home fast. You can go to the map in mcedit by pressing tab. The the explored chunks load. Take the coordinates of your home and tp in minecraft


3

Due to the way blocks work in Minecraft (being singletons rather than separate instances like entities), there's no easy way to do this. Do you know approximately the coordinates? Because the more you can narrow down the search area, the easier it'll be to find.


3

If you want to get a little more complicated, you could use a Not Gate. In a nutshell, a not gate is a logic gate which inverts a signal. Basically, if your lever is outputting a redstone signal, the not gate will not out put the signal.If a lever is in an off state, the not gate will out put a signal, achieving what you are asking. A not gate is very ...


3

Here is decompiled source code snippet for minecraft 1.8.8 avaliable through Mod Coder Pack: int i = this.getMaxItemUseDuration(stack) - timeLeft; float f = (float)i / 20.0F; f = (f * f + f * 2.0F) / 3.0F; if ((double)f < 0.1D) { return; } if (f > 1.0F) { f = 1.0F; } EntityArrow entityarrow = new EntityArrow(worldIn, playerIn, f * ...


2

Similar to Unionhawk's comment: you should run three commands one after the other: Do gamerule mobGriefing = false** 1 tick delay Summon Creeper fuse 0 at Tnt 3 ticks delay Do gamerule mobgriering = true


2

One way is to create an old-fashioned /setblock clock to trigger a new line of command blocks. We need 4 lines of command blocks for this: Two (or more) for checking conditions One for running our commands One line for the reset In the following, X Y Z are the coordinates of a block next to the main command line's first command block. The reset line ...


2

There are two types of furnaces: furnace (furnace turned off) lit_furnace (Furnace when burning something) The data Value has to be -1 or the actual rotation of the furnace (-1 means it does not matter). So change your command to: /testforblock x y z minecraft:lit_furnace -1 The output slot is 2b and iron is called iron_ingot: /testforblock x y z ...


2

The BlockEntityTag compound holds potential tile data for the item's tile entity variant. For example, the following provides a chest that has 1 stone in the first slot of the chest when placed: /give @p minecraft:chest 1 0 {BlockEntityTag:{Items:[{id:"minecraft:stone",Count:1b,Slot:0b}]}}


2

Using the CustomName tag this can be achieved. /summon Item ~ ~2 ~ {Item:{id:minecraft:bow,Count:1},CustomName:"Bow",CustomNameVisible:1,Age:-32768,PickupDelay:32767} This is very simple, only thing is the text is there permanently, not only when you look at it.


2

I tried using a macro on my mouse: When I start it, it presses the right button for 0.1 seconds, releases, then 0.2, 0.3 … 2.5 So I aim my bow at ~45 degrees and run the macro. The result is that the first 11 arrows in the ground are away from each other, and all the other arrows are in a cluster. That is, at 1100 milliseconds drawback time the bow isn't ...


2

Chests use an Items list to store their items. Lists surround their data with square brackets, and the data stored in this case are compounds (which surrounds data with curly brackets). /testforblock 7652 62 744 minecraft:chest -1 {Items:[{id:minecraft:apple,tag:{display:{Lore:["InnKeeper Apple"]}}}]}


1

Set a command block to (clock) testfor @e[type=arrow,r=radiusInBlocks] then have a comparator going out of it connecting to two command blocks (needs redstone) with give player minecraft:arrow and after some delay... kill @e[type=arrow] Then if you start with 64 arrows, you shoot one, you gain one! :D


1

If you are on a server or modded world, you can use worldedit. "//biome" with worldedit when you do, "//biome" all other articles will be explained.


1

Use BugeeCord to create a server network. This is very complicated. Some guides: https://www.spigotmc.org/wiki/bungeecord/ https://www.spigotmc.org/threads/1-8-1-9-bungeecord.392/


1

What you could do is constantly replace the existing wheat planting villager with another one which plants carrots with the /execute command: Villager #1 is "Rudolf", #2 is "Jelinek": /execute @e[name=Rudolf] ~ ~ ~ summon Villager#2 ~ ~ ~ Connected to a comparator: /kill @e[name=Rudolf] A few seconds later: /execute @e[name=Jelinek] ~ ~ ~ summon ...


1

Try going to settings, and checking if the LAN broadcast is on.


1

You can store the result of your conditionals using a scoreboard tag Create a single line of command blocks, starting with a repeating (or impulse) command block, followed by chain command blocks. We'll be using the fact that unconditional chain command blocks execute even when conditional command blocks earlier in the line aren't run because their ...


1

I have a scoreboard set up to do this: Base scoreboard command: /scoreboard objectives add GM dummy Player_Gamemode Then you set up a redstone clock. This will repeat as often as possible: (IN COMMAND BLOCKS) /scoreboard players set @a[m=0] GM 0 /scoreboard players set @a[m=1] GM 1 /scoreboard players set @a[m=2] GM 2 /scoreboard players set @a[m=3] ...


1

It is possible by using the /say command in this way: /say @a Status: @a[m=0] is/are in survival mode /say @a Status: @a[m=1] is/are in Creative mode m=M is the gamemode entity selector argument. Instead of M put 0 for Survival, 1 for Creative, 2 for Adventure and 3 for Spectator mode. Note: I have not tested this, so my syntax could be wrong. ...



Only top voted, non community-wiki answers of a minimum length are eligible