mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
removed ProtocolInfo::EID_PACKETS, added ability to customize min block breaking progress required to destroy a block + change value from 1 to 0.8
This commit is contained in:
parent
a62986a8d6
commit
5537f3e197
4 changed files with 18 additions and 49 deletions
|
|
@ -70,35 +70,6 @@ abstract class ProtocolInfo{
|
|||
const ADVENTURE_SETTINGS_PACKET = 0xb7;
|
||||
const ENTITY_DATA_PACKET = 0xb8;
|
||||
const PLAYER_INPUT_PACKET = 0xb9;
|
||||
|
||||
const EID_PACKETS = [
|
||||
self::ADD_MOB_PACKET => true,
|
||||
self::ADD_ITEM_ENTITY_PACKET => true,
|
||||
self::RESPAWN_PACKET => true,
|
||||
self::SET_ENTITY_MOTION_PACKET => true,
|
||||
self::USE_ITEM_PACKET => true,
|
||||
self::SET_ENTITY_DATA_PACKET => true,
|
||||
self::PLAYER_ARMOR_EQUIPMENT_PACKET => true,
|
||||
self::ROTATE_HEAD_PACKET => true,
|
||||
self::PLAYER_EQUIPMENT_PACKET => true,
|
||||
self::SEND_INVENTORY_PACKET => true,
|
||||
self::INTERACT_PACKET => true,
|
||||
self::ENTITY_EVENT_PACKET => true,
|
||||
self::PLAYER_ACTION_PACKET => true,
|
||||
self::REMOVE_ENTITY_PACKET => true,
|
||||
self::ANIMATE_PACKET => true,
|
||||
self::ADD_PLAYER_PACKET => true,
|
||||
self::TAKE_ITEM_ENTITY_PACKET => true,
|
||||
self::START_GAME_PACKET => true,
|
||||
self::ADD_PAINTING_PACKET => true,
|
||||
self::REMOVE_PLAYER_PACKET => true,
|
||||
self::MOVE_ENTITY_PACKET_POSROT => true,
|
||||
self::ADD_ENTITY_PACKET => true,
|
||||
self::REMOVE_BLOCK_PACKET => true,
|
||||
self::MOVE_PLAYER_PACKET => true,
|
||||
self::DROP_ITEM_PACKET => true,
|
||||
self::SET_ENTITY_LINK_PACKET => true
|
||||
];
|
||||
}
|
||||
/*Unused:
|
||||
* 0xb5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue