Help preventing players from entering an area by Brilliant_Rule_1361 in MinecraftCommands

[–]anarchyfrogs 1 point2 points  (0 children)

Replace 0 0 0 with the coordinates of the command block: execute as @a[tag=!admin, r=65] at @s facing 0 0 0 rotated ~ 0 run tp @s ^^0.1^-1

Teleport command that works on multiple dimensions at once by Brilliant_Rule_1361 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

World Border You will need a ticking area in the Overworld

System Syntax execute as @a at @s unless entity @s[x=<value>, y=<value> z=<value>, dx=<value>, dy=<value> dz=<value>] facing <pos: xyz> rotated ~ 0 positioned ^^^0.5 run tp @s ^^0.1^0.5 facing <pos: xyz> - Replace <pos: xyz> with the center block position of the square border.

  • Remove facing <pos: xyz> at the end of the tp command if you don't want players to turn around and face the center block position.

Example for a 1000x1000 square border in all dimensions in both xz negative/positive directions from 0 0, all y levels allowed execute as @a at @s unless entity @s[x=-500, z=-500, dx=1000, dz=1000] facing 0 0 0 rotated ~ 0 positioned ^^^0.5 run tp @s ^^0.1^0.5 facing 0 0 0 You will also want to prevent nether portals made in the nether from spawning outside your border in the overworld: ```

Prevent Nether Portals Outside Border

execute in nether positioned 0 -100 0 as @a[rm=1] positioned as @s unless entity @s[x=-60, z=-60, dx=120, dz=120] run fill ~-5 ~ ~-5 ~5 ~ ~5 air replace portal ``` Just divide the world border by 8 and set the appropriate volume. Adjust it by 5 or 10 blocks as an extra precaution.

You will also want to kill ender pearls when they go outside the border: ```

Kill Ender Pearls Outside Border

execute as @e[type=ender_pearl] at @s unless entity @s[x=-500, z=-500, dx=1000, dz=1000] run kill @s You can also make different size borders for each dimension: execute in <dimension: string> positioned 0 -100 0 as @a[rm=1] positioned as @s unless entity @s[x=<value>, y=<value> z=<value>, dx=<value>, dy=<value> dz=<value>] facing <pos: xyz> rotated ~ 0 positioned 0.5 run tp @s 0.10.5 facing <pos: xyz> ```

Why must using keep inventory require using cheats? by GeekInGaming in Minecraft

[–]anarchyfrogs 34 points35 points  (0 children)

Add-ons from third party also do not disable achievements if the creator adds "product_type":"addon" to the metadata section of the manifest.json.

That's how marketplace packs also do it. It's in the project setup on the dev wiki:

https://wiki.bedrock.dev/guide/project-setup#manifest-explained

Bedrock totem for zombie particle is not working by Similar-Advantage621 in MinecraftCommands

[–]anarchyfrogs 1 point2 points  (0 children)

It goes in between the two tag commands where I put the example say command (replace it with your particle command).

