Slim skins
This commit is contained in:
+3
-1
@@ -19,6 +19,8 @@ export interface PlayerInfo {
|
||||
pitch: number;
|
||||
// a 64x64 png as base64, see /skin. the default skin when there isn't one
|
||||
skin?: string;
|
||||
// the skin is for the model with 3 pixel wide arms
|
||||
slim?: boolean;
|
||||
}
|
||||
|
||||
// an entity that isn't a player, as the server first sends it. players have their own messages
|
||||
@@ -111,7 +113,7 @@ export type ServerMessage =
|
||||
| { type: "player_leave"; id: string }
|
||||
| { type: "player_move"; id: string; x: number; y: number; z: number; yaw: number; pitch: number }
|
||||
// a player changed their skin, including the one receiving it. without skin it's back to the default
|
||||
| { type: "player_skin"; id: string; skin?: string }
|
||||
| { type: "player_skin"; id: string; skin?: string; slim?: boolean }
|
||||
| { type: "add_entity"; entity: EntityInfo }
|
||||
| { type: "move_entity"; id: string; x: number; y: number; z: number }
|
||||
// a dropped item's stack changed, like when two stacks merge
|
||||
|
||||
Reference in New Issue
Block a user