Help with shoot arrow block

Started by moddermc on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 day ago
Joined Jun 2024
Points:
94

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
Help with shoot arrow block

Heya everyone, someone knows how shoot arrow block works? I have been looking for a tutorial everywhere and nothing :(

I have a system that detects player direction but when I want to shot an arrow in a direction is not the correct. I have testing the block and found that direction works with integer numbers? How I could set a direction work properly? Y between 1 and 2 are too much separated in degrees. Please help me :D

Active 2 days ago
Joined Dec 2014
Points:
1084

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 673
I mean if you just want to…
Mon, 10/07/2024 - 12:03

I mean if you just want to shoot a projectile in the direction an entity is looking use this,