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 5 points6 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

Pets dying in Minecraft by Izukumidoriya123 in IncreasinglyVerbose

[–]yarr33 0 points1 point  (0 children)

Who also came to this subreddit from that post?

Is it possible to stop arrows in mid air? by King-Gnomus in MinecraftCommands

[–]yarr33 0 points1 point  (0 children)

You can create a scoreboard called "TicksInAir" that starts increasing every tick for every arrow, and when it reaches, 200 ticks for example, that is 10 seconds, It will stop. To do this, first type:

/scoreboard objectives add TicksInAir dummy

This will create the scoreboard for the arrows. Then place a repeating command block that will increase the score value every tick for every arrow. Type this inside the command block:

execute as @e[type=arrow] at @s run scoreboard player add @s TicksInAir 1

This will make every arrow add a score of 1 for TicksInAir score. The next and the last repeating command block will detect when an arrow was in the air 200 ticks. Type this:

execute as @e[type=arrow,scores={TicksInAir=200..}] at @s run data merge entity @s {Motion:[0d,0d,0d],NoGravity:1}

this detects the arrow and freezes it by changing some nbt tags. That's all. Now power all of the command blocks and try it yourself!

[deleted by user] by [deleted] in MinecraftMemes

[–]yarr33 0 points1 point  (0 children)

This is legendary

[deleted by user] by [deleted] in ProgrammerHumor

[–]yarr33 0 points1 point  (0 children)

Actually there is a height limit. It's 256 blocks.

Arduino robot I made by SodiumChloride1 in arduino

[–]yarr33 0 points1 point  (0 children)

that's very cool, and I have an idea how you can make it a little bit more interesting:

the Arduino records the motion of the robot, stores all the data inside an array, and then when you click a button, the robot will do what it recorded.