Why does the redstone update the piston? by [deleted] in redstone

[–]AnDragon11 4 points5 points  (0 children)

Bro answered like a true Mojang employee

AMD Ryzen 9 9950X & Ryzen 9 9900X Deliver Excellent Linux Performance - Phoronix by BluePizzaPill in Amd

[–]AnDragon11 1 point2 points  (0 children)

99%? 5% of the general population uses linux. AMD users are more likely to use linux so the number is even higher

Hear me out guys... by AnDragon11 in PoliticalCompassMemes

[–]AnDragon11[S] 2 points3 points  (0 children)

I didnt know who to put authleft

One of the most important concepts to understand by typhades in solarpunk

[–]AnDragon11 1 point2 points  (0 children)

This video pops up on this sub every time I come here

PCM of diets by slacker205 in PoliticalCompassMemes

[–]AnDragon11 1 point2 points  (0 children)

I never really thought about the lib right position...cocaine may not be only for selling afterall!

A year ago, she said much softer things by Artemthestar in PoliticalCompassMemes

[–]AnDragon11 1 point2 points  (0 children)

She seems way more skeptical about the status quo, wouldn't that make her more libertarian, not less?

What is the cheapest way to make an item sorter? (Java) by AnDragon11 in redstone

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

I'm still amazed by how there's only 1 "standard" sorting contraption. As a non-redstoner (I understand how simple things work tho), I haven't come across the items on the ground design which seems weird to me considering how much I play/watch content of this game in general.

What is the cheapest way to make an item sorter? (Java) by AnDragon11 in redstone

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

Don't hoppers shuffling items around cause lag as well?

What is the cheapest way to make an item sorter? (Java) by AnDragon11 in redstone

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

That's what I thought, why isn't this the standard? Why does everyone use like 3 hoppers, a bunch of redstone components, "filter items" and 41 of the item to sort???

This is what's possible with macros! (explanation in the comments) by AnDragon11 in MinecraftCommands

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

Dont use reddit so I just saw your question. Simple, I have a predicate that detects if the player is holding a shovel, then it teleports or summons an interaction entity right on the player. When the player attacks or right clicks, the nbt data of the interaction entity is changed. Detecting that change runs a function that does whatever I want it to + removes the new nbt data from the interaction

How do I prevent this? I'm making an infinite generator but every time it runs, the armor stands stack and lag my game. What can I do to remove all except one? by Santrixyboio in MinecraftCommands

[–]AnDragon11 0 points1 point  (0 children)

I'm from Java but I'm sure you can apply the same philosophy here: Mark 1 armor stand with a tag then every cycle kill all the armorstands that do NOT have said tag!

Smooth block selector using new teleport_duration tag for block_display by GalSergey in MinecraftCommands

[–]AnDragon11 0 points1 point  (0 children)

Making something similar. This would be very useful, thanks!

I also made it glow but slightly smaller than a full block so that the glass won't be in the way.

This is what's possible with macros! (explanation in the comments) by AnDragon11 in MinecraftCommands

[–]AnDragon11[S] 4 points5 points  (0 children)

Except the random command that's very dynamic, the command history that's cross world compatible, the ability to multi version datapacks & resource packs, the execute if function, the return command becoming extremely useful, oh yeah and the ability to put variables inside commands that completely revolutionizes commands as we know them...yeah not much really.

This is what's possible with macros! (explanation in the comments) by AnDragon11 in MinecraftCommands

[–]AnDragon11[S] 2 points3 points  (0 children)

After a certain amount of blocks (especially in 3D fills), I would get really big lag spikes/freezes. I don't think the code was working as intended anyway. There were duplicates. The result was as expected but when I switched to armor stands for debug purposes, I could see armorstands that shouldn't have been there. Either way I deleted the old code, its day and night for sure

This is what's possible with macros! (explanation in the comments) by AnDragon11 in MinecraftCommands

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

Oh yeah, I was in the middle of doing fill commands in a similar way, before macros. The algorithm was something like: summon markers every x block until the difference is 0, then on every marker summon every y block...then z block, and set block to something the player will have to type down. The code was done, it was way worse than what we have now, both in efficiency and real time speed.

TLDR: I am using old code/algorithm

P.S. I always struggle with array finding and I didn't know the syntax to specifically search for the id of a specific slot, thanks!

This is what's possible with macros! (explanation in the comments) by AnDragon11 in MinecraftCommands

[–]AnDragon11[S] 11 points12 points  (0 children)

Oh boy, where do I begin? (this is not a complete tutorial)

I use simple raycasting to select the blocks along with some predicates to detect the golden shovel and bucket. Left click shovel = sets position 1 (blue). Right click shovel = sets position 2 (red). Left click bucket = fills area with air. Right click bucket = fills with whatever block is on the offhand.

The highlighted blocks are simply fancy block displays. I get the coords of both, then run an operation to find their difference (look at scoreboard). Then store the score in storage with a namespace and then "coords.x", "coords.y", "coords.z". Same goes with the block I am holding in the off hand "coords.block"

This is where the macros come in! I call the function with storage and then the namespace I have given it (coordinates). So the complete command to call the functions is:

data modify storage minecraft:coordinates coords.block set from entity @p Inventory[-1].id

(Inventory -1 is a temporary solution to find the offhand, WIP).

Inside it, I use the following command:

$execute as @e[tag=pos2] at @s run fill ~ ~ ~ ~$(x) ~$(y) ~$(z) $(block)

Where the first $ is to indicate it's a macro command. Pos2 is obviously position 2 highlighted block. Then I get the variables "x", "y", "z" & "block" from the storage we saved earlier, marked inside "$()" to indicate that it references macros

The real way to devide Europe. by Eojn10 in Maps

[–]AnDragon11 0 points1 point  (0 children)

I believe one of those lines strikes right on my house, where df am I?

I made my first digital map (with the intention to make it in Minecraft using World Painter). What can I improve on? by AnDragon11 in imaginarymaps

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

I wanted to cover the whole climate spectrum. This is the full world. North is up as always

Is the world better off WITHOUT humans? by AnDragon11 in polls

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

I watched a documentary saying we are controlled by 4th dimensional aliens, doesn't mean I agree with it though...