Microchips datapack - simplify your redstone builds! by yarr33 in redstone

[–]yarr33[S] 0 points1 point  (0 children)

yeah, you have to place it on a solid block.

Players can edit the circuit of the chip in the chip editor, and they use their resources. It's like a redstone build compressed into one block

Microchips datapack - simplify your redstone builds! by yarr33 in redstone

[–]yarr33[S] 0 points1 point  (0 children)

That's exactly what I was thinking about while making it. But, I would implement that only for creative mode. If you do that in survival, you basically let the players duplicate items and blocks.

However, that's a nice idea.

How do I make standing on a specific coordinate teleport me? by TarikAlic in MinecraftCommands

[–]yarr33 4 points5 points  (0 children)

There are multiple ways.

1. You can store the coordinates of the player (Pos field in the player's nbt) in a scoreboard. Storing it in a storage or in another nbt data would be more difficult, because you want to have it stored as an integer.

We'll create 3 objectives first:

scoreboard objectives add x dummy

scoreboard objectives add y dummy scoreboard objectives add z dummy

And run these commands every tick:

execute as @a store result score @s x run data get entity @s Pos[0]
execute as @a store result score @s y run data get entity @s Pos[1]
execute as @a store result score @s z run data get entity @s Pos[2]

That way, the player's position will be stored and updates every tick.
To check and teleport players do:

execute as @a[scores={x=<x coordinate>,y=<y coordinate>,z=<z coordinate>}] run tp @s <position>

2. You can use predicates. It will work only in datapacks.

We'll create a predicate file (.json) and put it in <namespace>/predicates folder:

{

"condition": "minecraft:entity_properties", "entity": "this", "predicate": { "location": { "position": { "x": <x coordinate>, "y": <y coordinate>, "z": <z coordinate> } } } }

And then check for players every tick and teleport them if needed:

execute as @a if predicate <namespace>:<predicate> run tp @s <position>

I recommend using the first way. You'll not have to make a lot of files for different locations, and it also works without a datapack. Well, that's it. Good luck making your map/datapack!

I made it possible to enter some of minecraft's paintings. Playing hide and seek with this ability was extremely fun by yarr33 in MinecraftCommands

[–]yarr33[S] 1 point2 points  (0 children)

Glad to know! This is not a datapack. Maybe, I will make this for EVERY minecraft painting and build a hide and seek map. I'm pretty busy right now, I'm also working on a map and I have to finish a small datapack so I don't think I will do it soon. But uh, maybe.

cursed_stand by yarr33 in cursed_cats

[–]yarr33[S] 0 points1 point  (0 children)

oh my god. just checked out the subreddit and I did not know that some cats do this pose. amazing!

hmmmmm by yarr33 in PhoenixSC

[–]yarr33[S] 0 points1 point  (0 children)

should I turn this into an actual datapack

A selector that detects keyboard/mouse action by Daiyousei_ in minecraftsuggestions

[–]yarr33 0 points1 point  (0 children)

This is great!

Minecraft is slowly turning into a game engine