Тёмный

How to Aim Projectiles with the Cursor in Minecraft 1.16.4 

Conure
Подписаться 2,3 тыс.
Просмотров 890
50% 1

I finally figure out a way to use a player's rotation to launch a projectile! And then I proceed to massacre some creepers with it
Tutorial Datapack (to view or download):
drive.google.com/file/d/1DiC4...
Drive Folder with all of my datapack downloads so far:
drive.google.com/drive/folder...
Join the Discord Server! / discord

Игры

Опубликовано:

 

3 дек 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@DoctorPlasmaMC
@DoctorPlasmaMC Год назад
I wasn't sure this was possible with existing syntax! You did a much better job!
@RandoM-tj7qr
@RandoM-tj7qr 3 года назад
Great video!
@bensspaceagency4606
@bensspaceagency4606 Год назад
Wow, this is perfect for a retro Beta 1.7.3 bow datapack I'm working on! 2011 here I come!
@_RedCoal_
@_RedCoal_ 3 года назад
You can do better by using execute rotated as @s positioned 0 0 0 run summon ^ ^ ^1 area_effect_cloud It's remove the part where you get the position of the player and no scoreboard operation! Only summon Set the motion with the position of the area kill the area
@conure512
@conure512 3 года назад
I was doing this at first with armor stands (I prefer those over clouds) and I decided to use this method instead to limit the total amount of entities that exist in the world. Data storage is much more internally efficient than using entities. Also, scoreboard math is always required. Simply setting the position to the motion of the arrow is unreliable because it changes based on where you are in the world. You need to get the difference between the arrow's position and your own, which requires scoreboard operations!
@_RedCoal_
@_RedCoal_ 3 года назад
@@conure512 no you don't need operation with my method 😉 execute rotated as @s positioned 0 0 0 run summon ^ ^ ^1 This command get the rotation of the player, remove the pos of the player in this operation and summon the area at one block in the direction you are facing! And since this is at 0 0 0 The position of the area is always the motion you need to give to the arrow ! The only entity you need is an area to use the ^ ^ ^ and get the result (Sorry for my bad english, i'm french)
@conure512
@conure512 3 года назад
@@_RedCoal_ Ah yes, I see what you're saying. One small issue though - there's no guarantee that the block at 0 0 0 is going to be loaded. If the chunk isn't loaded, the entity will be lost as soon as it's summoned and the rest of the function won't be able to pull data from it. I suppose a workaround would be to forceload the center chunk, but at the end of the day I don't think that would be any more efficient than the method I already used. And, like I said, it's always best to avoid summoning more entities whenever possible, which is why I used storage slots instead.
@gtahk-vy6io
@gtahk-vy6io 3 года назад
instead of a second entity, you can use the arrow itself, and use @s to target it in an unloaded chunk execute as player at @s anchored eyes positioned ^ ^ ^1 run { summon proj ~ ~ ~ execute as proj run { execute positioned 0.0 0 0.0 run tp ^ ^ ^2.5 data modify storage ... set from entity @s Pos # the tp command resets Motion[1] tp ~ ~ ~ data modify entity @s Motion set from storage ... } }
@ryanhollis2670
@ryanhollis2670 3 года назад
You need to throw a cow like in Monty Python
@conure512
@conure512 3 года назад
someone should make a custom texture for the giant wooden rabbit. so i can throw it
@ryanhollis2670
@ryanhollis2670 3 года назад
Jabuticaba
@ryanhollis2670
@ryanhollis2670 3 года назад
Need more content. Please make wand of many blocks
@ryanhollis2670
@ryanhollis2670 3 года назад
@@conure512 response unclear dick stuck in block
Далее
23w31a - Minecraft's GREATEST Snapshot Ever
4:44
Просмотров 3 тыс.
25 Insane Ways to Use Command Blocks in Minecraft
10:00
ЭТО ВООБЩЕ НЕ БОЛЬНО !
00:15
Просмотров 362 тыс.
МЯСНОЙ ЦЕХ - Страшилки Minecraft
37:24
Redstone Binary Subtraction - LRR #5
14:06
Просмотров 73 тыс.
I was wrong. Right Click Detection is here. For real.
10:24
How to Add Custom Death Messages - Minecraft 1.20.4
9:10
a mod with mobs you've never seen before
27:56
Просмотров 173 тыс.
Waystones in Vanilla Minecraft
9:57
Просмотров 1,3 тыс.
Minecraft but Your Size Decreases!
22:42
Просмотров 258 тыс.
Проиграл остров #shorts
0:16
Просмотров 130 тыс.