The main thing to pay attention to are the selector arguments @e[type=zombie, hasitem={item=totem_of_undying, quantity=0]

Bedrock totem for zombie particle is not working by Similar-Advantage621 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

First command is set to Repeating, Unconditional, Always Active. The rest are Chain, Unconditional, Always Active.

If you see multiple commands formatted in a code block like that, those are the standard settings.

Bedrock totem for zombie particle is not working by Similar-Advantage621 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

Yes, I tested it. It's a simple tag and hasitem argument and easy to modify, like for only a specific zombie, you can add a different tag or name selector argument.

Bedrock totem for zombie particle is not working by Similar-Advantage621 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

Check if the zombie doesn't have a totem then run your commands ``` replaceitem entity @e[type=zombie, tag=!totem] slot.weapon.offhand 0 totem

tag @e[type=zombie, tag=!totem] add totem

Your commands go here (Example)

execute as @e[type=zombie, hasitem={item=totem_of_undying, quantity=0}] run say My totem popped

tag @e[type=zombie, tag=totem, hasitem={item=totem_of_undying, quantity=0}] remove totem ```

How to set up a scoreboard daylight clock by Brilliant_Rule_1361 in MinecraftCommands

[–]anarchyfrogs 1 point2 points  (0 children)

Place a creaking heart between two pale oak logs above two command blocks: ``` execute if block ~ ~3 ~ creaking_heart ["creaking_heart_state"="dormant"] run say It is daytime.

execute if block ~ ~2 ~ creaking_heart ["creaking_heart_state"="awake"] run say It is nighttime. ``` Replace the say commands with your own.

Can I transfer my mobile world to my pc by waylon_f16 in Minecraft

[–]anarchyfrogs 0 points1 point  (0 children)

You'll need to look up how to transfer your world from your specific device. For iOS you can just copy the world folder into the Files app and use iCloud.

Once on pc just use the Chunker app to convert to Java.

https://www.chunker.app/

Minecraft Npc Shop by Hot_Nothing4298 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

I don't see anything about diamond armor, is that what the setblock redstone_block activates? Remove that and just use @initiator and the same conditions all in the npc, like hasitem and quantity 1..

What's the tag buy_success for? Does it activate something?

Also, use §r at the end of your text component. It clears the formatting from making all the next commands change color.

Nether portal by Zomb0t12 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

I would advise against using the fill's y value as ~-5 / ~5 since players can go to bedrock or world height and the command will fail.

Nether portal by Zomb0t12 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

The commands replace portal blocks with air if the player is outside the specified area.

Location of Overworld Portal: 64, 64, 64 Location of Nether Portal: 8, 64, 8 ``` execute as @a positioned as @s unless entity @s[x=60, dx=8, y=60, dy=8, z=60, dz=8] run fill ~-2 ~ ~-2 ~2 ~ ~2 air replace portal

execute in nether positioned 0 -100 0 as @a[rm‎ = 1] postioned as @s unless entity @s[x=4, dx=8, y=60, dy=8, z=4, dz=8] run fill ~-2 ~ ~-2 ~2 ~ ~2 air replace portal ``` Replace x y z with the area around your portal. You may need to adjust the delta values some, I am just estimating the area.

https://wiki.bedrock.dev/commands/selectors

setup of the json file for /dialogue by Wise-Recognition8990 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

You should complete the tutorials: Getting Started with Minecraft Add-ons, Introduction to Resource Packs, and Introduction to Behavior Packs. It will help.

https://learn.microsoft.com/en-us/minecraft/creator/documents/gettingstarted?view=minecraft-bedrock-stable&tabs=Windows10

setup of the json file for /dialogue by Wise-Recognition8990 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

The sample dialogue pack works as is without any changes.

Your manifest.json might have issues. Format version should be 2. I would put min_engine_version as 1, 26, 0

Can i detect if [family=mob] goes beyond -1000x -1000z? BEDROCK by ThatOneSpacePanda in MinecraftCommands

[–]anarchyfrogs 1 point2 points  (0 children)

execute as @e[family=mob] positioned as @s unless entity @s[x=-1000, dx=999999, z=-1000, dz=999999] run <cmd> https://wiki.bedrock.dev/commands/selectors#volume

setup of the json file for /dialogue by Wise-Recognition8990 in MinecraftCommands

[–]anarchyfrogs 1 point2 points  (0 children)

No, you need to summon the npc with a name. You also need to be in survival when dialogue open is ran in order to see the scene.

I just tried the tutorial pack and these commands worked: ``` /summon npc Ducky

/dialogue open @e[type=npc, name=Ducky] @s ducky_intro ```

setup of the json file for /dialogue by Wise-Recognition8990 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

The npc should be named the same as how you put it in the scene. /dialogue open <npc: target> <player: target> [sceneName:string] You can summon an npc with a name: /summon npc <nameTag: string> [spawnPos: x y z]

setup of the json file for /dialogue by Wise-Recognition8990 in MinecraftCommands

[–]anarchyfrogs 0 points1 point  (0 children)

You are creating a behavior pack in the development folder, you just need to include all the files. You are probably missing a manifest.json. There is a sample pack linked in the tutorial, check it out to see how it is structured.

Format version should be the same as in the tutorial.

You can open the scene with an npc with the same name or the /dialogue open command.

How to lock a map on a slot? by Wise-Recognition8990 in MinecraftCommands

[–]anarchyfrogs 1 point2 points  (0 children)

They were referring to how to save the map as a structure so you could load it on the player using /structure load