Title says it all! an automatic rotation detector! I will explain it now:
stat.xRotation and stat.yRotation are 2 different things, so the updaters don't have to do a buttload of work on this. Basically, the objective's score is the same as rotation that is shown on F3, but no negatives(can't remember if rotation goes to negative). If there's negatives, then somehow they can convert that negative to a positive. if it is Javascript, just assign the rotation to a function named xRotation/yRotation or something like that. to detect if you are looking in a direction in one command block, tell this in a command: EDIT: From here on, it was changed into an easier way: 2 new data tags.
/execute @a[score_X's|objectiveName_copy,score_Y's|objectiveName_copy] ~ ~ ~ summon Arrow ~ ~1 ~ {UseDirection:1b,DirectionSpeed:###}
The /execute area is selecting the player's rotation score and further pasting it to the arrow's direction tag, if a new NBT Data tag "UseDirection" is set to 1. DirectionSpeed sets the speed you want it to move in that direction. WARNING: needs the execute in order to work.
I want this so that you don't need 360/129,600 command blocks to lag your computer. this will also help so many other minecraft commanders.
SO WHO'S WITH ME?!?!?!?
EDIT: Yes, it is basically a rotation detector, but with one command compatibility.
So you're suggesting something that detects rotation right? Many of us don't understand those things, could you add a nutshell or something? If you're suggesting a rotation detector, then I Support, even though I'll never use it
So you're suggesting something that detects rotation right? Many of us don't understand those things, could you add a nutshell or something? If you're suggesting a rotation detector, then I Support, even though I'll never use it
Basically, yes, it is a rotation detector, but with one command compatibility.
Rollback Post to RevisionRollBack
I am a computer Enderman and I am very smart. But my user isn't.
This is really confusing. This is really confusing. The rotations can go down into the negatives. You can't just replace the direction tag like this. It goes X Y Z. Add a new tag for it instead.
EDIT: Actually, Rotation and scoreboard can go negative, herobrine123x_. I found out when I was constantly removing points from "throw", and when I opened the command block, it said:
Set score of throw of player Player to -28
I think that's what they said.
Rollback Post to RevisionRollBack
I am a computer Enderman and I am very smart. But my user isn't.
stat.xRotation and stat.yRotation are 2 different things, so the updaters don't have to do a buttload of work on this. Basically, the objective's score is the same as rotation that is shown on F3, but no negatives(can't remember if rotation goes to negative). If there's negatives, then somehow they can convert that negative to a positive. if it is Javascript, just assign the rotation to a function named xRotation/yRotation or something like that. to detect if you are looking in a direction in one command block, tell this in a command:
EDIT: From here on, it was changed into an easier way: 2 new data tags.
/execute @a[score_X's|objectiveName_copy,score_Y's|objectiveName_copy] ~ ~ ~ summon Arrow ~ ~1 ~ {UseDirection:1b,DirectionSpeed:###}
The /execute area is selecting the player's rotation score and further pasting it to the arrow's direction tag, if a new NBT Data tag "UseDirection" is set to 1. DirectionSpeed sets the speed you want it to move in that direction.
WARNING: needs the execute in order to work.
I want this so that you don't need 360/129,600 command blocks to lag your computer. this will also help so many other minecraft commanders.
SO WHO'S WITH ME?!?!?!?
EDIT: Yes, it is basically a rotation detector, but with one command compatibility.
User: Hey! I can read this!
no sig yay
Basically, yes, it is a rotation detector, but with one command compatibility.
User: Hey! I can read this!
Well, ok.
Look now. Is it working for you?
User: Hey! I can read this!
Set score of throw of player Player to -28
I think that's what they said.
User: Hey! I can read this!