Scrap !!
This commit is contained in:
+3
-1
@@ -12,7 +12,7 @@ export const AIR_ID = "cubi:air";
|
||||
|
||||
// bump when a client and server of different versions can't play together.
|
||||
// the server rejects a different version before the client downloads anything
|
||||
export const PROTOCOL_VERSION = 30;
|
||||
export const PROTOCOL_VERSION = 31;
|
||||
|
||||
export interface PlayerInfo {
|
||||
id: string;
|
||||
@@ -132,6 +132,8 @@ export type ClientMessage =
|
||||
| { type: "hit_block"; x: number; y: number; z: number }
|
||||
// left click on an entity, by id
|
||||
| { type: "attack_entity"; id: string }
|
||||
// right click on an entity, by id, for mods' entity_interact. it uses the held item when they don't stop it
|
||||
| { type: "interact_entity"; id: string }
|
||||
// left click at nothing, a swing at the air. it starts the attack cooldown over, like an attack
|
||||
| { type: "swing" }
|
||||
// right click without looking at a block, for items' on_use
|
||||
|
||||
Reference in New Issue
Block a user