export function initializePlayerMaps(session, playerId) {
    session.replayBlockStateMap.set(playerId, { blockStateChanges: {} });
    session.replayBlockInteractionAfterMap.set(playerId, { blockSateAfterInteractions: {} });
    session.replayBlockInteractionBeforeMap.set(playerId, { blockStateBeforeInteractions: {} });
    session.replayPositionDataMap.set(playerId, { recordedPositions: [], recordedVelocities: [] });
    session.replayRotationDataMap.set(playerId, { recordedRotations: [] });
    session.replayActionDataMap.set(playerId, {
        isSneaking: [],
        isSwimming: [],
        isClimbing: [],
        isFalling: [],
        isFlying: [],
        isGliding: [],
        isRiding: [],
        isSprinting: [],
        isSleeping: [],
        ridingTypeId: [],
        isCrawling: [],
    });
    session.replayEntityDataMap.set(playerId, { customEntity: undefined });
    session.replayAmbientEntityMap.set(playerId, new Map());
    session.replayEquipmentDataMap.set(playerId, {
        weapon1: [],
        weapon2: [],
        armor1: [],
        armor2: [],
        armor3: [],
        armor4: [],
    });
    session.allRecordedPlayerIds.add(playerId);
    session.trackedPlayerJoinTicks.set(playerId, {
        joinTick: 0,
        name: undefined,
    });
    session.playerDamageEventsMap.set(playerId, undefined);
    session.playerItemUseDataMap.set(playerId, undefined);
}
