Player Controller v2.0
Overview
For controlling various information of a player.
Ports Definition
If a parameter input port is not connected to a wire or element, or being intercepted, the corresponding information will not be changed.
Top Input
| Function |
|---|
Input Parameter |
Right Input
| Function |
|---|
Input Parameter |
Bottom Input
| Bit Width Used | Function |
|---|---|
| 16 | Synchronous Operations, details are in the table below. |
| 16 | Player Index |
Left Input
| Function |
|---|
Input Parameter |
Back Input
| Start & End | Function |
|---|---|
| 1 | Intercept Right Input |
| 2 | Intercept Top Input |
| 3 | Intercept Left Input |
Synchronous Operations
📝 Note
If an input is a fraction, the highest(leftmost) bit of the voltages represents the sign, the radix point is between the 16th and 17th bit.
| Voltage | Information | Description | Right Input | Top Input | Left Input |
|---|---|---|---|---|---|
| 0 or Others | None | Only if the voltage of the bottom port changes, the information will be changed. | 0 | 0 | 0 |
| 1 | Body Position | Inputs are fractions. | X | Y | Z |
| 2 | Body Rotation | Outputs are fractions in degrees. Only the roll is effective because the game will automatically straighten the body. | Yaw | Pitch | Roll |
| 3 | Body Velocity | Inputs are fractions. | X | Y | Z |
| 5 | Relative Eye Rotation | Relative to the body. Outputs are fractions in degrees. Only the pitch is effective because the game will automatically fix the yaw to 0 | Yaw | Pitch | / |
| 8 | Spawn Position | Inputs are fractions. | X | Y | Z |
| 16 | Attribute 1 | Inputs are fractions. | Health | Stamina | Sleep |
| 17 | Attribute 2 | Inputs are fractions. | Food | Body Heat | Wetness |
| 18 | Attribute 3 | Level is a fraction, others are integers. | Level | / | The Value of the Block in Hand |
| 19 | Attribute 4 | Inputs are fractions. | Time Before Flu Recovered | Time Before Sickness Recovered | Time Before Fire Extinguished |


