New answers tagged

0

I'm playing on bedrock and I tried out the command with no luck is there a way I could do this on bedrock.


3

This command will give you an elytra with 0 durability. /give @s minecraft:elytra{Damage:432}


0

You can use EntityTag to specify properties which will be applied to the entity once it spawns. Example: /give @s minecraft:armor_stand{EntityTag:{ShowArms:1b,Pose:{RightArm:[0f,0f,126f]}}}


0

This cannot be done in Vanilla Minecraft, so this was likely achieved through a mod. The only way to achieve posing in Vanilla Minecraft is through commands, to summon an armor stand with the specific command(s) used to pose the armour stand. Online tools like this one makes the command generation simple and easy, but this is the only way to pose your ...


2

You can summon the melon slice at the player's position in item form (with a small pickup delay) and then use /data to modify the Count property To summon the item: /execute at @a[nbt={SelectedItem:{id:"minecraft:villager_spawn_egg"}}] run summon item ~ ~ ~ {PickupDelay:10,Item:{id:"minecraft:melon_slice",Count:1,tag:{CustomModelData:10000101,display:{Name:...


1

Player data, including inventory, can not be modified with NBT commands and there is no other command to do what you want. The best you could do is using /execute store together with data get to get the count of the item, then replace the slot with nothing and either loop giving an item and reducing the score by 1 until you're at 0 or you write 64 almost ...


0

I don't think this is possible. Scoreboards in BE can only have a dummy criterion, unlike Java Edition which can have a health one. I can't think of any other way to have a scoreboard of a player's health in BE.


0

Yes, item frames and armor stands are entities. The same goes for paintings. If you want to not destroy item frames and armor stands when using /kill @e, run this command: /kill @e[type=!item_frame,type=!armor_stand] I hope this helps. ;D


0

Here it is all the commands you'll need: One time activation: /scoreboard objectives add death deathCount /scoreboard objectives add dummydeath dummy Here it is the chain, connected to a Repeat command block: /scoreboard players set @a[scores={death=1}] dummydeath 3 /scoreboard players set @a[scores={death=1}] death 0 /execute as @a[scores={dummydeath=...


0

You'll need three different commands put in three different command blocks, here they are: /scoreboard players tag @e[type=Arrow,tag=!kill] add kill {inGround:1b} /execute @e[type=Arrow,tag=kill] ~ ~ ~ setblock ~ ~ ~ dirt /kill @e[type=Arrow,tag=kill] The first and second should be put into a repeat command block and the third one should be in a chain ...


1

You need a loot table (archive) and the command /loot (archive) for this. Firstly, the loot table that gives (or summons or inserts or whatever) the head of the player it is invoked on. Minimal file structure of the datapack: <datapack_name> └pack.mcmeta └data └head_loot └loot_tables └head.json Here head_loot is an arbitrarily chosen namespace,...


2

You're using floating-point numbers. Single dots are simply the decimal separator. Example, everyone from 1.5 to 2.3 blocks away from you: @a[distance=1.5..2.3] You can also leave out either the digits before the separator or behind it, in which case it will assume 0. Example, everyone from 0.1 to 0.3 blocks away from you: @a[distance=.1...3] And everyone ...


0

For the repeating command block, use: execute if block <x> <y> <z> lever[powered=true] and use these two in the two chain command blocks: execute at @e[name=GREENLIGHT] run particle minecraft:dust 0 1 0 1 ~ ~ ~ 0 0 0 0.05 100 execute at @e[name=REDLIGHT] run particle minecraft:dust 1 0 0 1 ~ ~ ~ 0 0 0 0.05 100 in case you want to ...


-1

Yes killing the wolves is highly recommended and I agree with you. Just tell them to do so. If they refuse you might want to consider doing it yourself. And you have kids after all. 😁


0

And to just detect any player in the radius leave out the name and just have the radius. Example : /testfor @a[r=]


0

You can specify multiple arguments by separating them with commas. Enter the following command into a command block: /testfor @a[name=,r=], where is a player's username and is the circular distance around the block. You could put this command block on an infinite redstone loop to make it run over and over, all the time.


0

Use things such as dx, dy, and dz they will always go the distance you set them to based in the diameter created by distance x to distance y and distance z, and distance y to distance x and distance z, and distance z to distance x and distance y, the distance being distance from the command block, so often times, the range will be bigger than you want it, ...


1

Try something like this: /execute in minecraft:the_nether run teleport @e[put all data for radius here] ~ ~ ~


3

There is a tool called Universal Minecraft Editor which is capable of reading and modifying chunk data of a world. You can download it here: https://www.universalminecrafteditor.com when you open it, it will ask you to choose a platform so choose Win10 (not sure if Bedrock edition is considered Win10 or Pocket Edition so experiment with that). The next ...


2

Yes, using tags. Simply attach a chain command block to the repeating command block and set it to always active. Paste this in: /tag @p add textDisplayed and now modify your text display command so it only shows the text to a player without the "textDisplayed" tag (@a[tag=!textDisplayed]). To show the text again, remove the tag from the player with tag @p ...


0

