Skip to content

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 UsedFunction
16

Synchronous Operations, details are in the table below.

16

Player Index

Left Input

Function

Input Parameter

Back Input

Start & EndFunction
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.

VoltageInformationDescriptionRight InputTop InputLeft Input
0 or
Others
NoneOnly if the voltage of the bottom port changes, the information will be changed.000
1Body PositionInputs are fractions.XYZ
2Body RotationOutputs are fractions in degrees.
Only the roll is effective because the game will automatically straighten the body.
YawPitchRoll
3Body VelocityInputs are fractions.XYZ
5Relative Eye RotationRelative to the body. Outputs are fractions in degrees.
Only the pitch is effective because the game will automatically fix the yaw to 0
YawPitch/
8Spawn PositionInputs are fractions.XYZ
16Attribute 1Inputs are fractions.HealthStaminaSleep
17Attribute 2Inputs are fractions.FoodBody HeatWetness
18Attribute 3Level is a fraction, others are integers.Level/The Value of the Block in Hand
19Attribute 4Inputs are fractions.Time Before Flu RecoveredTime Before Sickness RecoveredTime Before Fire Extinguished