Properties
Readonly
chatSettings
chatSettings: {
colors: boolean;
visible: "all" |
"commands" | "none";
}
Type declaration
-
Readonly colors: boolean
-
Readonly visible: "all" | "commands" | "none"
Readonly
connection
connection: {
host: string;
port: number;
}
Type declaration
-
Readonly host: string
-
Readonly port: number
difficulty
difficulty: "peaceful" |
"easy" | "normal" |
"hard"
Readonly
entityId
entityId: number
experience
experience: {
bar: number;
level: number;
}
Type declaration
-
bar: number
-
level: number
food
food: 0 | 10 | 12 | 20 | 6 | 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19
foodSaturation
foodSaturation: 0 | 1 | 2 | 3 | 4 | 5
health
health: 0 | 10 | 12 | 20 | 6 | 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19
Readonly
locale
locale: {
englishName: string;
langCode: string;
menuName: string;
region?: string;
version?: string;
}
Type declaration
-
Readonly englishName: string
-
Readonly langCode: string
-
Readonly menuName: string
-
Optional Readonly region?: string
-
Optional Readonly version?: string
Readonly
onGround
onGround: boolean
Readonly
online
online: boolean
Readonly
ping
ping: number
position
position: {
pitch: number;
x: number;
y: number;
yaw: number;
z: number;
}
Type declaration
-
pitch: number
-
x: number
-
y: number
-
yaw: number
-
z: number
Readonly
reducedDebugInfo
reducedDebugInfo:
boolean
Readonly
rightHanded
rightHanded: boolean
showRespawnScreen
showRespawnScreen:
boolean
slot
slot: 0 | 6 | 1 | 2 | 3 | 4 | 5 | 7 | 8
Readonly
sneaking
sneaking: boolean
Readonly
sprinting
sprinting: boolean
Readonly
textures
textures: {
skin: string;
cape?: string;
}
Type declaration
-
skin: string
-
Optional cape?: string
toxicRainLevel
toxicRainLevel:
number
Readonly
username
username: string
Readonly
uuid
uuid: string
Readonly
viewDistance
viewDistance: number
Readonly
visibleSkinParts
visibleSkinParts:
{
cape: boolean;
hat: boolean;
leftArm: boolean;
leftLeg: boolean;
rightArm: boolean;
rightLeg: boolean;
torso: boolean;
}
Type declaration
-
Readonly cape: boolean
-
Readonly hat: boolean
-
Readonly leftArm: boolean
-
Readonly leftLeg: boolean
-
Readonly rightArm: boolean
-
Readonly rightLeg: boolean
-
Readonly torso: boolean