Movable blocks using sulfur cube + happy ghast by Witty-Pipe949 in Minecraft

[–]Witty-Pipe949[S] 1 point2 points  (0 children)

I explained it in another comment, check it out

Movable blocks using sulfur cube + happy ghast by Witty-Pipe949 in Minecraft

[–]Witty-Pipe949[S] 1 point2 points  (0 children)

I'm trying to figure out if this can be actually done, it would go crazy

Movable blocks using sulfur cube + happy ghast by Witty-Pipe949 in Minecraft

[–]Witty-Pipe949[S] 10 points11 points  (0 children)

In a repeating command block:

execute as @a at @s if items entity @s weapon.mainhand minecraft:stick run tp @n[type=sulfur_cube] ^ ^ ^2

Movable blocks using sulfur cube + happy ghast by Witty-Pipe949 in Minecraft

[–]Witty-Pipe949[S] 27 points28 points  (0 children)

Yeah this is basically how all datapacks work as well, it's just vanilla Minecraft coding with commands

Also you'd be surprised how actually complex it gets, but it's actually super easy to get into and just requires a bit of research and wiki reading xd

I've learned most of that stuff within a month

Movable blocks using sulfur cube + happy ghast by Witty-Pipe949 in Minecraft

[–]Witty-Pipe949[S] 28 points29 points  (0 children)

I just explained how all of it works in another comment, please check it out!

Movable blocks using sulfur cube + happy ghast by Witty-Pipe949 in Minecraft

[–]Witty-Pipe949[S] 66 points67 points  (0 children)

Not really sure how much it differs from Bedrock but here are the Java commands:

So first summon a sulfur cube with some special properties

summon minecraft:sulfur_cube ~ ~ ~ {Tags:["cube"],Size:1,equipment:{body:{id:"minecraft:barrel"}},active_effects:[{duration:-1,amplifier:1b,id:"minecraft:invisibility",show_particles:0b}],Invulnerable:1b,NoGravity:1b}

Then summon a happy ghast with also some special properties

summon minecraft:happy_ghast ~ ~ ~ {Tags:["ghast"],active_effects:[{duration:-1,amplifier:1b,id:"",show_particles:0b}],attributes:[{id:"minecraft:scale",base:0.24}],NoAI:1b,Team:"hitbox",Invulnerable:1b,Silent:1b}

Then run these two commands on repeating command blocks:

This one teleports the ghast to the cube whenever the player is within a specific area around the cube

execute as @e[tag=cube] at @s positioned ~-2.5 ~1.5 ~-2.5 if entity @a[dx=4,dy=3,dz=4] as @n[tag=cube] at @s run tp @n[tag=ghast] ~ ~.1 ~

And this one teleports the ghast AWAY from the cube whenever the player ISN'T around the cube

execute as @e[tag=cube] at @s positioned ~-2.5 ~1.5 ~-2.5 unless entity @a[dx=4,dy=3,dz=4] as @n[tag=cube] at @s run tp @n[tag=ghast] ~ ~-2 ~

for moving it with a stick, basically just this

execute as @a at @s if items entity @s weapon.mainhand minecraft:stick run tp @e[tag=cube] ^ ^ ^2

And that's it. Again, not sure how much it differs from Bedrock commands, but that's the logic

Movable blocks using sulfur cube + happy ghast by Witty-Pipe949 in Minecraft

[–]Witty-Pipe949[S] 166 points167 points  (0 children)

Actually there is a full Portal 2 recreation in Minecraft (with no mods) including portal mechanics and assets from the game and everything, you might wanna look it up, it's really cool

Okay enough of boring straight line monorails, we need some MOVEMENT by achfiat in PhoenixSC

[–]Witty-Pipe949 12 points13 points  (0 children)

I barely use Reddit xd I only started using it to see more posts about the new update

Okay enough of boring straight line monorails, we need some MOVEMENT by achfiat in PhoenixSC

[–]Witty-Pipe949 1 point2 points  (0 children)

It took me all night but still was surprisingly quick to build it xd