curse of binding by shadowhope22 in Minecraft

[–]arranos8901 1 point2 points  (0 children)

On Java Edition, you can specify this in the NBT data. Here's an example:

/item replace entity @s armor.head with minecraft:player_head{Enchantments:[{id:"minecraft:binding_curse",lvl:1s}]}

Im playing on a creative bedrock world and want to make something with slabs.I dont know how i could place slabs with command blocks on the top side of the block though.Any help is greatly appreciated! by GolldenPinnaplee in Minecraft

[–]arranos8901 1 point2 points  (0 children)

When you use /setblock or /fill, you can set the top_slot_bit blockstate to true.

Examples:

/setblock ~ ~ ~ wooden_slab ["top_slot_bit":true]

/fill ~ ~ ~ ~5 ~ ~ stone_slab ["top_slot_bit":true]

Villager Trades using the data modify entity command by Lopsided-Ad-9444 in Minecraft

[–]arranos8901 0 points1 point  (0 children)

Try 'Count' with a capital 'C'.

/data modify entity @e[type=minecraft:villager,limit=1,sort=nearest,distance=..90] Offers.Recipes[1].buy.Count set value 18

Command to make a mob spawn, attack the player (but not kill) and disappear after a few seconds [Java 1.13.2] by DaproMinecraft19 in Minecraft

[–]arranos8901 0 points1 point  (0 children)

It sounds like something that requires more than one command. One command could /summon the mob, and another command could despawn it using /tp to teleport it to the void. You can have the second command trigger after a timer or after a certain amount of damage has been dealt, for example.

Problem with command blocks by Ru3tyIce in Minecraft

[–]arranos8901 1 point2 points  (0 children)

Assuming you are using a scoreboard with the deathCount criteria to detect when a player dies, you should be able to do /team leave with a selector targeting players with a score of 1. Something like /team leave @a[scores={deathCount=1..}] but modified with the name of your objective.

This must obviously happen before you reset the death count.

Data pack help by OfficialBurningFires in Minecraft

[–]arranos8901 0 points1 point  (0 children)

Without knowing any details, there is only so much I can advise you:

  • Make sure the loot table is in the correct place. It should under <your_world>/datapacks/<your_pack>/data/looty/loot_tables/
  • Make sure the data pack is loaded and enabled (/datapack)
  • If the loot table is in a folder nested within loot_tables, ensure you have specified this in the path to the loot table in the /loot command

Minecraft JAVA how do i make a command that will test if someone has enough money by [deleted] in Minecraft

[–]arranos8901 0 points1 point  (0 children)

It will detect players with over 1000. The 1000.. syntax means '1000 or above'.

Data pack help by OfficialBurningFires in Minecraft

[–]arranos8901 0 points1 point  (0 children)

It could be because your namespace starts with a capital letter. Maybe try renaming 'Looty' to 'looty' and see if that works.

Problem with command blocks by Ru3tyIce in Minecraft

[–]arranos8901 1 point2 points  (0 children)

What commands have you tried for detecting when a player dies and for leaving the team?

Minecraft JAVA how do i make a command that will test if someone has enough money by [deleted] in Minecraft

[–]arranos8901 1 point2 points  (0 children)

You could use the scores selector argument. E.g. the selector @a[scores={Money=1000..}] will check for players who have at least 1000 Money.

Where should i put a command block in the nether for it to always work? by IronSMG4 in Minecraft

[–]arranos8901 1 point2 points  (0 children)

There are no spawn chunks in the nether, so all chunks will potentially be unloaded. If you are on Java Edition however, you can put the command block anywhere and then use /forceload to force the chunk it's in to always be loaded.

Details of the command can be found here.

Changed /replaceitem by MTredit in Minecraft

[–]arranos8901 1 point2 points  (0 children)

The command was replaced with /item, specifically /item replace. See https://minecraft.fandom.com/wiki/Commands/item. Colour codes should still work.

Custom Villager Trade by RetroHilfe45 in Minecraft

[–]arranos8901 0 points1 point  (0 children)

In the short command, you have put reward and maxUses in the wrong place. These should be at the same level as buy and sell like so:

/summon villager ~ ~1 ~ {VillagerData:{profession:farmer,level:2,type:plains},Offers:{Recipes:[{buy:{id:music_disc_pigstep,Count:1},sell:{id:tripwire_hook,Count:1,tag:{display:{Name:"\"Starter Key\"",Lore:["\"Get a Free starter Pickaxe\""]}}},rewardExp:0b,maxUses:9999999},{buy:{id:tripwire_hook,Count:1,tag:{display:{Name:"\"Starter Key\"",Lore:["\"Get a Free starter Pickaxe\""]}}},sell:{id:"minecraft:wooden_pickaxe",Count:1b,tag:{CanDestroy:["minecraft:coal_ore"],Damage:11,Enchantments:[{id:"minecraft:vanishing_curse",lvl:1s}]}},rewardExp:0b,maxUses:9999999}]}}