You have the dx, dy, and dz going to the exact spot, i think the d either stands for diameter or distance otherwise, think of it like geometry with the command block as the point you are going away from and where the x y and z is the length of each side of the triangle and then filling in the area, x goes to y and y goes to z and z goes to x and x goes back ...


2

If you are on PE the the command is: /give steve stone 1 0 {"can_place_on":{"blocks":["chest"]}} or if on Java /give steve stone 1 0 {CanPlaceOn:["chest"]}


0

The 'e' in '@e' stands for entities, so in that case, maybe Armor Stands and Item Frames are considered entities too? If i'm correct, there is a Minecraft Gamepedia Wiki page telling all about 'Entities'. Maybe use that to discover every single entity and mob that can be defeated using this command. I hope it works...https://minecraft.gamepedia.com/Entity


0

The issue is in this part: if score @s WingsExtended = 1 WingsExtended the equal sign is used to compare two objectives and not to compare an objective to a value. Here is an example of how the equal sign is used: if score @s someObj = @p someObj. To test for a specific value, use the keyword "matches", like this: if score @s WingsExtended matches 1 ... ...


0

You indeed have to do this with all blocks, not even block tags (archive) work. You could try to do some complex workaround, like activating raytracing by some other action, setting a block, copying NBT to it and then taking one item from the player's inventory, but you would need to consider so many edge cases that it's not worth it. Converting the list of ...


0

If your command is actually as you wrote, your mistake is that there is no space between "@a" and "[r=10]". Here it is: /gamemode creative @a[r=10] And well, if you need it for 2956x2956 radius, simply change [r=10] to [r=2956] (Maybe 2956 won't be enough as the raidus is circular and not a square form. Test it out and see how big does it need to be). ...


-1

nvd i did it myself give @a minecraft:oak_log{CanPlaceOn:["minecraft:acacia_button", "minecraft:acacia_door", "minecraft:acacia_fence", "minecraft:acacia_fence_gate", "minecraft:acacia_leaves", "minecraft:acacia_log", "minecraft:acacia_planks", "minecraft:acacia_pressure_plate", "minecraft:acacia_sapling", "minecraft:acacia_sign", "...


2

Duplicating commands is a common thing, because there is no "OR" in commands. In your first case you might be able to do something like "as @e[type=villager] unless entity @s[tag=block1] unless entity @s[tag=block2]" or other fancy tricks, but if that doesn't work in your case, then yes, you might need to use another tag. You can also do very fancy things, ...


0

As I said in the comments, I'm not an expert in datapacks at all, but just from looking at the wiki and the Vanilla loot tables I've created a datapack that works. Folder structure: saves └<world_name> └datapacks └<datapack_name> └pack.mcmeta └data └minecraft └loot_tables └blocks └grass_block.json Contents of ...


1

Some of this can be done with commands but it is highly recommended that you use plugins if this is going to be on a server with more people. Plugins give you the ability to precisely define protected areas and stop block-breaking or block-placement from even happening by cancelling the event on the server-side. Commands, on the other hand, use tricky ...


4

Here is how I would achieve this effect. There is a command called /spreadplayers which teleports the specified entity or more entities to a random block within a specified range. Keep in mind that the command teleports the armor stand to the top-most block of the randomly selected spot. simply summon an armor stand in the center of the area where you want ...


-2

I looked in the json files and did a /give command using /give stone_pickaxe 1 0 {CanDestroy:["popcorn_mod:popcornblock"]} It also answered my other question "Getting Mod ID's"


-1

First of all, there is no point in dy = 5; Lightning will always strike the furthest unobstructed downward place possible. The actual problem, though, if that you’re relying on dx, dz, and dy to summon lightning everywhere, which means that you are trying to use NBT tags to summon multiple entities at once, while most commands can only summon one at a ...


-2

Lightning is a thing that hits a certain point, just like in real life. I don't even know how a volume-filling lightning would look like, but it is definitely not possible, neither in Minecraft, nor in real life. (Also, you're mixing command syntax for selecting entities, NBT and summon commands. You can't just invent any syntax you want and expect it to ...


0

There's only 3 ways in survival. Commands, command blocks or the multiplayer server would need to have a plugin installed, like BetterBanner plugin, to bypass Mojang's hard coded 6 layer limit.


1

Use loot tables. For your example, save this as data_pack_name/data/minecraft/loot_tables/blocks/grass_block.json. { "type": "block", "pools": [ { "rolls": 1, "entries": [ { "type": "item", "name": "dirt", "functions": [ { "function": "set_count", "count": 10 ...


0

Education Edition contains all Bedrock Edition features, so it also has support for /particle. According to the wiki the syntax is: particle <effect: string> <position: x y z> See that page for more details.


0

This process is very simple in 1.13+, you only need to use /execute store together with /data get to store a player's "Pos" array into three scores. But 1.12 has neither of these commands, so you need to do something called a "binary search" through the entire world. How this works: You first select half of the world, for example from X=0 to X=30000000 and ...


1

Lower: execute if block ~ ~ ~-1 minecraft:redstone_block unless block ~ ~1 ~-1 minecraft:redstone_block run setblock ~ ~1 ~ minecraft:redstone_block Upper:setblock ~ ~-1 ~ minecraft:air both: repeat, unconditional, always active


Top 50 recent answers are included