package electrosphere.net.parser.net.message;


public class TypeBytes {
/*
Message categories
*/
    public static final byte MESSAGE_TYPE_STATUS = 0;
    public static final byte MESSAGE_TYPE_WORLD = 1;
    public static final byte MESSAGE_TYPE_PLAYER = 2;
    public static final byte MESSAGE_TYPE_ENTITY = 3;
    /*
    Status subcategories
    */
    public static final byte STATUS_MESSAGE_TYPE_READY = 0;
    /*
    Status packet sizes
    */
    public static final byte STATUS_MESSAGE_TYPE_READY_SIZE = 6;
    /*
    World subcategories
    */
    public static final byte WORLD_MESSAGE_TYPE_METADATA = 0;
    public static final byte WORLD_MESSAGE_TYPE_REQUESTCHUNK = 1;
    public static final byte WORLD_MESSAGE_TYPE_UPDATE = 2;
    public static final byte WORLD_MESSAGE_TYPE_CHUNKLOADSTART = 3;
    public static final byte WORLD_MESSAGE_TYPE_MACROVALUE = 4;
    public static final byte WORLD_MESSAGE_TYPE_HEIGHTMAPMODIFICATION = 5;
    public static final byte WORLD_MESSAGE_TYPE_SPAWNPOSITION = 6;
    /*
    World packet sizes
    */
    public static final byte WORLD_MESSAGE_TYPE_METADATA_SIZE = 30;
    public static final byte WORLD_MESSAGE_TYPE_REQUESTCHUNK_SIZE = 10;
    public static final byte WORLD_MESSAGE_TYPE_UPDATE_SIZE = 10;
    public static final byte WORLD_MESSAGE_TYPE_CHUNKLOADSTART_SIZE = 14;
    public static final short WORLD_MESSAGE_TYPE_MACROVALUE_SIZE = 310;
    public static final byte WORLD_MESSAGE_TYPE_HEIGHTMAPMODIFICATION_SIZE = 22;
    public static final byte WORLD_MESSAGE_TYPE_SPAWNPOSITION_SIZE = 10;
    /*
    Player subcategories
    */
    public static final byte PLAYER_MESSAGE_TYPE_SET_ID = 0;
    public static final byte PLAYER_MESSAGE_TYPE_SETINITIALDISCRETEPOSITION = 1;
    /*
    Player packet sizes
    */
    public static final byte PLAYER_MESSAGE_TYPE_SET_ID_SIZE = 6;
    public static final byte PLAYER_MESSAGE_TYPE_SETINITIALDISCRETEPOSITION_SIZE = 10;
    /*
    Entity subcategories
    */
    public static final byte ENTITY_MESSAGE_TYPE_CREATE = 0;
    public static final byte ENTITY_MESSAGE_TYPE_SETPOSITION = 1;
    public static final byte ENTITY_MESSAGE_TYPE_SETFACING = 2;
    public static final byte ENTITY_MESSAGE_TYPE_MOVEUPDATE = 3;
    public static final byte ENTITY_MESSAGE_TYPE_ATTACKUPDATE = 4;
    public static final byte ENTITY_MESSAGE_TYPE_MOVE = 5;
    public static final byte ENTITY_MESSAGE_TYPE_DESTROY = 6;
    public static final byte ENTITY_MESSAGE_TYPE_SETBEHAVIORTREE = 7;
    public static final byte ENTITY_MESSAGE_TYPE_SETPROPERTY = 8;
    public static final byte ENTITY_MESSAGE_TYPE_ATTACHENTITYTOENTITY = 9;
    /*
    Entity packet sizes
    */
    public static final byte ENTITY_MESSAGE_TYPE_SETPOSITION_SIZE = 38;
    public static final byte ENTITY_MESSAGE_TYPE_SETFACING_SIZE = 26;
    public static final byte ENTITY_MESSAGE_TYPE_MOVEUPDATE_SIZE = 58;
    public static final byte ENTITY_MESSAGE_TYPE_ATTACKUPDATE_SIZE = 58;
    public static final byte ENTITY_MESSAGE_TYPE_MOVE_SIZE = 38;
    public static final byte ENTITY_MESSAGE_TYPE_DESTROY_SIZE = 6;
    public static final byte ENTITY_MESSAGE_TYPE_SETBEHAVIORTREE_SIZE = 22;
    public static final byte ENTITY_MESSAGE_TYPE_SETPROPERTY_SIZE = 22;
}