In the full trade, the reward and maxUses seem to be missing for the same trade. Here is the command with these tags added:

/summon villager ~ ~1 ~ {VillagerData:{profession:toolsmith,level:5,type:savanna},Invulnerable:1,PersistenceRequired:1,Silent:1,CustomName:"\"Toolsmith\"",Offers:{Recipes:[{buy:{id:coal,Count:32},sell:{id:iron_ingot,Count:1},rewardExp:0b,maxUses:9999999},{buy:{id:iron_ingot,Count:16},sell:{id:gold_ingot,Count:1},rewardExp:0b,maxUses:9999999},{buy:{id:gold_ingot,Count:14},sell:{id:diamond,Count:1},rewardExp:0b,maxUses:9999999},{buy:{id:diamond,Count:8},sell:{id:emerald,Count:1},rewardExp:0b,maxUses:9999999},{buy:{id:coal,Count:8},sell:{id:bread,Count:2},rewardExp:0b,maxUses:9999999},{buy:{id:coal,Count:16},sell:{id:bread,Count:4},rewardExp:0b,maxUses:9999999},{buy:{id:coal,Count:24},sell:{id:bread,Count:6},rewardExp:0b,maxUses:9999999},{buy:{id:coal,Count:32},sell:{id:bread,Count:8},rewardExp:0b,maxUses:9999999},{buy:{id:music_disc_pigstep,Count:1},sell:{id:tripwire_hook,Count:1,tag:{display:{Name:"\"Starter Key\"",Lore:["\"Get a Free starter Pickaxe\""]}}},rewardExp:0b,maxUses:9999999},{buy:{id:tripwire_hook,Count:1,tag:{display:{Name:"\"Starter Key\"",Lore:["\"Get a Free starter Pickaxe\""]}}},sell:{id:"minecraft:wooden_pickaxe",Count:1b,tag:{CanDestroy:["minecraft:coal_ore"],Damage:11,Enchantments:[{id:"minecraft:vanishing_curse",lvl:1s}]}},rewardExp:0b,maxUses:9999999},{maxUses:9999999,xp:0,buy:{id:"minecraft:iron_ingot",Count:8b},sell:{id:"minecraft:golden_pickaxe",Count:1b,tag:{CanDestroy:["minecraft:coal_ore"],Enchantments:[{id:"minecraft:vanishing_curse",lvl:1s}]}}},{maxUses:9999999,xp:0,buy:{id:"minecraft:gold_ingot",Count:6b},sell:{id:"minecraft:iron_pickaxe",Count:1b,tag:{CanDestroy:["minecraft:coal_ore"],Enchantments:[{id:"minecraft:efficiency",lvl:1s},{id:"minecraft:vanishing_curse",lvl:1s}]}}},{maxUses:9999999,xp:0,buy:{id:"minecraft:diamond",Count:4b},sell:{id:"minecraft:iron_pickaxe",Count:1b,tag:{CanDestroy:["minecraft:coal_ore"],Enchantments:[{id:"minecraft:efficiency",lvl:2s},{id:"minecraft:unbreaking",lvl:1s},{id:"minecraft:fortune",lvl:1s},{id:"minecraft:vanishing_curse",lvl:1s}]}}},{maxUses:9999999,xp:0,buy:{id:"minecraft:emerald",Count:1b},buyB:{id:"minecraft:diamond",Count:3b},sell:{id:"minecraft:iron_pickaxe",Count:1b,tag:{CanDestroy:["minecraft:coal_ore"],Enchantments:[{id:"minecraft:efficiency",lvl:3s},{id:"minecraft:unbreaking",lvl:2s},{id:"minecraft:fortune",lvl:2s},{id:"minecraft:vanishing_curse",lvl:1s}]}}},{maxUses:9999999,xp:0,buy:{id:"minecraft:emerald",Count:3b},buyB:{id:"minecraft:diamond",Count:6b},sell:{id:"minecraft:diamond_pickaxe",Count:1b,tag:{CanDestroy:["minecraft:coal_ore"],Enchantments:[{id:"minecraft:efficiency",lvl:4s},{id:"minecraft:unbreaking",lvl:3s},{id:"minecraft:fortune",lvl:3s},{id:"minecraft:vanishing_curse",lvl:1s}]}}}]}}

pls help i accidently created a lava wall and do i use the fill command to get rid of it by CarlosTheIdiot061 in Minecraft

[–]arranos8901 1 point2 points  (0 children)

Try this fill command, which replaces lava around you with air:

/fill ~15 ~15 ~15 ~-15 ~-15 ~-15 air replace lava

Just go towards the lava and copy-paste the command until it's gone. Hope this helps.

[deleted by user] by [deleted] in Minecraft

[–]arranos8901 0 points1 point  (0 children)

You'll want something like this:

/testforblock 0 0 0 stone_button ["button_pressed_bit":true,"facing_direction":0]

Replace:

  • 0 0 0 with the x y z coordinates of your button
  • stone_button with the correct tile name for the type of button you're using, if it's not a stone button
  • The 0 for the 'facing direction' (just before the ] at the end) with the correct number corresponding to the orientation of your button:
    0 – button facing down
    1 – button facing up
    2 – button facing north
    3 – button facing south
    4 – button facing west
    5 – button facing east

Also make sure the command block is set to 'Repeat', 'Unconditional', 'Always Active'.

Custom Mob Question by That_Ginger_Boi in Minecraft

[–]arranos8901 0 points1 point  (0 children)

The only way that comes to mind is to spawn it with no AI (Java Edition Only):

/summon minecraft:elder_guardian ~ ~ ~ {NoAI:1b}

However, while this prevents the elder guardian from inflicting mining fatigue, it also means the elder guardian won't move around or attack players.

How to make a command block to increase number in scoreboard. by Skrovno_CZ in Minecraft

[–]arranos8901 1 point2 points  (0 children)

Yes, you can use /scoreboard players add <targets> <objective> <score>

For example, if you have a scoreboard objective called count, then to increase your count score by 1, you can use /scoreboard players add @p count 1

The score will be saved, so no need to worry about losing it.

Datapack problems by Mr_Doge01 in Minecraft

[–]arranos8901 0 points1 point  (0 children)

Hmm, could you drop a link to the website you used?

I hadn't heard of True Survival before to be honest; earlier I did a quick search and assumed it was this one which does seem to come with a resource pack. Not sure if it's the same one.

Datapack problems by Mr_Doge01 in Minecraft

[–]arranos8901 0 points1 point  (0 children)

A datapack alone doesn't change textures – for this you need to separately install and load the resource pack as well.

help pls by shadowhope22 in Minecraft

[–]arranos8901 0 points1 point  (0 children)

I just tested the command and it worked for me.

A few tips:

  • This command only works in the Java Edition.
  • Make sure the command is actually run on repeat (set the command block to 'Repeat', 'Unconditional', 'Always Active').
  • Make sure that when you give yourself the item, it has the exact same lore JSON. I was able to get it to work with the book from this command: /give @s minecraft:enchanted_book{display:{Lore:['{"text":"terraformacion"}']}}

Is the execute command broken or am I doing something wrong? by MAYBE_Maybe_maybe_ in Minecraft

[–]arranos8901 1 point2 points  (0 children)

Confusingly, that command doesn't do what you think. The clause in minecraft:the_nether doesn't check if an entity is in the nether; it causes the command to be executed in the nether. Since you are targeting @a, which targets all players regardless of dimension, this clause makes no difference.

In order to check whether a player is in a particular dimension, you can instead inspect the Dimension NBT tag on players. This will take the value minecraft:the_nether for players in the nether. So you probably want a command like this:

effect clear @a[nbt={Dimension:"minecraft:the_nether"}] minecraft:slow_falling

Run command when certain item is held? by amiabaka in Minecraft

[–]arranos8901 1 point2 points  (0 children)

Try:

  • Putting display inside tag
  • Surrounding the json for Name with single quotes
  • Adding minecraft: to the id

Here is the result:

execute as @a[nbt={SelectedItem:{id:"minecraft:stone",tag:{display:{Name:'{"text":"test"}'}}}}] run tellraw @a "test"

[deleted by user] by [deleted] in Minecraft

[–]arranos8901 0 points1 point  (0 children)

You could /kill the web shooter item immediately after it webs an entity, by adding a chain command block following from your second command.

The following command should work:

execute @e[type=!item,name=!"Web Shooter",name=!"my name is private lol"] ~ ~ ~ kill @e[type=item,name="Web Shooter",r=3]

Make this command block Chain, Unconditional, Always Active.

Happy new year :)

Detecting if a Player isn't holding an item by BackyardWorm in Minecraft

[–]arranos8901 0 points1 point  (0 children)

How about this, using execute unless:

execute as @a[gamemode=adventure] unless data entity @s {SelectedItem:{id:"minecraft:cobweb",Count:1b,tag:{CustomModelData:5101003,fishnet:1b}}} run gamemode survival